Hi,

Am 06.12.2010 14:36, schrieb Jukka Zitting:
Hi,

On 06/12/10 07:31, Andreas Lehmkuehler wrote:
Excellent, the more release managers we have the better! See
http://www.apache.org/dev/publishing-maven-artifacts.html for the standard Maven
release process that I've tried to make also PDFBox use. Hopefully that's enough
documentation, but I'll be happy to describe things in more detail if needed.

I followed the given description, "mvn release:prepare -DdryRun=true" works
like a charm. Whenever I run "mvn release:prepare" I got the attached error. Any ideas what went wrong? Am I missing something?

BR
Andreas Lehmkühler

....
[INFO] [INFO] [apache-rat:check {execution: default}]
[INFO] [INFO] Exclude: release.properties
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building Apache PDFBox
[INFO] [INFO]    task-segment: [clean, verify]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] [clean:clean {execution: default-clean}]
[INFO] [INFO] Deleting file set: /home/lehmi/workspace/temp/PDFBox-1.4.0/pdfbox/target (included: [**], excluded: []) [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/pdfbox/fontbox/1.4.0/fontbox-1.4.0.jar [INFO] [INFO] Unable to find resource 'org.apache.pdfbox:fontbox:jar:1.4.0' in repository central (http://repo1.maven.org/maven2) [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/pdfbox/jempbox/1.4.0/jempbox-1.4.0.jar [INFO] [INFO] Unable to find resource 'org.apache.pdfbox:jempbox:jar:1.4.0' in repository central (http://repo1.maven.org/maven2) [INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] BUILD ERROR
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Failed to resolve artifact.
[INFO]
[INFO] Missing:
[INFO] ----------
[INFO] 1) org.apache.pdfbox:fontbox:jar:1.4.0
[INFO]
[INFO]   Try downloading the file manually from the project website.
[INFO]
[INFO]   Then, install it using the command:
[INFO] mvn install:install-file -DgroupId=org.apache.pdfbox -DartifactId=fontbox -Dversion=1.4.0 -Dpackaging=jar -Dfile=/path/to/file
[INFO]
[INFO] Alternatively, if you host your own repository you can deploy the file there: [INFO] mvn deploy:deploy-file -DgroupId=org.apache.pdfbox -DartifactId=fontbox -Dversion=1.4.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[INFO]
[INFO]   Path to dependency:
[INFO]          1) org.apache.pdfbox:pdfbox:bundle:1.4.0
[INFO]          2) org.apache.pdfbox:fontbox:jar:1.4.0
[INFO]
[INFO] 2) org.apache.pdfbox:jempbox:jar:1.4.0
[INFO]
[INFO]   Try downloading the file manually from the project website.
[INFO]
[INFO]   Then, install it using the command:
[INFO] mvn install:install-file -DgroupId=org.apache.pdfbox -DartifactId=jempbox -Dversion=1.4.0 -Dpackaging=jar -Dfile=/path/to/file
[INFO]
[INFO] Alternatively, if you host your own repository you can deploy the file there: [INFO] mvn deploy:deploy-file -DgroupId=org.apache.pdfbox -DartifactId=jempbox -Dversion=1.4.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[INFO]
[INFO]   Path to dependency:
[INFO]          1) org.apache.pdfbox:pdfbox:bundle:1.4.0
[INFO]          2) org.apache.pdfbox:jempbox:jar:1.4.0
[INFO]
[INFO] ----------
[INFO] 2 required artifacts are missing.
[INFO]
[INFO] for artifact:
[INFO]   org.apache.pdfbox:pdfbox:bundle:1.4.0
[INFO]
[INFO] from the specified remote repositories:
[INFO]   apache.snapshots (http://repository.apache.org/snapshots),
[INFO]   central (http://repo1.maven.org/maven2)
[INFO]
[INFO]
[INFO]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] For more information, run Maven with the -e switch
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 26 seconds
[INFO] [INFO] Finished at: Thu Dec 16 20:30:05 CET 2010
[INFO] [INFO] Final Memory: 55M/380M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Maven execution failed, exit code: '1'

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 43 seconds
[INFO] Finished at: Thu Dec 16 20:30:05 CET 2010
[INFO] Final Memory: 25M/253M
[INFO] ------------------------------------------------------------------------

Reply via email to