File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
src/it/MDEPLOY-202_deployfile-with-multiple-executions Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 2525 build :
2626 name : Verify
2727 uses : apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4
28+ with :
29+ maven4-enabled : true
2830
Original file line number Diff line number Diff line change 1717 * under the License.
1818 */
1919
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
2135
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