Changes between Version 2 and Version 3 of java-pacaging


Ignore:
Timestamp:
Aug 19, 2014, 6:25:05 AM (10 years ago)
Author:
jlarouche
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • java-pacaging

    v2 v3  
    2020For 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.
    2121
    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.
     22Maven-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.
    2323
    2424If 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.