Skip to content

Commit

Permalink
BZ1049674 - Workbench generated maven projects should have the kjar type
Browse files Browse the repository at this point in the history
  • Loading branch information
manstis committed Jan 24, 2014
1 parent d0e9375 commit 02d16ee
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ private void testKieModuleMetaDataForDependenciesInMemory( boolean useTypeDeclar
}

@Test
@Ignore("https://bugzilla.redhat.com/show_bug.cgi?id=1049674")
// @Ignore("https://bugzilla.redhat.com/show_bug.cgi?id=1049674")
public void testKieMavenPluginEmptyProject() {
// According to https://bugzilla.redhat.com/show_bug.cgi?id=1049674#c2 the below is the minimal POM required to use KieMavenPlugin.
// However when we attempt to retrieve meta-data about the classes in the KieModule some are not accessible. IDK whether the minimal
Expand Down Expand Up @@ -287,6 +287,9 @@ public void testKieMavenPluginEmptyProject() {
+ "</build>"
+ "</project>" );

kfs.write("/src/main/resources/META-INF/kmodule.xml",
"<kmodule xmlns=\"http://jboss.org/kie/6.0.0/kmodule\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/>");

final KieBuilder kieBuilder = ks.newKieBuilder( kfs );
final List<Message> messages = kieBuilder.buildAll().getResults().getMessages();
assertTrue( messages.isEmpty() );
Expand Down

0 comments on commit 02d16ee

Please sign in to comment.