You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Eyal Goren (JIRA)" <ji...@codehaus.org> on 2011/01/04 17:49:58 UTC

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

allowTimestampedSnapshots=true still fails with snapshot dependencies
---------------------------------------------------------------------

                 Key: MRELEASE-632
                 URL: http://jira.codehaus.org/browse/MRELEASE-632
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: prepare
    Affects Versions: 2.1
            Reporter: Eyal Goren
         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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Sven Ehlert (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=266653#action_266653 ] 

Sven Ehlert commented on MRELEASE-632:
--------------------------------------

I can confirm this is not working in version 2.1

> allowTimestampedSnapshots=true still fails with snapshot dependencies
> ---------------------------------------------------------------------
>
>                 Key: MRELEASE-632
>                 URL: http://jira.codehaus.org/browse/MRELEASE-632
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>            Reporter: Eyal Goren
>         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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "sebastien glon (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRELEASE-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273450#comment-273450 ] 

sebastien glon commented on MRELEASE-632:
-----------------------------------------

I have the sme issue with version 2.2

> 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
>         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Amélie Deltour (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRELEASE-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272424#comment-272424 ] 

Amélie Deltour commented on MRELEASE-632:
-----------------------------------------

I have the same issue, with version 2.0 as well. I wonder if the fix described in http://jira.codehaus.org/browse/MRELEASE-452 has ever been released...

> 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
>         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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

Posted by "sebastien glon (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257755#action_257755 ] 

sebastien glon commented on MRELEASE-632:
-----------------------------------------

I have the same error than you.
Have you find a work aroud?



> allowTimestampedSnapshots=true still fails with snapshot dependencies
> ---------------------------------------------------------------------
>
>                 Key: MRELEASE-632
>                 URL: http://jira.codehaus.org/browse/MRELEASE-632
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>            Reporter: Eyal Goren
>         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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Eyal Goren (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257889#action_257889 ] 

Eyal Goren commented on MRELEASE-632:
-------------------------------------

Yep -stop using the plugin and write something of our own...

> allowTimestampedSnapshots=true still fails with snapshot dependencies
> ---------------------------------------------------------------------
>
>                 Key: MRELEASE-632
>                 URL: http://jira.codehaus.org/browse/MRELEASE-632
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>            Reporter: Eyal Goren
>         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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ 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