You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Brett Porter <br...@apache.org> on 2006/06/19 14:04:39 UTC

Re: [jira] Closed: (MSITE-149) tag is ignored for plugins in the section of the POM

Was this actually fixed, or "Cannot reproduce"?

- Brett

On 19/06/2006 7:46 PM, Edwin Punzalan (JIRA) wrote:
>      [ http://jira.codehaus.org/browse/MSITE-149?page=all ]
>      
> Edwin Punzalan closed MSITE-149:
> --------------------------------
> 
>      Assign To: Edwin Punzalan
>     Resolution: Fixed
> 
> Fixed in SVN.
> 
>> <version> tag is ignored for plugins in the <reporting> section of the POM
>> --------------------------------------------------------------------------
>>
>>          Key: MSITE-149
>>          URL: http://jira.codehaus.org/browse/MSITE-149
>>      Project: Maven 2.x Site Plugin
>>         Type: Bug
> 
>>     Versions: 2.0-beta-5
>>  Environment: Windows XP
>>     Reporter: Gunther Popp
>>     Assignee: Edwin Punzalan
>>      Fix For: 2.0
> 
>>
>> A version defined for a plugin in the <reporting> section of the POM is ignored. For example, I would expect that the following definition in a POM forces the usage of version 2.0-beta-4 of the site-plugin:
>> <project>
>>   ...
>>   <reporting>
>>     <plugins>
>>       <plugin>
>>         <groupId>org.apache.maven.plugins</groupId>
>>         <artifactId>maven-site-plugin</artifactId>
>>         <version>2.0-beta-4</version>
>>       </plugin>
>>   ...
>> However, Maven always uses the newer version 2.0-beta-5:
>>> mvn site -X
>> + Error stacktraces are turned on.
>> Maven version: 2.0.4
>> ...
>> [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates from central
>> [DEBUG] maven-site-plugin: resolved to version 2.0-beta-5 from repository central
>> [DEBUG] Trying repository central
>> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-5/maven-site-plugin-2.0-beta-5.pom
>> 2/2K
>> 2K downloaded
>> [DEBUG]   Artifact resolved
>> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-site-plugin:maven-plugin:2.0-beta-5 from the repository.
>> [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository.
>> [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository.
>> [DEBUG] Trying repository central
>> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-5/maven-site-plugin-2.0-beta-5.jar
>> 52K downloaded
>> [DEBUG]   Artifact resolved
>> ...
>> It doesn´t matter, if the plugin already exists in the local repostitory or not.
> 


-- 
Brett Porter <br...@apache.org>
Apache Maven - http://maven.apache.org/
Better Builds with Maven - http://library.mergere.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [jira] Closed: (MSITE-149) tag is ignored for plugins in the section of the POM

Posted by Edwin Punzalan <ep...@exist.com>.
This issue was re-opened for the docs... and i've updated the docs so I 
closed it.


Brett Porter wrote:
> Was this actually fixed, or "Cannot reproduce"?
>
> - Brett
>
> On 19/06/2006 7:46 PM, Edwin Punzalan (JIRA) wrote:
>>      [ http://jira.codehaus.org/browse/MSITE-149?page=all ]
>>      Edwin Punzalan closed MSITE-149:
>> --------------------------------
>>
>>      Assign To: Edwin Punzalan
>>     Resolution: Fixed
>>
>> Fixed in SVN.
>>
>>> <version> tag is ignored for plugins in the <reporting> section of 
>>> the POM
>>> -------------------------------------------------------------------------- 
>>>
>>>
>>>          Key: MSITE-149
>>>          URL: http://jira.codehaus.org/browse/MSITE-149
>>>      Project: Maven 2.x Site Plugin
>>>         Type: Bug
>>
>>>     Versions: 2.0-beta-5
>>>  Environment: Windows XP
>>>     Reporter: Gunther Popp
>>>     Assignee: Edwin Punzalan
>>>      Fix For: 2.0
>>
>>>
>>> A version defined for a plugin in the <reporting> section of the POM 
>>> is ignored. For example, I would expect that the following 
>>> definition in a POM forces the usage of version 2.0-beta-4 of the 
>>> site-plugin:
>>> <project>
>>>   ...
>>>   <reporting>
>>>     <plugins>
>>>       <plugin>
>>>         <groupId>org.apache.maven.plugins</groupId>
>>>         <artifactId>maven-site-plugin</artifactId>
>>>         <version>2.0-beta-4</version>
>>>       </plugin>
>>>   ...
>>> However, Maven always uses the newer version 2.0-beta-5:
>>>> mvn site -X
>>> + Error stacktraces are turned on.
>>> Maven version: 2.0.4
>>> ...
>>> [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking 
>>> for updates from central
>>> [DEBUG] maven-site-plugin: resolved to version 2.0-beta-5 from 
>>> repository central
>>> [DEBUG] Trying repository central
>>> Downloading: 
>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-5/maven-site-plugin-2.0-beta-5.pom 
>>>
>>> 2/2K
>>> 2K downloaded
>>> [DEBUG]   Artifact resolved
>>> [DEBUG] Retrieving parent-POM: 
>>> org.apache.maven.plugins:maven-plugins::1 for project: 
>>> null:maven-site-plugin:maven-plugin:2.0-beta-5 from the repository.
>>> [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for 
>>> project: org.apache.maven.plugins:maven-plugins:pom:1 from the 
>>> repository.
>>> [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: 
>>> org.apache.maven:maven-parent:pom:1 from the repository.
>>> [DEBUG] Trying repository central
>>> Downloading: 
>>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-5/maven-site-plugin-2.0-beta-5.jar 
>>>
>>> 52K downloaded
>>> [DEBUG]   Artifact resolved
>>> ...
>>> It doesn´t matter, if the plugin already exists in the local 
>>> repostitory or not.
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org