Support marking repositories as release/snapshot repository
-----------------------------------------------------------

                 Key: PAXURL-11
                 URL: http://issues.ops4j.org/jira/browse/PAXURL-11
             Project: Pax URL
          Issue Type: Improvement
          Components: mvn
    Affects Versions: 0.2.0, 0.1.0
            Reporter: Alin Dreghiciu
            Assignee: Alin Dreghiciu
             Fix For: 0.2.1


>From PAXURL-10:
Maven repositories are normally only releases or only snapshots and 
repo1.maven.org/maven2 is definitely only releases, so no point in checking it 
ever for snapshot info. 

the repository info from the pom.xml says what artifacts the repository should 
be checked for, eg: 

  <repositories> 
    <repository> 
      <id>ops4j-repository</id> 
      <name>The OPS4J Standard Repository</name> 
      <url>http://repository.ops4j.org/maven2&lt;/url> 
      <snapshots> 
        <enabled>false</enabled> 
      </snapshots> 
    </repository> 
  </repositories> 

so we can definitely pass this to Pax-Runner/Pax-Url but it depends if you want 
to add some way 
to mark repositories as either 'releases' or 'snapshots' (ie. separate 
command-line options?) 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to