|
1 | 1 | <?xml version="1.0"?> |
2 | 2 | <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/xsd/maven-4.0.0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | | - <parent> |
5 | | - <groupId>de.taimos</groupId> |
6 | | - <artifactId>oss-parent</artifactId> |
7 | | - <version>5</version> |
8 | | - </parent> |
| 4 | + |
| 5 | + <groupId>de.taimos</groupId> |
9 | 6 | <artifactId>gpsd4java</artifactId> |
10 | 7 | <version>1.12-SNAPSHOT</version> |
11 | 8 | <packaging>bundle</packaging> |
| 9 | + |
12 | 10 | <name>GPSd4Java</name> |
13 | 11 | <description>Java Client library for GPSd deamon</description> |
14 | | - <prerequisites> |
15 | | - <maven>3.0.0</maven> |
16 | | - </prerequisites> |
17 | | - |
18 | 12 | <url>http://taimos.github.com/GPSd4Java/</url> |
19 | 13 | <inceptionYear>2011</inceptionYear> |
20 | 14 |
|
| 15 | + <organization> |
| 16 | + <name>Taimos GmbH</name> |
| 17 | + <url>http://www.taimos.de</url> |
| 18 | + </organization> |
| 19 | + |
| 20 | + <licenses> |
| 21 | + <license> |
| 22 | + <name>The Apache Software License, Version 2.0</name> |
| 23 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 24 | + <distribution>repo</distribution> |
| 25 | + </license> |
| 26 | + </licenses> |
| 27 | + |
| 28 | + <developers> |
| 29 | + <developer> |
| 30 | + <id>thoeger</id> |
| 31 | + <email>thorsten.hoeger@taimos.de</email> |
| 32 | + <name>Thorsten Hoeger</name> |
| 33 | + <organization>Taimos GmbH</organization> |
| 34 | + <organizationUrl>http://www.taimos.de</organizationUrl> |
| 35 | + <timezone>+1</timezone> |
| 36 | + </developer> |
| 37 | + </developers> |
| 38 | + |
21 | 39 | <contributors> |
22 | 40 | <contributor> |
23 | 41 | <name>Irakli Betchvaia</name> |
|
42 | 60 | </contributor> |
43 | 61 | </contributors> |
44 | 62 |
|
| 63 | + <properties> |
| 64 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 65 | + <maven.compiler.source>11</maven.compiler.source> |
| 66 | + <maven.compiler.target>11</maven.compiler.target> |
| 67 | + </properties> |
| 68 | + |
| 69 | + <scm> |
| 70 | + <connection>scm:git:git@github.com:taimos/GPSd4Java.git</connection> |
| 71 | + <developerConnection>scm:git:git@github.com:taimos/GPSd4Java.git</developerConnection> |
| 72 | + <url>git@github.com:taimos/GPSd4Java.git</url> |
| 73 | + <tag>HEAD</tag> |
| 74 | + </scm> |
| 75 | + |
45 | 76 | <dependencies> |
46 | 77 | <dependency> |
47 | 78 | <groupId>org.json</groupId> |
|
67 | 98 | </dependency> |
68 | 99 | </dependencies> |
69 | 100 |
|
70 | | - <scm> |
71 | | - <connection>scm:git:git@github.com:taimos/GPSd4Java.git</connection> |
72 | | - <developerConnection>scm:git:git@github.com:taimos/GPSd4Java.git</developerConnection> |
73 | | - <url>git@github.com:taimos/GPSd4Java.git</url> |
74 | | - <tag>HEAD</tag> |
75 | | - </scm> |
| 101 | + <distributionManagement> |
| 102 | + <snapshotRepository> |
| 103 | + <id>central</id> |
| 104 | + <name>Central Portal Snapshots</name> |
| 105 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 106 | + </snapshotRepository> |
| 107 | + </distributionManagement> |
76 | 108 |
|
77 | 109 | <build> |
78 | | - <pluginManagement> |
79 | | - <plugins> |
80 | | - <plugin> |
81 | | - <artifactId>maven-compiler-plugin</artifactId> |
82 | | - <version>3.6.0</version> |
83 | | - </plugin> |
84 | | - </plugins> |
85 | | - </pluginManagement> |
86 | | - |
87 | 110 | <plugins> |
88 | 111 | <plugin> |
89 | 112 | <groupId>org.apache.maven.plugins</groupId> |
90 | 113 | <artifactId>maven-compiler-plugin</artifactId> |
| 114 | + <version>3.13.0</version> |
91 | 115 | <configuration> |
92 | | - <source>11</source> |
93 | | - <target>11</target> |
94 | 116 | <showDeprecation>true</showDeprecation> |
95 | 117 | </configuration> |
96 | 118 | </plugin> |
97 | 119 | <plugin> |
| 120 | + <groupId>org.apache.maven.plugins</groupId> |
98 | 121 | <artifactId>maven-jar-plugin</artifactId> |
99 | | - <version>3.0.2</version> |
| 122 | + <version>3.4.2</version> |
100 | 123 | <configuration> |
101 | 124 | <archive> |
102 | 125 | <addMavenDescriptor /> |
|
110 | 133 | <plugin> |
111 | 134 | <groupId>org.apache.felix</groupId> |
112 | 135 | <artifactId>maven-bundle-plugin</artifactId> |
113 | | - <version>5.1.8</version> |
| 136 | + <version>5.1.9</version> |
| 137 | + <extensions>true</extensions> |
| 138 | + </plugin> |
| 139 | + <plugin> |
| 140 | + <groupId>org.apache.maven.plugins</groupId> |
| 141 | + <artifactId>maven-release-plugin</artifactId> |
| 142 | + <version>3.1.1</version> |
| 143 | + <configuration> |
| 144 | + <useReleaseProfile>false</useReleaseProfile> |
| 145 | + <tagNameFormat>v@{project.version}</tagNameFormat> |
| 146 | + <goals>deploy</goals> |
| 147 | + <arguments>-Ptaimos-oss-release</arguments> |
| 148 | + <localCheckout>true</localCheckout> |
| 149 | + </configuration> |
| 150 | + </plugin> |
| 151 | + <plugin> |
| 152 | + <groupId>org.sonatype.central</groupId> |
| 153 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 154 | + <version>0.7.0</version> |
114 | 155 | <extensions>true</extensions> |
| 156 | + <configuration> |
| 157 | + <publishingServerId>central</publishingServerId> |
| 158 | + <!-- false = stage a deployment for manual review/release in the Portal UI. |
| 159 | + Set to true to release to Maven Central automatically once validated. --> |
| 160 | + <autoPublish>false</autoPublish> |
| 161 | + </configuration> |
115 | 162 | </plugin> |
116 | 163 | </plugins> |
117 | 164 | </build> |
| 165 | + |
| 166 | + <profiles> |
| 167 | + <!-- Activated during release (-Ptaimos-oss-release) to attach sources, |
| 168 | + javadoc and GPG signatures, all required by Maven Central. --> |
| 169 | + <profile> |
| 170 | + <id>taimos-oss-release</id> |
| 171 | + <build> |
| 172 | + <plugins> |
| 173 | + <plugin> |
| 174 | + <groupId>org.apache.maven.plugins</groupId> |
| 175 | + <artifactId>maven-source-plugin</artifactId> |
| 176 | + <version>3.3.1</version> |
| 177 | + <executions> |
| 178 | + <execution> |
| 179 | + <id>attach-sources</id> |
| 180 | + <goals> |
| 181 | + <goal>jar-no-fork</goal> |
| 182 | + </goals> |
| 183 | + </execution> |
| 184 | + </executions> |
| 185 | + </plugin> |
| 186 | + <plugin> |
| 187 | + <groupId>org.apache.maven.plugins</groupId> |
| 188 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 189 | + <version>3.11.2</version> |
| 190 | + <executions> |
| 191 | + <execution> |
| 192 | + <id>attach-javadocs</id> |
| 193 | + <goals> |
| 194 | + <goal>jar</goal> |
| 195 | + </goals> |
| 196 | + </execution> |
| 197 | + </executions> |
| 198 | + </plugin> |
| 199 | + <plugin> |
| 200 | + <groupId>org.apache.maven.plugins</groupId> |
| 201 | + <artifactId>maven-gpg-plugin</artifactId> |
| 202 | + <version>3.2.7</version> |
| 203 | + <executions> |
| 204 | + <execution> |
| 205 | + <id>sign-artifacts</id> |
| 206 | + <phase>verify</phase> |
| 207 | + <goals> |
| 208 | + <goal>sign</goal> |
| 209 | + </goals> |
| 210 | + </execution> |
| 211 | + </executions> |
| 212 | + </plugin> |
| 213 | + </plugins> |
| 214 | + </build> |
| 215 | + </profile> |
| 216 | + </profiles> |
118 | 217 | </project> |
0 commit comments