I modified the project.properties file to #maven.uberjar.main=com.bookspan.referral.MyPoints maven.javaapp.mainclass=com.bookspan.referral.MyPoints
and tried running the goal [both "maven javaapp" and "maven javaapp:jar"], and got the unhelpful message: C:\src\MyPoints>maven javaapp __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 BUILD FAILED Goal "javaapp" does not exist in this project. Total time: 4 seconds Finished at: Wed Aug 17 10:33:04 EDT 2005 are any changes needed to the project.xml file? are any other properties required? Is a small example available? -----Original Message----- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 10:25 AM To: Maven Users List Subject: RE: Maven 1.0.2, uberjar and properties problem Levitt, David, Bookspan wrote on Wednesday, August 17, 2005 4:15 PM: > I'm getting started with Maven [1.0.2] on a simple project. > > I'm trying to bundle the complete application [my three > classes + twelve jar files + properties files] into an 'uberjar'. > > 'maven uberjar' builds an output file, with the classworld > files, my classes and the library files - but does not > include the property files needed by log4j or my program. > > This is similar to an open bug > http://jira.codehaus.org/browse/CLASSWORLDS-6 > > Does anyone have a recipe that yield a working 'uberjar'? Give the javaapp plugin a try, it is designed as drop-in replacement. Especially if the uberjar gets bigger, the application might take ages to start. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
