To be honest I would be more inclined to remove the release profile from the super pom altogether ..
manfred Anders Hammar wrote on 27.11.2014 13:36: >> I recently took a look at the "release-profile" in Maven's super POM. >>> It uses the "jar" goal of the maven-source-plugin to create the source >>> JAR. Wouldn't it be better to use the "jar-no-fork" goal for that? >>> >> >> sounds definitively like a good idea...to change that... >> >> I have created an appropriate JIRA for it and fixed it. >> >> https://issues.apache.org/jira/browse/MPOM-64 >> > > The topic was the Super-POM (which is part of Maven core) not the ASF > parent. (Even though there could be something similar i ASF parent). > > This change could have a major impact so we really need to be careful! Does > anyone know if there is a specific reason for choosing the 'jar' goal? > > /Anders > > >> >> Thanks for the improvement. >> >> >>> For example, if a projects spends a lot of time in the >>> generate-sources phase, the "jar" goal would cause the execution of >>> that phase twice. With "jar-no-fork" that wouldn't happen. >>> >>> >>> Cheers, >>> Stefan >>> >> >> Kind regards >> Karl Heinz Marbaise >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >> For additional commands, e-mail: dev-h...@maven.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org