Thanks Olivier,
the parent pom actually mentions the changes plugin twice: in the
<plugins> section, specifying version 2.1, and in the <reporting>
section, where the version was actually missing.
Defining the version, the problem was fixed (thank you).
I then got a similar problem concerning the javadoc plugin, that I
fixed likewise.
Is there a way to specify the plugin only once in the POM and reuse
the settings where needed?
L
Il giorno 27/ago/09, alle ore 17:33, Olivier Lamy ha scritto:
Do you have a version in your pom for the changes plugin ?
If not please add the released version : 2.1
Your proxies repo use what ??
2009/8/27 Lorenzo Bigagli <[email protected]>:
Hi,
When issuing mvn site:site, I get an error about
org.apache.maven.plugins:maven-changes-plugin:pom:2.2-SNAPSHOT being
unreachable.
But I can successfully use the changes plugin (version 2.1), for
example as
in mvn changes:changes-validate.
Is the site plugin requiring the 2.2-SNAPSHOT version of the
plugin? Why is
that?
Can I force it to stick to the stable version?
Thanks for helping.
Here is the output I get:
pan:lablib-checkboxtree bigagli$ mvn site:site
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'site'.
[INFO]
------------------------------------------------------------------------
[INFO] Building CheckboxTree
[INFO] task-segment: [site:site]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.maven.plugins:maven-changes-plugin
Reason: Error getting POM for
'org.apache.maven.plugins:maven-changes-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-changes-plugin:pom:2.2-SNAPSHOT
from the specified remote repositories:
proxied.repos
(http://ulisse.pin.unifi.it:8081/nexus/content/groups/proxied.repos),
hosted.repos
(http://ulisse.pin.unifi.it:8081/nexus/content/groups/hosted.repos),
maven-repository.dev.java.net (http://download.java.net/maven/1)
for project org.apache.maven.plugins:maven-changes-plugin
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Aug 27 17:24:00 CEST 2009
[INFO] Final Memory: 18M/252M
[INFO]
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Olivier
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---
Dott. Lorenzo Bigagli
Istituto di Metodologie per l'Analisi Ambientale
del Consiglio Nazionale delle Ricerche (IMAA-CNR)
i: Area della Ricerca di Potenza, Contrada Santa Loja
Zona Industriale, 85050 Tito Scalo (PZ), Italia
t: +39 0971 427221
f: +39 0971 427222
m: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]