|
[
Permlink
| « Hide
]
Erik Drolshammer added a comment - 17/Feb/09 03:38 AM
An initial rpm-project.
Use unix-m-p version 1.0-alpha (final) + added (hopefully) the rest of the dependencies. The size of the final rpm is now 25 MiB.
Just tried the latest attachment and I get an error during the build:
[chirino@localhost trunk]$ mvn install [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/unix-maven-plugin/1.0-alpha-2/unix-maven-plugin-1.0-alpha-2.pom Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/unix-maven-plugin/1.0-alpha-2/unix-maven-plugin-1.0-alpha-2.pom [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: org.codehaus.mojo:unix-maven-plugin Reason: POM 'org.codehaus.mojo:unix-maven-plugin' not found in repository: Unable to download the artifact from any repository org.codehaus.mojo:unix-maven-plugin:pom:1.0-alpha-2 from the specified remote repositories: apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2) for project org.codehaus.mojo:unix-maven-plugin [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10 seconds [INFO] Finished at: Wed Feb 18 09:26:00 GMT-05:00 2009 [INFO] Final Memory: 1M/4M [INFO] ------------------------------------------------------------------------ This is because the artifact was released today (last night) and have not been synchronized to repo1 yet. (Wait 12-15 hours and it should be ok.) The artifact can be found in http://repository.codehaus.org/org/codehaus/mojo/unix-maven-plugin/1.0-alpha-2/
I tested this today.
Some problems :
On the Zip issue:
I upgraded the Jetty version set in the Pom to 6.1.18. Jetty then provided me with information on which jarfile was corrupt so I could reinstall it (smack-1.5.0). this fixed the admin problem. Changes from the previous rpm-project:
Minor adjustments to the adduser command
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||