From a4d0afddaa49582b6ed5f88651dc8c8d4018f749 Mon Sep 17 00:00:00 2001 From: Michal Polkorab Date: Thu, 27 Aug 2015 14:25:33 +0200 Subject: [PATCH] Introduced openflowjava parent pom.xml Change-Id: I68b321532e494ead49105012401332cc4a5df19c Signed-off-by: Michal Polkorab --- openflow-protocol-api/pom.xml | 3 +- openflow-protocol-impl/pom.xml | 3 +- openflow-protocol-it/pom.xml | 3 +- openflow-protocol-spi/pom.xml | 3 +- openflowjava-config/pom.xml | 3 +- parent/pom.xml | 442 +++++++++++++++++++++++++++++++++ pom.xml | 431 +------------------------------- simple-client/pom.xml | 3 +- util/pom.xml | 3 +- 9 files changed, 462 insertions(+), 432 deletions(-) create mode 100644 parent/pom.xml diff --git a/openflow-protocol-api/pom.xml b/openflow-protocol-api/pom.xml index 888ed68f..08986c62 100644 --- a/openflow-protocol-api/pom.xml +++ b/openflow-protocol-api/pom.xml @@ -3,8 +3,9 @@ 4.0.0 org.opendaylight.openflowjava - openflow-protocol-parent + openflowjava-parent 0.7.0-SNAPSHOT + ../parent openflow-protocol-api bundle diff --git a/openflow-protocol-impl/pom.xml b/openflow-protocol-impl/pom.xml index 0a4f2fe8..0104a1a6 100644 --- a/openflow-protocol-impl/pom.xml +++ b/openflow-protocol-impl/pom.xml @@ -2,8 +2,9 @@ 4.0.0 org.opendaylight.openflowjava - openflow-protocol-parent + openflowjava-parent 0.7.0-SNAPSHOT + ../parent openflow-protocol-impl bundle diff --git a/openflow-protocol-it/pom.xml b/openflow-protocol-it/pom.xml index 54f586df..436f8bdf 100644 --- a/openflow-protocol-it/pom.xml +++ b/openflow-protocol-it/pom.xml @@ -2,8 +2,9 @@ 4.0.0 org.opendaylight.openflowjava - openflow-protocol-parent + openflowjava-parent 0.7.0-SNAPSHOT + ../parent openflow-protocol-it bundle diff --git a/openflow-protocol-spi/pom.xml b/openflow-protocol-spi/pom.xml index 5a7432aa..b3cf8d77 100644 --- a/openflow-protocol-spi/pom.xml +++ b/openflow-protocol-spi/pom.xml @@ -2,8 +2,9 @@ 4.0.0 org.opendaylight.openflowjava - openflow-protocol-parent + openflowjava-parent 0.7.0-SNAPSHOT + ../parent openflow-protocol-spi bundle diff --git a/openflowjava-config/pom.xml b/openflowjava-config/pom.xml index ccdb859c..ad7c00fa 100644 --- a/openflowjava-config/pom.xml +++ b/openflowjava-config/pom.xml @@ -10,8 +10,9 @@ org.opendaylight.openflowjava - openflow-protocol-parent + openflowjava-parent 0.7.0-SNAPSHOT + ../parent openflowjava-config Configuration files for openflowjava statistics diff --git a/parent/pom.xml b/parent/pom.xml new file mode 100644 index 00000000..8cff7901 --- /dev/null +++ b/parent/pom.xml @@ -0,0 +1,442 @@ + + + 4.0.0 + + org.opendaylight.odlparent + odlparent + 1.6.0-SNAPSHOT + + + + org.opendaylight.openflowjava + openflowjava-parent + 0.7.0-SNAPSHOT + pom + + + + The Eclipse Public License v1.0 + http://www.eclipse.org/legal/epl-v10.html + repo + + + + + scm:git:ssh://git.opendaylight.org:29418/openflowjava.git + scm:git:ssh://git.opendaylight.org:29418/openflowjava.git + https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main + HEAD + + + + dav:http://nexus.opendaylight.org/content/sites/site + UTF-8 + ${project.build.directory}/yang-gen-config + 1.6.0-SNAPSHOT + ${project.build.directory}/yang-gen-sal + + 0.4.0-SNAPSHOT + 1.3.0-SNAPSHOT + 0.8.0-SNAPSHOT + + + 2.4 + jacoco + target/code-coverage/jacoco.exec + target/code-coverage/jacoco-it.exec + + + + + + org.opendaylight.openflowjava + openflowjava-artifacts + ${project.version} + pom + import + + + org.opendaylight.yangtools + yangtools-artifacts + ${yangtools.version} + pom + import + + + org.opendaylight.controller + config-artifacts + ${config.version} + pom + import + + + org.opendaylight.controller + mdsal-artifacts + ${mdsal.version} + import + pom + + + + + + + + org.codehaus.sonar-plugins.java + sonar-jacoco-listeners + ${sonar-jacoco-listeners.version} + test + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + true + + 1.7 + 1.7 + + + + maven-source-plugin + + + attach-sources + deploy + + jar-no-fork + + + + + + org.apache.felix + maven-bundle-plugin + true + + + ${project.groupId}.${project.artifactId} + + ${project.build.directory}/META-INF + + + + org.apache.maven.plugins + maven-checkstyle-plugin + ${checkstyle.version} + + false + checkstyle-logging.xml + true + true + ${project.basedir} + **\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang + **\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/ + + + + org.opendaylight.yangtools + checkstyle-logging + ${yangtools.version} + + + + + + check + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.jacoco + jacoco-maven-plugin + + + prepare-ut-agent + process-test-classes + + prepare-agent + + + ${sonar.jacoco.reportPath} + jacoco.agent.ut.arg + + + + prepare-it-agent + pre-integration-test + + prepare-agent + + + ${sonar.jacoco.itReportPath} + jacoco.agent.it.arg + + + + + + + + + org.opendaylight.yangtools + yang-maven-plugin + ${yangtools.version} + + + org.codehaus.mojo + build-helper-maven-plugin + 1.8 + + + add-source + + add-source + + generate-sources + + + src/main/yang + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + ${jacoco.agent.it.arg} + + + listener + org.sonar.java.jacoco.JUnitListener + + + + ${project.build.directory}/surefire-reports + + + + org.apache.maven.plugins + maven-surefire-plugin + + + ${jacoco.agent.ut.arg} + + + listener + org.sonar.java.jacoco.JUnitListener + + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.codehaus.mojo + properties-maven-plugin + [0.0,) + + set-system-properties + + + + + + + + + org.jacoco + jacoco-maven-plugin + [0.0,) + + prepare-agent + pre-test + post-test + + + + + + + + + org.ops4j.pax.exam + maven-paxexam-plugin + [1.2.4,) + + generate-depends-file + + + + + false + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + [2.0,) + + check + + + + + + + + + org.opendaylight.yangtools + yang-maven-plugin + [0.5,) + + generate-sources + + + + + + + + + org.codehaus.groovy.maven + gmaven-plugin + 1.0 + + execute + + + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + ${enforcer.version} + + enforce + + + + + + + + + + + + + + + + + org.codehaus.mojo + findbugs-maven-plugin + 2.5.2 + + Max + Low + site + + + + maven-jxr-plugin + 2.3 + + true + true + + + + + org.codehaus.mojo + jdepend-maven-plugin + 2.0-beta-2 + + + + + + viewbuild + + true + + + ${project.version} + + + + jenkins + + + BUILDSUFFIX + + + + ${BUILDSUFFIX} + + + + repoBuild + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8.1 + + + + aggregate + + site + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + package + + jar-no-fork + + + + + + + + + diff --git a/pom.xml b/pom.xml index 32d01689..e35a9786 100644 --- a/pom.xml +++ b/pom.xml @@ -2,15 +2,13 @@ 4.0.0 - org.opendaylight.odlparent - odlparent - 1.6.0-SNAPSHOT - + org.opendaylight.openflowjava + openflowjava-parent + 0.7.0-SNAPSHOT + parent - org.opendaylight.openflowjava - openflow-protocol-parent - 0.7.0-SNAPSHOT + openflowjava-aggregator openflowjava pom @@ -22,425 +20,8 @@ openflow-protocol-impl openflow-protocol-it openflow-protocol-spi + parent simple-client util - - scm:git:ssh://git.opendaylight.org:29418/openflowjava.git - scm:git:ssh://git.opendaylight.org:29418/openflowjava.git - https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main - HEAD - - - - dav:http://nexus.opendaylight.org/content/sites/site - UTF-8 - ${project.build.directory}/yang-gen-config - 1.6.0-SNAPSHOT - ${project.build.directory}/yang-gen-sal - - 0.4.0-SNAPSHOT - 1.3.0-SNAPSHOT - 0.8.0-SNAPSHOT - - - 2.4 - jacoco - target/code-coverage/jacoco.exec - target/code-coverage/jacoco-it.exec - - - - - - org.opendaylight.openflowjava - openflowjava-artifacts - ${project.version} - pom - import - - - org.opendaylight.yangtools - yangtools-artifacts - ${yangtools.version} - pom - import - - - org.opendaylight.controller - config-artifacts - ${config.version} - pom - import - - - org.opendaylight.controller - mdsal-artifacts - ${mdsal.version} - import - pom - - - - - - - - org.codehaus.sonar-plugins.java - sonar-jacoco-listeners - ${sonar-jacoco-listeners.version} - test - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - true - - 1.7 - 1.7 - - - - maven-source-plugin - - - attach-sources - deploy - - jar-no-fork - - - - - - org.apache.felix - maven-bundle-plugin - true - - - ${project.groupId}.${project.artifactId} - - ${project.build.directory}/META-INF - - - - org.apache.maven.plugins - maven-checkstyle-plugin - ${checkstyle.version} - - false - checkstyle-logging.xml - true - true - ${project.basedir} - **\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang - **\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/ - - - - org.opendaylight.yangtools - checkstyle-logging - ${yangtools.version} - - - - - - check - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.jacoco - jacoco-maven-plugin - - - prepare-ut-agent - process-test-classes - - prepare-agent - - - ${sonar.jacoco.reportPath} - jacoco.agent.ut.arg - - - - prepare-it-agent - pre-integration-test - - prepare-agent - - - ${sonar.jacoco.itReportPath} - jacoco.agent.it.arg - - - - - - - - - org.opendaylight.yangtools - yang-maven-plugin - ${yangtools.version} - - - org.codehaus.mojo - build-helper-maven-plugin - 1.8 - - - add-source - - add-source - - generate-sources - - - src/main/yang - - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - - - ${jacoco.agent.it.arg} - - - listener - org.sonar.java.jacoco.JUnitListener - - - - ${project.build.directory}/surefire-reports - - - - org.apache.maven.plugins - maven-surefire-plugin - - - ${jacoco.agent.ut.arg} - - - listener - org.sonar.java.jacoco.JUnitListener - - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.codehaus.mojo - properties-maven-plugin - [0.0,) - - set-system-properties - - - - - - - - - org.jacoco - jacoco-maven-plugin - [0.0,) - - prepare-agent - pre-test - post-test - - - - - - - - - org.ops4j.pax.exam - maven-paxexam-plugin - [1.2.4,) - - generate-depends-file - - - - - false - - - - - - org.apache.maven.plugins - maven-checkstyle-plugin - [2.0,) - - check - - - - - - - - - org.opendaylight.yangtools - yang-maven-plugin - [0.5,) - - generate-sources - - - - - - - - - org.codehaus.groovy.maven - gmaven-plugin - 1.0 - - execute - - - - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - ${enforcer.version} - - enforce - - - - - - - - - - - - - - - - - org.codehaus.mojo - findbugs-maven-plugin - 2.5.2 - - Max - Low - site - - - - maven-jxr-plugin - 2.3 - - true - true - - - - - org.codehaus.mojo - jdepend-maven-plugin - 2.0-beta-2 - - - - - - viewbuild - - true - - - ${project.version} - - - - jenkins - - - BUILDSUFFIX - - - - ${BUILDSUFFIX} - - - - repoBuild - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8.1 - - - - aggregate - - site - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-source-plugin - - - attach-sources - package - - jar-no-fork - - - - - - - - diff --git a/simple-client/pom.xml b/simple-client/pom.xml index 567cdaae..484b3759 100644 --- a/simple-client/pom.xml +++ b/simple-client/pom.xml @@ -2,8 +2,9 @@ 4.0.0 org.opendaylight.openflowjava - openflow-protocol-parent + openflowjava-parent 0.7.0-SNAPSHOT + ../parent simple-client bundle diff --git a/util/pom.xml b/util/pom.xml index a05f694a..4d4f3361 100644 --- a/util/pom.xml +++ b/util/pom.xml @@ -4,8 +4,9 @@ 4.0.0 org.opendaylight.openflowjava - openflow-protocol-parent + openflowjava-parent 0.7.0-SNAPSHOT + ../parent bundle util -- 2.36.6