45615cbde9389eeb1e006d8bfdeab2a828a6d35d
[aaf/cadi.git] / client / 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                 <version>1.0.0-SNAPSHOT</version>\r
28                 <relativePath>..</relativePath>\r
29         </parent>\r
30         \r
31         <name>CADI Client</name>\r
32         <artifactId>cadi-client</artifactId>\r
33         <packaging>jar</packaging>\r
34         <url>https://github.com/att/AAF</url>\r
35         <description>CADI</description>\r
36         <modelVersion>4.0.0</modelVersion>\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                 <dependency>\r
48                         <groupId>org.onap.aaf.inno</groupId>\r
49                         <artifactId>rosetta</artifactId>\r
50                 </dependency>\r
51                 <dependency>\r
52                         <groupId>org.onap.aaf.cadi</groupId>\r
53                         <artifactId>cadi-core</artifactId>\r
54                 </dependency>\r
55                 <dependency>\r
56                         <groupId>com.att.aft</groupId>\r
57                         <artifactId>dme2</artifactId>\r
58                         <scope>compile</scope>\r
59                 </dependency>\r
60                 \r
61         </dependencies>\r
62 \r
63         <build>\r
64                 <plugins>\r
65                         <plugin>\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-javadoc-plugin</artifactId>\r
72                                         <configuration>\r
73                         <failOnError>false</failOnError>\r
74                         </configuration>\r
75                         <executions>\r
76                                 <execution>\r
77                                         <id>attach-javadocs</id>\r
78                                         <goals>\r
79                                                 <goal>jar</goal>\r
80                                         </goals>\r
81                                 </execution>\r
82                         </executions>\r
83                 </plugin> \r
84            \r
85            \r
86                <plugin>\r
87                       <groupId>org.apache.maven.plugins</groupId>\r
88                       <artifactId>maven-source-plugin</artifactId>\r
89                       <version>2.2.1</version>\r
90                       <executions>\r
91                         <execution>\r
92                           <id>attach-sources</id>\r
93                           <goals>\r
94                             <goal>jar-no-fork</goal>\r
95                           </goals>\r
96                         </execution>\r
97                       </executions>\r
98                     </plugin>\r
99         \r
100   <plugin>\r
101                                 <groupId>org.sonatype.plugins</groupId>\r
102                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
103                                 <version>1.6.7</version>\r
104                                 <extensions>true</extensions>\r
105                                 <configuration>\r
106                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
107                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
108                                         <serverId>ecomp-staging</serverId>\r
109                                 </configuration>\r
110                         </plugin> \r
111                 </plugins>\r
112         </build>\r
113                 <distributionManagement>\r
114                 <repository>\r
115                         <id>ecomp-releases</id>\r
116                         <name>AAF Release Repository</name>\r
117                         <url>${nexusproxy}${releaseNexusPath}</url>\r
118                 </repository>\r
119                 <snapshotRepository>\r
120                         <id>ecomp-snapshots</id>\r
121                         <name>AAF Snapshot Repository</name>\r
122                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
123                 </snapshotRepository>\r
124                 <site>\r
125                         <id>ecomp-site</id>\r
126                         <url>dav:${nexusproxy}${sitePath}</url>\r
127                 </site>\r
128         </distributionManagement>\r
129 <pluginRepositories>\r
130         <pluginRepository>\r
131             <id>onap-plugin-snapshots</id>\r
132             <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
133         </pluginRepository>\r
134     </pluginRepositories>\r
135         \r
136         <repositories>\r
137                 <repository>\r
138                         <id>central</id>\r
139                         <name>Maven 2 repository 2</name>\r
140                         <url>http://repo2.maven.org/maven2/</url>\r
141                 </repository>\r
142                 <repository>\r
143             <id>onap-jar-snapshots</id>\r
144             <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
145         </repository>\r
146                 <repository>\r
147                         <id>spring-repo</id>\r
148                         <name>Spring repo</name>\r
149                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
150                 </repository>\r
151                 <repository>\r
152                         <id>repository.jboss.org-public</id>\r
153                         <name>JBoss.org Maven repository</name>\r
154                         <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
155                 </repository>\r
156         </repositories>\r
157 </project>\r