Skip to content

Commit d9b437e

Browse files
committed
fix for plugin dependency error during mvn verify, minor modification for readme
1 parent 4aa66d9 commit d9b437e

5 files changed

Lines changed: 9 additions & 15 deletions

File tree

gp-maven-plugin/integration-test-README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ To test existing features of gp-maven-plugin, integration tests have been added.
44
to test more advanced cases/new features as per need by following the template of existing integration tests. To execute the integration tests:
55

66
* Make sure that following profile is added to the **src/pom.xml**
7-
```
7+
```xml
88
<profile>
99
<id>run-its</id>
1010
<activation>
@@ -93,7 +93,7 @@ The **_t4-basic-download-success_** test contains following files:
9393

9494
> This file contains the properties for the integration test invoker.
9595
```
96-
invoker.name=basic upload test which should succeed
96+
invoker.name=basic download test which should succeed
9797
invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:upload integration-test
9898
invoker.debug=false
9999
invoker.buildResult=success
@@ -110,7 +110,7 @@ invoker.mavenOpts=-Dgp.credentials.json=credentials.json
110110
####pom.xml
111111

112112
> This file specifies the plugin execution goals as desired.
113-
```
113+
```xml
114114
<plugin>
115115
<groupId>@project.groupId@</groupId>
116116
<artifactId>@project.artifactId@</artifactId>

gp-maven-plugin/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
<execution>
149149
<id>integration-test</id>
150150
<goals>
151+
<goal>install</goal>
151152
<goal>run</goal>
152153
</goals>
153154
</execution>

gp-maven-plugin/src/it/setup/pom.xml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,18 @@
66
<modelVersion>4.0.0</modelVersion>
77

88
<groupId>@project.groupId@</groupId>
9-
<artifactId>t1-basic-upload-test-fail</artifactId>
9+
<artifactId>setup</artifactId>
1010
<version>@project.version@</version>
1111
<packaging>jar</packaging>
1212

13-
<name>gp-maven-plugin Basic Upload Fail Test</name>
13+
<name>simple setup</name>
1414
<build>
1515
<plugins>
1616
<!-- START SNIPPET: start -->
1717
<plugin>
1818
<groupId>@project.groupId@</groupId>
1919
<artifactId>@project.artifactId@</artifactId>
20-
<version>@project.version@</version>
21-
<executions>
22-
<execution>
23-
<goals>
24-
<goal>upload</goal>
25-
</goals>
26-
</execution>
27-
</executions>
20+
<version>@pom.version@</version>
2821
</plugin>
2922
</plugins>
3023
<!-- END SNIPPET: start -->

gp-maven-plugin/src/it/t1-basic-upload-fail/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<plugin>
1717
<groupId>@project.groupId@</groupId>
1818
<artifactId>@project.artifactId@</artifactId>
19-
<version>@project.version@</version>
19+
<version>@pom.version@</version>
2020
<configuration>
2121
<bundleSets>
2222
<bundleSet>

gp-maven-plugin/src/it/t2-basic-upload-success/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<plugin>
1717
<groupId>@project.groupId@</groupId>
1818
<artifactId>@project.artifactId@</artifactId>
19-
<version>@project.version@</version>
19+
<version>@pom.version@</version>
2020
</plugin>
2121
</plugins>
2222
</build>

0 commit comments

Comments
 (0)