Hi, I'm using Maven 3.0.3 and trying to use the Maven release plugin to do a release of a child module, which inherits from a parent pom. The parent has been released but does not include the child in its module list, and won't be able to in the short term. Is it possible to do a release of the child module? Right now, I'm getting the errors …
mvn -B -DdevelopmentVersion=52.0.0-SNAPSHOT -DreleaseVersion=52.0.0 -Dusername=laredotornado -Dtag=myproject-52.0.0 -DskipTests -P prod -Dresume=false -DdryRun=true release:prepare ... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project myproject: Can't release project due to non released dependencies : [ERROR] org.mainco.subco:core:jar:52.0.0-SNAPSHOT:compile [ERROR] org.mainco.subco:core:test-jar:tests:52.0.0-SNAPSHOT:test [ERROR] org.mainco.subco:database:jar:52.0.0-SNAPSHOT:compile [ERROR] org.mainco.subco:pd:jar:52.0.0-SNAPSHOT:compile [ERROR] org.mainco.subco:session:jar:52.0.0-SNAPSHOT:compile [ERROR] org.mainco.subco:subco:pom:52.0.0-SNAPSHOT [ERROR] in project 'myproject' (org.mainco.subco:myproject:war:52.0.0-SNAPSHOT) [ERROR] -> [Help 1] In my pom.xml file, I have the dependencies listed as such: <parent> <artifactId>subco</artifactId> <groupId>org.mainco.subco</groupId> <version>52.0.0-SNAPSHOT</version> </parent> ... <dependency> <groupId>org.mainco.subco</groupId> <artifactId>core</artifactId> <version>${project.version}</version> </dependency> I tried adding the dependencies to my pom.xml's dependencyManagement section (and thus removed the <version> tag from above), but still got the same error. -- View this message in context: http://maven.40175.n5.nabble.com/Is-it-possible-to-release-a-child-module-that-isn-t-listed-in-the-parent-s-list-of-modules-tp5775784.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org