Update the pom files to fix the junit failure 13/4213/1
authorVenkata Harish K Kajur <vk250x@att.com>
Mon, 15 May 2017 17:24:25 +0000 (13:24 -0400)
committerVenkata Harish K Kajur <vk250x@att.com>
Mon, 15 May 2017 17:25:50 +0000 (13:25 -0400)
Add the changes made for javadocs and surefire plugin

Change-Id: Ic01b2c72030d8014ad32e44d2aeebda14d698719
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
aai-annotations/pom.xml
aai-core/pom.xml
aai-schema/pom.xml
pom.xml

index 4cfbf37..c5fcfe2 100644 (file)
@@ -11,7 +11,9 @@
        <properties>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <nexusproxy>https://nexus.onap.org</nexusproxy>
-               <sitePath>/content/sites/site/${project.artifactId}/${project.version}</sitePath>
+               <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
+               <maven.compiler.target>1.8</maven.compiler.target>
+               <maven.compiler.source>1.8</maven.compiler.source>
        </properties>
        <dependencies>
                <dependency>
index 0300087..1fc32a0 100644 (file)
@@ -13,7 +13,7 @@
                <maven.compiler.source>1.8</maven.compiler.source>
                <aai-schema.version>1.1.0-SNAPSHOT</aai-schema.version>
                <nexusproxy>https://nexus.onap.org</nexusproxy>
-               <sitePath>/content/sites/site/${project.artifactId}/${project.version}</sitePath>
+               <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
                <sonar.language>java</sonar.language>
                <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
                <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
                                                </execution>
                                        </executions>
                                </plugin>
+                       <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-surefire-plugin</artifactId>
+                               <version>2.12.4</version>
+                               <configuration>
+                                       <argLine>-noverify ${argLine}</argLine>
+                    <systemPropertyVariables>
+                                               <AJSC_HOME>.</AJSC_HOME>
+                                               <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>
+                                       </systemPropertyVariables>
+                               </configuration>
+                       </plugin>
                </plugins>
        </build>
        
index 87fc27e..8d6836a 100644 (file)
@@ -11,7 +11,9 @@
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <aai.annotations.version>1.1.0-SNAPSHOT</aai.annotations.version>
                <nexusproxy>https://nexus.onap.org</nexusproxy>
-               <sitePath>/content/sites/site/${project.artifactId}/${project.version}</sitePath>
+        <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
+               <maven.compiler.target>1.8</maven.compiler.target>
+               <maven.compiler.source>1.8</maven.compiler.source>
        </properties>
        <dependencies>
                <dependency>
diff --git a/pom.xml b/pom.xml
index 00fd2f7..64cc47b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
        <module>aai-annotations</module>
        <module>aai-core</module>
   </modules>
-  
+
+       <properties>
+               <nexusproxy>https://nexus.onap.org</nexusproxy>
+               <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
+       </properties>
+
   <build>
         <pluginManagement>
             <plugins>