File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
src/it/MDEPLOY-202_deployfile-with-multiple-executions Expand file tree Collapse file tree 1 file changed +16
-2
lines changed 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/plugins/deploy/it/org.eclipse.osgi/1.0/org.eclipse.osgi-1.0.pom' ,
22+ ' org/apache/maven/plugins/deploy/it/org.eclipse.equinox.common/1.0/org.eclipse.equinox.common-1.0.pom' ,
23+ ' org/apache/maven/its/mdeploy-170/configperproject/1.0/configperproject-1.0.pom' ,
24+ ' org/apache/maven/its/mdeploy-170/configperproject/1.0/configperproject-1.0-build.pom' ,
25+ ' org/apache/maven/plugins/deploy/it/org.eclipse.osgi/1.0/org.eclipse.osgi-1.0.jar' ,
26+ ' org/apache/maven/plugins/deploy/it/org.eclipse.osgi/1.0/org.eclipse.osgi-1.0-sources.jar' ,
27+ ' org/apache/maven/plugins/deploy/it/org.eclipse.equinox.common/1.0/org.eclipse.equinox.common-1.0-sources.jar' ,
28+ ' org/apache/maven/plugins/deploy/it/org.eclipse.equinox.common/1.0/org.eclipse.equinox.common-1.0.jar'
29+ ]
30+
31+ def repoDir = new File ( basedir, ' target/repo' )
32+
33+ def missingDeploys = expectedDeploys. findAll { ! new File (repoDir, it). isFile() }
34+
35+ assert missingDeploys. size() == 0
2136
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