|
1 |
| -<?xml version="1.0" encoding="UTF-8"?> |
2 |
| -<!-- |
3 |
| - ~ Copyright 2014 DataGenerator Contributors |
4 |
| - ~ |
5 |
| - ~ Licensed under the Apache License, Version 2.0 (the "License"); |
6 |
| - ~ you may not use this file except in compliance with the License. |
7 |
| - ~ You may obtain a copy of the License at |
8 |
| - ~ |
9 |
| - ~ http://www.apache.org/licenses/LICENSE-2.0 |
10 |
| - ~ |
11 |
| - ~ Unless required by applicable law or agreed to in writing, software |
12 |
| - ~ distributed under the License is distributed on an "AS IS" BASIS, |
13 |
| - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 |
| - ~ See the License for the specific language governing permissions and |
15 |
| - ~ limitations under the License. |
16 |
| - --> |
17 |
| - |
18 |
| -<project xmlns="http://maven.apache.org/POM/4.0.0" |
19 |
| - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
20 |
| - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
21 |
| - <parent> |
22 |
| - <artifactId>dg-parent</artifactId> |
23 |
| - <groupId>org.finra.datagenerator</groupId> |
24 |
| - <version>2.3-SNAPSHOT</version> |
25 |
| - </parent> |
26 |
| - <modelVersion>4.0.0</modelVersion> |
27 |
| - |
28 |
| - <artifactId>dg-common</artifactId> |
29 |
| - <groupId>org.finra.datagenerator</groupId> |
30 |
| - <version>2.3-SNAPSHOT</version> |
31 |
| - <name>Data Generator Common Utils</name> |
32 |
| - |
33 |
| - <properties> |
34 |
| - <maven.javadoc.skip>true</maven.javadoc.skip> |
35 |
| - </properties> |
36 |
| - |
37 |
| - <dependencies> |
38 |
| - <!-- Copy of license at licenses/license_scala-language.txt --> |
39 |
| - <dependency> |
40 |
| - <groupId>org.scala-lang</groupId> |
41 |
| - <artifactId>scala-library</artifactId> |
42 |
| - <version>2.10.4</version> |
43 |
| - </dependency> |
44 |
| - <!-- Apache License, Version 2.0 --> |
45 |
| - <dependency> |
46 |
| - <groupId>org.scalatest</groupId> |
47 |
| - <artifactId>scalatest_2.10</artifactId> |
48 |
| - <version>2.2.0</version> |
49 |
| - </dependency> |
50 |
| - <!-- Apache License, Version 2.0 --> |
51 |
| - <dependency> |
52 |
| - <groupId>commons-codec</groupId> |
53 |
| - <artifactId>commons-codec</artifactId> |
54 |
| - <version>1.10</version> |
55 |
| - </dependency> |
56 |
| - <!-- BSD-style license. Copy of license at licenses/license-jsch.txt --> |
57 |
| - <dependency> |
58 |
| - <groupId>com.jcraft</groupId> |
59 |
| - <artifactId>jsch</artifactId> |
60 |
| - <version>0.1.53</version> |
61 |
| - </dependency> |
62 |
| - <!-- Apache License, Version 2.0 --> |
63 |
| - <dependency> |
64 |
| - <groupId>uk.com.robust-it</groupId> |
65 |
| - <artifactId>cloning</artifactId> |
66 |
| - <version>1.9.1</version> |
67 |
| - </dependency> |
68 |
| - <!-- Apache License, Version 2.0 --> |
69 |
| - <dependency> |
70 |
| - <groupId>org.apache.commons</groupId> |
71 |
| - <artifactId>commons-math3</artifactId> |
72 |
| - <version>3.5</version> |
73 |
| - </dependency> |
74 |
| - <!-- Apache License, Version 2.0 --> |
75 |
| - <dependency> |
76 |
| - <groupId>org.apache.commons</groupId> |
77 |
| - <artifactId>commons-compress</artifactId> |
78 |
| - <version>1.9</version> |
79 |
| - </dependency> |
80 |
| - <!-- Apache License, Version 2.0 --> |
81 |
| - <dependency> |
82 |
| - <groupId>commons-io</groupId> |
83 |
| - <artifactId>commons-io</artifactId> |
84 |
| - <version>2.4</version> |
85 |
| - </dependency> |
86 |
| - </dependencies> |
87 |
| - |
88 |
| - <build> |
89 |
| - <plugins> |
90 |
| - <plugin> |
91 |
| - <groupId>net.alchim31.maven</groupId> |
92 |
| - <artifactId>scala-maven-plugin</artifactId> |
93 |
| - <version>3.2.0</version> |
94 |
| - <executions> |
95 |
| - <execution> |
96 |
| - <id>doc-jar</id> |
97 |
| - <goals> |
98 |
| - <goal>doc-jar</goal> |
99 |
| - </goals> |
100 |
| - </execution> |
101 |
| - <execution> |
102 |
| - <id>compile</id> |
103 |
| - <goals> |
104 |
| - <goal>compile</goal> |
105 |
| - </goals> |
106 |
| - <phase>compile</phase> |
107 |
| - </execution> |
108 |
| - <execution> |
109 |
| - <id>test-compile</id> |
110 |
| - <goals> |
111 |
| - <goal>testCompile</goal> |
112 |
| - </goals> |
113 |
| - <phase>test-compile</phase> |
114 |
| - </execution> |
115 |
| - <execution> |
116 |
| - <phase>process-resources</phase> |
117 |
| - <goals> |
118 |
| - <goal>compile</goal> |
119 |
| - </goals> |
120 |
| - </execution> |
121 |
| - </executions> |
122 |
| - </plugin> |
123 |
| - <plugin> |
124 |
| - <groupId>org.apache.maven.plugins</groupId> |
125 |
| - <artifactId>maven-dependency-plugin</artifactId> |
126 |
| - <executions> |
127 |
| - <execution> |
128 |
| - <id>copy-dependencies</id> |
129 |
| - <phase>prepare-package</phase> |
130 |
| - <goals> |
131 |
| - <goal>copy-dependencies</goal> |
132 |
| - </goals> |
133 |
| - <configuration> |
134 |
| - <excludeArtifactIds>slf4j-log4j12,slf4j-jdk14,google-collections</excludeArtifactIds> |
135 |
| - <outputDirectory>${project.build.directory}/lib</outputDirectory> |
136 |
| - <overWriteReleases>true</overWriteReleases> |
137 |
| - <overWriteSnapshots>true</overWriteSnapshots> |
138 |
| - <overWriteIfNewer>true</overWriteIfNewer> |
139 |
| - </configuration> |
140 |
| - </execution> |
141 |
| - </executions> |
142 |
| - </plugin> |
143 |
| - <plugin> |
144 |
| - <version>2.6</version> |
145 |
| - <groupId>org.apache.maven.plugins</groupId> |
146 |
| - <artifactId>maven-jar-plugin</artifactId> |
147 |
| - <configuration> |
148 |
| - <archive> |
149 |
| - <manifest> |
150 |
| - <addClasspath>true</addClasspath> |
151 |
| - <classpathPrefix>lib/</classpathPrefix> |
152 |
| - <mainClass>org.finra.datagenerator.common.SocialNetwork_Example</mainClass> |
153 |
| - </manifest> |
154 |
| - </archive> |
155 |
| - </configuration> |
156 |
| - </plugin> |
157 |
| - <plugin> |
158 |
| - <groupId>org.scalastyle</groupId> |
159 |
| - <artifactId>scalastyle-maven-plugin</artifactId> |
160 |
| - <version>0.6.0</version> |
161 |
| - <configuration> |
162 |
| - <verbose>true</verbose> |
163 |
| - <failOnViolation>true</failOnViolation> |
164 |
| - <!-- Disabled for tests because they'll by nature have lots of magic numbers and hardcoded strings. --> |
165 |
| - <includeTestSourceDirectory>true</includeTestSourceDirectory> |
166 |
| - <failOnWarning>true</failOnWarning> |
167 |
| - <sourceDirectory>${basedir}/src/main/scala</sourceDirectory> |
168 |
| - <testSourceDirectory>${basedir}/src/test/scala</testSourceDirectory> |
169 |
| - <configLocation>${project.basedir}/../config/scalastyle_config.xml</configLocation> |
170 |
| - <outputFile>${project.basedir}/../config/scalastyle-output_dg-common.xml</outputFile> |
171 |
| - <outputEncoding>UTF-8</outputEncoding> |
172 |
| - </configuration> |
173 |
| - <executions> |
174 |
| - <execution> |
175 |
| - <goals> |
176 |
| - <goal>check</goal> |
177 |
| - </goals> |
178 |
| - </execution> |
179 |
| - </executions> |
180 |
| - </plugin> |
181 |
| - <plugin> |
182 |
| - <groupId>org.apache.maven.plugins</groupId> |
183 |
| - <artifactId>maven-pmd-plugin</artifactId> |
184 |
| - <version>3.2</version> |
185 |
| - <goals> |
186 |
| - <goal>check</goal> |
187 |
| - </goals> |
188 |
| - <configuration> |
189 |
| - <printFailingErrors>true</printFailingErrors> |
190 |
| - <failOnViolation>true</failOnViolation> |
191 |
| - <verbose>true</verbose> |
192 |
| - <rulesets> |
193 |
| - <ruleset>/rulesets/java/braces.xml</ruleset> |
194 |
| - <ruleset>/rulesets/java/strictexception.xml</ruleset> |
195 |
| - <ruleset>/rulesets/java/basic.xml</ruleset> |
196 |
| - </rulesets> |
197 |
| - </configuration> |
198 |
| - <executions> |
199 |
| - <execution> |
200 |
| - <id>test</id> |
201 |
| - <phase>test</phase> |
202 |
| - <goals> |
203 |
| - <goal>check</goal> |
204 |
| - </goals> |
205 |
| - </execution> |
206 |
| - </executions> |
207 |
| - </plugin> |
208 |
| - <plugin> |
209 |
| - <groupId>org.apache.maven.plugins</groupId> |
210 |
| - <artifactId>maven-checkstyle-plugin</artifactId> |
211 |
| - <version>2.12.1</version> |
212 |
| - <executions> |
213 |
| - <execution> |
214 |
| - <id>test</id> |
215 |
| - <phase>test</phase> |
216 |
| - <configuration> |
217 |
| - <configLocation>../config/sun_checkstyle.xml</configLocation> |
218 |
| - <headerLocation>../config/java.header</headerLocation> |
219 |
| - <includeTestSourceDirectory>true</includeTestSourceDirectory> |
220 |
| - <includeResources>true</includeResources> |
221 |
| - <includeTestResources>true</includeTestResources> |
222 |
| - <resourceIncludes>**/*.*</resourceIncludes> |
223 |
| - <encoding>UTF-8</encoding> |
224 |
| - <consoleOutput>true</consoleOutput> |
225 |
| - <failOnViolation>true</failOnViolation> |
226 |
| - <failsOnError>true</failsOnError> |
227 |
| - </configuration> |
228 |
| - <goals> |
229 |
| - <goal>check</goal> |
230 |
| - </goals> |
231 |
| - </execution> |
232 |
| - </executions> |
233 |
| - </plugin> |
234 |
| - <plugin> |
235 |
| - <groupId>org.apache.maven.plugins</groupId> |
236 |
| - <artifactId>maven-surefire-plugin</artifactId> |
237 |
| - <version>2.10</version> |
238 |
| - <configuration> |
239 |
| - <includes> |
240 |
| - <include>**/*Test*.scala</include> |
241 |
| - <include>**/*Test*.java</include> |
242 |
| - </includes> |
243 |
| - </configuration> |
244 |
| - </plugin> |
245 |
| - </plugins> |
246 |
| - </build> |
247 |
| -</project> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + ~ Copyright 2014 DataGenerator Contributors |
| 4 | + ~ |
| 5 | + ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + ~ you may not use this file except in compliance with the License. |
| 7 | + ~ You may obtain a copy of the License at |
| 8 | + ~ |
| 9 | + ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + ~ |
| 11 | + ~ Unless required by applicable law or agreed to in writing, software |
| 12 | + ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + ~ See the License for the specific language governing permissions and |
| 15 | + ~ limitations under the License. |
| 16 | + --> |
| 17 | + |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 19 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 20 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 21 | + <parent> |
| 22 | + <artifactId>dg-parent</artifactId> |
| 23 | + <groupId>org.finra.datagenerator</groupId> |
| 24 | + <version>2.3-SNAPSHOT</version> |
| 25 | + </parent> |
| 26 | + <modelVersion>4.0.0</modelVersion> |
| 27 | + |
| 28 | + <artifactId>dg-common</artifactId> |
| 29 | + <groupId>org.finra.datagenerator</groupId> |
| 30 | + <version>2.3-SNAPSHOT</version> |
| 31 | + <name>Data Generator Common Utils</name> |
| 32 | + |
| 33 | + <properties> |
| 34 | + <maven.javadoc.skip>true</maven.javadoc.skip> |
| 35 | + </properties> |
| 36 | + |
| 37 | + <dependencies> |
| 38 | + <!-- Copy of license at licenses/license_scala-language.txt --> |
| 39 | + <dependency> |
| 40 | + <groupId>org.scala-lang</groupId> |
| 41 | + <artifactId>scala-library</artifactId> |
| 42 | + <version>2.10.4</version> |
| 43 | + </dependency> |
| 44 | + <!-- Apache License, Version 2.0 --> |
| 45 | + <dependency> |
| 46 | + <groupId>org.scalatest</groupId> |
| 47 | + <artifactId>scalatest_2.10</artifactId> |
| 48 | + <version>2.2.0</version> |
| 49 | + </dependency> |
| 50 | + <!-- Apache License, Version 2.0 --> |
| 51 | + <dependency> |
| 52 | + <groupId>commons-codec</groupId> |
| 53 | + <artifactId>commons-codec</artifactId> |
| 54 | + <version>1.10</version> |
| 55 | + </dependency> |
| 56 | + <!-- BSD-style license. Copy of license at licenses/license-jsch.txt --> |
| 57 | + <dependency> |
| 58 | + <groupId>com.jcraft</groupId> |
| 59 | + <artifactId>jsch</artifactId> |
| 60 | + <version>0.1.53</version> |
| 61 | + </dependency> |
| 62 | + <!-- Apache License, Version 2.0 --> |
| 63 | + <dependency> |
| 64 | + <groupId>uk.com.robust-it</groupId> |
| 65 | + <artifactId>cloning</artifactId> |
| 66 | + <version>1.9.1</version> |
| 67 | + </dependency> |
| 68 | + <!-- Apache License, Version 2.0 --> |
| 69 | + <dependency> |
| 70 | + <groupId>org.apache.commons</groupId> |
| 71 | + <artifactId>commons-math3</artifactId> |
| 72 | + <version>3.5</version> |
| 73 | + </dependency> |
| 74 | + <!-- Apache License, Version 2.0 --> |
| 75 | + <dependency> |
| 76 | + <groupId>org.apache.commons</groupId> |
| 77 | + <artifactId>commons-compress</artifactId> |
| 78 | + <version>1.9</version> |
| 79 | + </dependency> |
| 80 | + <!-- Apache License, Version 2.0 --> |
| 81 | + <dependency> |
| 82 | + <groupId>commons-io</groupId> |
| 83 | + <artifactId>commons-io</artifactId> |
| 84 | + <version>2.4</version> |
| 85 | + </dependency> |
| 86 | + </dependencies> |
| 87 | + |
| 88 | + <build> |
| 89 | + <plugins> |
| 90 | + <plugin> |
| 91 | + <groupId>net.alchim31.maven</groupId> |
| 92 | + <artifactId>scala-maven-plugin</artifactId> |
| 93 | + <version>3.2.0</version> |
| 94 | + <executions> |
| 95 | + <execution> |
| 96 | + <id>doc-jar</id> |
| 97 | + <goals> |
| 98 | + <goal>doc-jar</goal> |
| 99 | + </goals> |
| 100 | + </execution> |
| 101 | + <execution> |
| 102 | + <id>compile</id> |
| 103 | + <goals> |
| 104 | + <goal>compile</goal> |
| 105 | + </goals> |
| 106 | + <phase>compile</phase> |
| 107 | + </execution> |
| 108 | + <execution> |
| 109 | + <id>test-compile</id> |
| 110 | + <goals> |
| 111 | + <goal>testCompile</goal> |
| 112 | + </goals> |
| 113 | + <phase>test-compile</phase> |
| 114 | + </execution> |
| 115 | + <execution> |
| 116 | + <phase>process-resources</phase> |
| 117 | + <goals> |
| 118 | + <goal>compile</goal> |
| 119 | + </goals> |
| 120 | + </execution> |
| 121 | + </executions> |
| 122 | + </plugin> |
| 123 | + <plugin> |
| 124 | + <groupId>org.apache.maven.plugins</groupId> |
| 125 | + <artifactId>maven-dependency-plugin</artifactId> |
| 126 | + <executions> |
| 127 | + <execution> |
| 128 | + <id>copy-dependencies</id> |
| 129 | + <phase>prepare-package</phase> |
| 130 | + <goals> |
| 131 | + <goal>copy-dependencies</goal> |
| 132 | + </goals> |
| 133 | + <configuration> |
| 134 | + <excludeArtifactIds>slf4j-log4j12,slf4j-jdk14,google-collections</excludeArtifactIds> |
| 135 | + <outputDirectory>${project.build.directory}/lib</outputDirectory> |
| 136 | + <overWriteReleases>true</overWriteReleases> |
| 137 | + <overWriteSnapshots>true</overWriteSnapshots> |
| 138 | + <overWriteIfNewer>true</overWriteIfNewer> |
| 139 | + </configuration> |
| 140 | + </execution> |
| 141 | + </executions> |
| 142 | + </plugin> |
| 143 | + <plugin> |
| 144 | + <version>2.6</version> |
| 145 | + <groupId>org.apache.maven.plugins</groupId> |
| 146 | + <artifactId>maven-jar-plugin</artifactId> |
| 147 | + <configuration> |
| 148 | + <archive> |
| 149 | + <manifest> |
| 150 | + <addClasspath>true</addClasspath> |
| 151 | + <classpathPrefix>lib/</classpathPrefix> |
| 152 | + <mainClass>org.finra.datagenerator.common.SocialNetwork_Example</mainClass> |
| 153 | + </manifest> |
| 154 | + </archive> |
| 155 | + </configuration> |
| 156 | + </plugin> |
| 157 | + <plugin> |
| 158 | + <groupId>org.scalastyle</groupId> |
| 159 | + <artifactId>scalastyle-maven-plugin</artifactId> |
| 160 | + <version>0.6.0</version> |
| 161 | + <configuration> |
| 162 | + <verbose>true</verbose> |
| 163 | + <failOnViolation>true</failOnViolation> |
| 164 | + <!-- Disabled for tests because they'll by nature have lots of magic numbers and hardcoded strings. --> |
| 165 | + <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 166 | + <failOnWarning>true</failOnWarning> |
| 167 | + <sourceDirectory>${basedir}/src/main/scala</sourceDirectory> |
| 168 | + <testSourceDirectory>${basedir}/src/test/scala</testSourceDirectory> |
| 169 | + <configLocation>${project.basedir}/../config/scalastyle_config.xml</configLocation> |
| 170 | + <outputFile>${project.basedir}/../config/scalastyle-output_dg-common.xml</outputFile> |
| 171 | + <outputEncoding>UTF-8</outputEncoding> |
| 172 | + </configuration> |
| 173 | + <executions> |
| 174 | + <execution> |
| 175 | + <goals> |
| 176 | + <goal>check</goal> |
| 177 | + </goals> |
| 178 | + </execution> |
| 179 | + </executions> |
| 180 | + </plugin> |
| 181 | + <plugin> |
| 182 | + <groupId>org.apache.maven.plugins</groupId> |
| 183 | + <artifactId>maven-pmd-plugin</artifactId> |
| 184 | + <version>3.2</version> |
| 185 | + <goals> |
| 186 | + <goal>check</goal> |
| 187 | + </goals> |
| 188 | + <configuration> |
| 189 | + <printFailingErrors>true</printFailingErrors> |
| 190 | + <failOnViolation>true</failOnViolation> |
| 191 | + <verbose>true</verbose> |
| 192 | + <rulesets> |
| 193 | + <ruleset>/rulesets/java/braces.xml</ruleset> |
| 194 | + <ruleset>/rulesets/java/strictexception.xml</ruleset> |
| 195 | + <ruleset>/rulesets/java/basic.xml</ruleset> |
| 196 | + </rulesets> |
| 197 | + </configuration> |
| 198 | + <executions> |
| 199 | + <execution> |
| 200 | + <id>test</id> |
| 201 | + <phase>test</phase> |
| 202 | + <goals> |
| 203 | + <goal>check</goal> |
| 204 | + </goals> |
| 205 | + </execution> |
| 206 | + </executions> |
| 207 | + </plugin> |
| 208 | + <plugin> |
| 209 | + <groupId>org.apache.maven.plugins</groupId> |
| 210 | + <artifactId>maven-compiler-plugin</artifactId> |
| 211 | + <version>2.1</version> |
| 212 | + <configuration> |
| 213 | + <source>1.7</source> |
| 214 | + <target>1.7</target> |
| 215 | + </configuration> |
| 216 | + </plugin> |
| 217 | + <plugin> |
| 218 | + <groupId>org.apache.maven.plugins</groupId> |
| 219 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 220 | + <version>2.12.1</version> |
| 221 | + <executions> |
| 222 | + <execution> |
| 223 | + <id>test</id> |
| 224 | + <phase>test</phase> |
| 225 | + <configuration> |
| 226 | + <configLocation>../config/sun_checkstyle.xml</configLocation> |
| 227 | + <headerLocation>../config/java.header</headerLocation> |
| 228 | + <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 229 | + <includeResources>true</includeResources> |
| 230 | + <includeTestResources>true</includeTestResources> |
| 231 | + <resourceIncludes>**/*.*</resourceIncludes> |
| 232 | + <encoding>UTF-8</encoding> |
| 233 | + <consoleOutput>true</consoleOutput> |
| 234 | + <failOnViolation>true</failOnViolation> |
| 235 | + <failsOnError>true</failsOnError> |
| 236 | + </configuration> |
| 237 | + <goals> |
| 238 | + <goal>check</goal> |
| 239 | + </goals> |
| 240 | + </execution> |
| 241 | + </executions> |
| 242 | + </plugin> |
| 243 | + <plugin> |
| 244 | + <groupId>org.apache.maven.plugins</groupId> |
| 245 | + <artifactId>maven-surefire-plugin</artifactId> |
| 246 | + <version>2.10</version> |
| 247 | + <configuration> |
| 248 | + <includes> |
| 249 | + <include>**/*Test*.scala</include> |
| 250 | + <include>**/*Test*.java</include> |
| 251 | + </includes> |
| 252 | + </configuration> |
| 253 | + </plugin> |
| 254 | + </plugins> |
| 255 | + </build> |
| 256 | +</project> |
0 commit comments