Installing 3rd party jar to remote repository with sources jar

2007-03-08 Thread Hayes, Peter
Is it possible to use the deploy:deploy-file target to deploy a 3rd party jar into a remote repostory while including an attached sources jar? I don't see any parameters on http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.htm l that would indicate that this is possible. Peter

RE: Maven2 plugin for eclipse

2007-03-12 Thread Hayes, Peter
http://m2eclipse.codehaus.org/ This plugin keeps your classpath in synch with your pom file via an Eclipse classpath container. It's very good. -Original Message- From: Marouane Amraoui [mailto:[EMAIL PROTECTED] Sent: Monday, March 12, 2007 2:05 PM To: Maven Users List Subject: Maven

RE: Maven2 plugin for eclipse

2007-03-12 Thread Hayes, Peter
Sorry, make sure that you enable the plugin on your project. You have to right-click the project and there should be a Maven2 menu. Select enable. Pete -Original Message- From: Hayes, Peter Sent: Monday, March 12, 2007 3:20 PM To: Maven Users List Subject: RE: Maven2 plugin for

RE: Maven2 plugin for eclipse

2007-03-12 Thread Hayes, Peter
eclipse:eclipse inorder to synchronize the pom dependency and .classpth -Message d'origine----- De : Hayes, Peter [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 mars 2007 19:22 À : Maven Users List Objet : RE: Maven2 plugin for eclipse Sorry, make sure that you enable the plugin on your p

RE: Maven2 plugin for eclipse : OK now

2007-03-13 Thread Hayes, Peter
ramework > > > > > > org.eclipse.jdt.core.javabuilder > > > > > org.maven.ide.eclipse.maven2Builder > > > > > > org

RE: Maven2 plugin for eclipse : OK now

2007-03-13 Thread Hayes, Peter
thx -Message d'origine- De : Hayes, Peter [mailto:[EMAIL PROTECTED] Envoyé : mardi 13 mars 2007 12:36 À : Maven Users List Objet : RE: Maven2 plugin for eclipse : OK now This actually should work in the 0.0.10 version of the m2eclipse plugin. Make sure that you are using a _JDK_ and not a

RE: How to NOT include test resources in jar

2007-04-10 Thread Hayes, Peter
Just a shot in the dark but did you try an "mvn clean package"? Maybe the test resources had at some point made it into the target\classes directory... Pete -Original Message- From: Eric Daigneault [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 11:32 AM To: Maven Users List S

Clearcase history shows limited information in build results

2007-05-07 Thread Hayes, Peter
History on the build result only shows file modified, but not the revision number, comment and who changed it. I think the problem might be that the call to get history is executed from the top directory and not the subdirectory that contains the pom.xml. Does anyone else see this problem? Pete

RE: M2 Eclipse project dependency

2007-05-30 Thread Hayes, Peter
Two ways : Maven Plugin for Eclipse Use the maven plugin for eclipse (http://maven.apache.org/plugins/maven-eclipse-plugin/index.html), i.e. mvn eclipse:eclipse. This will generate (modify if already existing) a .project and a .classpath file for your eclipse project or if you have a multi-modul

Enable file protocol for adding Maven 2.0.x projects in 1.1-alpha-2

2007-06-04 Thread Hayes, Peter
In 1.0.3, there was a section in apps\continuum\conf\application.xml to allow the file protocol to add a project to continuum. How do I go about enabling this in 1.1-alpha-2? Thanks, Peter Hayes Architecture & Shared Technology Services | Fidelity Investments Management Technology

Feature branches and merging

2007-06-08 Thread Hayes, Peter
I'd like to get some feedback on best practices of developing with Maven. Suppose we have a 1.0-SNAPSHOT mainline development version of a multi-module maven project. We would like to create a feature branch off the mainline dev branch. When developing on the feature branch I would think we woul

RE: How to read this time stamp in snapshot ?

2007-01-25 Thread Hayes, Peter
I believe it is in GMT time so that there is no conflict in finding the latest snapshot regardless of your localization settings. I don't know if there is a way to configure it, but you probably don't want to do so anyways. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT

RE: Centralized build configuration: Improvements in 2.2?

2009-08-17 Thread Hayes, Peter
Instead of profiles could you configure the various plugins in the pluginManagement[1] section of your parent pom(s) and then just enable the plugin in the various project poms? [1] http://www.sonatype.com/books/maven-book/reference/optimizing-sect-plugi ns.html -Original Message- From: L

RE: obtain latest snapshot to put on website for auto-update?

2009-11-13 Thread Hayes, Peter
You can use this url: http://:/nexus/service/local/artifact/maven/redirect?r=&g=&a=&v=&p= Nexus will handle the SNAPSHOT conversion to latest so you don't need to read the metadata or anything like that. Peter -Original Message- From: James Russo [mailto:j...@halo3.net] Sent: Friday,

RE: Axis2 and Maven2

2008-05-28 Thread Hayes, Peter
I use the following dependencies with axis 2: org.apache.axis2 axis2-jaxws 1.4 org.apache.axis2 axis2-adb

Release plugin does not change version of plugin's dependency even though it is in reactor

2008-06-18 Thread Hayes, Peter
I am using the checkstyle plugin for a multi-module build. As directed in the checkstyle documentation, I configured the checkstyle plugin to include a dependency on one of my sub projects like this : ... org.apache.maven.plugins maven-checkstyle-plugin

RE: Release plugin does not change version of plugin's dependency even though it is in reactor

2008-06-18 Thread Hayes, Peter
Wendy wrote: > Generally when I have plugins or tools that I use during the build, I > release them separately and in advance of the project build. (And, > how often are the checkstyle rules going to change?) Yes, this is probably the workaround I'd use. > If you're going to leave this as a modu

RE: Release plugin does not change version of plugin's dependency even though it is in reactor

2008-06-19 Thread Hayes, Peter
lso see my comment below from our build why we need it): org.apache.maven.plugins maven-release-plugin clean install Kalle On Wed, Jun 18, 2008 at 5:46 PM, Hayes, Peter <[EMAIL PROTECTED]> wrot

RE: build fails

2008-06-25 Thread Hayes, Peter
If you are behind a firewall, make sure to configure the proxy settings : http://maven.apache.org/guides/mini/guide-proxies.html If that's not the problem, please post the full output. Pete -Original Message- From: radiya sojitrawala [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2

RE: build fails

2008-06-25 Thread Hayes, Peter
, 2008 at 9:16 AM, Hayes, Peter <[EMAIL PROTECTED]> wrote: > If you are behind a firewall, make sure to configure the proxy settings > : > > http://maven.apache.org/guides/mini/guide-proxies.html > > If that's not the problem, please post the full output. >

RE: Release Plugin - Using partial functionality of the prepare goal

2008-09-04 Thread Hayes, Peter
You can hack together a new plugin pretty quickly that uses the maven-release-manager components to achieve what you need. We did this in order to integrate a release mechanism into our Hudson build server. -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: Thursday, Sept

WSDL as Maven artifact

2008-10-09 Thread Hayes, Peter
We are building web services and in our approach multiple maven projects would be consumers of the service WSDL in order to generate their server / client stubs. I think it would be good to have a project of packaging type wsdl and then have consumer projects depend on that artifact. Has anybody

RE: WSDL as Maven artifact

2008-10-09 Thread Hayes, Peter
n Thu, Oct 9, 2008 at 10:02 AM, Hayes, Peter <[EMAIL PROTECTED]> wrote: > We are building web services and in our approach multiple maven projects > would be consumers of the service WSDL in order to generate their server / > client stubs. I think it would be good to have a proje

RE: WSDL as Maven artifact

2008-10-09 Thread Hayes, Peter
Thanks for the info. I will plan on using your process. Pete -Original Message- From: Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2008 4:37 PM To: users@maven.apache.org Cc: Hayes, Peter Subject: Re: WSDL as Maven artifact I second Kalle about the fact that wsdl are

Release plugin : Update RELEASE versions to actual release version during prepare

2008-10-16 Thread Hayes, Peter
We are considering trying to use the special RELEASE version in our pom files. I think in order to generate reproducible builds though the RELEASE version needs to be locked down to the actual latest release version as specified in the metadata. Once the release has been performed, the version ch

"mvn site" tries to access central

2008-12-01 Thread Hayes, Peter
We use an internal repository to proxy central and therefore don't configure maven to directly connect to the internet. When I run mvn site, I always get a warning that http://repo1.maven.org/maven2 is invalid and will be blacklisted. It seems that the site generation plugin tries to directly acc

Changes plugin accessing an Integrated Windows Authenticated JIRA instance

2008-12-11 Thread Hayes, Peter
We have JIRA running in a container that uses IWA for authenticating the web client. I'd like to take advantage of the maven-changes-plugin to generate a change report from JIRA but it complains with the following error : Dec 6, 2008 12:29:02 PM org.apache.commons.httpclient.auth.AuthChallengePro

Central index redirect

2009-04-02 Thread Hayes, Peter
The company that I work for has blocked all access to the Amazon S3 hosting site due to security / threat concerns. Due to this, I am no longer able to download the central index. Has anyone else had this issue and if so were they able to work around it? Peter Hayes Architecture & Shared Technol

RE: Central index redirect

2009-04-03 Thread Hayes, Peter
-- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Thursday, April 02, 2009 4:30 PM To: Maven Users List Subject: Re: Central index redirect setup nexus and pull off a mirror of repo1 2009/4/2 Hayes, Peter > The company that I work for has blocked all access to the Amazon S3 > hostin

LATEST and RELEASE release version management

2009-04-06 Thread Hayes, Peter
We use Maven in an enterprise environment and internally we are required to execute "release" builds whenever we want to install to our testing environment. We have found that executing many release builds can be tedious when we have in-development snapshot dependencies that also have to be releas

RE: LATEST and RELEASE release version management

2009-04-06 Thread Hayes, Peter
rtf1uqccPrltQ.rtf Description: RTF file smime.p7s Description: S/MIME cryptographic signature

RE: LATEST and RELEASE release version management

2009-04-08 Thread Hayes, Peter
E. Fox > wrote: > >> Having the release plugin translate these values at release time >> _before_ the validation build and tag is the only sane way to use >> them. >> I currently have never use them because they aren't repeatable. >> >> >> >

RE: Links to artifacts in a snapshot repository

2009-12-22 Thread Hayes, Peter
This works: http://nexus.cedarsoft.com/service/local/artifact/maven/redirect?r=snapshots&g=com.cedarsoft&a=serialization&v=1.0.0-beta2-SNAPSHOT There is some documentation out there on this though I'm unable to pull it at the moment. These are the parameters: r = repository name (cannot be a g

RE: Re: Maven plugin for Eclipse

2007-09-11 Thread Hayes, Peter
http://code.google.com/p/q4e/wiki/Installation -Original Message- From: Eric Wood [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 8:01 AM To: Maven Users List Subject: RE: Re: Maven plugin for Eclipse How do you download the Q4E plug-in? The link below says that no download

RE: Eclipse and Maven "best practice"

2007-09-13 Thread Hayes, Peter
http://maven.apache.org/plugins/maven-eclipse-plugin/overview.html http://m2eclipse.codehaus.org/ http://code.google.com/p/q4e/ -Original Message- From: zm [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 10:54 AM To: users@maven.apache.org Subject: Eclipse and Maven "best pr

Deploying same version overwrites existing release

2007-09-26 Thread Hayes, Peter
Is there a way to configure maven to not allow it to deploy over an existing release artifact? Peter Hayes Architecture & Shared Technology Services | Fidelity Investments Management Technology

RE: Deploying same version overwrites existing release

2007-09-26 Thread Hayes, Peter
ot version number goes up afterwards and overwritting is impossible? John -Original Message----- From: Hayes, Peter [mailto:[EMAIL PROTECTED] Sent: 26 September 2007 15:39 To: Maven Users List Subject: Deploying same version overwrites existing release Is there a way to configure maven to not a

RE: Deploying same version overwrites existing release

2007-09-26 Thread Hayes, Peter
ar to frequently set -w to all the files in your deploy directories. Then you couldn't overwrite things due to filesystem privileges. Wayne On 9/26/07, Hayes, Peter <[EMAIL PROTECTED]> wrote: > Yes that is true. We are using clearcase though and the release plugin > has some limit

RE: checkstyle plugins: maven and eclipse

2007-10-04 Thread Hayes, Peter
In my organization we have created a super pom that all projects inherit from. Within that super pom, we have configured the eclipse plugin to generate a standard .checkstyle file that includes the same rules that are applied by the maven build. This works well but you do have to keep the two in

Multi-module deploy results in partial deployment on module build failure

2007-10-04 Thread Hayes, Peter
I have noticed that during a multi-module deploy build it is possible that poms / artifacts are deployed to the repository even if a subsequent module fails and the build is stopped. This seems to be suboptimal (from my perspective). Are there any thoughts about making this an all-or-nothing func

RE: Multi-module deploy results in partial deployment on module build failure

2007-10-04 Thread Hayes, Peter
on module build failure try a build process that does not involve deploying snapshots, it will make your life a _lot_ easier On Friday 05 October 2007 03:32, Hayes, Peter wrote: > I have noticed that during a multi-module deploy build it is possible > that poms / artifacts are deployed

RE: Newbie: libraries out of date in repository

2008-01-14 Thread Hayes, Peter
I think you may be barking up the wrong tree here. The m2eclipse plugin ships with its own snapshot of the versions available in the public repository. It does not go out to the repositories in real time to support the "Add Dependency" feature. See the m2eclipse documentation for more informatio

RE: Use 1.6 JRE globally

2008-01-16 Thread Hayes, Peter
You may want to look at using the enforcer plugin : http://maven.apache.org/plugins/maven-enforcer-plugin/ This would allow you to guarantee that the jdk running is the build's required JDK. As to your initial question, I agree that the only way to set the JDK versino globally in Maven is to

Nexus repository manager

2008-02-12 Thread Hayes, Peter
Is there any update on the Nexus repository manager? I am interested in snapshot cleanup. Thanks, Peter Hayes Architecture & Shared Technology Services | Fidelity Investments Management Technology - To unsubscribe, e-mail: [EMA

RE: Nexus repository manager

2008-02-13 Thread Hayes, Peter
, so you should probably contact them via their website for more information. If you are interested in snapshot cleanup that works today, you might try Archiva: http://maven.apache.org/archiva/ :) Cheers, Brett On 13/02/2008, Hayes, Peter <[EMAIL PROTECTED]> wrote: > Is there any upda

RE: Sonatype's Nexus 1.0-beta-1 Released

2008-04-03 Thread Hayes, Peter
What do you mean by not relying on a CMS? Does that mean an application server? I was looking through the documentation and it does not look like Nexus is made to be hosted within an application server like Tomcat and Websphere. Is that right? Thanks, Pete -Original Message- From: J