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 12

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 : Hello, I probably found the cause: in our Jenkins inst

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'

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-01-18 Thread Wayne Fay
Looks like a section of code that could benefit from some debug-level logging. Then OP could just turn on -X and send us more useful output. Wayne On Fri, Jan 18, 2013 at 8:26 AM, Robert Scholte wrote: > http://maven.apache.org/maven-release/maven-release-manager/xref/org/apache/maven/shared/rel

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

2013-01-18 Thread Robert Scholte
http://maven.apache.org/maven-release/maven-release-manager/xref/org/apache/maven/shared/release/config/ReleaseUtils.html#256 I'm interested in your release.properties as well. It looks like there's a property starting with 'dependency.' which doesn't end with '.development' or '.release' This

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

2013-01-18 Thread thorsten . heit
Hi, > maven-release-plugin:2.4:prepare failed: String index out of range: -12 > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:225) *snip* Have you tried running "mvn -e -X ..."? Perhaps there's something missing in your pom.xml, such as an invalid property

Flat and shared module layout question

2008-05-09 Thread Scott Smith
Hello all, I have recently joined a team that develops 6 j2ee applications for deployment as EAR files to a server. These apps use several shared modules. I am trying to configure them to use Maven2 to do the builds but having trouble understanding how to properly configure the poms. All modules

Module layout

2007-06-11 Thread Nathan Maves
I am just looking for some best practices advice when setting up a new project. Here is the example. /widgets /core /api Now I have other projects that have a dependency on the above jars. /widgets /web-app /swing-gui /webservice What is the best way to utilize the use of modules within