RE: Deploy an existing artifiact...

2007-02-08 Thread Greg Jones
Philippe, Use the maven-release-plugin (http://maven.apache.org/plugins/maven-release-plugin/). It does everything you need to release your artifacts, including automatically incrementing your version to the next SNAPSHOT release, tagging your release and building the release for you. Regards,

RE: Can I get a timestamp?

2007-02-07 Thread Greg Jones
(for example, for assembly, finalName${ project.artifactId}-${project.version}-r${buildNumber}/finalName), just as Greg suggested. Need to make sure to invoke the plugin create goal, for example mvn buildnumber:create assembly:assembly. Thanks' On 2/6/07, Greg Jones [EMAIL PROTECTED] wrote: Kim

RE: Can I get a timestamp?

2007-02-06 Thread Greg Jones
Kim, You can use the maven-buildnumber-plugin to get a timestamp, as follows: plugin groupIdorg.codehaus.mojo/groupId artifactIdmaven-buildnumber-plugin/artifactId version0.9.4/version configuration format{0,date,-MM-dd HH:mm:ss}/format

RE: compile tries to bundle up the ear - should it?

2007-02-06 Thread Greg Jones
understand why there would be this dependency on an ear file to simply compile something in one of the main applications. I have a feeling this will be the straw that breaks the development camels back. -Original Message- From: Greg Jones [mailto:[EMAIL PROTECTED] Sent: Monday, February

RE: compile tries to bundle up the ear - should it?

2007-02-05 Thread Greg Jones
The modules need to be downloaded since they are dependencies at compile time (the default), even in an EAR package. Modules will never be picked up from their target directories (part of the design of Maven). You need to run 'mvn install' on the other modules to ensure they are in your local

RE: compile tries to bundle up the ear - should it?

2007-02-05 Thread Greg Jones
lifecycle phase? -Original Message- From: Greg Jones [mailto:[EMAIL PROTECTED] Sent: Monday, February 05, 2007 4:40 PM To: 'Maven Users List' Subject: RE: compile tries to bundle up the ear - should it? The modules need to be downloaded since they are dependencies at compile time

RE: compile tries to bundle up the ear - should it?

2007-02-05 Thread Greg Jones
to run 'mvn compile' in an EAR module but you need your dependencies to be available in your repository (local or remote). -Original Message- From: Greg Jones [mailto:[EMAIL PROTECTED] Sent: Tuesday, 6 February 2007 10:05 AM To: 'Maven Users List' Subject: RE: compile tries to bundle up

RE: compile tries to bundle up the ear - should it?

2007-02-05 Thread Greg Jones
release engineer forced to support maven 2). Can I forcefully de-couple these two things? -Original Message- From: Greg Jones [mailto:[EMAIL PROTECTED] Sent: Monday, February 05, 2007 6:05 PM To: 'Maven Users List' Subject: RE: compile tries to bundle up the ear - should it? It hasn't

RE: compile tries to bundle up the ear - should it?

2007-02-05 Thread Greg Jones
file (or war or ear) just to get your classes to compile. These things shouldn't even be attempted until the package stage. This seems like a shortcoming. -Original Message- From: Greg Jones [mailto:[EMAIL PROTECTED] Sent: Monday, February 05, 2007 6:29 PM To: 'Maven Users List' Subject

RE: assertions with maven

2007-02-04 Thread Greg Jones
Hi Ken, Take a look at the options available for the maven-compiler-plugin at http://maven.apache.org/plugins/maven-compiler-plugin/. Regards, Greg J. -Original Message- From: Ken Gallo [mailto:[EMAIL PROTECTED] Sent: Monday, 5 February 2007 2:07 PM To: users@maven.apache.org

RE: ERROR: JAVA_HOME is set to an invalid directory

2007-02-03 Thread Greg Jones
Vaishoo, The first thing that comes to mind is to check that you are actually using a JDK, rather than a JRE and that your JAVA_HOME is pointing to a JDK root directory, not the nin directory. E.g. JAVA_HOME=C:\Program Files\Java\jdk1.5.0_11 Or JAVA_HOME=/usr/lib/j2se5.0-sun The other thing

RE: jboss-maven-plugin

2007-02-01 Thread Greg Jones
Hi Vidya, Ignore the previous response. The server element in the jboss-maven-plugin specifies which server definition to use for Jboss, not which (host) server to use. In your case it is probably 'default' so leave it at that. I suspect your problem stems from something else. Can you run Maven

RE: jboss-maven-plugin

2007-02-01 Thread Greg Jones
[INFO] Finished at: Thu Feb 01 14:55:58 GMT+02:00 2007 [INFO] Final Memory: 2M/5M [INFO] Greg Jones [EMAIL PROTECTED] 01/02/2007 13:41 Please respond to Maven Users List users@maven.apache.org To 'Maven Users List' users

RE: jboss-maven-plugin

2007-02-01 Thread Greg Jones
filePermissions/filePermissions directoryPermissions/directoryPermissions configuration/configuration /server /servers /settings Greg Jones [EMAIL PROTECTED] 01/02/2007 15:41 Please respond to Maven Users List users@maven.apache.org To 'Maven Users

RE: jboss-maven-plugin

2007-02-01 Thread Greg Jones
2007 2:35 AM To: Maven Users List Subject: RE: jboss-maven-plugin Hi Greg, I have tried that option as well. no luck! my config is very simple and default maven2 and jboss 4.0.5. Regards, Vidya Greg Jones [EMAIL PROTECTED] 01/02/2007 17:16 Please respond to Maven Users List users

RE: dependency classpath order

2007-01-31 Thread Greg Jones
Hi Jelle, You may need to update to the 2.0.5 build to get dependencies in the correct order. This was the case with plugins and it may be that they fixed this problem at the same time. Cheers, Greg J. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: Plugin to create source distribution?

2007-01-30 Thread Greg Jones
Phillip, Have a look at the assembly plugin: http://maven.apache.org/plugins/maven-assembly-plugin/ In particular, take a look at the predefined descriptors: http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html The src descriptor should be what you're looking for.

RE: Current Date

2007-01-29 Thread Greg Jones
Bryce, Take a look at the buildnumber plugin. I use it to generate a build date each time I do a build, as follows: plugin groupIdorg.codehaus.mojo/groupId artifactIdmaven-buildnumber-plugin/artifactId version0.9.4/version configuration

RE: Searching for maven start plugin?

2007-01-28 Thread Greg Jones
application. Regards, Greg Jones -Original Message- From: Steve Wells [mailto:[EMAIL PROTECTED] Sent: Monday, 29 January 2007 9:51 AM To: Maven Users List Subject: Re: Searching for maven start plugin? Try this: http://mojo.codehaus.org/exec-maven-plugin/introduction.html On 29/01/07, Martin

RE: maven-assembly-plugin:2.2-SNAPSHOT cannot be downloaded

2007-01-15 Thread Greg Jones
Sebastian, You also need to add the repository as a plugin repository, as follows: pluginRepositories pluginRepository idApache SNAPSHOTS/id nameApache SNAPSHOTS/name urlhttp://people.apache.org/repo/m2-snapshot-repository/url releases enabledtrue/enabled

Internal Error in Plugin Manager using the reactor

2007-01-10 Thread Greg Jones
and found a resolution? Thanks in advance, Greg Jones - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]