Changes between Version 2 and Version 3 of java-pacaging
- Timestamp:
- 08/19/14 06:25:05 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified java-pacaging
v2 v3 20 20 For maven debian helper to work, your java apps need to build using maven. If the project you want to package doesn't have many dependencies, it's pretty easy to create a pom.xml file to make it maven compatible. 21 21 22 Maven-Debian-Helper will use all the information found in the pom.xml file to create all the required files for the package. It will also look for any dependencies needed in the Ubuntu repository. Since it creates a standard Debian Package, it needs to be built from source. So all the dependencies must be available in a repository. 22 Maven-Debian-Helper will use all the information found in the pom.xml file to create all the required files for the package. It will also look for any dependencies needed in the Ubuntu repository. Since it creates a standard Debian Package, it needs to be built from source. So all the dependencies must be available in a repository. The dependencies must also be packaging with a pom.xml file in the {{{/usr/share/maven-repo}}} as it is used as a offline repository by maven-debian-helper. 23 23 24 24 If the dependencies is packaged but it's not the right version, you can create rules to modify the pom.xml file to use a different version when building.