You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-user@portals.apache.org by Henry Lu <zh...@umich.edu> on 2008/04/23 18:53:32 UTC
error for consumer-proxyportlet
when i tried:
C:\devel\wsrp4j\consumer-proxyportlet>mvn deploy
-Ddeploy=C:/apps/uPortal_rel-2-6-1/apache-tomcat-5.5.25/webapps/wsrp4j-proxyportlet.war
I got the following errors:
[INFO] [install:install]
[INFO] Installing
C:\devel\wsrp4j\consumer-proxyportlet\target\wsrp4j-proxyportl
et.war to C:\Documents and
Settings\uniquename\.m2\repository\org\apache\wsrp4j\
wsrp4j-proxyportlet\0.5-SNAPSHOT\wsrp4j-proxyportlet-0.5-SNAPSHOT.war
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven
-deploy-plugin:2.3
check that the following section of the pom.xml is present and correct:
<distributionManagement>
<!-- use the following if you're not using a snapshot version. -->
<repository>
<id>repo</id>
<name>Repository Name</name>
<url>scp://host/path/to/repo</url>
</repository>
<!-- use the following if you ARE using a snapshot version. -->
<snapshotRepository>
<id>repo</id>
<name>Repository Name</name>
<url>scp://host/path/to/repo</url>
</snapshotRepository>
</distributionManagement>
Cause: Class 'org.apache.maven.artifact.repository.ArtifactRepository'
cannot be
instantiated
How to fix it?
-Henry