From: Maros Marsalek Date: Mon, 10 Jun 2013 11:18:08 +0000 (+0200) Subject: Samples/maven-code-gen-sample pom.xml updated after recent changes. X-Git-Tag: releasepom-0.1.0~380^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=refs%2Fchanges%2F53%2F453%2F1 Samples/maven-code-gen-sample pom.xml updated after recent changes. Added insepctDependencies config attribute. Yang-maven-plugin integration tests marked as IT and now run by failsafe. Signed-off-by: Maros Marsalek --- diff --git a/opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/pom.xml b/opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/pom.xml index 896827ee45..8d846a13e6 100644 --- a/opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/pom.xml +++ b/opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/pom.xml @@ -17,4 +17,21 @@ test + + + + + maven-failsafe-plugin + 2.6 + + + + integration-test + verify + + + + + + \ No newline at end of file diff --git a/opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/java/org/opendaylight/controller/yang2sources/plugin/it/YangToSourcesPluginTest.java b/opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/java/org/opendaylight/controller/yang2sources/plugin/it/YangToSourcesPluginTestIT.java similarity index 96% rename from opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/java/org/opendaylight/controller/yang2sources/plugin/it/YangToSourcesPluginTest.java rename to opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/java/org/opendaylight/controller/yang2sources/plugin/it/YangToSourcesPluginTestIT.java index e77ec6c46b..9535468ed5 100644 --- a/opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/java/org/opendaylight/controller/yang2sources/plugin/it/YangToSourcesPluginTest.java +++ b/opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/java/org/opendaylight/controller/yang2sources/plugin/it/YangToSourcesPluginTestIT.java @@ -16,7 +16,7 @@ import org.apache.maven.it.VerificationException; import org.apache.maven.it.Verifier; import org.junit.Test; -public class YangToSourcesPluginTest { +public class YangToSourcesPluginTestIT { // TODO Test yang files in transitive dependencies @@ -112,7 +112,7 @@ public class YangToSourcesPluginTest { @Test public void testNoOutputDir() throws VerificationException { - Verifier v = YangToSourcesPluginTest.setUp("NoOutputDir/", false); + Verifier v = YangToSourcesPluginTestIT.setUp("NoOutputDir/", false); verifyCorrectLog(v); } @@ -126,7 +126,7 @@ public class YangToSourcesPluginTest { v1.assertFilePresent("target/classes/META-INF/yang/testfile2.yang"); v1.assertFilePresent("target/classes/META-INF/yang/testfile3.yang"); - Verifier v2 = YangToSourcesPluginTest.setUp("GenerateTest2/", false); + Verifier v2 = YangToSourcesPluginTestIT.setUp("GenerateTest2/", false); v2.executeGoal("clean"); v2.executeGoal("package"); v2.assertFilePresent("target/classes/META-INF/yang/private.yang"); diff --git a/opendaylight/sal/yang-prototype/code-generator/samples/maven-code-gen-sample/pom.xml b/opendaylight/sal/yang-prototype/code-generator/samples/maven-code-gen-sample/pom.xml index 03a2e8588e..b1bcb062b8 100644 --- a/opendaylight/sal/yang-prototype/code-generator/samples/maven-code-gen-sample/pom.xml +++ b/opendaylight/sal/yang-prototype/code-generator/samples/maven-code-gen-sample/pom.xml @@ -31,8 +31,7 @@ - - + false