I typed:
C:>mvn deploy
-Ddeploy=C:/apps/uPortal_rel-2-6-1/apache-tomcat-5.5.25/webapps/wsrp4j-proxyportlet.war
and got the errors:
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
[INFO]
------------------------------------------------------------------------
How to fix it?
-Henry