You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by linzhang <lz...@reverbnetworks.com> on 2011/01/12 19:57:49 UTC

Re: Problem with the release:perform

Me too, I have same problem as following and need someone to point it out.
Thanks.

-Lin

WARNING] File encoding has not been set, using platform encoding Cp1252,
i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 70 resources
[INFO] Copying 27 resources
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] File encoding has not been set, using platform encoding Cp1252,
i.e. build is platform dependent!
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 22 resources
[INFO] Copying 13 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [dbunit:operation {execution: test-compile}]
[INFO] Skip operation: CLEAN_INSERT execution
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [dbunit:operation {execution: test}]
[INFO] Skip operation: CLEAN_INSERT execution
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
C:\Tools\Hudson\jobs\Maven-Build-All\workspace\beammaker\target\beammaker-1.0-SNAPSHOT.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing
C:\Tools\Hudson\jobs\Maven-Build-All\workspace\beammaker\target\beammaker-1.0-SNAPSHOT.jar
to
c:\mvn_repo\com\reverb\beammaker\framework\beammaker\1.0-SNAPSHOT\beammaker-1.0-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-deploy-plugin:2.4

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]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Wed Jan 12 13:50:32 EST 2011
[INFO] Final Memory: 26M/64M
[INFO]
------------------------------------------------------------------------

-- 
View this message in context: http://maven-users.828.n2.nabble.com/Problem-with-the-release-perform-tp4086657p5915704.html
Sent from the maven users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org