You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2012/02/27 18:35:03 UTC

[jira] (MRELEASE-632) allowTimestampedSnapshots=true still fails with snapshot dependencies

     [ https://jira.codehaus.org/browse/MRELEASE-632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MRELEASE-632.
-----------------------------------

    Resolution: Incomplete
      Assignee: Robert Scholte

The pom doesn't contain 
{code:xml}<configuration>
  <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
</configuration>
{code}

And if you want to set this parameter from the commandline, use the _expression_, i.e. {{-DignoreSnapshots=true}} (this counts for *_every_* plugin, although quite often the configuration-parameter and the expression use the same name)

So the testcase seems to be  invalid. Just reopen if you can provide a valid usecase.


                
> allowTimestampedSnapshots=true still fails with snapshot dependencies
> ---------------------------------------------------------------------
>
>                 Key: MRELEASE-632
>                 URL: https://jira.codehaus.org/browse/MRELEASE-632
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>            Reporter: Eyal Goren
>            Assignee: Robert Scholte
>         Attachments: maven-release-plugin-2.1.jar, maven-release-plugin-2.1.pom, pom.xml
>
>
> Hi,
> I am using version 2.1 and I still recieve:
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Can't release project due to non released dependencies :
>     org.apache.maven.plugins:maven-nar-plugin:maven-plugin:2.1-SNAPSHOT:runtime
> in project 'Multi language build sample' (com.hp.pmo.test:HelloBuild:pom:2.0-SNA
> PSHOT)
> Even when I add  -DallowTimestampedSnapshots=true  to the command line (here: http://jira.codehaus.org/browse/MRELEASE-452 it was said that in 2.1 it should be solved?)
> I am attaching the pom.xml I used to define the plugin management.
> And the pom and jar of the plugin on my environment

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira