You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Barrie Treloar (JIRA)" <ji...@codehaus.org> on 2012/07/05 05:29:21 UTC

[jira] (MENFORCER-92) RequirePluginVersions fails when POM artifactId contains an expression referring to a POM property

    [ https://jira.codehaus.org/browse/MENFORCER-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=302762#comment-302762 ] 

Barrie Treloar commented on MENFORCER-92:
-----------------------------------------

http://rubygems-proxy.torquebox.org/releases just seems to hang after finishing downloads and/or is immensely slow.

I'm behind a firewall so that might be a problem, but all other repositories work fine.

I've had to manually renamed all the *.tmp files at each hang, but restarting maven seems to continue.
With the occasional manual download and insert into ~/.m2/repo

In the end, I've just disabled that repository.  It hangs terribly on non-ruby gem files.
Ideally I'd configure our MRM to support/disable this but that's too hard.
(Or run one locally...)

{noformat}
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ torquebox-docs-en_US ---
[INFO] Installing d:\ide\maven\torquebox\docs\en-US\target\classes\torquebox-docs-en_US.war to C:\Users\<user>\.m2\repository\org\torquebox\torquebox-docs-en_US\2.1.0-SNAPSHOT\torquebox-docs-en_US-2.1.0-SNAPSHOT.jdocbook
[INFO] Installing d:\ide\maven\torquebox\docs\en-US\pom.xml to C:\Users\<user>\.m2\repository\org\torquebox\torquebox-docs-en_US\2.1.0-SNAPSHOT\torquebox-docs-en_US-2.1.0-SNAPSHOT.pom
[INFO] Installing d:\ide\maven\torquebox\docs\en-US\target\torquebox-docs-en_US-html.zip to C:\Users\<user>\.m2\repository\org\torquebox\torquebox-docs-en_US\2.1.0-SNAPSHOT\torquebox-docs-en_US-2.1.0-SNAPSHOT-html.zip
[INFO] Installing d:\ide\maven\torquebox\docs\en-US\target\docbook\publish\en-US\pdf\torquebox-docs-en_US.pdf to C:\Users\<user>\.m2\repository\org\torquebox\torquebox-docs-en_US\2.1.0-SNAPSHOT\torquebox-docs-en_US-2.1.0-SNAPSHOT.pdf
[INFO] Installing d:\ide\maven\torquebox\docs\en-US\target\torquebox-docs-en_US-epub.zip to C:\Users\<user>\.m2\repository\org\torquebox\torquebox-docs-en_US\2.1.0-SNAPSHOT\torquebox-docs-en_US-2.1.0-SNAPSHOT.epub
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:07.308s
{noformat}

Is this still a problem?

This was using the version out of the box with the clone, <version.enforcer.plugin>1.0-beta-1</version.enforcer.plugin>.

I've also tested with 1.2-SNAPSHOT



                
> RequirePluginVersions fails when POM artifactId contains an expression referring to a POM property
> --------------------------------------------------------------------------------------------------
>
>                 Key: MENFORCER-92
>                 URL: https://jira.codehaus.org/browse/MENFORCER-92
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: Bug
>          Components: Standard Rules
>    Affects Versions: 1.0-beta-1
>            Reporter: John Casey
>
> {code}
> git clone git://github.com/torquebox/torquebox
> cd torquebox-docs/en-US
> mvn install
> {code}
> This build will fail because the artifactId of the POM is: torquebox-docs-${translation}
> There is a POM property: translation == en_US
> The enforcer plugin will fail (even if I update the version to 1.0-beta-1 in a pluginManagement section) saying it cannot find the torquebox-docs-en-US POM...which is the one being built.

--
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