|
1 | 1 | <?xml version="1.0"?> |
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"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 5 |
|
4 | 6 | <modelVersion>4.0.0</modelVersion> |
5 | 7 |
|
|
74 | 76 | <artifactId>maven-surefire-plugin</artifactId> |
75 | 77 | <version>2.20.1</version> |
76 | 78 | </plugin> |
77 | | - <plugin> |
78 | | - <groupId>org.apache.maven.plugins</groupId> |
79 | | - <artifactId>maven-source-plugin</artifactId> |
80 | | - <version>3.0.1</version> |
81 | | - <executions> |
82 | | - <execution> |
83 | | - <id>attach-sources</id> |
84 | | - <goals> |
85 | | - <goal>jar-no-fork</goal> |
86 | | - </goals> |
87 | | - </execution> |
88 | | - </executions> |
89 | | - </plugin> |
90 | | - <plugin> |
91 | | - <groupId>org.apache.maven.plugins</groupId> |
92 | | - <artifactId>maven-javadoc-plugin</artifactId> |
93 | | - <version>3.0.0</version> |
94 | | - <configuration> |
95 | | - <additionalOptions> |
96 | | - <additionalOption>-Xdoclint:all,-missing</additionalOption> |
97 | | - </additionalOptions> |
98 | | - </configuration> |
99 | | - <executions> |
100 | | - <execution> |
101 | | - <id>attach-javadocs</id> |
102 | | - <goals> |
103 | | - <goal>jar</goal> |
104 | | - </goals> |
105 | | - </execution> |
106 | | - </executions> |
107 | | - </plugin> |
108 | 79 | <plugin> |
109 | 80 | <groupId>org.apache.maven.plugins</groupId> |
110 | 81 | <artifactId>maven-release-plugin</artifactId> |
111 | 82 | <version>2.5.3</version> |
112 | 83 | <configuration> |
113 | | - <tagNameFormat>@{project.version}</tagNameFormat> |
| 84 | + <tagNameFormat>v@{project.version}</tagNameFormat> |
114 | 85 | <autoVersionSubmodules>true</autoVersionSubmodules> |
115 | 86 | <releaseProfiles>release</releaseProfiles> |
116 | 87 | </configuration> |
117 | 88 | </plugin> |
| 89 | + <plugin> |
| 90 | + <groupId>org.sonatype.plugins</groupId> |
| 91 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 92 | + <version>1.6.8</version> |
| 93 | + <extensions>true</extensions> |
| 94 | + <configuration> |
| 95 | + <serverId>sonatype-nexus-staging</serverId> |
| 96 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 97 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 98 | + </configuration> |
| 99 | + </plugin> |
118 | 100 | </plugins> |
119 | 101 | </build> |
120 | 102 |
|
|
123 | 105 | <id>release</id> |
124 | 106 | <build> |
125 | 107 | <plugins> |
| 108 | + <plugin> |
| 109 | + <groupId>org.apache.maven.plugins</groupId> |
| 110 | + <artifactId>maven-source-plugin</artifactId> |
| 111 | + <version>3.0.1</version> |
| 112 | + <executions> |
| 113 | + <execution> |
| 114 | + <id>attach-sources</id> |
| 115 | + <goals> |
| 116 | + <goal>jar-no-fork</goal> |
| 117 | + </goals> |
| 118 | + </execution> |
| 119 | + </executions> |
| 120 | + </plugin> |
| 121 | + <plugin> |
| 122 | + <groupId>org.apache.maven.plugins</groupId> |
| 123 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 124 | + <version>3.0.0</version> |
| 125 | + <configuration> |
| 126 | + <additionalOptions> |
| 127 | + <additionalOption>-Xdoclint:all,-missing</additionalOption> |
| 128 | + </additionalOptions> |
| 129 | + </configuration> |
| 130 | + <executions> |
| 131 | + <execution> |
| 132 | + <id>attach-javadocs</id> |
| 133 | + <goals> |
| 134 | + <goal>jar</goal> |
| 135 | + </goals> |
| 136 | + </execution> |
| 137 | + </executions> |
| 138 | + </plugin> |
126 | 139 | <plugin> |
127 | 140 | <groupId>org.apache.maven.plugins</groupId> |
128 | 141 | <artifactId>maven-gpg-plugin</artifactId> |
|
137 | 150 | </execution> |
138 | 151 | </executions> |
139 | 152 | </plugin> |
140 | | - <plugin> |
141 | | - <groupId>org.sonatype.plugins</groupId> |
142 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
143 | | - <version>1.6.8</version> |
144 | | - <extensions>true</extensions> |
145 | | - <configuration> |
146 | | - <serverId>sonatype-nexus-staging</serverId> |
147 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
148 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
149 | | - </configuration> |
150 | | - </plugin> |
151 | 153 | </plugins> |
152 | 154 | </build> |
153 | 155 | </profile> |
|
0 commit comments