Improve code coverage for aaf authz modules.
[aaf/authz.git] / authz-defOrg / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3   ============LICENSE_START====================================================\r
4   * org.onap.aaf\r
5   * ===========================================================================\r
6   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
7   * ===========================================================================\r
8   * Licensed under the Apache License, Version 2.0 (the "License");\r
9   * you may not use this file except in compliance with the License.\r
10   * You may obtain a copy of the License at\r
11   * \r
12    *      http://www.apache.org/licenses/LICENSE-2.0\r
13   * \r
14    * Unless required by applicable law or agreed to in writing, software\r
15   * distributed under the License is distributed on an "AS IS" BASIS,\r
16   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
17   * See the License for the specific language governing permissions and\r
18   * limitations under the License.\r
19   * ============LICENSE_END====================================================\r
20   *\r
21   * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
22   *\r
23 -->\r
24 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
25          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">\r
26   <modelVersion>4.0.0</modelVersion>\r
27   <parent>\r
28     <groupId>org.onap.aaf.authz</groupId>\r
29     <artifactId>parent</artifactId>\r
30     <version>1.0.1-SNAPSHOT</version>\r
31     <relativePath>../pom.xml</relativePath>\r
32   </parent>\r
33   \r
34   <artifactId>authz-defOrg</artifactId>\r
35   <name>Default Organization</name>\r
36   <description>Example Organization Module</description>\r
37   <packaging>jar</packaging>\r
38         <url>https://github.com/att/AAF</url>\r
39         <licenses>\r
40                 <license>\r
41                 <name>BSD License</name>\r
42                 <url> </url>\r
43                 </license>\r
44         </licenses>\r
45         <developers>\r
46                 <developer>\r
47                 <name>Jonathan Gathman</name>\r
48                 <email></email>\r
49         <organization>ATT</organization>\r
50         <organizationUrl></organizationUrl>\r
51                 </developer>\r
52         </developers>\r
53 \r
54   <properties>\r
55     <maven.test.failure.ignore>false</maven.test.failure.ignore>\r
56     <project.swmVersion>0</project.swmVersion>\r
57         <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
58         <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>\r
59         <sonar.language>java</sonar.language>\r
60         <sonar.skip>true</sonar.skip>\r
61                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>\r
62                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>\r
63                 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>\r
64                 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>\r
65                 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>\r
66                 <sonar.projectVersion>${project.version}</sonar.projectVersion>\r
67         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
68                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
69                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
70                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
71                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>\r
72 </properties>\r
73 \r
74   \r
75   <dependencies>\r
76     <dependency>\r
77       <groupId>org.onap.aaf.cadi</groupId>\r
78       <artifactId>cadi-core</artifactId>\r
79           <version>${project.cadiVersion}</version>\r
80     </dependency>\r
81     \r
82     <dependency>\r
83       <groupId>org.onap.aaf.authz</groupId>\r
84       <artifactId>authz-core</artifactId>\r
85           <version>${project.version}</version>\r
86     </dependency>\r
87     \r
88     <dependency>\r
89                 <groupId>javax.mail</groupId>\r
90                 <artifactId>mail</artifactId>\r
91         </dependency> \r
92   </dependencies>\r
93 \r
94         <build>\r
95                 <pluginManagement>\r
96                 <plugins>\r
97                 <plugin>\r
98                         <groupId>org.apache.maven.plugins</groupId>\r
99                         <artifactId>maven-javadoc-plugin</artifactId>\r
100                         <version>2.10.4</version>\r
101                         <configuration>\r
102                         <failOnError>false</failOnError>\r
103                         </configuration>\r
104                         <executions>\r
105                                 <execution>\r
106                                         <id>attach-javadocs</id>\r
107                                         <goals>\r
108                                                 <goal>jar</goal>\r
109                                         </goals>\r
110                                 </execution>\r
111                         </executions>\r
112                 </plugin> \r
113                  <plugin>\r
114                                 <groupId>org.sonatype.plugins</groupId>\r
115                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
116                                 <version>1.6.7</version>\r
117                                 <extensions>true</extensions>\r
118                                 <configuration>\r
119                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
120                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
121                                         <serverId>ecomp-staging</serverId>\r
122                                 </configuration>\r
123                         </plugin>               \r
124                         <plugin>\r
125                                 <groupId>org.jacoco</groupId>\r
126                                 <artifactId>jacoco-maven-plugin</artifactId>\r
127                                 <version>0.7.7.201606060606</version>\r
128                                 <configuration>\r
129                                         <dumpOnExit>true</dumpOnExit>\r
130                                         <includes>\r
131                                                 <include>org.onap.aaf.*</include>\r
132                                         </includes>\r
133                                 </configuration>\r
134                                 <executions>\r
135                                         <execution>\r
136                                                 <id>pre-unit-test</id>\r
137                                                 <goals>\r
138                                                         <goal>prepare-agent</goal>\r
139                                                 </goals>\r
140                                                 <configuration>\r
141                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>\r
142                                                         <!-- <append>true</append> -->\r
143                                                 </configuration>\r
144                                         </execution>\r
145                                         <execution>\r
146                                                 <id>pre-integration-test</id>\r
147                                                 <phase>pre-integration-test</phase>\r
148                                                 <goals>\r
149                                                         <goal>prepare-agent</goal>\r
150                                                 </goals>\r
151                                                 <configuration>\r
152                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>\r
153                                                         <!-- <append>true</append> -->\r
154                                                 </configuration>\r
155                                         </execution>\r
156                                         <execution>\r
157                         <goals>\r
158                             <goal>merge</goal>\r
159                         </goals>\r
160                         <phase>post-integration-test</phase>\r
161                         <configuration>\r
162                             <fileSets>\r
163                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">\r
164                                     <directory>${project.build.directory}/coverage-reports</directory>\r
165                                     <includes>\r
166                                         <include>*.exec</include>\r
167                                     </includes>\r
168                                 </fileSet>\r
169                             </fileSets>\r
170                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>\r
171                         </configuration>\r
172                     </execution>\r
173                                 </executions>\r
174                         </plugin>\r
175 \r
176                 </plugins>\r
177                 </pluginManagement>\r
178         </build>\r
179         <distributionManagement>\r
180                 <repository>\r
181                         <id>ecomp-releases</id>\r
182                         <name>AAF Release Repository</name>\r
183                         <url>${nexusproxy}${releaseNexusPath}</url>\r
184                 </repository>\r
185                 <snapshotRepository>\r
186                         <id>ecomp-snapshots</id>\r
187                         <name>AAF Snapshot Repository</name>\r
188                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
189                 </snapshotRepository>\r
190                 <site>\r
191                         <id>ecomp-site</id>\r
192                         <url>dav:${nexusproxy}${sitePath}</url>\r
193                 </site>\r
194         </distributionManagement>\r
195 \r
196         \r
197 </project>\r