Skip to content

Commit 8d2f1ea

Browse files
committed
break out storm-deps into independent build.
1 parent 0a61db1 commit 8d2f1ea

File tree

3 files changed

+237
-16
lines changed

3 files changed

+237
-16
lines changed

pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@
129129
</prerequisites>
130130

131131
<modules>
132-
<module>storm-deps/libthrift</module>
133132
<module>storm-core</module>
134133
</modules>
135134

storm-deps/libthrift/pom.xml

+3-15
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2121
<modelVersion>4.0.0</modelVersion>
2222
<parent>
23-
<artifactId>storm</artifactId>
23+
<artifactId>storm-deps</artifactId>
2424
<groupId>org.apache.storm</groupId>
2525
<version>0.9.1-incubating-SNAPSHOT</version>
26-
<relativePath>../../pom.xml</relativePath>
26+
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<groupId>org.apache.storm</groupId>
2929
<artifactId>libthrift7</artifactId>
@@ -55,7 +55,7 @@
5555
<keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
5656
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
5757
<createDependencyReducedPom>true</createDependencyReducedPom>
58-
<shadedArtifactAttached>true</shadedArtifactAttached>
58+
<!--<shadedArtifactAttached>true</shadedArtifactAttached>-->
5959
<artifactSet>
6060
<includes>
6161
<include>org.apache.thrift:*</include>
@@ -71,18 +71,6 @@
7171
</execution>
7272
</executions>
7373
</plugin>
74-
<plugin>
75-
<groupId>org.apache.maven.plugins</groupId>
76-
<artifactId>maven-install-plugin</artifactId>
77-
<executions>
78-
<execution>
79-
<phase>package</phase>
80-
<goals>
81-
<goal>install</goal>
82-
</goals>
83-
</execution>
84-
</executions>
85-
</plugin>
8674
</plugins>
8775
</build>
8876
</project>

storm-deps/pom.xml

+234
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,234 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one or more
4+
contributor license agreements. See the NOTICE file distributed with
5+
this work for additional information regarding copyright ownership.
6+
The ASF licenses this file to You under the Apache License, Version 2.0
7+
(the "License"); you may not use this file except in compliance with
8+
the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
-->
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20+
<modelVersion>4.0.0</modelVersion>
21+
22+
<parent>
23+
<groupId>org.apache</groupId>
24+
<artifactId>apache</artifactId>
25+
<version>10</version>
26+
</parent>
27+
28+
29+
<groupId>org.apache.storm</groupId>
30+
<artifactId>storm-deps</artifactId>
31+
<version>0.9.1-incubating-SNAPSHOT</version>
32+
<packaging>pom</packaging>
33+
<name>Storm Dependencies</name>
34+
35+
36+
<prerequisites>
37+
<maven>3.0.0</maven>
38+
</prerequisites>
39+
40+
<modules>
41+
<module>libthrift</module>
42+
</modules>
43+
44+
<scm>
45+
<connection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-storm.git</connection>
46+
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-storm.git</developerConnection>
47+
<tag>HEAD</tag>
48+
<url>https://git-wip-us.apache.org/repos/asf/incubator-storm</url>
49+
</scm>
50+
51+
52+
53+
<properties>
54+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
55+
</properties>
56+
57+
<profiles>
58+
<profile>
59+
<id>sign</id>
60+
<build>
61+
<plugins>
62+
<plugin>
63+
<groupId>org.apache.maven.plugins</groupId>
64+
<artifactId>maven-gpg-plugin</artifactId>
65+
<executions>
66+
<execution>
67+
<id>sign-artifacts</id>
68+
<phase>verify</phase>
69+
<goals>
70+
<goal>sign</goal>
71+
</goals>
72+
</execution>
73+
</executions>
74+
</plugin>
75+
</plugins>
76+
</build>
77+
</profile>
78+
79+
</profiles>
80+
81+
<distributionManagement>
82+
<repository>
83+
<uniqueVersion>false</uniqueVersion>
84+
<id>releases</id>
85+
<name>Local Release Repo</name>
86+
<url>file:///tmp/repo/</url>
87+
<layout>default</layout>
88+
</repository>
89+
<snapshotRepository>
90+
<uniqueVersion>false</uniqueVersion>
91+
<id>snapshots</id>
92+
<name>Local Snapshot Repo</name>
93+
<url>file:///tmp/repo/</url>
94+
<layout>default</layout>
95+
</snapshotRepository>
96+
<site>
97+
<id>storm.maven.website</id>
98+
<name>Storm Website</name>
99+
<url>file:///tmp/site</url>
100+
</site>
101+
</distributionManagement>
102+
103+
<dependencyManagement>
104+
105+
</dependencyManagement>
106+
107+
108+
<dependencies>
109+
110+
</dependencies>
111+
112+
<repositories>
113+
<repository>
114+
<releases>
115+
<enabled>true</enabled>
116+
</releases>
117+
<snapshots>
118+
<enabled>false</enabled>
119+
</snapshots>
120+
<id>central</id>
121+
<url>http://repo1.maven.org/maven2/</url>
122+
</repository>
123+
124+
</repositories>
125+
126+
<build>
127+
128+
<pluginManagement>
129+
<plugins>
130+
<plugin>
131+
<groupId>org.apache.maven.plugins</groupId>
132+
<artifactId>maven-assembly-plugin</artifactId>
133+
<version>2.2.2</version>
134+
</plugin>
135+
<plugin>
136+
<groupId>org.apache.maven.plugins</groupId>
137+
<artifactId>maven-install-plugin</artifactId>
138+
<version>2.4</version>
139+
</plugin>
140+
<plugin>
141+
<groupId>org.apache.maven.plugins</groupId>
142+
<artifactId>maven-compiler-plugin</artifactId>
143+
<version>3.1</version>
144+
</plugin>
145+
<plugin>
146+
<groupId>org.apache.maven.plugins</groupId>
147+
<artifactId>maven-source-plugin</artifactId>
148+
<version>2.2.1</version>
149+
</plugin>
150+
<plugin>
151+
<groupId>org.apache.maven.plugins</groupId>
152+
<artifactId>maven-javadoc-plugin</artifactId>
153+
<version>2.9</version>
154+
</plugin>
155+
<plugin>
156+
<groupId>org.apache.maven.plugins</groupId>
157+
<artifactId>maven-jar-plugin</artifactId>
158+
<version>2.4</version>
159+
</plugin>
160+
<plugin>
161+
<groupId>org.apache.maven.plugins</groupId>
162+
<artifactId>maven-release-plugin</artifactId>
163+
<version>2.4.1</version>
164+
</plugin>
165+
<plugin>
166+
<groupId>com.theoryinpractise</groupId>
167+
<artifactId>clojure-maven-plugin</artifactId>
168+
<version>1.3.18</version>
169+
<extensions>true</extensions>
170+
</plugin>
171+
<plugin>
172+
<groupId>org.apache.maven.plugins</groupId>
173+
<artifactId>maven-surefire-report-plugin</artifactId>
174+
<version>2.16</version>
175+
</plugin>
176+
177+
<plugin>
178+
<groupId>org.apache.maven.plugins</groupId>
179+
<artifactId>maven-gpg-plugin</artifactId>
180+
<version>1.4</version>
181+
</plugin>
182+
<plugin>
183+
<groupId>org.apache.maven.plugins</groupId>
184+
<artifactId>maven-shade-plugin</artifactId>
185+
<version>2.2</version>
186+
</plugin>
187+
<plugin>
188+
<groupId>org.apache.maven.plugins</groupId>
189+
<artifactId>maven-project-info-reports-plugin</artifactId>
190+
<version>2.7</version>
191+
</plugin>
192+
</plugins>
193+
</pluginManagement>
194+
195+
196+
<plugins>
197+
<plugin>
198+
<groupId>org.apache.maven.plugins</groupId>
199+
<artifactId>maven-compiler-plugin</artifactId>
200+
<configuration>
201+
<source>1.6</source>
202+
<target>1.6</target>
203+
</configuration>
204+
</plugin>
205+
<plugin>
206+
<groupId>org.apache.maven.plugins</groupId>
207+
<artifactId>maven-release-plugin</artifactId>
208+
<configuration>
209+
<autoVersionSubmodules>true</autoVersionSubmodules>
210+
<goals>deploy assembly:assembly</goals>
211+
<tagNameFormat>v@{project.version}</tagNameFormat>
212+
<preparationGoals>clean test</preparationGoals>
213+
<remoteTagging>false</remoteTagging>
214+
<suppressCommitBeforeTag>true</suppressCommitBeforeTag>
215+
<pushChanges>false</pushChanges>
216+
</configuration>
217+
</plugin>
218+
<plugin>
219+
<groupId>com.theoryinpractise</groupId>
220+
<artifactId>clojure-maven-plugin</artifactId>
221+
<extensions>true</extensions>
222+
</plugin>
223+
<plugin>
224+
<groupId>org.apache.maven.plugins</groupId>
225+
<artifactId>maven-install-plugin</artifactId>
226+
<configuration>
227+
<createChecksum>true</createChecksum>
228+
</configuration>
229+
</plugin>
230+
</plugins>
231+
</build>
232+
233+
234+
</project>

0 commit comments

Comments
 (0)