[ 
http://jira.codehaus.org/browse/MRM-577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joakim Erdfelt closed MRM-577.
------------------------------

    Resolution: Fixed

Fixing release and snapshot policies to not apply their policy rules to 
non-artifacts. (namely maven-metadata.xml files)

Workaround: do not use DISABLED setting for the policies.

Fix committed to archiva/trunk revision 590858.

> Release policy of disabled fails all metadata requests.
> -------------------------------------------------------
>
>                 Key: MRM-577
>                 URL: http://jira.codehaus.org/browse/MRM-577
>             Project: Archiva
>          Issue Type: Bug
>          Components: repository interface
>    Affects Versions: 1.0-beta-3
>            Reporter: Arnaud Heritier
>            Assignee: Joakim Erdfelt
>            Priority: Minor
>             Fix For: 1.0-beta-4
>
>
> Unable to successfully download maven-metadata.xml files when the release 
> policy is set to disabled.
> To reproduce it:
> 1) Setup a proxy connector to repo of snapshots at apache : 
> http://people.apache.org/repo/m2-snapshot-repository
> 1a) Set the Release policy to "disabled".
> 2) And in your project you add this plugin declaration :
> {code:xml}
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-assembly-plugin</artifactId>
>   <version>2.2-beta-2-SNAPSHOT</version>
> </plugin>
> {code}
> 3) Attempt to compile the project.

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

        

Reply via email to