On 28/02/11 12:01, Myles Byrne wrote:
Hi all,
This dependency was available last week:
<dependency>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-validation-impl</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
Just wondering. Because you already compiled everything before (last
week I assume), this particular package should be in your local
repository (if you use Linux, check ~/.m2/repository), so that the error
should in fact not occur (unless you never compiled your application
ever with this particular dependency).
.. Now it aint:
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException:
Could not find artifact
org.apache.cocoon:cocoon-validation-impl:jar:1.0.0-SNAPSHOT
All our other dependencies are still loading, and the Validation
package seems to still be available here:
http://repo2.maven.org/maven2/cocoon/cocoon-validation/2.1.11/
and here:
http://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon-validation/cocoon-validation-impl/
I've been trying to figure out how to point Cocoon to one of these.
Any clues? Or should i escalate to MVNCENTRAL?
I believe you need to modify the settings.xml in your .m2 folder, if
Maven is not searching http://repo2.maven.org/maven2/
<http://repo2.maven.org/maven2/cocoon/cocoon-validation/2.1.11/> for
packages. Double check with the Maven website for the details.
Thanks,
- Myles Byrne
FIMM.fi
Helsinki
--
Andre H. Juffer | Phone: +358-8-553 1161
Biocenter Oulu and | Fax: +358-8-553-1141
Department of Biochemistry | Email: andre.juf...@oulu.fi
University of Oulu, Finland | WWW: www.biochem.oulu.fi/Biocomputing/
StrucBioCat | WWW: www.strucbiocat.oulu.fi
Triacle Biocomputing | WWW: www.triacle-bc.com