1<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 2 <modelVersion>4.0.0</modelVersion> 3 <groupId>net.java.jinput</groupId> 4 <artifactId>jinput-parent</artifactId> 5 <packaging>pom</packaging> 6 <name>JInput</name> 7 <version>2.0.10-SNAPSHOT</version> 8 <description>Library for access to input devices.</description> 9 <url>https://github.com/jinput/jinput</url> 10 <licenses> 11 <license> 12 <name>BSD</name> 13 <url>http://www.opensource.org/licenses/bsd-license.php</url> 14 <distribution>repo</distribution> 15 </license> 16 </licenses> 17 <developers> 18 <developer> 19 <id>Members</id> 20 <url>https://github.com/jinput/jinput/graphs/contributors</url> 21 </developer> 22 </developers> 23 <scm> 24 <url>https://github.com/jinput/jinput.git</url> 25 <connection>scm:git:https://github.com/jinput/jinput.git</connection> 26 <developerConnection>scm:git:https://github.com/jinput/jinput.git</developerConnection> 27 </scm> 28 29 <distributionManagement> 30 <snapshotRepository> 31 <id>ossrh</id> 32 <url>https://oss.sonatype.org/content/repositories/snapshots</url> 33 </snapshotRepository> 34 <repository> 35 <id>ossrh</id> 36 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> 37 </repository> 38 </distributionManagement> 39 40 <properties> 41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 42 <maven.compiler.source>8</maven.compiler.source> 43 <maven.compiler.target>8</maven.compiler.target> 44 </properties> 45 46 <dependencyManagement> 47 <dependencies> 48 <dependency> 49 <groupId>net.java.jutils</groupId> 50 <artifactId>jutils</artifactId> 51 <version>1</version> 52 </dependency> 53 </dependencies> 54 </dependencyManagement> 55 56 <modules> 57 <module>coreAPI</module> 58 <module>plugins</module> 59 <module>applet</module> 60 <module>uberjar</module> 61 <module>examples</module> 62 <module>tests</module> 63 </modules> 64 65 <build> 66 <pluginManagement> 67 <plugins> 68 <plugin> 69 <artifactId>maven-compiler-plugin</artifactId> 70 <version>3.8.1</version> 71 <configuration> 72 <showDeprecation>true</showDeprecation> 73 <showWarnings>true</showWarnings> 74 <compilerArgs> 75 <arg>-Werror</arg> 76 <arg>-Xlint:all,-options</arg> 77 <arg>-h</arg> 78 <arg>${project.build.directory}/generated-sources/natives</arg> 79 </compilerArgs> 80 </configuration> 81 </plugin> 82 <plugin> 83 <artifactId>maven-jar-plugin</artifactId> 84 <version>3.2.0</version> 85 <configuration> 86 <archive> 87 <manifestEntries> 88 <addDefaultImplementationEntries>true</addDefaultImplementationEntries> 89 </manifestEntries> 90 </archive> 91 </configuration> 92 </plugin> 93 <plugin> 94 <artifactId>maven-source-plugin</artifactId> 95 <version>3.2.0</version> 96 <executions> 97 <execution> 98 <id>attach-sources</id> 99 <goals> 100 <goal>jar</goal> 101 </goals> 102 </execution> 103 </executions> 104 </plugin> 105 <plugin> 106 <artifactId>maven-javadoc-plugin</artifactId> 107 <version>3.1.1</version> 108 <configuration> 109 <additionalOptions>-Xdoclint:none</additionalOptions> 110 </configuration> 111 <executions> 112 <execution> 113 <id>attach-javadocs</id> 114 <phase>package</phase> 115 <goals> 116 <goal>jar</goal> 117 </goals> 118 </execution> 119 </executions> 120 </plugin> 121 <plugin> 122 <artifactId>maven-antrun-plugin</artifactId> 123 <version>1.8</version> 124 </plugin> 125 <plugin> 126 <groupId>com.googlecode.mavennatives</groupId> 127 <artifactId>maven-nativedependencies-plugin</artifactId> 128 <version>0.0.7</version> 129 <executions> 130 <execution> 131 <id>unpacknatives</id> 132 <goals> 133 <goal>copy</goal> 134 </goals> 135 </execution> 136 </executions> 137 </plugin> 138 <plugin> 139 <groupId>org.sonatype.plugins</groupId> 140 <artifactId>nexus-staging-maven-plugin</artifactId> 141 <version>1.6.8</version> 142 <extensions>true</extensions> 143 <configuration> 144 <serverId>ossrh</serverId> 145 <nexusUrl>https://oss.sonatype.org/</nexusUrl> 146 <autoReleaseAfterClose>true</autoReleaseAfterClose> 147 </configuration> 148 </plugin> 149 <plugin> 150 <groupId>org.apache.maven.plugins</groupId> 151 <artifactId>maven-shade-plugin</artifactId> 152 <version>3.2.1</version> 153 </plugin> 154 </plugins> 155 </pluginManagement> 156 <plugins> 157 <plugin> 158 <artifactId>maven-gpg-plugin</artifactId> 159 <version>1.6</version> 160 <executions> 161 <execution> 162 <id>sign-artifacts</id> 163 <phase>deploy</phase> 164 <goals> 165 <goal>sign</goal> 166 </goals> 167 </execution> 168 </executions> 169 </plugin> 170 <plugin> 171 <groupId>org.sonatype.plugins</groupId> 172 <artifactId>nexus-staging-maven-plugin</artifactId> 173 </plugin> 174 </plugins> 175 </build> 176 177 <profiles> 178 <profile> 179 <id>release</id> 180 <build> 181 <plugins> 182 <plugin> 183 <groupId>org.sonatype.plugins</groupId> 184 <artifactId>nexus-staging-maven-plugin</artifactId> 185 <configuration> 186 <autoReleaseAfterClose>false</autoReleaseAfterClose> 187 </configuration> 188 </plugin> 189 </plugins> 190 </build> 191 </profile> 192 </profiles> 193</project> 194