|
62 | 62 |
|
63 | 63 | <build> |
64 | 64 | <defaultGoal>package</defaultGoal> |
65 | | - <plugins> |
66 | | - <plugin> |
67 | | - <groupId>org.apache.maven.plugins</groupId> |
68 | | - <artifactId>maven-release-plugin</artifactId> |
69 | | - <version>2.5.3</version> |
70 | | - <configuration> |
71 | | - <goals>deploy</goals> |
72 | | - </configuration> |
73 | | - </plugin> |
| 65 | + <pluginManagement> |
| 66 | + <plugins> |
| 67 | + <plugin> |
| 68 | + <groupId>org.apache.maven.plugins</groupId> |
| 69 | + <artifactId>maven-release-plugin</artifactId> |
| 70 | + <version>2.5.3</version> |
| 71 | + <configuration> |
| 72 | + <goals>deploy</goals> |
| 73 | + </configuration> |
| 74 | + </plugin> |
74 | 75 |
|
75 | | - <plugin> |
76 | | - <artifactId>maven-scm-plugin</artifactId> |
77 | | - <version>1.9.5</version> |
78 | | - <configuration> |
79 | | - <tag>${project.artifactId}-${project.version}</tag> |
80 | | - </configuration> |
81 | | - </plugin> |
| 76 | + <plugin> |
| 77 | + <artifactId>maven-scm-plugin</artifactId> |
| 78 | + <version>1.9.5</version> |
| 79 | + <configuration> |
| 80 | + <tag>${project.artifactId}-${project.version}</tag> |
| 81 | + </configuration> |
| 82 | + </plugin> |
82 | 83 |
|
83 | | - <plugin> |
84 | | - <groupId>org.apache.maven.plugins</groupId> |
85 | | - <artifactId>maven-compiler-plugin</artifactId> |
86 | | - <version>3.7.0</version> |
87 | | - <configuration> |
88 | | - <source>${java.source.version}</source> |
89 | | - <target>${java.target.version}</target> |
90 | | - </configuration> |
91 | | - <executions> |
92 | | - <execution> |
93 | | - <id>default-compile</id> |
94 | | - <configuration> |
95 | | - <excludes> |
96 | | - <exclude>**/module-info.java</exclude> |
97 | | - </excludes> |
98 | | - </configuration> |
99 | | - </execution> |
100 | | - </executions> |
101 | | - </plugin> |
| 84 | + <plugin> |
| 85 | + <groupId>org.apache.maven.plugins</groupId> |
| 86 | + <artifactId>maven-compiler-plugin</artifactId> |
| 87 | + <version>3.7.0</version> |
| 88 | + <configuration> |
| 89 | + <source>${java.source.version}</source> |
| 90 | + <target>${java.target.version}</target> |
| 91 | + </configuration> |
| 92 | + <executions> |
| 93 | + <execution> |
| 94 | + <id>default-compile</id> |
| 95 | + <configuration> |
| 96 | + <excludes> |
| 97 | + <exclude>**/module-info.java</exclude> |
| 98 | + </excludes> |
| 99 | + </configuration> |
| 100 | + </execution> |
| 101 | + </executions> |
| 102 | + </plugin> |
102 | 103 |
|
103 | | - <plugin> |
104 | | - <groupId>org.apache.maven.plugins</groupId> |
105 | | - <artifactId>maven-gpg-plugin</artifactId> |
106 | | - <version>1.6</version> |
107 | | - <executions> |
108 | | - <execution> |
109 | | - <id>sign-artifacts</id> |
110 | | - <phase>verify</phase> |
111 | | - <goals> |
112 | | - <goal>sign</goal> |
113 | | - </goals> |
114 | | - </execution> |
115 | | - </executions> |
116 | | - </plugin> |
| 104 | + <plugin> |
| 105 | + <groupId>org.apache.maven.plugins</groupId> |
| 106 | + <artifactId>maven-gpg-plugin</artifactId> |
| 107 | + <version>1.6</version> |
| 108 | + <executions> |
| 109 | + <execution> |
| 110 | + <id>sign-artifacts</id> |
| 111 | + <phase>verify</phase> |
| 112 | + <goals> |
| 113 | + <goal>sign</goal> |
| 114 | + </goals> |
| 115 | + </execution> |
| 116 | + </executions> |
| 117 | + </plugin> |
117 | 118 |
|
118 | | - <plugin> |
119 | | - <groupId>org.apache.maven.plugins</groupId> |
120 | | - <artifactId>maven-source-plugin</artifactId> |
121 | | - <version>3.0.0</version> |
122 | | - <executions> |
123 | | - <execution> |
124 | | - <id>attach-sources</id> |
125 | | - <goals> |
126 | | - <goal>jar-no-fork</goal> |
127 | | - </goals> |
128 | | - </execution> |
129 | | - </executions> |
130 | | - </plugin> |
| 119 | + <plugin> |
| 120 | + <groupId>org.apache.maven.plugins</groupId> |
| 121 | + <artifactId>maven-source-plugin</artifactId> |
| 122 | + <version>3.0.0</version> |
| 123 | + <executions> |
| 124 | + <execution> |
| 125 | + <id>attach-sources</id> |
| 126 | + <goals> |
| 127 | + <goal>jar-no-fork</goal> |
| 128 | + </goals> |
| 129 | + </execution> |
| 130 | + </executions> |
| 131 | + </plugin> |
131 | 132 |
|
132 | | - <plugin> |
133 | | - <groupId>org.apache.maven.plugins</groupId> |
134 | | - <artifactId>maven-javadoc-plugin</artifactId> |
135 | | - <version>3.0.0</version> |
136 | | - <executions> |
137 | | - <execution> |
138 | | - <id>attach-javadocs</id> |
139 | | - <goals> |
140 | | - <goal>jar</goal> |
141 | | - </goals> |
142 | | - </execution> |
143 | | - </executions> |
144 | | - </plugin> |
| 133 | + <plugin> |
| 134 | + <groupId>org.apache.maven.plugins</groupId> |
| 135 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 136 | + <version>3.0.0</version> |
| 137 | + <executions> |
| 138 | + <execution> |
| 139 | + <id>attach-javadocs</id> |
| 140 | + <goals> |
| 141 | + <goal>jar</goal> |
| 142 | + </goals> |
| 143 | + </execution> |
| 144 | + </executions> |
| 145 | + </plugin> |
145 | 146 |
|
146 | | - <plugin> |
147 | | - <groupId>org.jacoco</groupId> |
148 | | - <artifactId>jacoco-maven-plugin</artifactId> |
149 | | - <version>0.8.0</version> |
150 | | - <executions> |
151 | | - <execution> |
152 | | - <id>default-prepare-agent</id> |
153 | | - <goals> |
154 | | - <goal>prepare-agent</goal> |
155 | | - </goals> |
156 | | - </execution> |
157 | | - <execution> |
158 | | - <id>default-report</id> |
159 | | - <phase>prepare-package</phase> |
160 | | - <goals> |
161 | | - <goal>report</goal> |
162 | | - </goals> |
163 | | - </execution> |
164 | | - <execution> |
165 | | - <id>default-check</id> |
166 | | - <goals> |
167 | | - <goal>check</goal> |
168 | | - </goals> |
169 | | - <configuration> |
170 | | - <rules> |
171 | | - <!-- implementation is needed only for Maven 2 --> |
172 | | - <rule implementation="org.jacoco.maven.RuleConfiguration"> |
173 | | - <element>BUNDLE</element> |
174 | | - <limits> |
175 | | - <!-- implementation is needed only for Maven 2 --> |
176 | | - <limit implementation="org.jacoco.report.check.Limit"> |
177 | | - <counter>COMPLEXITY</counter> |
178 | | - <value>COVEREDRATIO</value> |
179 | | - <minimum>0.50</minimum> |
180 | | - </limit> |
181 | | - </limits> |
182 | | - </rule> |
183 | | - </rules> |
184 | | - </configuration> |
185 | | - </execution> |
186 | | - </executions> |
187 | | - </plugin> |
| 147 | + <plugin> |
| 148 | + <groupId>org.jacoco</groupId> |
| 149 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 150 | + <version>0.8.0</version> |
| 151 | + <executions> |
| 152 | + <execution> |
| 153 | + <id>default-prepare-agent</id> |
| 154 | + <goals> |
| 155 | + <goal>prepare-agent</goal> |
| 156 | + </goals> |
| 157 | + </execution> |
| 158 | + <execution> |
| 159 | + <id>default-report</id> |
| 160 | + <phase>prepare-package</phase> |
| 161 | + <goals> |
| 162 | + <goal>report</goal> |
| 163 | + </goals> |
| 164 | + </execution> |
| 165 | + <execution> |
| 166 | + <id>default-check</id> |
| 167 | + <goals> |
| 168 | + <goal>check</goal> |
| 169 | + </goals> |
| 170 | + <configuration> |
| 171 | + <rules> |
| 172 | + <!-- implementation is needed only for Maven 2 --> |
| 173 | + <rule implementation="org.jacoco.maven.RuleConfiguration"> |
| 174 | + <element>BUNDLE</element> |
| 175 | + <limits> |
| 176 | + <!-- implementation is needed only for Maven 2 --> |
| 177 | + <limit implementation="org.jacoco.report.check.Limit"> |
| 178 | + <counter>COMPLEXITY</counter> |
| 179 | + <value>COVEREDRATIO</value> |
| 180 | + <minimum>0.50</minimum> |
| 181 | + </limit> |
| 182 | + </limits> |
| 183 | + </rule> |
| 184 | + </rules> |
| 185 | + </configuration> |
| 186 | + </execution> |
| 187 | + </executions> |
| 188 | + </plugin> |
188 | 189 |
|
189 | | - <plugin> |
190 | | - <groupId>org.apache.maven.plugins</groupId> |
191 | | - <artifactId>maven-surefire-plugin</artifactId> |
192 | | - <version>2.19.1</version> |
193 | | - <configuration> |
194 | | - <systemPropertyVariables> |
195 | | - <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile> |
196 | | - </systemPropertyVariables> |
197 | | - </configuration> |
198 | | - </plugin> |
| 190 | + <plugin> |
| 191 | + <groupId>org.apache.maven.plugins</groupId> |
| 192 | + <artifactId>maven-surefire-plugin</artifactId> |
| 193 | + <version>2.19.1</version> |
| 194 | + <configuration> |
| 195 | + <systemPropertyVariables> |
| 196 | + <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile> |
| 197 | + </systemPropertyVariables> |
| 198 | + </configuration> |
| 199 | + </plugin> |
199 | 200 |
|
200 | | - <plugin> |
201 | | - <groupId>se.bjurr.gitchangelog</groupId> |
202 | | - <artifactId>git-changelog-maven-plugin</artifactId> |
203 | | - <version>${changelog-lib.version}</version> |
204 | | - <executions> |
205 | | - <execution> |
206 | | - <id>GenerateGitChangelog</id> |
207 | | - <phase>generate-sources</phase> |
208 | | - <goals> |
209 | | - <goal>git-changelog</goal> |
210 | | - </goals> |
211 | | - <configuration> |
212 | | - <readableTagName>gitlab4j-api-(.*)</readableTagName> |
213 | | - <templateFile>CHANGELOG.mustache</templateFile> |
214 | | - </configuration> |
215 | | - </execution> |
216 | | - </executions> |
217 | | - </plugin> |
218 | | - </plugins> |
| 201 | + <plugin> |
| 202 | + <groupId>se.bjurr.gitchangelog</groupId> |
| 203 | + <artifactId>git-changelog-maven-plugin</artifactId> |
| 204 | + <version>${changelog-lib.version}</version> |
| 205 | + <executions> |
| 206 | + <execution> |
| 207 | + <id>GenerateGitChangelog</id> |
| 208 | + <phase>generate-sources</phase> |
| 209 | + <goals> |
| 210 | + <goal>git-changelog</goal> |
| 211 | + </goals> |
| 212 | + <configuration> |
| 213 | + <readableTagName>gitlab4j-api-(.*)</readableTagName> |
| 214 | + <templateFile>CHANGELOG.mustache</templateFile> |
| 215 | + </configuration> |
| 216 | + </execution> |
| 217 | + </executions> |
| 218 | + </plugin> |
| 219 | + </plugins> |
| 220 | + </pluginManagement> |
219 | 221 | </build> |
220 | 222 |
|
221 | 223 | <dependencies> |
|
0 commit comments