Skip to content

Commit

Permalink
Add reproducer for rhbz#1217473
Browse files Browse the repository at this point in the history
  • Loading branch information
mizdebsk committed May 6, 2015
1 parent 07106f3 commit ab22669
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,14 @@ public void testBuilddepSkippedTestDependencies()
" </dependency>", //
"</dependencies>" );
}

@Test
@Ignore
public void testBuilddepUnusedPlugins()
throws Exception
{
performTest( "verify", "org.fedoraproject.xmvn:xmvn-mojo:builddep" );

assertBuilddepEqual( "<dependencies/>" );
}
}
24 changes: 24 additions & 0 deletions xmvn-it/src/test/resources/testBuilddepUnusedPlugins/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>xmvn.its</groupId>
<artifactId>non-existent-plugin</artifactId>
<version>0.0.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>dummy</groupId>
<artifactId>non-existent-plugin</artifactId>
<version>1.2.3</version>
<executions>
<execution>
<id>dummy</id>
<phase>site</phase>
<goals>
<goal>dummy</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit ab22669

Please sign in to comment.