new parent POM with Checkstyle, FindBugs & Truth
authorMichael Vorburger <vorburger@redhat.com>
Sun, 5 Nov 2017 11:13:36 +0000 (12:13 +0100)
committerMichael Vorburger <vorburger@redhat.com>
Mon, 13 Nov 2017 12:48:17 +0000 (12:48 +0000)
switched utils, inject, guice-testutils, diagstatus & ready to using it.

other artifacts will be switched later, once they are FindBugs enabled

Change-Id: Icddbd9b5482401ddd1f71f600d3c5fbe3dd5a72c
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
inject-guice-testutils/pom.xml
inject/pom.xml

index fc45f3d2789669a837945951eb529b1215e322e5..414efdb8d7707e89e52fe693bd15adb960197ad1 100644 (file)
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
-    <groupId>org.opendaylight.odlparent</groupId>
-    <artifactId>odlparent</artifactId>
-    <version>2.0.5</version>
-    <relativePath />
+      <groupId>org.opendaylight.infrautils</groupId>
+      <artifactId>parent</artifactId>
+      <version>1.3.0-SNAPSHOT</version>
+      <relativePath>../../common/parent</relativePath>
   </parent>
 
-  <groupId>org.opendaylight.infrautils</groupId>
   <artifactId>inject.guice.testutils</artifactId>
-  <version>1.3.0-SNAPSHOT</version>
+  <packaging>bundle</packaging>
   <!-- <name> formatting is used by autorelease to parse and notify projects on
        build failure. Please do not modify this unless you have a good reason. -->
   <name>ODL :: infrautils :: ${project.artifactId}</name>
 
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <configuration>
-          <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
   <dependencies>
     <dependency>
       <groupId>javax.inject</groupId>
       <artifactId>guice</artifactId>
       <scope>compile</scope>
     </dependency>
-    <dependency>
-      <groupId>com.google.truth</groupId>
-      <artifactId>truth</artifactId>
-    </dependency>
     <dependency>
       <groupId>org.opendaylight.infrautils</groupId>
       <artifactId>inject</artifactId>
index a948ef27b6ad81ce205eac84d0caf638b2dd1a0a..cf2ae586ff104ee87da3be950b5156d75f8067d3 100644 (file)
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
-    <groupId>org.opendaylight.odlparent</groupId>
-    <artifactId>odlparent</artifactId>
-    <version>2.0.5</version>
-    <relativePath />
+      <groupId>org.opendaylight.infrautils</groupId>
+      <artifactId>parent</artifactId>
+      <version>1.3.0-SNAPSHOT</version>
+      <relativePath>../../common/parent</relativePath>
   </parent>
 
-  <groupId>org.opendaylight.infrautils</groupId>
   <artifactId>inject</artifactId>
-  <version>1.3.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
   <!-- <name> formatting is used by autorelease to parse and notify projects on
        build failure. Please do not modify this unless you have a good reason. -->
 
   <build>
     <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <configuration>
-          <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
-        </configuration>
-      </plugin>
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
           <instructions>
+            <!-- TODO remove this; it should do this by default? -->
             <Export-Package>
               org.opendaylight.infrautils.inject
             </Export-Package>
       <groupId>javax.inject</groupId>
       <artifactId>javax.inject</artifactId>
     </dependency>
-
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-    </dependency>
-    <dependency>
-        <groupId>com.google.truth</groupId>
-        <artifactId>truth</artifactId>
-    </dependency>
   </dependencies>
 
 </project>