Create and prepare non-deploy release 2.7.1
[aaf/authz.git] / cadi / oauth-enduser / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * ============LICENSE_START====================================================
4  * org.onap.aaf
5  * ===========================================================================
6  * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7  * ===========================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END====================================================
20  *
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25     <parent>
26         <groupId>org.onap.aaf.authz</groupId>
27         <artifactId>cadiparent</artifactId>
28         <version>2.7.1-SNAPSHOT</version>
29         <relativePath>..</relativePath>
30     </parent>
31     
32     <name>AAF CADI Sample OAuth EndUser</name>
33     <artifactId>aaf-cadi-oauth-enduser</artifactId>
34     <packaging>jar</packaging>
35
36     <properties>
37     <!--  SONAR  -->
38     <sonar.skip>true</sonar.skip>
39          <jacoco.version>0.7.7.201606060606</jacoco.version>
40         <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
41         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
42         <!-- Default Sonar configuration -->
43         <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
44         <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
45         <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
46         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47         <nexusproxy>https://nexus.onap.org</nexusproxy>
48         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
49         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
50         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
51         <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
52     </properties>
53     
54     <developers>
55         <developer>
56             <name>Jonathan Gathman</name>
57             <email>jonathan.gathman@att.com</email>
58             <organization>ATT</organization>
59             <roles>
60                 <role>Architect</role>
61                 <role>Lead Developer</role>
62             </roles>
63         </developer>
64     </developers>
65     
66     <dependencies>
67         <dependency>
68             <groupId>org.onap.aaf.authz</groupId>
69             <artifactId>aaf-cadi-core</artifactId>
70         </dependency>
71         <dependency>
72             <groupId>org.onap.aaf.authz</groupId>
73             <artifactId>aaf-cadi-aaf</artifactId>
74         </dependency>
75     </dependencies>
76
77     <build>
78         <pluginManagement>
79             <plugins>
80                 <plugin>
81                     <groupId>org.apache.maven.plugins</groupId>
82                     <artifactId>maven-compiler-plugin</artifactId>
83                     <version>2.3.2</version>
84                     <configuration>
85                         <source>1.8</source>
86                         <target>1.8</target>
87                     </configuration>
88                 </plugin>
89
90                 <plugin>
91                     <groupId>org.apache.maven.plugins</groupId>
92                     <version>2.4</version>
93                     <artifactId>maven-jar-plugin</artifactId>
94                     <configuration>
95                         <outputDirectory>target</outputDirectory>
96                     </configuration>
97                 </plugin>
98                 <plugin>
99                     <artifactId>maven-assembly-plugin</artifactId>
100                     <version>2.4</version>
101                     <configuration>
102                         <archive>
103                             <manifest>
104                                 <mainClass>org.onap.aaf.cadi.enduser.OAuthExample</mainClass>
105                             </manifest>
106                         </archive>
107                         <descriptors>
108                             <descriptor>src/main/assemble/cadi-oauth-enduser-assemble.xml</descriptor>
109                         </descriptors>
110                     </configuration>
111                 </plugin>
112             <plugin>
113                 <groupId>org.jacoco</groupId>
114                 <artifactId>jacoco-maven-plugin</artifactId>
115                 <version>${jacoco.version}</version>
116                 <configuration>
117                     <excludes>
118                         <exclude>**/gen/**</exclude>
119                         <exclude>**/generated-sources/**</exclude>
120                         <exclude>**/yang-gen/**</exclude>
121                         <exclude>**/pax/**</exclude>
122                     </excludes>
123                 </configuration>
124                 <executions>
125                     <execution>
126                         <id>pre-unit-test</id>
127                         <goals>
128                             <goal>prepare-agent</goal>
129                         </goals>
130                         <configuration>
131                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
132                             <propertyName>surefireArgLine</propertyName>
133                         </configuration>
134                     </execution>
135                     <execution>
136                         <id>post-unit-test</id>
137                         <phase>test</phase>
138                         <goals>
139                             <goal>report</goal>
140                         </goals>
141                         <configuration>
142                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
143                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
144                         </configuration>
145                     </execution>
146                     <execution>
147                         <id>pre-integration-test</id>
148                         <phase>pre-integration-test</phase>
149                         <goals>
150                             <goal>prepare-agent</goal>
151                         </goals>
152                         <configuration>
153                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
154
155                             <propertyName>failsafeArgLine</propertyName>
156                         </configuration>
157                     </execution>
158                     <execution>
159                         <id>post-integration-test</id>
160                         <phase>post-integration-test</phase>
161                         <goals>
162                             <goal>report</goal>
163                         </goals>
164                         <configuration>
165                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
166                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
167                         </configuration>
168                     </execution>
169                 </executions>
170             </plugin>
171             </plugins>
172         </pluginManagement>
173     </build>
174
175     
176     <distributionManagement>
177         <repository>
178             <id>ecomp-releases</id>
179             <name>AAF Release Repository</name>
180             <url>${nexusproxy}${releaseNexusPath}</url>
181         </repository>
182         <snapshotRepository>
183             <id>ecomp-snapshots</id>
184             <name>AAF Snapshot Repository</name>
185             <url>${nexusproxy}${snapshotNexusPath}</url>
186         </snapshotRepository>
187         <site>
188             <id>ecomp-site</id>
189             <url>dav:${nexusproxy}${sitePath}</url>
190         </site>
191     </distributionManagement>
192 </project>