IIRC plexus-archiver is hosted at codehaus so you need to add
        <pluginRepository>
            <id>codehaus-snapshot</id>
            <name>Codehaus Snapshot Repository</name>
            <url>http://snapshots.repository.codehaus.org</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </pluginRepository>

to the <pluginRepositories> section of the pom.

I thought this was only used by the assembly plugin but I guess not - can you say which pom was building when it broke?
Thanks
--
Jeremy

On Aug 29, 2006, at 1:22 PM, J T Hsiao wrote:

Hey,

I was trying to build Tuscany project from java\sca directory but got the following errors. Not sure why it needs the plexus SNAPSHOT. BTW, this directory does not exist on apache m2 repo. Can someone shed some lights on
this?

Regards,
Eric

---------------------------------------------------------------------- ---------------------------------------------------------------------- ---------------------------------------------------------------------- ------------

Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
archiver-1.0-alpha-7-SNAPSHOT.
pom
[WARNING] Unable to get resource from repository apache-snapshot- repository
(htt
p://people.apache.org/repo/m2-snapshot-repository)
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
archiver-1.0-alpha-7-SNAPSHOT.
pom
[WARNING] Unable to get resource from repository apache.snapshots (
http://people
.apache.org/repo/m2-snapshot-repository)
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
archiver-1.0-alpha-7-SNAPSHOT.
jar
[WARNING] Unable to get resource from repository apache-snapshot- repository
(htt
p://people.apache.org/repo/m2-snapshot-repository)
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/p
lexus/plexus-archiver/1.0-alpha-7-SNAPSHOT/plexus-
archiver-1.0-alpha-7-SNAPSHOT.
jar
[WARNING] Unable to get resource from repository apache.snapshots (
http://people
.apache.org/repo/m2-snapshot-repository)
[INFO]
---------------------------------------------------------------------- --
[ERROR] BUILD ERROR
[INFO]
---------------------------------------------------------------------- --
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT

 Try downloading the file manually from the project website.

 Then, install it using the command:
mvn install:install-file -DgroupId=org.codehaus.plexus- DartifactId=plexus
-archiver \
         -Dversion=1.0-alpha-7-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

 Path to dependency:
       1)
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.1
62339-6
       2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
       3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to