You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Leon Rosenberg <ro...@gmail.com> on 2011/01/04 15:11:26 UTC

maven tries to download wrong pmd version

Hello,

a build of an aggregated project recently broke (actually after first
release) with following error message:


[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-pmd-plugin

Reason: Error getting POM for
'org.apache.maven.plugins:maven-pmd-plugin' from the repository:
Failed to resolve artifact, possibly due to a repository list that is
not appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-pmd-plugin:pom:2.6-SNAPSHOT

from the specified remote repositories:
  nexus (http://nexus.anotheria.net/nexus/content/groups/public)

 for project org.apache.maven.plugins:maven-pmd-plugin

the funny thing is that i'm not using pmd 2.6:
from the parent:

<build>
  <pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-pmd-plugin</artifactId>
        <version>2.5</version>
      </plugin>
...


any ideas where the 2.6-SNAPSHOT comes from?

regards
Leon

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


Re: maven tries to download wrong pmd version

Posted by Olivier Lamy <ol...@apache.org>.
2011/1/4 Guo Du <mr...@duguo.org>:
> On Tue, Jan 4, 2011 at 2:42 PM, Olivier Lamy <ol...@apache.org> wrote:
>> If you use maven3
>> See [1] section "Version Resolution"
>> [1] http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html
>
> Site plugin is a maven plugin, any reason to "resolve with current
> repositories", not pluginsRepositories?

typo :-)

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



-- 
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy

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


Re: maven tries to download wrong pmd version

Posted by Guo Du <mr...@duguo.org>.
On Tue, Jan 4, 2011 at 2:42 PM, Olivier Lamy <ol...@apache.org> wrote:
> If you use maven3
> See [1] section "Version Resolution"
> [1] http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html

Site plugin is a maven plugin, any reason to "resolve with current
repositories", not pluginsRepositories?

-Guo

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


Re: maven tries to download wrong pmd version

Posted by Olivier Lamy <ol...@apache.org>.
If you use maven3
See [1] section "Version Resolution"

HTH,
--
Olivier

[1] http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html

2011/1/4 Nick Stolwijk <ni...@gmail.com>:
> Unfortunately not.[1]
>
> [1] http://maven.apache.org/pom.html#Reporting
>
> With regards,
>
> Nick Stolwijk
> ~Senior Java Developer~
>
> iPROFS
> Wagenweg 208
> 2012 NM Haarlem
> T +31 23 547 6369
> F +31 23 547 6370
> I www.iprofs.nl
>
>
>
> On Tue, Jan 4, 2011 at 3:29 PM, Leon Rosenberg <ro...@gmail.com> wrote:
>> Damned, site it was. Thanks for the hint!
>>
>> on a side note, can i setup pluginmanagement for reporting as well?
>>
>> regards
>> Leon
>>
>> On Tue, Jan 4, 2011 at 3:15 PM, Nick Stolwijk <ni...@gmail.com> wrote:
>>> What goals are you running? The site lifecycle doesn't take
>>> build/pluginManagement into account and you have to set the version in
>>> /project/reporting/plugins/
>>>
>>> Hth,
>>>
>>> Nick Stolwijk
>>> ~Senior Java Developer~
>>>
>>> iPROFS
>>> Wagenweg 208
>>> 2012 NM Haarlem
>>> T +31 23 547 6369
>>> F +31 23 547 6370
>>> I www.iprofs.nl
>>>
>>>
>>>
>>> On Tue, Jan 4, 2011 at 3:11 PM, Leon Rosenberg <ro...@gmail.com> wrote:
>>>> Hello,
>>>>
>>>> a build of an aggregated project recently broke (actually after first
>>>> release) with following error message:
>>>>
>>>>
>>>> [ERROR] BUILD ERROR
>>>> [INFO] ------------------------------------------------------------------------
>>>> [INFO] Error building POM (may not be this project's POM).
>>>>
>>>>
>>>> Project ID: org.apache.maven.plugins:maven-pmd-plugin
>>>>
>>>> Reason: Error getting POM for
>>>> 'org.apache.maven.plugins:maven-pmd-plugin' from the repository:
>>>> Failed to resolve artifact, possibly due to a repository list that is
>>>> not appropriately equipped for this artifact's metadata.
>>>>  org.apache.maven.plugins:maven-pmd-plugin:pom:2.6-SNAPSHOT
>>>>
>>>> from the specified remote repositories:
>>>>  nexus (http://nexus.anotheria.net/nexus/content/groups/public)
>>>>
>>>>  for project org.apache.maven.plugins:maven-pmd-plugin
>>>>
>>>> the funny thing is that i'm not using pmd 2.6:
>>>> from the parent:
>>>>
>>>> <build>
>>>>  <pluginManagement>
>>>>    <plugins>
>>>>      <plugin>
>>>>        <groupId>org.apache.maven.plugins</groupId>
>>>>        <artifactId>maven-pmd-plugin</artifactId>
>>>>        <version>2.5</version>
>>>>      </plugin>
>>>> ...
>>>>
>>>>
>>>> any ideas where the 2.6-SNAPSHOT comes from?
>>>>
>>>> regards
>>>> Leon
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>



-- 
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy

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


Re: maven tries to download wrong pmd version

Posted by Nick Stolwijk <ni...@gmail.com>.
Unfortunately not.[1]

[1] http://maven.apache.org/pom.html#Reporting

With regards,

Nick Stolwijk
~Senior Java Developer~

iPROFS
Wagenweg 208
2012 NM Haarlem
T +31 23 547 6369
F +31 23 547 6370
I www.iprofs.nl



On Tue, Jan 4, 2011 at 3:29 PM, Leon Rosenberg <ro...@gmail.com> wrote:
> Damned, site it was. Thanks for the hint!
>
> on a side note, can i setup pluginmanagement for reporting as well?
>
> regards
> Leon
>
> On Tue, Jan 4, 2011 at 3:15 PM, Nick Stolwijk <ni...@gmail.com> wrote:
>> What goals are you running? The site lifecycle doesn't take
>> build/pluginManagement into account and you have to set the version in
>> /project/reporting/plugins/
>>
>> Hth,
>>
>> Nick Stolwijk
>> ~Senior Java Developer~
>>
>> iPROFS
>> Wagenweg 208
>> 2012 NM Haarlem
>> T +31 23 547 6369
>> F +31 23 547 6370
>> I www.iprofs.nl
>>
>>
>>
>> On Tue, Jan 4, 2011 at 3:11 PM, Leon Rosenberg <ro...@gmail.com> wrote:
>>> Hello,
>>>
>>> a build of an aggregated project recently broke (actually after first
>>> release) with following error message:
>>>
>>>
>>> [ERROR] BUILD ERROR
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] Error building POM (may not be this project's POM).
>>>
>>>
>>> Project ID: org.apache.maven.plugins:maven-pmd-plugin
>>>
>>> Reason: Error getting POM for
>>> 'org.apache.maven.plugins:maven-pmd-plugin' from the repository:
>>> Failed to resolve artifact, possibly due to a repository list that is
>>> not appropriately equipped for this artifact's metadata.
>>>  org.apache.maven.plugins:maven-pmd-plugin:pom:2.6-SNAPSHOT
>>>
>>> from the specified remote repositories:
>>>  nexus (http://nexus.anotheria.net/nexus/content/groups/public)
>>>
>>>  for project org.apache.maven.plugins:maven-pmd-plugin
>>>
>>> the funny thing is that i'm not using pmd 2.6:
>>> from the parent:
>>>
>>> <build>
>>>  <pluginManagement>
>>>    <plugins>
>>>      <plugin>
>>>        <groupId>org.apache.maven.plugins</groupId>
>>>        <artifactId>maven-pmd-plugin</artifactId>
>>>        <version>2.5</version>
>>>      </plugin>
>>> ...
>>>
>>>
>>> any ideas where the 2.6-SNAPSHOT comes from?
>>>
>>> regards
>>> Leon
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: maven tries to download wrong pmd version

Posted by Leon Rosenberg <ro...@gmail.com>.
Damned, site it was. Thanks for the hint!

on a side note, can i setup pluginmanagement for reporting as well?

regards
Leon

On Tue, Jan 4, 2011 at 3:15 PM, Nick Stolwijk <ni...@gmail.com> wrote:
> What goals are you running? The site lifecycle doesn't take
> build/pluginManagement into account and you have to set the version in
> /project/reporting/plugins/
>
> Hth,
>
> Nick Stolwijk
> ~Senior Java Developer~
>
> iPROFS
> Wagenweg 208
> 2012 NM Haarlem
> T +31 23 547 6369
> F +31 23 547 6370
> I www.iprofs.nl
>
>
>
> On Tue, Jan 4, 2011 at 3:11 PM, Leon Rosenberg <ro...@gmail.com> wrote:
>> Hello,
>>
>> a build of an aggregated project recently broke (actually after first
>> release) with following error message:
>>
>>
>> [ERROR] BUILD ERROR
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Error building POM (may not be this project's POM).
>>
>>
>> Project ID: org.apache.maven.plugins:maven-pmd-plugin
>>
>> Reason: Error getting POM for
>> 'org.apache.maven.plugins:maven-pmd-plugin' from the repository:
>> Failed to resolve artifact, possibly due to a repository list that is
>> not appropriately equipped for this artifact's metadata.
>>  org.apache.maven.plugins:maven-pmd-plugin:pom:2.6-SNAPSHOT
>>
>> from the specified remote repositories:
>>  nexus (http://nexus.anotheria.net/nexus/content/groups/public)
>>
>>  for project org.apache.maven.plugins:maven-pmd-plugin
>>
>> the funny thing is that i'm not using pmd 2.6:
>> from the parent:
>>
>> <build>
>>  <pluginManagement>
>>    <plugins>
>>      <plugin>
>>        <groupId>org.apache.maven.plugins</groupId>
>>        <artifactId>maven-pmd-plugin</artifactId>
>>        <version>2.5</version>
>>      </plugin>
>> ...
>>
>>
>> any ideas where the 2.6-SNAPSHOT comes from?
>>
>> regards
>> Leon
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: maven tries to download wrong pmd version

Posted by Nick Stolwijk <ni...@gmail.com>.
What goals are you running? The site lifecycle doesn't take
build/pluginManagement into account and you have to set the version in
/project/reporting/plugins/

Hth,

Nick Stolwijk
~Senior Java Developer~

iPROFS
Wagenweg 208
2012 NM Haarlem
T +31 23 547 6369
F +31 23 547 6370
I www.iprofs.nl



On Tue, Jan 4, 2011 at 3:11 PM, Leon Rosenberg <ro...@gmail.com> wrote:
> Hello,
>
> a build of an aggregated project recently broke (actually after first
> release) with following error message:
>
>
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.maven.plugins:maven-pmd-plugin
>
> Reason: Error getting POM for
> 'org.apache.maven.plugins:maven-pmd-plugin' from the repository:
> Failed to resolve artifact, possibly due to a repository list that is
> not appropriately equipped for this artifact's metadata.
>  org.apache.maven.plugins:maven-pmd-plugin:pom:2.6-SNAPSHOT
>
> from the specified remote repositories:
>  nexus (http://nexus.anotheria.net/nexus/content/groups/public)
>
>  for project org.apache.maven.plugins:maven-pmd-plugin
>
> the funny thing is that i'm not using pmd 2.6:
> from the parent:
>
> <build>
>  <pluginManagement>
>    <plugins>
>      <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-pmd-plugin</artifactId>
>        <version>2.5</version>
>      </plugin>
> ...
>
>
> any ideas where the 2.6-SNAPSHOT comes from?
>
> regards
> Leon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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