Remove eclipse checkstyle warnings
[policy/engine.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index f57ff26..7d7f979 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -2,18 +2,22 @@
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
 
-       <groupId>org.openecomp.policy.engine</groupId>
+       <parent>
+               <groupId>org.onap.oparent</groupId>
+               <artifactId>oparent</artifactId>
+               <version>1.0.0-SNAPSHOT</version>
+               <relativePath/>
+       </parent>
+
+       <groupId>org.onap.policy.engine</groupId>
        <artifactId>PolicyEngineSuite</artifactId>
        <version>1.1.0-SNAPSHOT</version>
        <packaging>pom</packaging>
        <name>Policy Engine - Policy Engine Suite</name>
 
-       <description>The ECOMP Policy Engine main pom</description>
+       <description>The ONAP Policy Engine main pom</description>
 
        <properties>
-               <maven.compiler.source>1.8</maven.compiler.source>
-               <maven.compiler.target>1.8</maven.compiler.target>
-
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 
                <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
 
        <modules>
                <module>PolicyEngineUtils</module>
-               <module>ECOMP-XACML</module>
-               <module>ECOMP-REST</module>
-               <module>ECOMP-ASDC</module>
-               <module>ECOMP-ControlloopPolicy</module>
+               <module>ONAP-XACML</module>
+               <module>ONAP-REST</module>
+               <module>ONAP-ASDC</module>
+               <module>ONAP-ControlloopPolicy</module>
                <module>PolicyEngineAPI</module>
-               <module>ECOMP-PDP</module>
-               <module>ECOMP-PDP-REST</module>
-               <module>ECOMP-PAP-REST</module>
+               <module>ONAP-PDP</module>
+               <module>ONAP-PDP-REST</module>
+               <module>ONAP-PAP-REST</module>
                <module>LogParser</module>
                <module>PolicyEngineClient</module>
                <module>BRMSGateway</module>
                <module>POLICY-SDK-APP</module>
-               <module>ECOMP-SDK-APP</module>
+               <module>ONAP-SDK-APP</module>
                <module>packages</module>
        </modules>
 
-       <repositories>
-               <repository>
-                       <id>ecomp-snapshots</id>
-                       <name>OpenECOMP Snapshot Repository</name>
-                       <url>${nexusproxy}/${snapshots.path}</url>
-               </repository>
-               <repository>
-                       <id>ecomp-releases</id>
-                       <name>OpenECOMP Release Repository</name>
-                       <url>${nexusproxy}/${releases.path}/</url>
-               </repository>
-               <repository>
-                       <id>ecomp-staging</id>
-                       <name>OpenECOMP Staging Repository</name>
-                       <url>${nexusproxy}/${staging.path}</url>
-               </repository>
-       </repositories>
-
        <distributionManagement>
                <repository>
                        <id>ecomp-releases</id>
-                       <name>OpenECOMP Release Repository</name>
+                       <name>ONAP Release Repository</name>
                        <url>${nexusproxy}/${releases.path}</url>
                </repository>
                <snapshotRepository>
                        <id>ecomp-snapshots</id>
-                       <name>OpenECOMP Snapshot Repository</name>
+                       <name>ONAP Snapshot Repository</name>
                        <url>${nexusproxy}/${snapshots.path}</url>
                </snapshotRepository>
                <site>
                                <configuration>
                                        <dumpOnExit>true</dumpOnExit>
                                        <includes>
-                                               <include>org.openecomp.*</include>
+                                               <include>org.onap.*</include>
                                        </includes>
                                </configuration>
                                <executions>
                          </dependencies>
                        </plugin>
                </plugins>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.eclipse.m2e</groupId>
+                    <artifactId>lifecycle-mapping</artifactId>
+                    <version>1.0.0</version>
+                    <configuration>
+                        <lifecycleMappingMetadata>
+                            <pluginExecutions>
+                                <pluginExecution>
+                                    <pluginExecutionFilter>
+                                        <groupId>org.apache.maven.plugins</groupId>
+                                        <artifactId>maven-checkstyle-plugin</artifactId>
+                                        <versionRange>2.17,)</versionRange>
+                                        <goals>
+                                            <goal>check</goal>
+                                        </goals>
+                                    </pluginExecutionFilter>
+                                    <action>
+                                        <ignore />
+                                    </action>
+                                </pluginExecution>
+                            </pluginExecutions>
+                        </lifecycleMappingMetadata>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
        </build>
 </project>