|
10 | 10 |
|
11 | 11 | <groupId>com.qdesrame</groupId>
|
12 | 12 | <artifactId>openapi-diff</artifactId>
|
13 |
| - <version>1.1.0</version> |
| 13 | + <version>1.1.0-SNAPSHOT</version> |
14 | 14 | <packaging>jar</packaging>
|
15 | 15 |
|
16 | 16 | <name>openapi-diff</name>
|
|
26 | 26 |
|
27 | 27 | <developers>
|
28 | 28 | <developer>
|
29 |
| - <name>QDesrame</name> |
| 29 | + <name>qdesrame</name> |
30 | 30 | <email>quen2404@gmail.com</email>
|
31 | 31 | </developer>
|
32 | 32 | </developers>
|
33 | 33 |
|
34 | 34 | <scm>
|
35 |
| - <connection>scm:git:git@github.com:quen2404/openapi-diff.git</connection> |
36 |
| - <developerConnection>scm:git:git@github.com:quen2404/openpi-diff.git</developerConnection> |
37 |
| - <url>git@github.com:quen2404/openapi-diff.git</url> |
| 35 | + <connection>scm:git:http://github.com/quen2404/openapi-diff.git</connection> |
| 36 | + <developerConnection>scm:git:http://github.com/quen2404/openapi-diff.git</developerConnection> |
| 37 | + <url>https://github.com/quen2404/openapi-diff</url> |
38 | 38 | </scm>
|
39 | 39 |
|
40 |
| - <properties> |
41 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
42 |
| - </properties> |
43 |
| - |
44 | 40 | <distributionManagement>
|
45 | 41 | <snapshotRepository>
|
46 |
| - <id>oss</id> |
47 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 42 | + <id>sonatype-nexus-snapshots</id> |
| 43 | + <name>Sonatype Nexus snapshot repository</name> |
| 44 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
48 | 45 | </snapshotRepository>
|
49 | 46 | <repository>
|
50 |
| - <id>oss</id> |
| 47 | + <id>sonatype-nexus-staging</id> |
| 48 | + <name>Sonatype Nexus release repository</name> |
51 | 49 | <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
52 | 50 | </repository>
|
53 | 51 | </distributionManagement>
|
54 | 52 |
|
| 53 | + <properties> |
| 54 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 55 | + <project.scm.id>github</project.scm.id> |
| 56 | + </properties> |
| 57 | + |
55 | 58 | <dependencies>
|
56 | 59 | <dependency>
|
57 | 60 | <groupId>io.swagger.parser.v3</groupId>
|
|
108 | 111 |
|
109 | 112 | <profiles>
|
110 | 113 | <profile>
|
111 |
| - <id>release</id> |
| 114 | + <id>release-sign-artifacts</id> |
| 115 | + <activation> |
| 116 | + <property> |
| 117 | + <name>performRelease</name> |
| 118 | + <value>true</value> |
| 119 | + </property> |
| 120 | + </activation> |
112 | 121 | <build>
|
113 | 122 | <plugins>
|
114 |
| - <plugin> |
115 |
| - <artifactId>maven-compiler-plugin</artifactId> |
116 |
| - <configuration> |
117 |
| - <source>1.8</source> |
118 |
| - <target>1.8</target> |
119 |
| - <encoding>UTF-8</encoding> |
120 |
| - </configuration> |
121 |
| - <version>3.2</version> |
122 |
| - </plugin> |
123 |
| - <!-- Source --> |
124 | 123 | <plugin>
|
125 | 124 | <groupId>org.apache.maven.plugins</groupId>
|
126 |
| - <artifactId>maven-source-plugin</artifactId> |
127 |
| - <version>3.0.1</version> |
128 |
| - <executions> |
129 |
| - <execution> |
130 |
| - <phase>package</phase> |
131 |
| - <goals> |
132 |
| - <goal>jar-no-fork</goal> |
133 |
| - </goals> |
134 |
| - </execution> |
135 |
| - </executions> |
136 |
| - </plugin> |
137 |
| - <!-- Javadoc --> |
138 |
| - <plugin> |
139 |
| - <groupId>org.apache.maven.plugins</groupId> |
140 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
141 |
| - <version>3.0.0</version> |
| 125 | + <artifactId>maven-gpg-plugin</artifactId> |
| 126 | + <version>1.6</version> |
142 | 127 | <configuration>
|
143 |
| - <quiet>true</quiet> |
144 |
| - <nonavbar>true</nonavbar> |
145 |
| - <notree>true</notree> |
146 |
| - <nocomment>true</nocomment> |
147 |
| - <nohelp>true</nohelp> |
| 128 | + <configuration> |
| 129 | + <gpgArguments> |
| 130 | + <arg>--pinentry-mode</arg> |
| 131 | + <arg>loopback</arg> |
| 132 | + </gpgArguments> |
| 133 | + </configuration> |
148 | 134 | </configuration>
|
149 | 135 | <executions>
|
150 | 136 | <execution>
|
151 |
| - <id>attach-javadocs</id> |
| 137 | + <id>sign-artifacts</id> |
| 138 | + <phase>verify</phase> |
152 | 139 | <goals>
|
153 |
| - <goal>jar</goal> |
| 140 | + <goal>sign</goal> |
154 | 141 | </goals>
|
155 | 142 | </execution>
|
156 | 143 | </executions>
|
157 | 144 | </plugin>
|
158 | 145 | </plugins>
|
159 | 146 | </build>
|
160 |
| - <distributionManagement> |
161 |
| - <snapshotRepository> |
162 |
| - <id>oss</id> |
163 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
164 |
| - </snapshotRepository> |
165 |
| - <repository> |
166 |
| - <id>oss</id> |
167 |
| - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
168 |
| - </repository> |
169 |
| - </distributionManagement> |
170 | 147 | </profile>
|
171 | 148 | </profiles>
|
172 | 149 | <build>
|
|
180 | 157 | </configuration>
|
181 | 158 | <version>3.2</version>
|
182 | 159 | </plugin>
|
| 160 | + <plugin> |
| 161 | + <groupId>org.apache.maven.plugins</groupId> |
| 162 | + <artifactId>maven-source-plugin</artifactId> |
| 163 | + <version>3.0.1</version> |
| 164 | + <executions> |
| 165 | + <execution> |
| 166 | + <phase>package</phase> |
| 167 | + <goals> |
| 168 | + <goal>jar-no-fork</goal> |
| 169 | + </goals> |
| 170 | + </execution> |
| 171 | + </executions> |
| 172 | + </plugin> |
| 173 | + <plugin> |
| 174 | + <groupId>org.apache.maven.plugins</groupId> |
| 175 | + <artifactId>maven-release-plugin</artifactId> |
| 176 | + <version>2.5.3</version> |
| 177 | + <configuration> |
| 178 | + <!--<arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments>--> |
| 179 | + <tagNameFormat>@{project.version}</tagNameFormat> |
| 180 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 181 | + <releaseProfiles>releases</releaseProfiles> |
| 182 | + <!--<localCheckout>true</localCheckout>--> |
| 183 | + <!--<pushChanges>false</pushChanges>--> |
| 184 | + </configuration> |
| 185 | + </plugin> |
| 186 | + <!-- Javadoc --> |
| 187 | + <plugin> |
| 188 | + <groupId>org.apache.maven.plugins</groupId> |
| 189 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 190 | + <version>3.0.0</version> |
| 191 | + <configuration> |
| 192 | + <quiet>true</quiet> |
| 193 | + <nonavbar>true</nonavbar> |
| 194 | + <notree>true</notree> |
| 195 | + <nocomment>true</nocomment> |
| 196 | + <nohelp>true</nohelp> |
| 197 | + </configuration> |
| 198 | + <executions> |
| 199 | + <execution> |
| 200 | + <id>attach-javadocs</id> |
| 201 | + <goals> |
| 202 | + <goal>jar</goal> |
| 203 | + </goals> |
| 204 | + </execution> |
| 205 | + </executions> |
| 206 | + </plugin> |
183 | 207 | <plugin>
|
184 | 208 | <artifactId>maven-assembly-plugin</artifactId>
|
185 | 209 | <configuration>
|
|
0 commit comments