|
62 | 62 | </snapshotRepository>
|
63 | 63 | </distributionManagement>
|
64 | 64 |
|
| 65 | + <profiles> |
| 66 | + <profile> |
| 67 | + <id>release</id> |
| 68 | + <build> |
| 69 | + <plugins> |
| 70 | + <plugin> |
| 71 | + <groupId>org.apache.maven.plugins</groupId> |
| 72 | + <artifactId>maven-release-plugin</artifactId> |
| 73 | + <version>2.5.3</version> |
| 74 | + </plugin> |
| 75 | + <plugin> |
| 76 | + <groupId>org.sonatype.plugins</groupId> |
| 77 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 78 | + <version>1.6.7</version> |
| 79 | + <extensions>true</extensions> |
| 80 | + <configuration> |
| 81 | + <serverId>ossrh</serverId> |
| 82 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 83 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 84 | + </configuration> |
| 85 | + </plugin> |
| 86 | + <plugin> |
| 87 | + <groupId>org.apache.maven.plugins</groupId> |
| 88 | + <artifactId>maven-gpg-plugin</artifactId> |
| 89 | + <version>1.5</version> |
| 90 | + <executions> |
| 91 | + <execution> |
| 92 | + <id>sign-artifacts</id> |
| 93 | + <phase>verify</phase> |
| 94 | + <goals> |
| 95 | + <goal>sign</goal> |
| 96 | + </goals> |
| 97 | + </execution> |
| 98 | + </executions> |
| 99 | + </plugin> |
| 100 | + </plugins> |
| 101 | + </build> |
| 102 | + </profile> |
| 103 | + </profiles> |
| 104 | + |
65 | 105 | <build>
|
66 | 106 | <plugins>
|
67 |
| - <plugin> |
68 |
| - <groupId>org.apache.maven.plugins</groupId> |
69 |
| - <artifactId>maven-release-plugin</artifactId> |
70 |
| - <version>2.5.3</version> |
71 |
| - </plugin> |
72 |
| - <plugin> |
73 |
| - <groupId>org.sonatype.plugins</groupId> |
74 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
75 |
| - <version>1.6.7</version> |
76 |
| - <extensions>true</extensions> |
77 |
| - <configuration> |
78 |
| - <serverId>ossrh</serverId> |
79 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
80 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
81 |
| - </configuration> |
82 |
| - </plugin> |
83 | 107 | <plugin>
|
84 | 108 | <groupId>org.apache.maven.plugins</groupId>
|
85 | 109 | <artifactId>maven-compiler-plugin</artifactId>
|
|
116 | 140 | </execution>
|
117 | 141 | </executions>
|
118 | 142 | </plugin>
|
119 |
| - <plugin> |
120 |
| - <groupId>org.apache.maven.plugins</groupId> |
121 |
| - <artifactId>maven-gpg-plugin</artifactId> |
122 |
| - <version>1.5</version> |
123 |
| - <executions> |
124 |
| - <execution> |
125 |
| - <id>sign-artifacts</id> |
126 |
| - <phase>verify</phase> |
127 |
| - <goals> |
128 |
| - <goal>sign</goal> |
129 |
| - </goals> |
130 |
| - </execution> |
131 |
| - </executions> |
132 |
| - </plugin> |
133 | 143 | </plugins>
|
134 | 144 | </build>
|
135 | 145 |
|
|
0 commit comments