80fb699d70288b430e7b2182f76dab1267ff2c51
[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>org.onap.aaf.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         <properties>\r
38                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
39                 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
40         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
41                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
42                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
43                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
44                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>\r
45         </properties>\r
46         <dependencies>\r
47 \r
48                 <dependency>\r
49                         <groupId>javax.servlet</groupId>\r
50                         <artifactId>servlet-api</artifactId>\r
51                         <scope>provided</scope>\r
52                 </dependency>\r
53                 \r
54                 <dependency>\r
55                         <groupId>org.slf4j</groupId>\r
56                         <artifactId>slf4j-api</artifactId>\r
57                         <scope>provided</scope>\r
58                 </dependency>\r
59                 \r
60         </dependencies>\r
61         <build>\r
62                 <plugins>\r
63                         <plugin>\r
64                                 <!-- Must put this in to turn on Signing, but Configuration itself is \r
65                                         in Parent -->\r
66                                 <groupId>org.apache.maven.plugins</groupId>\r
67                                 <artifactId>maven-jarsigner-plugin</artifactId>\r
68                         </plugin>\r
69                         <plugin>\r
70                         <groupId>org.apache.maven.plugins</groupId>\r
71                         <artifactId>maven-jar-plugin</artifactId>\r
72                         <configuration>\r
73                                 <archive>\r
74                                         <manifest>\r
75                                                 <mainClass>com.att.cadi.CmdLine</mainClass>\r
76                                         </manifest>\r
77                                         <manifestEntries>\r
78                                                 <Sealed>true</Sealed>\r
79                                         </manifestEntries>\r
80                                 </archive>\r
81                         </configuration>\r
82                         <executions>\r
83                                 <execution>\r
84                                         <id>test-jar</id>\r
85                                         <phase>package</phase>\r
86                                         <goals>\r
87                                                 <goal>test-jar</goal>\r
88                                         </goals>\r
89                                 </execution>\r
90                         </executions>\r
91                 </plugin>\r
92                 \r
93                 <plugin>\r
94                         <groupId>org.apache.maven.plugins</groupId>\r
95                         <artifactId>maven-javadoc-plugin</artifactId>\r
96                                         <configuration>\r
97                         <failOnError>false</failOnError>\r
98                         </configuration>\r
99                         <executions>\r
100                                 <execution>\r
101                                         <id>attach-javadocs</id>\r
102                                         <goals>\r
103                                                 <goal>jar</goal>\r
104                                         </goals>\r
105                                 </execution>\r
106                         </executions>\r
107                 </plugin> \r
108            \r
109            \r
110                <plugin>\r
111                       <groupId>org.apache.maven.plugins</groupId>\r
112                       <artifactId>maven-source-plugin</artifactId>\r
113                       <version>2.2.1</version>\r
114                       <executions>\r
115                         <execution>\r
116                           <id>attach-sources</id>\r
117                           <goals>\r
118                             <goal>jar-no-fork</goal>\r
119                           </goals>\r
120                         </execution>\r
121                       </executions>\r
122                     </plugin>\r
123   <plugin>\r
124                                 <groupId>org.sonatype.plugins</groupId>\r
125                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
126                                 <version>1.6.7</version>\r
127                                 <extensions>true</extensions>\r
128                                 <configuration>\r
129                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
130                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
131                                         <serverId>ecomp-staging</serverId>\r
132                                 </configuration>\r
133                         </plugin> \r
134                 </plugins>\r
135         </build>\r
136         <distributionManagement>\r
137                 <repository>\r
138                         <id>ecomp-releases</id>\r
139                         <name>AAF Release Repository</name>\r
140                         <url>${nexusproxy}${releaseNexusPath}</url>\r
141                 </repository>\r
142                 <snapshotRepository>\r
143                         <id>ecomp-snapshots</id>\r
144                         <name>AAF Snapshot Repository</name>\r
145                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
146                 </snapshotRepository>\r
147                 <site>\r
148                         <id>ecomp-site</id>\r
149                         <url>dav:${nexusproxy}${sitePath}</url>\r
150                 </site>\r
151         </distributionManagement>\r
152 <pluginRepositories>\r
153         <pluginRepository>\r
154             <id>onap-plugin-snapshots</id>\r
155             <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
156         </pluginRepository>\r
157     </pluginRepositories>\r
158         \r
159         <repositories>\r
160                 <repository>\r
161                         <id>central</id>\r
162                         <name>Maven 2 repository 2</name>\r
163                         <url>http://repo2.maven.org/maven2/</url>\r
164                 </repository>\r
165                 <repository>\r
166             <id>onap-jar-snapshots</id>\r
167             <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
168         </repository>\r
169                 <repository>\r
170                         <id>spring-repo</id>\r
171                         <name>Spring repo</name>\r
172                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
173                 </repository>\r
174                 <repository>\r
175                         <id>repository.jboss.org-public</id>\r
176                         <name>JBoss.org Maven repository</name>\r
177                         <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
178                 </repository>\r
179         </repositories>\r
180 </project>\r