Normalize to one trailing slash on Nexus URL
[federation.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 7cdc6b4..d712750 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,41 +1,30 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <groupId>org.acumos.federation</groupId>
-  <artifactId>federation-parent</artifactId>
-  <version>1.0.0-SNAPSHOT</version>
-  <packaging>pom</packaging>
-
-  <name>Federation Parent</name>
-
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-  </properties>
-
-  <modules>
-       <module>gateway</module>
-  </modules>
-  <build>
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <groupId>org.acumos.federation</groupId>
+       <artifactId>federation-parent</artifactId>
+       <!-- this version is not used -->
+       <version>0</version>
+       <packaging>pom</packaging>
+       <name>Federation Parent</name>
+       <properties>
+               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+               <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+       </properties>
+       <modules>
+               <!-- Child modules do NOT name this parent. -->
+               <module>gateway</module>
+       </modules>
+       <build>
                <plugins>
-                       <!-- Skip the deployment step, this makes jenkins config easy -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-install-plugin</artifactId>
-        <version>2.5.2</version>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
+                       <!-- support sonar in multi-module project -->
                        <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-deploy-plugin</artifactId>
-                               <version>2.8.2</version>
-                               <configuration>
-                                       <skip>true</skip>
-                               </configuration>
+                               <groupId>org.sonarsource.scanner.maven</groupId>
+                               <artifactId>sonar-maven-plugin</artifactId>
+                               <version>3.4.0.905</version>
                        </plugin>
+                       <!-- No "skip" configuration for maven-deploy-plugin. Let the pom be deployed 
+                       to LF Nexus repo, so that the final deploy step finds a file and succeeds. -->
                </plugins>
        </build>
 </project>