multi modules, scm and release plugin

2010-04-19 Thread Thomas Scheffler
Hi, after migrating our old ant build system to maven our first non-SNAPSHOT release is planned. But I have difficulties to get it work with the release plugin. SVN layout is this: branches/ tags/ trunk/ |-- pom.xml |-- parent/ | `-- pom.xml |-- module1/ | `-- pom.xml

Re: multi modules, scm and release plugin

2010-04-19 Thread Stephen Connolly
You need to run the release from the aggregator pom. not from the parent. The SCM information will effectively be ignored by the release plugin in all but the aggregator root. But you will want the SCM info in each project so that the project site will contain the correct information 2010/4/19

Re: multi modules, scm and release plugin

2010-04-19 Thread Thomas Scheffler
Am 19.04.2010 12:47, schrieb Stephen Connolly: You need to run the release from the aggregator pom. not from the parent. That was exactly the way I was doing it. The SCM information will effectively be ignored by the release plugin in all but the aggregator root. But you will want the SCM

Re: Adding some lines to the Notice file packaged with Jars in standard Apache projects

2010-04-19 Thread Marshall Schor
On 4/17/2010 10:31 PM, Marshall Schor wrote: The Apache common POM ( http://repo2.maven.org/maven2/org/apache/apache/7/apache-7.pom ) uses the maven remote resources plugin to retrieve standard files including META-INF/NOTICE for inclusion in Jar file builds for Apache projects. It retrieves

Re: Adding some lines to the Notice file packaged with Jars in standard Apache projects

2010-04-19 Thread Marshall Schor
On 4/19/2010 10:07 AM, Marshall Schor wrote: On 4/17/2010 10:31 PM, Marshall Schor wrote: The Apache common POM ( http://repo2.maven.org/maven2/org/apache/apache/7/apache-7.pom ) uses the maven remote resources plugin to retrieve standard files including META-INF/NOTICE for inclusion in

Buen producto!!

2010-04-19 Thread Bocalinda
Estimado amigo, ?Cómo está usted recientemente? decirte una gran sorpresa! Ktpshop compa?ía es una empresa de comercio electrónico de productos que ha clasificado superior Asia --- (www.ktpshop.info) y cuenta con la cooperación con Nokia, Sony, HP, etc durante muchos a?os, la calidad del producto

Re: Controlling when Plexus injects components into plugins.

2010-04-19 Thread Pankaj Tandon
I got this to work. Incase anyone else needs this... I was looking at the wrong property on mavenProject. Plexus does not populate dependencyArtifacts with the dependencies till the compile phase. However, the property mavenProject.dependencies is populated in the validate phase. It is populated

Re: Controlling when Plexus injects components into plugins.

2010-04-19 Thread Justin Edelson
BTW, when dependencyArtifacts is populated is NOT based on the phase. It's based on the @requiresDependencyResolution attribute of the invoked plugins. It's probable that compile is the first phase in many projects with a plugin tagged with @requiresDependencyResolution, but it is not necessarily

complex jar generation for SCJD assignment

2010-04-19 Thread ZedroS Schwart
hi I'm a long time user of Maven and recently I decided to go for the Sun Certified Java Developer. This assignment requires the developer to create a quite complex jar, containing (from the root) : - a jar with the actual code - some files from the assignment - a directory with the

Re: complex jar generation for SCJD assignment

2010-04-19 Thread Justin Edelson
You should be able to do this with the assembly plugin. Justin On Apr 19, 2010, at 5:57 PM, ZedroS Schwart zedros.schwa...@gmail.com wrote: hi I'm a long time user of Maven and recently I decided to go for the Sun Certified Java Developer. This assignment requires the developer to create

custom src path in maven-compiler-plugin

2010-04-19 Thread li...@bitfaeule.net
Hi folks, I'm having problems to make my compiler plugin compile a custom src path.   by default it compiles everything under src/main/java/... which implies it doesn't compile the tests under src/test/java/...   I would like my test cases to be included in the jar, so that I can run them from the

Re: custom src path in maven-compiler-plugin

2010-04-19 Thread Wayne Fay
by default it compiles everything under src/main/java/... which implies it doesn't compile the tests under src/test/java/... I would like my test cases to be included in the jar, so that I can run them from the jar. http://maven.apache.org/guides/mini/guide-attached-tests.html Wayne

Credentials for ${project.scm.developerConnection} (Mercurial), where?

2010-04-19 Thread Andrew Hughes
Hi Again, I'm trying to use the release plugin with mercurial. For reference I have the following in my pom.xml: scm connectionscm:hg:http://compuglobalhypermeganet.com/hg/project-xyz /connection * developerConnectionscm:hg:

Is there a way to change the webapp directory name?

2010-04-19 Thread Néstor Boscán
Hi Is there a way to change the webapp directory name from webapp to public_html? Regards, Néstor Boscán

Re: Is there a way to change the webapp directory name?

2010-04-19 Thread Wendy Smoak
2010/4/19 Néstor Boscán nestor.bos...@tcs.com.ve: Is there a way to change the webapp directory name from webapp to public_html? You're really making us guess here. :) Do you mean you want to change the source directory for the files that go into a war from src/main/webapp to something else?

RE: Is there a way to change the webapp directory name?

2010-04-19 Thread Néstor Boscán
Wendy thanks for the quick reply and sorry about the confusion. Yes I want to change the src/main/webapp directory to be the same that JDeveloper uses (client requirement). Sadly I tried your suggestion: sourceDirectorysrc/sourceDirectory plugins plugin

Re: Credentials for ${project.scm.developerConnection} (Mercurial), where?

2010-04-19 Thread Andrew Hughes
Unless someone answer this, here's my take I'm your typical SVN/CVS developer. Which means I've got this mindset that says *scm interaction happens with a remote repository*. But mercurial is distributed. You have a local repository to interact with (commit, tag, branch e.t.c). This also