5803cb9c19ae3d1f73a0d51baa67574e0ac56193
[aaf/cadi.git] / aaf / pom.xml
1 <!--\r
2   ============LICENSE_START====================================================\r
3   * org.onap.aaf\r
4   * ===========================================================================\r
5   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
6   * ===========================================================================\r
7   * Licensed under the Apache License, Version 2.0 (the "License");\r
8   * you may not use this file except in compliance with the License.\r
9   * You may obtain a copy of the License at\r
10   * \r
11    *      http://www.apache.org/licenses/LICENSE-2.0\r
12   * \r
13    * Unless required by applicable law or agreed to in writing, software\r
14   * distributed under the License is distributed on an "AS IS" BASIS,\r
15   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16   * See the License for the specific language governing permissions and\r
17   * limitations under the License.\r
18   * ============LICENSE_END====================================================\r
19   *\r
20   * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
21   *\r
22 -->\r
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
24         <parent>\r
25                 <groupId>com.att.cadi</groupId>\r
26                 <artifactId>parent</artifactId>\r
27                 <version>1.3.2</version>\r
28                 <relativePath>..</relativePath>\r
29         </parent>\r
30 \r
31         <modelVersion>4.0.0</modelVersion>\r
32         <name>CADI AAF (Application Authorization Framework) LUR</name>\r
33         <packaging>jar</packaging>\r
34         <url>https://github.com/att/AAF</url>\r
35         <description>CADI</description>\r
36         <artifactId>cadi-aaf</artifactId>\r
37         <dependencies>\r
38                 <dependency>\r
39                         <groupId>com.att.authz</groupId>\r
40                         <artifactId>authz-client</artifactId>\r
41                 </dependency>\r
42 \r
43                   <dependency>\r
44                         <groupId>com.att.cadi</groupId>\r
45                         <artifactId>cadi-client</artifactId>\r
46                 </dependency> \r
47 \r
48                 <dependency>\r
49                         <groupId>com.att.cadi</groupId>\r
50                         <artifactId>cadi-client</artifactId>\r
51                 </dependency>\r
52                 \r
53                 <dependency>\r
54                         <groupId>com.att.aft</groupId>\r
55                         <artifactId>dme2</artifactId>\r
56                         <scope>provided</scope>\r
57                 </dependency>\r
58                 \r
59                 <dependency>\r
60                     <groupId>javax.servlet</groupId>\r
61                     <artifactId>javax.servlet-api</artifactId>\r
62                     <version>3.0.1</version>\r
63                         <scope>provided</scope>\r
64                 </dependency>\r
65 \r
66                 <dependency>\r
67                         <groupId>org.slf4j</groupId>\r
68                     <artifactId>slf4j-log4j12</artifactId>\r
69                     <version>1.7.5</version>\r
70                     <scope>test</scope>\r
71                 </dependency>\r
72 \r
73         </dependencies>\r
74         <build>\r
75                 <plugins> \r
76                         <plugin>\r
77                                 <groupId>org.apache.maven.plugins</groupId>\r
78                                 <artifactId>maven-compiler-plugin</artifactId>\r
79                                 <version>2.3.2</version>\r
80                         </plugin>\r
81                 \r
82                                 <!-- We want to create a Jar with Rosetta built in (since I don't want \r
83                                 a separate deployment at this time Use this one as the jar to put in SWM \r
84                                 packages -->\r
85                         <plugin>\r
86                                 <artifactId>maven-assembly-plugin</artifactId>\r
87                                 <configuration>\r
88                                         <classifier>tests</classifier>\r
89                                         <archive>\r
90                                                 <manifest>\r
91                                                         <mainClass>com.att.cadi.cm.CmAgent</mainClass>\r
92                                                 </manifest>\r
93 \r
94                                                 <manifestEntries>\r
95                                                         <Sealed>true</Sealed>\r
96                                                 </manifestEntries>\r
97                                         </archive>\r
98                                 </configuration>\r
99                                 <executions>\r
100                                         <execution>\r
101                                                 <id>full</id>\r
102                                                 <phase>package</phase>\r
103                                                 <goals>\r
104                                                         <goal>single</goal>\r
105                                                 </goals>\r
106                                                 <configuration>\r
107                                                         <descriptors>\r
108                                                                 <descriptor>src/assemble/cadi-aaf.xml</descriptor>\r
109                                                         </descriptors>\r
110                                                 </configuration>\r
111                                         </execution>\r
112                                 </executions>\r
113                         </plugin>\r
114                 <plugin>\r
115                         <groupId>org.apache.maven.plugins</groupId>\r
116                         <artifactId>maven-javadoc-plugin</artifactId>\r
117                                         <configuration>\r
118                         <failOnError>false</failOnError>\r
119                         </configuration>\r
120                         <executions>\r
121                                 <execution>\r
122                                         <id>attach-javadocs</id>\r
123                                         <goals>\r
124                                                 <goal>jar</goal>\r
125                                         </goals>\r
126                                 </execution>\r
127                         </executions>\r
128                 </plugin> \r
129            \r
130            \r
131                <plugin>\r
132                       <groupId>org.apache.maven.plugins</groupId>\r
133                       <artifactId>maven-source-plugin</artifactId>\r
134                       <version>2.2.1</version>\r
135                       <executions>\r
136                         <execution>\r
137                           <id>attach-sources</id>\r
138                           <goals>\r
139                             <goal>jar-no-fork</goal>\r
140                           </goals>\r
141                         </execution>\r
142                       </executions>\r
143                     </plugin>\r
144         \r
145         <plugin>\r
146                         <groupId>org.sonatype.plugins</groupId>\r
147                         <artifactId>nexus-staging-maven-plugin</artifactId>\r
148                         <version>1.6.7</version>\r
149                         <extensions>true</extensions>\r
150                         <configuration>\r
151                         <serverId>ossrhdme</serverId>\r
152                         <nexusUrl>https://oss.sonatype.org/</nexusUrl>\r
153                         <autoReleaseAfterClose>true</autoReleaseAfterClose>\r
154                         </configuration>\r
155                 </plugin>\r
156 \r
157                         <plugin>\r
158                                 <!-- Also sign "full" -->\r
159                                 <groupId>org.apache.maven.plugins</groupId>\r
160                                 <artifactId>maven-jarsigner-plugin</artifactId>\r
161                                 <configuration>\r
162                                         <skip>true</skip>\r
163                                 </configuration>\r
164                                 <executions>\r
165                                         <execution>\r
166                                                 <id>sign-full</id>\r
167                                                 <goals>\r
168                                                         <goal>sign</goal>\r
169                                                 </goals>\r
170                                                 <configuration>\r
171                                                         <archive>target/${project.artifactId}-${project.version}-full.jar</archive>\r
172                                                 </configuration>\r
173                                         </execution>\r
174                                         <execution>\r
175                                                 <id>verify-full</id>\r
176                                                 <goals>\r
177                                                         <goal>verify</goal>\r
178                                                 </goals>\r
179                                                 <configuration>\r
180                                                         <archive>target/${project.artifactId}-${project.version}-full.jar</archive>\r
181                                                 </configuration>\r
182                                         </execution>\r
183                                 </executions>\r
184                         </plugin>\r
185                 \r
186                 </plugins>\r
187         </build>\r
188 </project>\r