|
52 | 52 | <version>1.3.2</version>
|
53 | 53 | </dependency>
|
54 | 54 | </dependencies>
|
| 55 | + |
| 56 | + <profiles> |
| 57 | + <profile> |
| 58 | + <id>release-sign-artifacts</id> |
| 59 | + <activation> |
| 60 | + <property> |
| 61 | + <name>performRelease</name> |
| 62 | + <value>true</value> |
| 63 | + </property> |
| 64 | + </activation> |
| 65 | + <build> |
| 66 | + <plugins> |
| 67 | + <plugin> |
| 68 | + <groupId>org.apache.maven.plugins</groupId> |
| 69 | + <artifactId>maven-gpg-plugin</artifactId> |
| 70 | + <executions> |
| 71 | + <execution> |
| 72 | + <id>sign-artifacts</id> |
| 73 | + <phase>verify</phase> |
| 74 | + <goals> |
| 75 | + <goal>sign</goal> |
| 76 | + </goals> |
| 77 | + </execution> |
| 78 | + </executions> |
| 79 | + </plugin> |
| 80 | + <plugin> |
| 81 | + <groupId>org.sonatype.plugins</groupId> |
| 82 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 83 | + <version>1.6.3</version> |
| 84 | + <extensions>true</extensions> |
| 85 | + <configuration> |
| 86 | + <serverId>ossrh</serverId> |
| 87 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 88 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 89 | + </configuration> |
| 90 | + </plugin> |
| 91 | + <plugin> |
| 92 | + <groupId>org.apache.maven.plugins</groupId> |
| 93 | + <artifactId>maven-source-plugin</artifactId> |
| 94 | + <executions> |
| 95 | + <execution> |
| 96 | + <id>attach-sources</id> |
| 97 | + <goals> |
| 98 | + <goal>jar</goal> |
| 99 | + </goals> |
| 100 | + </execution> |
| 101 | + </executions> |
| 102 | + </plugin> |
| 103 | + <plugin> |
| 104 | + <groupId>org.apache.maven.plugins</groupId> |
| 105 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 106 | + <executions> |
| 107 | + <execution> |
| 108 | + <id>attach-javadocs</id> |
| 109 | + <goals> |
| 110 | + <goal>jar</goal> |
| 111 | + </goals> |
| 112 | + </execution> |
| 113 | + </executions> |
| 114 | + <configuration> |
| 115 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 116 | + </configuration> |
| 117 | + </plugin> |
| 118 | + </plugins> |
| 119 | + </build> |
| 120 | + </profile> |
| 121 | + </profiles> |
| 122 | + |
55 | 123 | <build>
|
56 | 124 | <plugins>
|
57 | 125 | <plugin>
|
|
79 | 147 | <artifactId>maven-surefire-plugin</artifactId>
|
80 | 148 | <version>2.4.2</version>
|
81 | 149 | </plugin>
|
82 |
| - <plugin> |
83 |
| - <groupId>org.apache.maven.plugins</groupId> |
84 |
| - <artifactId>maven-gpg-plugin</artifactId> |
85 |
| - <executions> |
86 |
| - <execution> |
87 |
| - <id>sign-artifacts</id> |
88 |
| - <phase>verify</phase> |
89 |
| - <goals> |
90 |
| - <goal>sign</goal> |
91 |
| - </goals> |
92 |
| - </execution> |
93 |
| - </executions> |
94 |
| - </plugin> |
95 |
| - <plugin> |
96 |
| - <groupId>org.sonatype.plugins</groupId> |
97 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
98 |
| - <version>1.6.3</version> |
99 |
| - <extensions>true</extensions> |
100 |
| - <configuration> |
101 |
| - <serverId>ossrh</serverId> |
102 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
103 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
104 |
| - </configuration> |
105 |
| - </plugin> |
106 |
| - <plugin> |
107 |
| - <groupId>org.apache.maven.plugins</groupId> |
108 |
| - <artifactId>maven-source-plugin</artifactId> |
109 |
| - <executions> |
110 |
| - <execution> |
111 |
| - <id>attach-sources</id> |
112 |
| - <goals> |
113 |
| - <goal>jar</goal> |
114 |
| - </goals> |
115 |
| - </execution> |
116 |
| - </executions> |
117 |
| - </plugin> |
118 |
| - <plugin> |
119 |
| - <groupId>org.apache.maven.plugins</groupId> |
120 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
121 |
| - <executions> |
122 |
| - <execution> |
123 |
| - <id>attach-javadocs</id> |
124 |
| - <goals> |
125 |
| - <goal>jar</goal> |
126 |
| - </goals> |
127 |
| - </execution> |
128 |
| - </executions> |
129 |
| - <configuration> |
130 |
| - <additionalparam>-Xdoclint:none</additionalparam> |
131 |
| - </configuration> |
132 |
| - </plugin> |
133 | 150 | </plugins>
|
134 | 151 | </build>
|
135 | 152 | </project>
|
0 commit comments