317 lines
9.9 KiB
XML
317 lines
9.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>de.ailis.usb4java</groupId>
|
|
<artifactId>usb4java</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>usb4java</name>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<url>http://kayahr.github.com/usb4java/</url>
|
|
<description>
|
|
USB library for Java based on libusb and implementing javax.usb (JSR-80).
|
|
</description>
|
|
<inceptionYear>2011</inceptionYear>
|
|
<organization>
|
|
<name>Klaus Reimer</name>
|
|
<url>http://www.ailis.de/~k/</url>
|
|
</organization>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>LGPL</name>
|
|
<url>LICENSE.md</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<mailingLists>
|
|
<mailingList>
|
|
<name>Discussions</name>
|
|
<subscribe>usb4java+subscribe@googlegroups.com</subscribe>
|
|
<unsubscribe>usb4java+unsubscribe@googlegroups.com</unsubscribe>
|
|
<post>usb4java@googlegroups.com</post>
|
|
<archive>http://groups.google.com/group/usb4java</archive>
|
|
</mailingList>
|
|
</mailingLists>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>kayahr</id>
|
|
<name>Klaus Reimer</name>
|
|
<email>k@ailis.de</email>
|
|
<roles>
|
|
<role>Developer</role>
|
|
</roles>
|
|
<timezone>+1</timezone>
|
|
<url>http://www.ailis.de/~k/</url>
|
|
</developer>
|
|
</developers>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<releaseBaseUrl>http://nexus.ailis.de/content/repositories/releases/de/ailis/${project.artifactId}/${project.artifactId}</releaseBaseUrl>
|
|
<snapshotBaseUrl>http://nexus.ailis.de/content/repositories/snapshots/de/ailis/${project.artifactId}/${project.artifactId}</snapshotBaseUrl>
|
|
<!--<releaseBaseUrl>https://oss.sonatype.org/content/groups/public/de/ailis/${project.artifactId}/${project.artifactId}</releaseBaseUrl>-->
|
|
<downloadBaseUrl>${releaseBaseUrl}/${project.version}/${project.artifactId}-${project.version}</downloadBaseUrl>
|
|
</properties>
|
|
|
|
<scm>
|
|
<connection>scm:git:git://github.com/kayahr/${project.artifactId}.git</connection>
|
|
<developerConnection>scm:git:ssh://git@github.com/kayahr/${project.artifactId}.git</developerConnection>
|
|
<url>http://github.com/kayahr/${project.artifactId}</url>
|
|
</scm>
|
|
|
|
<issueManagement>
|
|
<system>GitHub</system>
|
|
<url>https://github.com/kayahr/${project.artifactId}/issues</url>
|
|
</issueManagement>
|
|
|
|
<ciManagement>
|
|
<system>Jenkins</system>
|
|
<url>https://ci.ailis.de/job/${project.artifactId}/</url>
|
|
</ciManagement>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<configuration>
|
|
<dependencyDetailEnabled>false</dependencyDetailEnabled>
|
|
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
|
|
</configuration>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>summary</report>
|
|
<report>project-team</report>
|
|
<report>mailing-list</report>
|
|
<report>issue-tracking</report>
|
|
<report>scm</report>
|
|
<report>cim</report>
|
|
<report>license</report>
|
|
<report>dependencies</report>
|
|
<report>plugins</report>
|
|
<report>plugin-management</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-changes-plugin</artifactId>
|
|
<version>2.8</version>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>changes-report</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.9</version>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.14.1</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!-- Use Java 6 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.0</version>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Build the web site -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>3.2</version>
|
|
<configuration>
|
|
<chmod>false</chmod>
|
|
<locales>en</locales>
|
|
<inputEncoding>${project.build.sourceEncoding}</inputEncoding>
|
|
<outputEncoding>${project.build.sourceEncoding}</outputEncoding>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Set main class -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>de.ailis.usb4java.Main</mainClass>
|
|
<packageName>de.ailis.usb4java</packageName>
|
|
<addClasspath>true</addClasspath>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>no-natives</id>
|
|
<goals><goal>jar</goal></goals>
|
|
<phase>package</phase>
|
|
<configuration>
|
|
<classifier>no-natives</classifier>
|
|
<excludes>
|
|
<exclude>de/ailis/usb4java/libusb/*-*/**</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>natives</id>
|
|
<goals><goal>jar</goal></goals>
|
|
<phase>package</phase>
|
|
<configuration>
|
|
<classifier>natives</classifier>
|
|
<includes>
|
|
<include>de/ailis/usb4java/libusb/*-*/**</include>
|
|
</includes>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
|
|
<!--
|
|
- This updated dependency fixes a problem with broken permissions
|
|
- inside the JAR files.
|
|
-->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-archiver</artifactId>
|
|
<version>2.1.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release-sign-artifacts</id>
|
|
<activation>
|
|
<property>
|
|
<name>performRelease</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>ailis-releases</id>
|
|
<name>Ailis Maven Releases</name>
|
|
<url>http://nexus.ailis.de/content/groups/public/</url>
|
|
<releases><enabled>true</enabled></releases>
|
|
<snapshots><enabled>false</enabled></snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>ailis-snapshots</id>
|
|
<name>Ailis Maven Snapshots</name>
|
|
<url>http://nexus.ailis.de/content/groups/public-snapshots/</url>
|
|
<releases><enabled>false</enabled></releases>
|
|
<snapshots><enabled>true</enabled></snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<distributionManagement>
|
|
<site>
|
|
<id>project-website</id>
|
|
<url>file://${project.basedir}/../${project.artifactId}-site/</url>
|
|
</site>
|
|
<!--
|
|
<repository>
|
|
<id>sonatype-staging</id>
|
|
<name>Sonatype Staging Repository</name>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>sonatype-snapshots</id>
|
|
<name>Sonatype Snapshot Repository</name>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
</snapshotRepository>
|
|
-->
|
|
<repository>
|
|
<id>ailis-releases</id>
|
|
<name>Ailis Maven Releases</name>
|
|
<url>http://nexus.ailis.de/content/repositories/releases</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>ailis-snapshots</id>
|
|
<name>Ailis Maven Snapshots</name>
|
|
<url>http://nexus.ailis.de/content/repositories/snapshots</url>
|
|
</snapshotRepository>
|
|
|
|
</distributionManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.11</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>1.9.5</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.usb</groupId>
|
|
<artifactId>usb</artifactId>
|
|
<version>1.0.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project>
|