|
11 | 11 | <module>core</module> |
12 | 12 | <module>spark</module> |
13 | 13 | </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> |
14 | 38 |
|
15 | 39 | <properties> |
16 | 40 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
25 | 49 | <CodeCacheSize>512m</CodeCacheSize> |
26 | 50 | </properties> |
27 | 51 |
|
28 | | - <name>A Camel Scala Route</name> |
29 | | - <url>http://www.myorganization.org</url> |
30 | 52 |
|
31 | 53 | <dependencies> |
32 | 54 |
|
|
102 | 124 | </dependencies> |
103 | 125 |
|
104 | 126 | <build> |
105 | | - |
106 | 127 | <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> |
108 | 147 | <!-- the Maven compiler plugin will compile Java source files --> |
109 | 148 | <plugin> |
110 | 149 | <groupId>org.apache.maven.plugins</groupId> |
111 | 150 | <artifactId>maven-source-plugin</artifactId> |
112 | | - <version>2.2.1</version> |
| 151 | + <version>2.4</version> |
| 152 | + <configuration> |
| 153 | + <attach>true</attach> |
| 154 | + </configuration> |
113 | 155 | <executions> |
114 | 156 | <execution> |
115 | 157 | <id>attach-sources</id> |
| 158 | + <phase>verify</phase> |
116 | 159 | <goals> |
117 | 160 | <goal>jar-no-fork</goal> |
118 | 161 | </goals> |
|
126 | 169 | <executions> |
127 | 170 | <execution> |
128 | 171 | <id>attach-javadocs</id> |
| 172 | + <phase>verify</phase> |
129 | 173 | <goals> |
130 | 174 | <goal>jar</goal> |
131 | 175 | </goals> |
|
148 | 192 | </compilerArgs> |
149 | 193 | </configuration> |
150 | 194 | </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 | | - |
160 | 195 | <plugin> |
161 | 196 | <groupId>org.codehaus.mojo</groupId> |
162 | 197 | <artifactId>build-helper-maven-plugin</artifactId> |
|
173 | 208 | <goals> |
174 | 209 | <goal>compile</goal> |
175 | 210 | <goal>testCompile</goal> |
| 211 | + <goal>add-source</goal> |
176 | 212 | </goals> |
177 | 213 | </execution> |
| 214 | + <execution> |
| 215 | + <id>attach-scaladocs</id> |
| 216 | + <phase>verify</phase> |
| 217 | + <goals> |
| 218 | + <goal>doc-jar</goal> |
| 219 | + </goals> |
| 220 | + </execution> |
178 | 221 | </executions> |
179 | 222 | <configuration> |
180 | 223 | <scalaVersion>${scala.version}</scalaVersion> |
|
201 | 244 | </javacArgs> |
202 | 245 | </configuration> |
203 | 246 | </plugin> |
204 | | - |
205 | 247 | <!-- configure the eclipse plugin to generate eclipse project descriptors for a Scala project --> |
206 | 248 | <plugin> |
207 | 249 | <groupId>org.apache.maven.plugins</groupId> |
|
229 | 271 | </sourceIncludes> |
230 | 272 | </configuration> |
231 | 273 | </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> |
242 | 274 | </plugins> |
243 | 275 | </build> |
244 | 276 | <profiles> |
|
0 commit comments