|
2 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
3 | 3 | <modelVersion>4.0.0</modelVersion>
|
4 | 4 |
|
| 5 | + <!-- PROJECT COORDINATES --> |
| 6 | + |
5 | 7 | <groupId>org.codefx.libfx</groupId>
|
6 | 8 | <artifactId>LibFX</artifactId>
|
7 |
| - <version>0.1.0</version> |
| 9 | + <version>0.1.1</version> |
8 | 10 | <packaging>jar</packaging>
|
9 | 11 |
|
| 12 | + <!-- PROJECT META INFORMATION --> |
| 13 | + |
10 | 14 | <name>LibFX</name>
|
11 |
| - <url>http://libfx.codefx.org</url> |
12 | 15 | <description>LibFX provides utility classes for JavaFX.</description>
|
| 16 | + <url>http://libfx.codefx.org</url> |
| 17 | + |
13 | 18 | <scm>
|
14 | 19 | <url>https://github.com/CodeFX-org/LibFX</url>
|
| 20 | + <connection>scm:git:git://github.com/CodeFX-org/LibFX.git</connection> |
15 | 21 | </scm>
|
| 22 | + |
16 | 23 | <issueManagement>
|
17 | 24 | <url>https://github.com/CodeFX-org/LibFX/issues</url>
|
18 | 25 | <system>GitHub</system>
|
19 | 26 | </issueManagement>
|
20 | 27 |
|
| 28 | + <distributionManagement> |
| 29 | + <snapshotRepository> |
| 30 | + <id>ossrh</id> |
| 31 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 32 | + </snapshotRepository> |
| 33 | + </distributionManagement> |
| 34 | + |
| 35 | + <licenses> |
| 36 | + <license> |
| 37 | + <name>GNU General Public License, Version 3.0</name> |
| 38 | + <url>http://www.gnu.org/licenses/gpl-3.0.txt</url> |
| 39 | + <distribution>repo</distribution> |
| 40 | + < comments>Dual licensing under a license without copyleft effect is possible. Contact [email protected].</ comments> |
| 41 | + </license> |
| 42 | + </licenses> |
| 43 | + |
| 44 | + <!-- ORGANIZATION META INFORMATION --> |
| 45 | + |
21 | 46 | <organization>
|
22 | 47 | <name>CodeFX</name>
|
23 | 48 | <url>http://codefx.org</url>
|
24 | 49 | </organization>
|
25 | 50 |
|
| 51 | + <developers> |
| 52 | + <developer> |
| 53 | + <id>nipa</id> |
| 54 | + <name>Nicolai Parlog</name> |
| 55 | + |
| 56 | + <organization>CodeFX</organization> |
| 57 | + <organizationUrl>http://codefx.org</organizationUrl> |
| 58 | + <timezone>+1</timezone> |
| 59 | + </developer> |
| 60 | + </developers> |
| 61 | + |
| 62 | + <!-- BUILD --> |
| 63 | + |
26 | 64 | <properties>
|
27 | 65 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
28 | 66 | </properties>
|
|
44 | 82 |
|
45 | 83 | <build>
|
46 | 84 | <resources>
|
| 85 | + <!-- exclude the demo folder from the build process --> |
47 | 86 | <resource>
|
48 | 87 | <directory>src/demo/java</directory>
|
49 | 88 | <excludes>
|
|
53 | 92 | </resources>
|
54 | 93 | <plugins>
|
55 | 94 | <plugin>
|
| 95 | + <!-- specify using Java 8 --> |
56 | 96 | <groupId>org.apache.maven.plugins</groupId>
|
57 | 97 | <artifactId>maven-compiler-plugin</artifactId>
|
58 | 98 | <version>3.1</version>
|
|
62 | 102 | </configuration>
|
63 | 103 | </plugin>
|
64 | 104 | <plugin>
|
| 105 | + <!-- create sources.jar --> |
65 | 106 | <groupId>org.apache.maven.plugins</groupId>
|
66 | 107 | <artifactId>maven-source-plugin</artifactId>
|
67 | 108 | <version>2.3</version>
|
|
75 | 116 | </executions>
|
76 | 117 | </plugin>
|
77 | 118 | <plugin>
|
| 119 | + <!-- create javadoc.jar --> |
78 | 120 | <groupId>org.apache.maven.plugins</groupId>
|
79 | 121 | <artifactId>maven-javadoc-plugin</artifactId>
|
80 | 122 | <version>2.9.1</version>
|
|
87 | 129 | </execution>
|
88 | 130 | </executions>
|
89 | 131 | </plugin>
|
| 132 | + <plugin> |
| 133 | + <!-- sign all jars and pom --> |
| 134 | + <groupId>org.apache.maven.plugins</groupId> |
| 135 | + <artifactId>maven-gpg-plugin</artifactId> |
| 136 | + <version>1.5</version> |
| 137 | + <executions> |
| 138 | + <execution> |
| 139 | + <id>sign-artifacts</id> |
| 140 | + <phase>verify</phase> |
| 141 | + <goals> |
| 142 | + <goal>sign</goal> |
| 143 | + </goals> |
| 144 | + </execution> |
| 145 | + </executions> |
| 146 | + </plugin> |
| 147 | + <plugin> |
| 148 | + <!-- deploy to sonatype OSSRH --> |
| 149 | + <groupId>org.sonatype.plugins</groupId> |
| 150 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 151 | + <version>1.6.2</version> |
| 152 | + <extensions>true</extensions> |
| 153 | + <configuration> |
| 154 | + <serverId>ossrh</serverId> |
| 155 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 156 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 157 | + </configuration> |
| 158 | + </plugin> |
90 | 159 | </plugins>
|
91 | 160 | </build>
|
92 | 161 |
|
|
0 commit comments