[AAF-21] Initial code import
[aaf/cadi.git] / core / 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                 <relativePath>..</relativePath>\r
29                 <version>1.3.2</version>\r
30         </parent>\r
31         \r
32         <modelVersion>4.0.0</modelVersion>\r
33         <name>CADI Core Framework (Code, Access, Data, Identity)</name>\r
34         <artifactId>cadi-core</artifactId>\r
35         <packaging>jar</packaging>\r
36         <url>https://github.com/att/AAF</url>\r
37         <description>CADI</description>\r
38         \r
39         <dependencies>\r
40 \r
41                 <dependency>\r
42                         <groupId>javax.servlet</groupId>\r
43                         <artifactId>servlet-api</artifactId>\r
44                         <scope>provided</scope>\r
45                 </dependency>\r
46                 \r
47                 <dependency>\r
48                         <groupId>org.slf4j</groupId>\r
49                         <artifactId>slf4j-api</artifactId>\r
50                         <scope>provided</scope>\r
51                 </dependency>\r
52                 \r
53         </dependencies>\r
54         <build>\r
55                 <plugins>\r
56                         <plugin>\r
57                                 <!-- Must put this in to turn on Signing, but Configuration itself is \r
58                                         in Parent -->\r
59                                 <groupId>org.apache.maven.plugins</groupId>\r
60                                 <artifactId>maven-jarsigner-plugin</artifactId>\r
61                         </plugin>\r
62                         <plugin>\r
63                         <groupId>org.apache.maven.plugins</groupId>\r
64                         <artifactId>maven-jar-plugin</artifactId>\r
65                         <configuration>\r
66                                 <archive>\r
67                                         <manifest>\r
68                                                 <mainClass>com.att.cadi.CmdLine</mainClass>\r
69                                         </manifest>\r
70                                         <manifestEntries>\r
71                                                 <Sealed>true</Sealed>\r
72                                         </manifestEntries>\r
73                                 </archive>\r
74                         </configuration>\r
75                         <executions>\r
76                                 <execution>\r
77                                         <id>test-jar</id>\r
78                                         <phase>package</phase>\r
79                                         <goals>\r
80                                                 <goal>test-jar</goal>\r
81                                         </goals>\r
82                                 </execution>\r
83                         </executions>\r
84                 </plugin>\r
85                 \r
86                 <plugin>\r
87                         <groupId>org.apache.maven.plugins</groupId>\r
88                         <artifactId>maven-javadoc-plugin</artifactId>\r
89                                         <configuration>\r
90                         <failOnError>false</failOnError>\r
91                         </configuration>\r
92                         <executions>\r
93                                 <execution>\r
94                                         <id>attach-javadocs</id>\r
95                                         <goals>\r
96                                                 <goal>jar</goal>\r
97                                         </goals>\r
98                                 </execution>\r
99                         </executions>\r
100                 </plugin> \r
101            \r
102            \r
103                <plugin>\r
104                       <groupId>org.apache.maven.plugins</groupId>\r
105                       <artifactId>maven-source-plugin</artifactId>\r
106                       <version>2.2.1</version>\r
107                       <executions>\r
108                         <execution>\r
109                           <id>attach-sources</id>\r
110                           <goals>\r
111                             <goal>jar-no-fork</goal>\r
112                           </goals>\r
113                         </execution>\r
114                       </executions>\r
115                     </plugin>\r
116         \r
117                 <plugin>\r
118                         <groupId>org.sonatype.plugins</groupId>\r
119                         <artifactId>nexus-staging-maven-plugin</artifactId>\r
120                         <version>1.6.7</version>\r
121                         <extensions>true</extensions>\r
122                         <configuration>\r
123                         <serverId>ossrhdme</serverId>\r
124                         <nexusUrl>https://oss.sonatype.org/</nexusUrl>\r
125                         <autoReleaseAfterClose>true</autoReleaseAfterClose>\r
126                         </configuration>\r
127                 </plugin>\r
128                 </plugins>\r
129         </build>\r
130 \r
131 </project>\r