|
75 | 75 | </dependency>
|
76 | 76 | </dependencies>
|
77 | 77 |
|
| 78 | + <profiles> |
| 79 | + <profile> |
| 80 | + <id>checkDependencies</id> |
| 81 | + <activation> |
| 82 | + <property> |
| 83 | + <name>checkDependencies</name> |
| 84 | + </property> |
| 85 | + </activation> |
| 86 | + <build> |
| 87 | + <plugins> |
| 88 | + <plugin> |
| 89 | + <groupId>org.owasp</groupId> |
| 90 | + <artifactId>dependency-check-maven</artifactId> |
| 91 | + <version>5.3.2</version> |
| 92 | + <executions> |
| 93 | + <execution> |
| 94 | + <phase>validate</phase> |
| 95 | + <goals> |
| 96 | + <goal>check</goal> |
| 97 | + </goals> |
| 98 | + </execution> |
| 99 | + </executions> |
| 100 | + </plugin> |
| 101 | + </plugins> |
| 102 | + </build> |
| 103 | + </profile> |
| 104 | + <profile> |
| 105 | + <id>dev</id> |
| 106 | + <build> |
| 107 | + <plugins> |
| 108 | + <plugin> |
| 109 | + <groupId>org.apache.maven.plugins</groupId> |
| 110 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 111 | + <version>3.2.0</version> |
| 112 | + <configuration> |
| 113 | + <doclint>none</doclint> |
| 114 | + <failOnError>false</failOnError> |
| 115 | + <source>8</source> |
| 116 | + <detectJavaApiLink>false</detectJavaApiLink> |
| 117 | + </configuration> |
| 118 | + <executions> |
| 119 | + <execution> |
| 120 | + <id>attach-javadocs</id> |
| 121 | + <goals> |
| 122 | + <goal>jar</goal> |
| 123 | + </goals> |
| 124 | + </execution> |
| 125 | + </executions> |
| 126 | + </plugin> |
| 127 | + <plugin> |
| 128 | + <groupId>org.jacoco</groupId> |
| 129 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 130 | + <version>0.8.6</version> |
| 131 | + <executions> |
| 132 | + <execution> |
| 133 | + <id>default-prepare-agent</id> |
| 134 | + <goals> |
| 135 | + <goal>prepare-agent</goal> |
| 136 | + </goals> |
| 137 | + </execution> |
| 138 | + <execution> |
| 139 | + <id>default-report</id> |
| 140 | + <phase>test</phase> |
| 141 | + <goals> |
| 142 | + <goal>report</goal> |
| 143 | + </goals> |
| 144 | + </execution> |
| 145 | + <execution> |
| 146 | + <id>default-check</id> |
| 147 | + <phase>test</phase> |
| 148 | + <goals> |
| 149 | + <goal>check</goal> |
| 150 | + </goals> |
| 151 | + <configuration> |
| 152 | + <rules> |
| 153 | + <rule> |
| 154 | + <element>PACKAGE</element> |
| 155 | + <limits> |
| 156 | + <limit> |
| 157 | + <counter>LINE</counter> |
| 158 | + <value>COVEREDRATIO</value> |
| 159 | + <minimum>0</minimum> |
| 160 | + </limit> |
| 161 | + </limits> |
| 162 | + </rule> |
| 163 | + </rules> |
| 164 | + </configuration> |
| 165 | + </execution> |
| 166 | + </executions> |
| 167 | + </plugin> |
| 168 | + </plugins> |
| 169 | + </build> |
| 170 | + </profile> |
| 171 | + <profile> |
| 172 | + <id>release</id> |
| 173 | + <build> |
| 174 | + <plugins> |
| 175 | + <plugin> |
| 176 | + <groupId>org.apache.maven.plugins</groupId> |
| 177 | + <artifactId>maven-source-plugin</artifactId> |
| 178 | + <version>2.2.1</version> |
| 179 | + <executions> |
| 180 | + <execution> |
| 181 | + <id>attach-sources</id> |
| 182 | + <goals> |
| 183 | + <goal>jar-no-fork</goal> |
| 184 | + </goals> |
| 185 | + </execution> |
| 186 | + </executions> |
| 187 | + </plugin> |
| 188 | + <plugin> |
| 189 | + <groupId>org.apache.maven.plugins</groupId> |
| 190 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 191 | + <version>3.2.0</version> |
| 192 | + <configuration> |
| 193 | + <doclint>none</doclint> |
| 194 | + <failOnError>false</failOnError> |
| 195 | + <source>8</source> |
| 196 | + <detectJavaApiLink>false</detectJavaApiLink> |
| 197 | + </configuration> |
| 198 | + <executions> |
| 199 | + <execution> |
| 200 | + <id>attach-javadocs</id> |
| 201 | + <goals> |
| 202 | + <goal>jar</goal> |
| 203 | + </goals> |
| 204 | + </execution> |
| 205 | + </executions> |
| 206 | + </plugin> |
| 207 | + <plugin> |
| 208 | + <groupId>org.apache.maven.plugins</groupId> |
| 209 | + <artifactId>maven-gpg-plugin</artifactId> |
| 210 | + <version>1.5</version> |
| 211 | + <executions> |
| 212 | + <execution> |
| 213 | + <id>sign-artifacts</id> |
| 214 | + <phase>verify</phase> |
| 215 | + <goals> |
| 216 | + <goal>sign</goal> |
| 217 | + </goals> |
| 218 | + </execution> |
| 219 | + </executions> |
| 220 | + </plugin> |
| 221 | + <plugin> |
| 222 | + <groupId>org.sonatype.plugins</groupId> |
| 223 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 224 | + <version>1.6.3</version> |
| 225 | + <extensions>true</extensions> |
| 226 | + <configuration> |
| 227 | + <serverId>sonatype-nexus-staging</serverId> |
| 228 | + <nexusUrl>https://aws.oss.sonatype.org/</nexusUrl> |
| 229 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 230 | + </configuration> |
| 231 | + </plugin> |
| 232 | + </plugins> |
| 233 | + </build> |
| 234 | + </profile> |
| 235 | + </profiles> |
| 236 | + |
78 | 237 | <build>
|
79 | 238 | <plugins>
|
80 | 239 | <plugin>
|
|
0 commit comments