[AAF-21] Initial code import
[aaf/cadi.git] / aaf / pom.xml
1 <!--\r
2   ============LICENSE_START====================================================\r
3   * org.onap.aai\r
4   * ===========================================================================\r
5   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
6   * Copyright © 2017 Amdocs\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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
25         <parent>\r
26                 <groupId>com.att.cadi</groupId>\r
27                 <artifactId>parent</artifactId>\r
28                 <version>1.3.2</version>\r
29                 <relativePath>..</relativePath>\r
30         </parent>\r
31 \r
32         <modelVersion>4.0.0</modelVersion>\r
33         <name>CADI AAF (Application Authorization Framework) LUR</name>\r
34         <packaging>jar</packaging>\r
35         <url>https://github.com/att/AAF</url>\r
36         <description>CADI</description>\r
37         <artifactId>cadi-aaf</artifactId>\r
38         <dependencies>\r
39                 <dependency>\r
40                         <groupId>com.att.authz</groupId>\r
41                         <artifactId>authz-client</artifactId>\r
42                 </dependency>\r
43 \r
44                   <dependency>\r
45                         <groupId>com.att.cadi</groupId>\r
46                         <artifactId>cadi-client</artifactId>\r
47                 </dependency> \r
48 \r
49                 <dependency>\r
50                         <groupId>com.att.cadi</groupId>\r
51                         <artifactId>cadi-client</artifactId>\r
52                 </dependency>\r
53                 \r
54                 <dependency>\r
55                         <groupId>com.att.aft</groupId>\r
56                         <artifactId>dme2</artifactId>\r
57                         <scope>provided</scope>\r
58                 </dependency>\r
59                 \r
60                 <dependency>\r
61                     <groupId>javax.servlet</groupId>\r
62                     <artifactId>javax.servlet-api</artifactId>\r
63                     <version>3.0.1</version>\r
64                         <scope>provided</scope>\r
65                 </dependency>\r
66 \r
67                 <dependency>\r
68                         <groupId>org.slf4j</groupId>\r
69                     <artifactId>slf4j-log4j12</artifactId>\r
70                     <version>1.7.5</version>\r
71                     <scope>test</scope>\r
72                 </dependency>\r
73 \r
74         </dependencies>\r
75         <build>\r
76                 <plugins> \r
77                         <plugin>\r
78                                 <groupId>org.apache.maven.plugins</groupId>\r
79                                 <artifactId>maven-compiler-plugin</artifactId>\r
80                                 <version>2.3.2</version>\r
81                         </plugin>\r
82                 \r
83                                 <!-- We want to create a Jar with Rosetta built in (since I don't want \r
84                                 a separate deployment at this time Use this one as the jar to put in SWM \r
85                                 packages -->\r
86                         <plugin>\r
87                                 <artifactId>maven-assembly-plugin</artifactId>\r
88                                 <configuration>\r
89                                         <classifier>tests</classifier>\r
90                                         <archive>\r
91                                                 <manifest>\r
92                                                         <mainClass>com.att.cadi.cm.CmAgent</mainClass>\r
93                                                 </manifest>\r
94 \r
95                                                 <manifestEntries>\r
96                                                         <Sealed>true</Sealed>\r
97                                                 </manifestEntries>\r
98                                         </archive>\r
99                                 </configuration>\r
100                                 <executions>\r
101                                         <execution>\r
102                                                 <id>full</id>\r
103                                                 <phase>package</phase>\r
104                                                 <goals>\r
105                                                         <goal>single</goal>\r
106                                                 </goals>\r
107                                                 <configuration>\r
108                                                         <descriptors>\r
109                                                                 <descriptor>src/assemble/cadi-aaf.xml</descriptor>\r
110                                                         </descriptors>\r
111                                                 </configuration>\r
112                                         </execution>\r
113                                 </executions>\r
114                         </plugin>\r
115                 <plugin>\r
116                         <groupId>org.apache.maven.plugins</groupId>\r
117                         <artifactId>maven-javadoc-plugin</artifactId>\r
118                                         <configuration>\r
119                         <failOnError>false</failOnError>\r
120                         </configuration>\r
121                         <executions>\r
122                                 <execution>\r
123                                         <id>attach-javadocs</id>\r
124                                         <goals>\r
125                                                 <goal>jar</goal>\r
126                                         </goals>\r
127                                 </execution>\r
128                         </executions>\r
129                 </plugin> \r
130            \r
131            \r
132                <plugin>\r
133                       <groupId>org.apache.maven.plugins</groupId>\r
134                       <artifactId>maven-source-plugin</artifactId>\r
135                       <version>2.2.1</version>\r
136                       <executions>\r
137                         <execution>\r
138                           <id>attach-sources</id>\r
139                           <goals>\r
140                             <goal>jar-no-fork</goal>\r
141                           </goals>\r
142                         </execution>\r
143                       </executions>\r
144                     </plugin>\r
145         \r
146         <plugin>\r
147                         <groupId>org.sonatype.plugins</groupId>\r
148                         <artifactId>nexus-staging-maven-plugin</artifactId>\r
149                         <version>1.6.7</version>\r
150                         <extensions>true</extensions>\r
151                         <configuration>\r
152                         <serverId>ossrhdme</serverId>\r
153                         <nexusUrl>https://oss.sonatype.org/</nexusUrl>\r
154                         <autoReleaseAfterClose>true</autoReleaseAfterClose>\r
155                         </configuration>\r
156                 </plugin>\r
157 \r
158                         <plugin>\r
159                                 <!-- Also sign "full" -->\r
160                                 <groupId>org.apache.maven.plugins</groupId>\r
161                                 <artifactId>maven-jarsigner-plugin</artifactId>\r
162                                 <configuration>\r
163                                         <skip>true</skip>\r
164                                 </configuration>\r
165                                 <executions>\r
166                                         <execution>\r
167                                                 <id>sign-full</id>\r
168                                                 <goals>\r
169                                                         <goal>sign</goal>\r
170                                                 </goals>\r
171                                                 <configuration>\r
172                                                         <archive>target/${project.artifactId}-${project.version}-full.jar</archive>\r
173                                                 </configuration>\r
174                                         </execution>\r
175                                         <execution>\r
176                                                 <id>verify-full</id>\r
177                                                 <goals>\r
178                                                         <goal>verify</goal>\r
179                                                 </goals>\r
180                                                 <configuration>\r
181                                                         <archive>target/${project.artifactId}-${project.version}-full.jar</archive>\r
182                                                 </configuration>\r
183                                         </execution>\r
184                                 </executions>\r
185                         </plugin>\r
186                 \r
187                 </plugins>\r
188         </build>\r
189 </project>\r