4e84841395d32b6cb7032ef70cd760974d7d3457
[controller.git] / opendaylight / md-sal / sal-dummy-distributed-datastore / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.odlparent</groupId>
6     <artifactId>bundle-parent</artifactId>
7     <version>2.0.4</version>
8     <relativePath/>
9   </parent>
10
11   <groupId>org.opendaylight.controller</groupId>
12   <artifactId>sal-dummy-distributed-datastore</artifactId>
13   <version>1.6.0-SNAPSHOT</version>
14   <packaging>bundle</packaging>
15
16   <dependencyManagement>
17     <dependencies>
18       <dependency>
19         <groupId>org.opendaylight.controller</groupId>
20         <artifactId>mdsal-artifacts</artifactId>
21         <version>1.6.0-SNAPSHOT</version>
22         <type>pom</type>
23         <scope>import</scope>
24       </dependency>
25     </dependencies>
26   </dependencyManagement>
27
28   <dependencies>
29     <dependency>
30       <groupId>com.google.guava</groupId>
31       <artifactId>guava</artifactId>
32     </dependency>
33
34     <dependency>
35       <groupId>com.typesafe.akka</groupId>
36       <artifactId>akka-actor_${scala.version}</artifactId>
37     </dependency>
38
39     <dependency>
40       <groupId>com.typesafe.akka</groupId>
41       <artifactId>akka-cluster_${scala.version}</artifactId>
42     </dependency>
43
44     <dependency>
45       <groupId>com.typesafe.akka</groupId>
46       <artifactId>akka-persistence_${scala.version}</artifactId>
47     </dependency>
48
49     <dependency>
50       <groupId>com.typesafe.akka</groupId>
51       <artifactId>akka-remote_${scala.version}</artifactId>
52     </dependency>
53
54     <dependency>
55       <groupId>com.typesafe.akka</groupId>
56       <artifactId>akka-testkit_${scala.version}</artifactId>
57       <scope>test</scope>
58     </dependency>
59
60     <dependency>
61       <groupId>com.typesafe.akka</groupId>
62       <artifactId>akka-slf4j_${scala.version}</artifactId>
63     </dependency>
64
65     <dependency>
66       <groupId>com.typesafe.akka</groupId>
67       <artifactId>akka-osgi_${scala.version}</artifactId>
68     </dependency>
69
70     <dependency>
71       <groupId>org.opendaylight.controller</groupId>
72       <artifactId>sal-clustering-commons</artifactId>
73     </dependency>
74
75     <dependency>
76       <groupId>org.opendaylight.controller</groupId>
77       <artifactId>sal-akka-raft</artifactId>
78     </dependency>
79
80     <dependency>
81       <groupId>org.opendaylight.controller</groupId>
82       <artifactId>sal-distributed-datastore</artifactId>
83     </dependency>
84
85     <!-- Test Dependencies -->
86     <dependency>
87       <groupId>junit</groupId>
88       <artifactId>junit</artifactId>
89       <scope>test</scope>
90     </dependency>
91     <dependency>
92       <groupId>org.mockito</groupId>
93       <artifactId>mockito-core</artifactId>
94       <scope>test</scope>
95     </dependency>
96
97     <dependency>
98       <groupId>org.slf4j</groupId>
99       <artifactId>slf4j-simple</artifactId>
100       <scope>test</scope>
101     </dependency>
102
103     <dependency>
104       <groupId>args4j</groupId>
105       <artifactId>args4j</artifactId>
106       <version>2.0.29</version>
107     </dependency>
108
109   </dependencies>
110
111   <build>
112     <plugins>
113
114       <plugin>
115         <groupId>org.apache.felix</groupId>
116         <artifactId>maven-bundle-plugin</artifactId>
117         <extensions>true</extensions>
118         <configuration>
119           <instructions>
120             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
121           </instructions>
122         </configuration>
123       </plugin>
124
125       <plugin>
126         <groupId>org.apache.maven.plugins</groupId>
127         <artifactId>maven-shade-plugin</artifactId>
128         <executions>
129           <execution>
130             <phase>package</phase>
131             <goals>
132               <goal>shade</goal>
133             </goals>
134             <configuration>
135               <shadedArtifactAttached>true</shadedArtifactAttached>
136               <shadedClassifierName>allinone</shadedClassifierName>
137               <artifactSet>
138                 <includes>
139                   <include>*:*</include>
140                 </includes>
141               </artifactSet>
142               <transformers>
143                 <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
144                   <resource>reference.conf</resource>
145                 </transformer>
146                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
147                   <manifestEntries>
148                     <Main-Class>org.opendaylight.controller.dummy.datastore.Main</Main-Class>
149                   </manifestEntries>
150                 </transformer>
151               </transformers>
152             </configuration>
153           </execution>
154         </executions>
155       </plugin>
156     </plugins>
157   </build>
158
159   <scm>
160     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
161     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
162     <tag>HEAD</tag>
163     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
164   </scm>
165
166   <!--
167       Maven Site Configuration
168
169       The following configuration is necessary for maven-site-plugin to
170       correctly identify the correct deployment path for OpenDaylight Maven
171       sites.
172   -->
173   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
174
175   <distributionManagement>
176     <site>
177       <id>opendaylight-site</id>
178       <url>${nexus.site.url}/${project.artifactId}/</url>
179     </site>
180   </distributionManagement>
181 </project>