Hi Nir Thanks for your feedback. I admit that I really hate when the property name is different than the configuration parameter but it seems properly defined in the doc :
*allowTimestampedSnapshots:* Whether to allow timestamped SNAPSHOT dependencies. Default is to fail when finding any SNAPSHOT. - *Type*: boolean - *Since*: 2.0-beta-7 - *Required*: No - *User Property*: ignoreSnapshots - *Default*: false http://maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html#allowTimestampedSnapshots You have to use <allowTimestampedSnapshots>true</allowTimestampedSnapshots> in the plugin configuration but -DignoreSnapshots=true in command line in that case Regards PS : I moved the discussion to the user dev mailing list where you receive more help than directly from few commiters On Thu, Oct 26, 2017 at 11:02 PM, Nir Bar-on <lukas...@gmail.com> wrote: > Hi all, > I found misleading documentation in maven release plugin. > it took me hours find it ..and to solve my issue because documentation was > wrong .. i was about to drop the use of the plugin and start to think on > another way to do "release.." > > the issue is that on documentation for the goal release:prepare, the > parameter name is *"allowTimestampedSnapshots"* > but it doesn't have any effect in case you have snapshot dependency. > because on the source code of the plugin the value of the parameter name is > > * "ignoreSnapshots"* > > the fix can be changing the documentation ..or changing the parameter > name in the code > > > [image: Inline image 1] > resouces > https://stackoverflow.com/questions/245932/how-to-release-a- > project-which-depends-on-a-3rd-party-snapshot-project-in- > maven/3959507#3959507 > > > <https://stackoverflow.com/questions/245932/how-to-release-a-project-which-depends-on-a-3rd-party-snapshot-project-in-maven/3959507#3959507> > http://svn.apache.org/viewvc/maven/release/tags/maven- > release-2.5.3/maven-release-plugin/src/main/java/org/ > apache/maven/plugins/release/PrepareReleaseMojo.java?view=markup > > <https://stackoverflow.com/questions/245932/how-to-release-a-project-which-depends-on-a-3rd-party-snapshot-project-in-maven/3959507#3959507> > > > <https://stackoverflow.com/questions/245932/how-to-release-a-project-which-depends-on-a-3rd-party-snapshot-project-in-maven/3959507#3959507> > > Please confirm that this will be fixed ... > Thanks! > Nir > > > <https://stackoverflow.com/questions/245932/how-to-release-a-project-which-depends-on-a-3rd-party-snapshot-project-in-maven/3959507#3959507> > > > <https://stackoverflow.com/questions/245932/how-to-release-a-project-which-depends-on-a-3rd-party-snapshot-project-in-maven/3959507#3959507> > > > <https://stackoverflow.com/questions/245932/how-to-release-a-project-which-depends-on-a-3rd-party-snapshot-project-in-maven/3959507#3959507> > > > <https://stackoverflow.com/questions/245932/how-to-release-a-project-which-depends-on-a-3rd-party-snapshot-project-in-maven/3959507#3959507> > > -- Arnaud