|
4 | 4 | <modelVersion>4.0.0</modelVersion>
|
5 | 5 |
|
6 | 6 | <groupId>org.utplsql</groupId>
|
7 |
| - <artifactId>utplsql-maven-plugin-parent</artifactId> |
| 7 | + <artifactId>utplsql-maven-plugin</artifactId> |
8 | 8 | <version>3.1.0-SNAPSHOT</version>
|
9 |
| - <packaging>pom</packaging> |
10 |
| - |
11 |
| - <name>utplsql-maven-plugin Parent</name> |
| 9 | + <packaging>maven-plugin</packaging> |
12 | 10 |
|
| 11 | + <name>utPLSQL Maven Plugin</name> |
| 12 | + <description>A maven plugin for running Unit Tests with utPLSQL v3+.</description> |
13 | 13 | <url>https://github.com/utPLSQL/utPLSQL-maven-plugin</url>
|
14 | 14 |
|
| 15 | + <licenses> |
| 16 | + <license> |
| 17 | + <name>Apache License, Version 2.0</name> |
| 18 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 19 | + <distribution>repo</distribution> |
| 20 | + </license> |
| 21 | + </licenses> |
| 22 | + |
| 23 | + <developers> |
| 24 | + <developer> |
| 25 | + <name>Vinicius Avellar Moreira</name> |
| 26 | + <organization>utPLSQL.org</organization> |
| 27 | + <organizationUrl>http://utplsql.org</organizationUrl> |
| 28 | + </developer> |
| 29 | + </developers> |
| 30 | + |
| 31 | + <scm> |
| 32 | + <connection>scm:git:https://github.com/utPLSQL/utPLSQL-maven-plugin.git</connection> |
| 33 | + <url>https://github.com/utPLSQL/utPLSQL-maven-plugin</url> |
| 34 | + </scm> |
| 35 | + |
| 36 | + <distributionManagement> |
| 37 | + <snapshotRepository> |
| 38 | + <id>ossrh</id> |
| 39 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 40 | + </snapshotRepository> |
| 41 | + <repository> |
| 42 | + <id>ossrh</id> |
| 43 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 44 | + </repository> |
| 45 | + </distributionManagement> |
| 46 | + |
15 | 47 | <properties>
|
16 | 48 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
17 | 49 | <maven.version>3.5.0</maven.version>
|
| 50 | + <java.version>1.8</java.version> |
| 51 | + <powermock.version>1.7.4</powermock.version> |
18 | 52 | </properties>
|
19 | 53 |
|
20 |
| - <modules> |
21 |
| - <module>utplsql-maven-plugin</module> |
22 |
| - <module>utplsql-maven-plugin-it</module> |
23 |
| - </modules> |
| 54 | + <dependencies> |
| 55 | + <dependency> |
| 56 | + <groupId>org.utplsql</groupId> |
| 57 | + <artifactId>java-api</artifactId> |
| 58 | + <version>3.1.1</version> |
| 59 | + </dependency> |
| 60 | + |
| 61 | + <dependency> |
| 62 | + <groupId>org.apache.maven</groupId> |
| 63 | + <artifactId>maven-core</artifactId> |
| 64 | + <version>3.5.2</version> |
| 65 | + </dependency> |
| 66 | + |
| 67 | + <dependency> |
| 68 | + <groupId>org.apache.maven</groupId> |
| 69 | + <artifactId>maven-model</artifactId> |
| 70 | + <version>3.0.2</version> |
| 71 | + </dependency> |
| 72 | + |
| 73 | + <dependency> |
| 74 | + <groupId>org.apache.maven</groupId> |
| 75 | + <artifactId>maven-plugin-api</artifactId> |
| 76 | + <version>3.5.2</version> |
| 77 | + </dependency> |
| 78 | + |
| 79 | + <dependency> |
| 80 | + <groupId>org.codehaus.plexus</groupId> |
| 81 | + <artifactId>plexus-utils</artifactId> |
| 82 | + <version>3.0.8</version> |
| 83 | + </dependency> |
| 84 | + |
| 85 | + <dependency> |
| 86 | + <groupId>org.apache.maven.plugin-tools</groupId> |
| 87 | + <artifactId>maven-plugin-annotations</artifactId> |
| 88 | + <version>3.5</version> |
| 89 | + <scope>provided</scope> |
| 90 | + </dependency> |
| 91 | + |
| 92 | + <!-- Test Dependencies --> |
| 93 | + <dependency> |
| 94 | + <groupId>org.apache.maven</groupId> |
| 95 | + <artifactId>maven-compat</artifactId> |
| 96 | + <version>3.5.2</version> |
| 97 | + <scope>test</scope> |
| 98 | + </dependency> |
| 99 | + |
| 100 | + <dependency> |
| 101 | + <groupId>org.powermock</groupId> |
| 102 | + <artifactId>powermock-module-junit4</artifactId> |
| 103 | + <version>${powermock.version}</version> |
| 104 | + <scope>test</scope> |
| 105 | + </dependency> |
| 106 | + |
| 107 | + <dependency> |
| 108 | + <groupId>org.powermock</groupId> |
| 109 | + <artifactId>powermock-api-mockito2</artifactId> |
| 110 | + <version>${powermock.version}</version> |
| 111 | + <scope>test</scope> |
| 112 | + </dependency> |
| 113 | + |
| 114 | + <dependency> |
| 115 | + <groupId>org.apache.maven.plugin-testing</groupId> |
| 116 | + <artifactId>maven-plugin-testing-harness</artifactId> |
| 117 | + <version>3.3.0</version> |
| 118 | + <scope>test</scope> |
| 119 | + </dependency> |
| 120 | + |
| 121 | + <dependency> |
| 122 | + <groupId>org.assertj</groupId> |
| 123 | + <artifactId>assertj-core</artifactId> |
| 124 | + <version>3.8.0</version> |
| 125 | + <scope>test</scope> |
| 126 | + </dependency> |
| 127 | + |
| 128 | + <dependency> |
| 129 | + <groupId>junit</groupId> |
| 130 | + <artifactId>junit</artifactId> |
| 131 | + <version>4.12</version> |
| 132 | + <scope>test</scope> |
| 133 | + </dependency> |
| 134 | + </dependencies> |
| 135 | + |
| 136 | + <build> |
| 137 | + <plugins> |
| 138 | + <plugin> |
| 139 | + <groupId>org.apache.maven.plugins</groupId> |
| 140 | + <artifactId>maven-compiler-plugin</artifactId> |
| 141 | + <version>3.7.0</version> |
| 142 | + <configuration> |
| 143 | + <source>${java.version}</source> |
| 144 | + <target>${java.version}</target> |
| 145 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 146 | + </configuration> |
| 147 | + </plugin> |
| 148 | + <plugin> |
| 149 | + <groupId>org.apache.maven.plugins</groupId> |
| 150 | + <artifactId>maven-plugin-plugin</artifactId> |
| 151 | + <version>3.5</version> |
| 152 | + <configuration> |
| 153 | + <goalPrefix>utplsql</goalPrefix> |
| 154 | + <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> |
| 155 | + </configuration> |
| 156 | + <executions> |
| 157 | + <execution> |
| 158 | + <id>mojo-descriptor</id> |
| 159 | + <goals> |
| 160 | + <goal>descriptor</goal> |
| 161 | + </goals> |
| 162 | + </execution> |
| 163 | + <execution> |
| 164 | + <id>help-goal</id> |
| 165 | + <goals> |
| 166 | + <goal>helpmojo</goal> |
| 167 | + </goals> |
| 168 | + </execution> |
| 169 | + </executions> |
| 170 | + </plugin> |
| 171 | + <plugin> |
| 172 | + <groupId>org.apache.maven.plugins</groupId> |
| 173 | + <artifactId>maven-surefire-plugin</artifactId> |
| 174 | + <version>2.21.0</version> |
| 175 | + <configuration> |
| 176 | + <skipTests>${skip.unit.tests}</skipTests> |
| 177 | + </configuration> |
| 178 | + </plugin> |
| 179 | + </plugins> |
| 180 | + </build> |
| 181 | + |
| 182 | + <profiles> |
| 183 | + <profile> |
| 184 | + <id>release</id> |
| 185 | + |
| 186 | + <activation> |
| 187 | + <property> |
| 188 | + <name>release</name> |
| 189 | + </property> |
| 190 | + </activation> |
| 191 | + |
| 192 | + <build> |
| 193 | + <plugins> |
| 194 | + <plugin> |
| 195 | + <groupId>org.apache.maven.plugins</groupId> |
| 196 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 197 | + <executions> |
| 198 | + <execution> |
| 199 | + <id>attach-javadocs</id> |
| 200 | + <goals> |
| 201 | + <goal>jar</goal> |
| 202 | + </goals> |
| 203 | + </execution> |
| 204 | + </executions> |
| 205 | + </plugin> |
| 206 | + <plugin> |
| 207 | + <groupId>org.apache.maven.plugins</groupId> |
| 208 | + <artifactId>maven-source-plugin</artifactId> |
| 209 | + <version>3.0.1</version> |
| 210 | + <executions> |
| 211 | + <execution> |
| 212 | + <id>attach-sources</id> |
| 213 | + <phase>verify</phase> |
| 214 | + <goals> |
| 215 | + <goal>jar-no-fork</goal> |
| 216 | + </goals> |
| 217 | + </execution> |
| 218 | + </executions> |
| 219 | + </plugin> |
| 220 | + <plugin> |
| 221 | + <groupId>org.apache.maven.plugins</groupId> |
| 222 | + <artifactId>maven-gpg-plugin</artifactId> |
| 223 | + <version>1.6</version> |
| 224 | + <executions> |
| 225 | + <execution> |
| 226 | + <id>sign-artifacts</id> |
| 227 | + <phase>verify</phase> |
| 228 | + <goals> |
| 229 | + <goal>sign</goal> |
| 230 | + </goals> |
| 231 | + </execution> |
| 232 | + </executions> |
| 233 | + </plugin> |
| 234 | + </plugins> |
| 235 | + </build> |
| 236 | + </profile> |
| 237 | + |
| 238 | + <profile> |
| 239 | + <id>integration</id> |
| 240 | + |
| 241 | + <activation> |
| 242 | + <property> |
| 243 | + <name>integration</name> |
| 244 | + </property> |
| 245 | + </activation> |
| 246 | + |
| 247 | + <properties> |
| 248 | + <skip.unit.tests>true</skip.unit.tests> |
| 249 | + </properties> |
| 250 | + |
| 251 | + <dependencies> |
| 252 | + <dependency> |
| 253 | + <groupId>org.apache.maven.shared</groupId> |
| 254 | + <artifactId>maven-verifier</artifactId> |
| 255 | + <version>1.6</version> |
| 256 | + <scope>test</scope> |
| 257 | + </dependency> |
| 258 | + <dependency> |
| 259 | + <groupId>commons-io</groupId> |
| 260 | + <artifactId>commons-io</artifactId> |
| 261 | + <version>2.5</version> |
| 262 | + <scope>test</scope> |
| 263 | + </dependency> |
| 264 | + </dependencies> |
| 265 | + |
| 266 | + <build> |
| 267 | + <plugins> |
| 268 | + <plugin> |
| 269 | + <groupId>org.codehaus.mojo</groupId> |
| 270 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 271 | + <version>3.0.0</version> |
| 272 | + <executions> |
| 273 | + <execution> |
| 274 | + <id>add-it-source</id> |
| 275 | + <phase>generate-test-sources</phase> |
| 276 | + <goals> |
| 277 | + <goal>add-test-source</goal> |
| 278 | + </goals> |
| 279 | + <configuration> |
| 280 | + <sources> |
| 281 | + <directory>src/it/java</directory> |
| 282 | + </sources> |
| 283 | + </configuration> |
| 284 | + </execution> |
| 285 | + <execution> |
| 286 | + <id>add-it-resource</id> |
| 287 | + <phase>generate-resources</phase> |
| 288 | + <goals> |
| 289 | + <goal>add-test-resource</goal> |
| 290 | + </goals> |
| 291 | + <configuration> |
| 292 | + <resources> |
| 293 | + <resource> |
| 294 | + <directory>src/it/resources</directory> |
| 295 | + </resource> |
| 296 | + </resources> |
| 297 | + </configuration> |
| 298 | + </execution> |
| 299 | + </executions> |
| 300 | + </plugin> |
| 301 | + <plugin> |
| 302 | + <groupId>org.apache.maven.plugins</groupId> |
| 303 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 304 | + <version>2.22.1</version> |
| 305 | + <executions> |
| 306 | + <execution> |
| 307 | + <goals> |
| 308 | + <goal>integration-test</goal> |
| 309 | + <goal>verify</goal> |
| 310 | + </goals> |
| 311 | + </execution> |
| 312 | + </executions> |
| 313 | + </plugin> |
| 314 | + </plugins> |
| 315 | + </build> |
| 316 | + </profile> |
| 317 | + </profiles> |
| 318 | + |
| 319 | + <repositories> |
| 320 | + <repository> |
| 321 | + <id>utplsql-java-api</id> |
| 322 | + <url>https://packagecloud.io/utplsql/utplsql-java-api/maven2</url> |
| 323 | + <releases> |
| 324 | + <enabled>true</enabled> |
| 325 | + </releases> |
| 326 | + <snapshots> |
| 327 | + <enabled>true</enabled> |
| 328 | + </snapshots> |
| 329 | + </repository> |
| 330 | + </repositories> |
24 | 331 | </project>
|
0 commit comments