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