Re: Building selected projects with nested aggregators

2013-04-12 Thread Andreas Gudian
Hi, just use the directory notation. The following will build the module in module-dir/sub-module-dir and all the modules in the reactor that depend on it: mvn test -pl module-dir/sub-module-dir -amd Andreas Am Freitag, 12. April 2013 schrieb spoots : Hi, I've got a project structure where

Re: Building selected projects with nested aggregators

2013-04-12 Thread spoots
Bingo! I can't believe I never tried that, but it works perfectly. Thank you :) -- View this message in context: http://maven.40175.n5.nabble.com/Building-selected-projects-with-nested-aggregators-tp5753572p5753574.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: String index out of range: -12 in ReleaseUtils.loadResolvedDependencies() when using Parent-Module-Layout

2013-04-12 Thread Mirko Friedenhagen
Hello, I probably found the cause: in our Jenkins instance we had set MAVEN_OPTS=-Ddependency.locations.enabled=false. This caused no problems during normal SNAPSHOT runs but we could not get the release-plugin working. Nothing was seen even with -X, release.properties is not even started.

Re: String index out of range: -12 in ReleaseUtils.loadResolvedDependencies() when using Parent-Module-Layout

2013-04-12 Thread Robert Scholte
http://maven.apache.org/maven-release/maven-release-manager/xref/org/apache/maven/shared/release/config/ReleaseUtils.html#256 The plugin will read the release.properties and will collect the versions per dependency. It seems like there is a property which starts with dependency., but doesn't

Re: String index out of range: -12 in ReleaseUtils.loadResolvedDependencies() when using Parent-Module-Layout

2013-04-12 Thread Robert Scholte
Hi Mirko, Hmmm, just noticed I answered the wrong message of this thread :S But this is interesting. I can't find a JIRA issue for it, so feel free to create one. Robert Op Fri, 12 Apr 2013 17:44:29 +0200 schreef Mirko Friedenhagen mfriedenha...@gmail.com: Hello, I probably found the

Copy files for each test using surefire plugin

2013-04-12 Thread PAN QIANHONG
Hi, I am new to Maven, I am working on converting the unit tests from Ant build to Maven build. I have a basic question for surefire plugin and hope someone on this list can help. Thanks in advance. In Ant build xml file, we need to copy a property file to a /tmp directory before each

Maven-release-plugin error

2013-04-12 Thread Zanzerkia, Robert
Hi, I am getting below error (SCM is Jazz RTC). Is there some convention about workspace name and snapshot name has to match? Is there a switch to override it? I also noticed that the original workspace I had specified get's changed as follows... RTCURL:PORT are replaced with real ones in my

Re: String index out of range: -12 in ReleaseUtils.loadResolvedDependencies() when using Parent-Module-Layout

2013-04-12 Thread Mirko Friedenhagen
Hello Robert, I created http://jira.codehaus.org/browse/MRELEASE-834 (release:prepare fails when a system property starting with dependency is given). Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ https://bitbucket.org/mfriedenhagen/ On Fri, Apr

Re: Maven-release-plugin error

2013-04-12 Thread Mirko Friedenhagen
Hello, my first guess would be the spaces in your workspace path, you could try to check out to C:/tmp/myprj and retry. Second guess: on windows path names must not be longer than 255 characters (at least Mercurial had problems with this), again, a checkout to C:/tmp/myprj could help. Regards

Re: Maven-release-plugin error

2013-04-12 Thread Mirko Friedenhagen
Third guess, on Windows upper and lower case are ignored, so C:/tm/ucmdb and naming the tag ucmdb-patterndev-0.6.6 could help. Regards Mirko -- Sent from my mobile On Apr 12, 2013 8:59 PM, Zanzerkia, Robert robert.zanzer...@fmr.com wrote: Hi, I am getting below error (SCM is Jazz RTC). Is