|
11 | 11 |
|
12 | 12 | <groupId>net.glxn.qrgen</groupId>
|
13 | 13 | <artifactId>qrgen-parent</artifactId>
|
14 |
| - <version>2.0-SNAPSHOT</version> |
| 14 | + <version>2.1-SNAPSHOT</version> |
15 | 15 | <packaging>pom</packaging>
|
16 | 16 | <name>QRGen-parent</name>
|
17 | 17 | <description>a simple QRCode generation api for java built on top ZXING</description>
|
|
55 | 55 | <maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
|
56 | 56 | <maven-checkstyle-plugin.version>2.12.1</maven-checkstyle-plugin.version>
|
57 | 57 | <nexus-staging-maven-plugin.version>1.6.3</nexus-staging-maven-plugin.version>
|
| 58 | + <maven-gpg-plugin.version>1.5</maven-gpg-plugin.version> |
58 | 59 | </properties>
|
59 | 60 |
|
60 | 61 | <reporting>
|
|
77 | 78 | </plugins>
|
78 | 79 | </reporting>
|
79 | 80 |
|
| 81 | + <profiles> |
| 82 | + <profile> |
| 83 | + <id>sonatype-oss-release</id> |
| 84 | + <distributionManagement> |
| 85 | + <snapshotRepository> |
| 86 | + <id>ossrh</id> |
| 87 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 88 | + </snapshotRepository> |
| 89 | + <repository> |
| 90 | + <id>ossrh</id> |
| 91 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 92 | + </repository> |
| 93 | + </distributionManagement> |
| 94 | + <build> |
| 95 | + <plugins> |
| 96 | + <plugin> |
| 97 | + <groupId>org.apache.maven.plugins</groupId> |
| 98 | + <artifactId>maven-gpg-plugin</artifactId> |
| 99 | + <version>${maven-gpg-plugin.version}</version> |
| 100 | + <executions> |
| 101 | + <execution> |
| 102 | + <id>sign-artifacts</id> |
| 103 | + <phase>verify</phase> |
| 104 | + <goals> |
| 105 | + <goal>sign</goal> |
| 106 | + </goals> |
| 107 | + </execution> |
| 108 | + </executions> |
| 109 | + </plugin> |
| 110 | + <plugin> |
| 111 | + <groupId>org.sonatype.plugins</groupId> |
| 112 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 113 | + <version>${nexus-staging-maven-plugin.version}</version> |
| 114 | + <extensions>true</extensions> |
| 115 | + <configuration> |
| 116 | + <serverId>ossrh</serverId> |
| 117 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 118 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 119 | + </configuration> |
| 120 | + </plugin> |
| 121 | + </plugins> |
| 122 | + </build> |
| 123 | + </profile> |
| 124 | + </profiles> |
| 125 | + |
80 | 126 | <build>
|
81 | 127 | <plugins>
|
82 | 128 | <plugin>
|
|
99 | 145 | </execution>
|
100 | 146 | </executions>
|
101 | 147 | </plugin>
|
102 |
| - <plugin> |
103 |
| - <groupId>org.sonatype.plugins</groupId> |
104 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
105 |
| - <version>${nexus-staging-maven-plugin.version}</version> |
106 |
| - <extensions>true</extensions> |
107 |
| - <configuration> |
108 |
| - <serverId>ossrh</serverId> |
109 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
110 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
111 |
| - </configuration> |
112 |
| - </plugin> |
113 | 148 | </plugins>
|
114 | 149 | </build>
|
115 | 150 |
|
|
0 commit comments