Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0-alpha-6
-
Fix Version/s: 3.0-alpha-7
-
Component/s: Artifacts and Repositories, Plugins and Lifecycle
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
I'm not sure if this is an intentional change that I've missed or not, but running something like:
mvn archetype:generate
will retrieve the metadata from the repository on every build:
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml
9 KB downloaded at 17.1 KB/sec
This is in contrast to Maven 2.2.1 which always continues to use the first version encountered until you use -U:
<pluginRepositories> <pluginRepository> <releases> <updatePolicy>never</updatePolicy> </releases>
While that remains in the super POM of Maven 3, it seems that the metadata is retrieved regardless.
Issue Links
- is related to
-
MNG-4555
mvn archetype:generate -o (offline) still results in a "checking updates from central"
-
Activity
Brett Porter
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 3.0-alpha-7 [ 16087 ] |
Brett Porter
made changes -
Benjamin Bentmann
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] | |
| Assignee | Benjamin Bentmann [ bentmann ] |
Fixed in r905424.