adding the SNAPSHOT in pom
[oam/tr069-adapter.git] / factory / pom.xml
index 4876f27..896e82c 100644 (file)
@@ -25,7 +25,7 @@
    <parent>
       <groupId>org.commscope.tr069adapter</groupId>
       <artifactId>tr069adapter</artifactId>
-      <version>1.0.0</version>
+      <version>${project.version}</version>
    </parent>
    <groupId>org.commscope.tr069adapter.factory</groupId>
    <artifactId>factory</artifactId>
@@ -74,7 +74,7 @@
       <dependency>
          <groupId>org.commscope.tr069adapter.acs.common</groupId>
          <artifactId>acs-common</artifactId>
-         <version>1.0.0</version>
+         <version>${project.version}</version>
       </dependency>
    </dependencies>
    <build>
                <skipTests>false</skipTests>
             </configuration>
          </plugin>
+         <plugin>
+            <groupId>org.jacoco</groupId>
+            <artifactId>jacoco-maven-plugin</artifactId>
+            <executions>
+               <execution>
+                  <goals>
+                     <goal>prepare-agent</goal>
+                  </goals>
+               </execution>
+               <!-- attached to Maven test phase -->
+               <execution>
+                  <id>report</id>
+                  <phase>test</phase>
+                  <goals>
+                     <goal>report</goal>
+                  </goals>
+               </execution>
+            </executions>
+         </plugin>
          <plugin>
             <artifactId>maven-failsafe-plugin</artifactId>
          </plugin>