On 03/15/12 13:26, Balder VC wrote:
> I have the same issue on ubuntu with a sun JDK 6.
> 
> But when I build the jar-with-dependencies and run that, it runs without
> a problem. (this is build when you do the maven build)
> 
> Perhaps it's because there are more required libraries than only itextpdf.
> 
> According to the jar's manifest:
> 
> Manifest-Version: 1.0
> Archiver-Version: Plexus Archiver
> Created-By: Apache Maven
> Built-By: blowagie
> Build-Jdk: 1.5.0_17
> Main-Class: com.itextpdf.rups.Rups
> Class-Path: itextpdf-5.2.0.jar dom4j-1.6.1.jar xml-apis-1.0.b2.jar bct
>  sp-jdk15-1.46.jar bcprov-jdk15-1.46.jar bcmail-jdk15-1.46.jar
> 
> 
> 
I've downloaded rups with:

~/prog_dev/itext/svn $ svn co
https://itextrups.svn.sourceforge.net/svnroot/itextrups/trunk rups

whose output showed:

A    rups/src/main/java/com/itextpdf/rups/view/itext/XfaTree.java
A    rups/pom.xml
A    rups/readme.txt
 U   rups
Checked out revision 13.

So, I entered the rups directory hoping it would be easy to use mvn
with some target name which would be obvious from looking at the
rups/pom.xml file.  The pom.xml file contained:

  <descriptorRef>jar-with-dependencies</descriptorRef>

but, trying the obvious:

/home/evansl/prog_dev/itext/svn/rups $ mvn jar-with-dependencies
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Invalid task 'jar-with-dependencies': you must specify a valid
lifecycle phase, or a goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sat Mar 17 10:31:48 CDT 2012
[INFO] Final Memory: 2M/36M
[INFO]
------------------------------------------------------------------------

obviously failed.  How do I get the jar-with-dependencies to be built.
I'm now looking at:

http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Built-in_Lifecycle_Bindings

and tried various other args to mvn without luck.

Any help would be appreciated.

-regards,
Larry


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to