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