Skip to content

Commit 3416f71

Browse files
committed
update plugin and infos
1 parent a7b757b commit 3416f71

File tree

3 files changed

+61
-33
lines changed

3 files changed

+61
-33
lines changed

core/pom.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
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">
53
<parent>
64
<artifactId>fregata</artifactId>
75
<groupId>com.talkingdata.fregata</groupId>

pom.xml

Lines changed: 57 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,30 @@
1111
<module>core</module>
1212
<module>spark</module>
1313
</modules>
14+
<name>Fregata Project Parent POM</name>
15+
<description>Fregata is a light weight, super fast, large scale machine learning library based on Apache Spark .</description>
16+
<url>https://github.com/TalkingData/Fregata</url>
17+
<licenses>
18+
<license>
19+
<name>Apache 2.0 License</name>
20+
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
21+
<distribution>repo</distribution>
22+
</license>
23+
</licenses>
24+
<scm>
25+
<connection>scm:git:https://github.com/TalkingData/Fregata.git/tags/0.0.1</connection>
26+
<url>https://github.com/TalkingData/Fregata/tags/0.0.1</url>
27+
<tag>HEAD</tag>
28+
</scm>
29+
<developers>
30+
<developer>
31+
<id>takun</id>
32+
<name>Yongjun Tian</name>
33+
<email>yongjun.tian@tendcloud.com</email>
34+
<organization>TalkingData</organization>
35+
<organizationUrl>https://www.talkingdata.com/</organizationUrl>
36+
</developer>
37+
</developers>
1438

1539
<properties>
1640
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -25,8 +49,6 @@
2549
<CodeCacheSize>512m</CodeCacheSize>
2650
</properties>
2751

28-
<name>A Camel Scala Route</name>
29-
<url>http://www.myorganization.org</url>
3052

3153
<dependencies>
3254

@@ -102,17 +124,38 @@
102124
</dependencies>
103125

104126
<build>
105-
106127
<plugins>
107-
128+
<plugin>
129+
<groupId>org.apache.maven.plugins</groupId>
130+
<artifactId>maven-release-plugin</artifactId>
131+
<version>2.5.3</version>
132+
<configuration>
133+
<autoVersionSubmodules>true</autoVersionSubmodules>
134+
<useReleaseProfile>false</useReleaseProfile>
135+
<releaseProfiles>release</releaseProfiles>
136+
<goals>deploy</goals>
137+
</configuration>
138+
</plugin>
139+
<plugin>
140+
<groupId>org.apache.maven.plugins</groupId>
141+
<artifactId>maven-resources-plugin</artifactId>
142+
<version>2.6</version>
143+
<configuration>
144+
<encoding>UTF-8</encoding>
145+
</configuration>
146+
</plugin>
108147
<!-- the Maven compiler plugin will compile Java source files -->
109148
<plugin>
110149
<groupId>org.apache.maven.plugins</groupId>
111150
<artifactId>maven-source-plugin</artifactId>
112-
<version>2.2.1</version>
151+
<version>2.4</version>
152+
<configuration>
153+
<attach>true</attach>
154+
</configuration>
113155
<executions>
114156
<execution>
115157
<id>attach-sources</id>
158+
<phase>verify</phase>
116159
<goals>
117160
<goal>jar-no-fork</goal>
118161
</goals>
@@ -126,6 +169,7 @@
126169
<executions>
127170
<execution>
128171
<id>attach-javadocs</id>
172+
<phase>verify</phase>
129173
<goals>
130174
<goal>jar</goal>
131175
</goals>
@@ -148,15 +192,6 @@
148192
</compilerArgs>
149193
</configuration>
150194
</plugin>
151-
<plugin>
152-
<groupId>org.apache.maven.plugins</groupId>
153-
<artifactId>maven-resources-plugin</artifactId>
154-
<version>2.6</version>
155-
<configuration>
156-
<encoding>UTF-8</encoding>
157-
</configuration>
158-
</plugin>
159-
160195
<plugin>
161196
<groupId>org.codehaus.mojo</groupId>
162197
<artifactId>build-helper-maven-plugin</artifactId>
@@ -173,8 +208,16 @@
173208
<goals>
174209
<goal>compile</goal>
175210
<goal>testCompile</goal>
211+
<goal>add-source</goal>
176212
</goals>
177213
</execution>
214+
<execution>
215+
<id>attach-scaladocs</id>
216+
<phase>verify</phase>
217+
<goals>
218+
<goal>doc-jar</goal>
219+
</goals>
220+
</execution>
178221
</executions>
179222
<configuration>
180223
<scalaVersion>${scala.version}</scalaVersion>
@@ -201,7 +244,6 @@
201244
</javacArgs>
202245
</configuration>
203246
</plugin>
204-
205247
<!-- configure the eclipse plugin to generate eclipse project descriptors for a Scala project -->
206248
<plugin>
207249
<groupId>org.apache.maven.plugins</groupId>
@@ -229,16 +271,6 @@
229271
</sourceIncludes>
230272
</configuration>
231273
</plugin>
232-
233-
<!-- allows the route to be run via 'mvn exec:java' -->
234-
<plugin>
235-
<groupId>org.codehaus.mojo</groupId>
236-
<artifactId>exec-maven-plugin</artifactId>
237-
<version>1.4.0</version>
238-
<configuration>
239-
<mainClass>fregata.MyRouteMain</mainClass>
240-
</configuration>
241-
</plugin>
242274
</plugins>
243275
</build>
244276
<profiles>

spark/pom.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
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">
53
<parent>
64
<artifactId>fregata</artifactId>
75
<groupId>com.talkingdata.fregata</groupId>
@@ -17,9 +15,9 @@
1715
</properties>
1816
<dependencies>
1917
<dependency>
20-
<groupId>fregata</groupId>
18+
<groupId>com.talkingdata.fregata</groupId>
2119
<artifactId>core</artifactId>
22-
<version>${project.version}</version>
20+
<version>0.0.1-SNAPSHOT</version>
2321
</dependency>
2422
<dependency>
2523
<groupId>org.apache.spark</groupId>

0 commit comments

Comments
 (0)