install maven artifacts using mh_install
Add a pom file.
Call mh_install directly, since using --with maven-repo-helper
installs additional files from the build.
tony mancill
7 years ago
4 | 4 |
Uploaders: tony mancill <tmancill@debian.org>,
|
5 | 5 |
gregor herrmann <gregoa@debian.org>
|
6 | 6 |
Build-Depends: debhelper (>= 10)
|
7 | |
Build-Depends-Indep: ant, default-jdk, libjgraph-java
|
|
7 |
Build-Depends-Indep: ant, default-jdk, libjgraph-java, maven-repo-helper
|
8 | 8 |
Standards-Version: 3.9.8
|
9 | 9 |
Homepage: https://github.com/tdbear/microba
|
10 | 10 |
Vcs-Git: https://anonscm.debian.org/git/pkg-java/libmicroba-java.git
|
debian/libmicroba-java.install
less
more
0 | |
redist/microba-0.4.4.3.jar usr/share/java
|
|
0 |
debian/microba.pom.xml --no-parent --java-lib --artifact=redist/microba-0.4.4.3.jar
|
|
1 |
|
|
0 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
1 |
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
2 |
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
4 |
|
|
5 |
<modelVersion>4.0.0</modelVersion>
|
|
6 |
<groupId>com.michaelbaranov.microba</groupId>
|
|
7 |
<artifactId>microba</artifactId>
|
|
8 |
<version>0.4.4</version>
|
|
9 |
<packaging>jar</packaging>
|
|
10 |
<name>Microba Controls</name>
|
|
11 |
<url>http://microba.sf.net</url>
|
|
12 |
<description>Microba Controls library</description>
|
|
13 |
<developers>
|
|
14 |
<developer>
|
|
15 |
<name>Michael Baranov</name>
|
|
16 |
<url>http://www.michaelbaranov.com</url>
|
|
17 |
</developer>
|
|
18 |
</developers>
|
|
19 |
<licenses>
|
|
20 |
<license>
|
|
21 |
<name>BSD</name>
|
|
22 |
<url>http://microba.sf.net/license.txt</url>
|
|
23 |
<distribution>repo</distribution>
|
|
24 |
</license>
|
|
25 |
</licenses>
|
|
26 |
<dependencies>
|
|
27 |
<dependency>
|
|
28 |
<groupId>jgraph</groupId>
|
|
29 |
<artifactId>jgraph</artifactId>
|
|
30 |
<version>5.8.3.1</version>
|
|
31 |
<type>jar</type>
|
|
32 |
<scope>compile</scope>
|
|
33 |
</dependency>
|
|
34 |
</dependencies>
|
|
35 |
<build>
|
|
36 |
<resources>
|
|
37 |
<resource>
|
|
38 |
<directory>${basedir}/src/main/java</directory>
|
|
39 |
<includes>
|
|
40 |
<include>**/*.png</include>
|
|
41 |
<include>**/*.properties</include>
|
|
42 |
</includes>
|
|
43 |
</resource>
|
|
44 |
</resources>
|
|
45 |
<plugins>
|
|
46 |
<plugin>
|
|
47 |
<artifactId>maven-assembly-plugin</artifactId>
|
|
48 |
<configuration>
|
|
49 |
</configuration>
|
|
50 |
</plugin>
|
|
51 |
</plugins>
|
|
52 |
</build>
|
|
53 |
<reporting>
|
|
54 |
<plugins>
|
|
55 |
<plugin>
|
|
56 |
<groupId>org.apache.maven.plugins</groupId>
|
|
57 |
<artifactId>
|
|
58 |
maven-project-info-reports-plugin
|
|
59 |
</artifactId>
|
|
60 |
<reportSets>
|
|
61 |
<reportSet>
|
|
62 |
<reports></reports>
|
|
63 |
</reportSet>
|
|
64 |
</reportSets>
|
|
65 |
</plugin>
|
|
66 |
</plugins>
|
|
67 |
</reporting>
|
|
68 |
</project>
|
13 | 13 |
|
14 | 14 |
override_dh_installchangelogs:
|
15 | 15 |
dh_installchangelogs change.log.txt
|
|
16 |
|
|
17 |
override_dh_auto_install:
|
|
18 |
dh_auto_install
|
|
19 |
mh_install -plibmicroba-java
|