File tree 2 files changed +17
-2
lines changed
src/it/MDEPLOY-202_deployfile-with-multiple-executions
2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 25
25
build :
26
26
name : Verify
27
27
uses : apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4
28
+ with :
29
+ maven4-enabled : true
28
30
Original file line number Diff line number Diff line change 17
17
* under the License.
18
18
*/
19
19
20
- def buildLog = new File ( basedir, " build.log" )
20
+ def expectedDeploys = [
21
+ ' org/apache/maven/its/mdeploy-170/configperproject/1.0/configperproject-1.0.pom' ,
22
+ ' org/apache/maven/plugins/deploy/it/org.eclipse.equinox.common/1.0/org.eclipse.equinox.common-1.0-sources.jar' ,
23
+ ' org/apache/maven/plugins/deploy/it/org.eclipse.equinox.common/1.0/org.eclipse.equinox.common-1.0.jar' ,
24
+ ' org/apache/maven/plugins/deploy/it/org.eclipse.equinox.common/1.0/org.eclipse.equinox.common-1.0.pom' ,
25
+ ' org/apache/maven/plugins/deploy/it/org.eclipse.osgi/1.0/org.eclipse.osgi-1.0-sources.jar' ,
26
+ ' org/apache/maven/plugins/deploy/it/org.eclipse.osgi/1.0/org.eclipse.osgi-1.0.jar' ,
27
+ ' org/apache/maven/plugins/deploy/it/org.eclipse.osgi/1.0/org.eclipse.osgi-1.0.pom'
28
+ ]
29
+
30
+ def repoDir = new File ( basedir, ' target/repo' )
31
+
32
+ def missingDeploys = expectedDeploys. findAll { ! new File (repoDir, it). isFile() }
33
+
34
+ assert missingDeploys. size() == 0
21
35
22
- assert buildLog. text =~ / Uploading.*file:target\/ repo\/ org\/ apache\/ maven\/ plugins\/ deploy\/ it\/ org\. eclipse\. osgi\/ 1\. 0\/ org\. eclipse\. osgi-1\. 0-sources\. jar/
You can’t perform that action at this time.
0 commit comments