tetra 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +27 -0
- data/.rubocop.yml +14 -0
- data/Gemfile +4 -0
- data/LICENSE +28 -0
- data/MOTIVATION.md +27 -0
- data/README.md +106 -0
- data/Rakefile +9 -0
- data/SPECIAL_CASES.md +130 -0
- data/bin/tetra +29 -0
- data/integration-tests/commons.sh +55 -0
- data/lib/template/gitignore +2 -0
- data/lib/template/kit.spec +64 -0
- data/lib/template/kit/CONTENTS +8 -0
- data/lib/template/kit/jars/CONTENTS +1 -0
- data/lib/template/kit/m2/settings.xml +10 -0
- data/lib/template/output/CONTENTS +3 -0
- data/lib/template/package.spec +65 -0
- data/lib/template/src/CONTENTS +6 -0
- data/lib/tetra.rb +63 -0
- data/lib/tetra/ant_runner.rb +27 -0
- data/lib/tetra/archiver.rb +95 -0
- data/lib/tetra/commands/ant.rb +23 -0
- data/lib/tetra/commands/base.rb +89 -0
- data/lib/tetra/commands/download_maven_source_jars.rb +29 -0
- data/lib/tetra/commands/dry_run.rb +17 -0
- data/lib/tetra/commands/finish.rb +22 -0
- data/lib/tetra/commands/generate_all.rb +38 -0
- data/lib/tetra/commands/generate_kit_archive.rb +18 -0
- data/lib/tetra/commands/generate_kit_spec.rb +16 -0
- data/lib/tetra/commands/generate_package_archive.rb +19 -0
- data/lib/tetra/commands/generate_package_script.rb +21 -0
- data/lib/tetra/commands/generate_package_spec.rb +22 -0
- data/lib/tetra/commands/get_pom.rb +33 -0
- data/lib/tetra/commands/get_source.rb +30 -0
- data/lib/tetra/commands/init.rb +15 -0
- data/lib/tetra/commands/list_kit_missing_sources.rb +21 -0
- data/lib/tetra/commands/move_jars_to_kit.rb +18 -0
- data/lib/tetra/commands/mvn.rb +23 -0
- data/lib/tetra/git.rb +140 -0
- data/lib/tetra/kit_checker.rb +104 -0
- data/lib/tetra/kit_runner.rb +43 -0
- data/lib/tetra/kit_spec_adapter.rb +28 -0
- data/lib/tetra/logger.rb +28 -0
- data/lib/tetra/main.rb +102 -0
- data/lib/tetra/maven_runner.rb +47 -0
- data/lib/tetra/maven_website.rb +59 -0
- data/lib/tetra/package_spec_adapter.rb +59 -0
- data/lib/tetra/pom.rb +55 -0
- data/lib/tetra/pom_getter.rb +104 -0
- data/lib/tetra/project.rb +245 -0
- data/lib/tetra/script_generator.rb +57 -0
- data/lib/tetra/source_getter.rb +41 -0
- data/lib/tetra/spec_generator.rb +60 -0
- data/lib/tetra/template_manager.rb +33 -0
- data/lib/tetra/version.rb +6 -0
- data/lib/tetra/version_matcher.rb +90 -0
- data/spec/data/ant-super-simple-code/build.xml +133 -0
- data/spec/data/ant-super-simple-code/build/HW.class +0 -0
- data/spec/data/ant-super-simple-code/build/mypackage/HW.class +0 -0
- data/spec/data/ant-super-simple-code/dist/antsimple-20130618.jar +0 -0
- data/spec/data/ant-super-simple-code/lib/junit-4.11.jar +0 -0
- data/spec/data/ant-super-simple-code/lib/log4j-1.2.13.jar +0 -0
- data/spec/data/ant-super-simple-code/src/mypackage/HW.java +15 -0
- data/spec/data/antlr/antlr-2.7.2.jar +0 -0
- data/spec/data/antlr/pom.xml +6 -0
- data/spec/data/commons-logging/commons-logging-1.1.1.jar +0 -0
- data/spec/data/commons-logging/parent_pom.xml +420 -0
- data/spec/data/commons-logging/pom.xml +504 -0
- data/spec/data/nailgun/nailgun-0.7.1.jar +0 -0
- data/spec/data/nailgun/pom.xml +153 -0
- data/spec/data/struts-apps/pom.xml +228 -0
- data/spec/data/tomcat/pom.xml +33 -0
- data/spec/lib/ant_runner_spec.rb +45 -0
- data/spec/lib/archiver_spec.rb +106 -0
- data/spec/lib/git_spec.rb +105 -0
- data/spec/lib/kit_checker_spec.rb +119 -0
- data/spec/lib/maven_runner_spec.rb +68 -0
- data/spec/lib/maven_website_spec.rb +56 -0
- data/spec/lib/pom_getter_spec.rb +36 -0
- data/spec/lib/pom_spec.rb +69 -0
- data/spec/lib/project_spec.rb +254 -0
- data/spec/lib/script_generator_spec.rb +67 -0
- data/spec/lib/source_getter_spec.rb +36 -0
- data/spec/lib/spec_generator_spec.rb +130 -0
- data/spec/lib/template_manager_spec.rb +54 -0
- data/spec/lib/version_matcher_spec.rb +64 -0
- data/spec/spec_helper.rb +37 -0
- data/spec/support/kit_runner_examples.rb +15 -0
- data/tetra.gemspec +31 -0
- data/utils/delete_nonet_user.sh +8 -0
- data/utils/setup_nonet_user.sh +8 -0
- metadata +267 -0
@@ -0,0 +1,504 @@
|
|
1
|
+
<!--
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
4
|
+
this work for additional information regarding copyright ownership.
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
7
|
+
the License. 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
19
|
+
<!--
|
20
|
+
- Note that due to the special requirements of logging unit-tests, most
|
21
|
+
- tests are executed in the "integration-test" phase rather than the
|
22
|
+
- "test" phase. Please run "mvn integration-test" to run the full suite of
|
23
|
+
- available unit tests.
|
24
|
+
-->
|
25
|
+
<parent>
|
26
|
+
<groupId>org.apache.commons</groupId>
|
27
|
+
<artifactId>commons-parent</artifactId>
|
28
|
+
<version>5</version>
|
29
|
+
</parent>
|
30
|
+
<modelVersion>4.0.0</modelVersion>
|
31
|
+
<groupId>commons-logging</groupId>
|
32
|
+
<artifactId>commons-logging</artifactId>
|
33
|
+
<name>Commons Logging</name>
|
34
|
+
<version>1.1.1</version>
|
35
|
+
<description>Commons Logging is a thin adapter allowing configurable bridging to other,
|
36
|
+
well known logging systems.</description>
|
37
|
+
<url>http://commons.apache.org/logging</url>
|
38
|
+
|
39
|
+
<issueManagement>
|
40
|
+
<system>JIRA</system>
|
41
|
+
<url>http://issues.apache.org/jira/browse/LOGGING</url>
|
42
|
+
</issueManagement>
|
43
|
+
|
44
|
+
<inceptionYear>2001</inceptionYear>
|
45
|
+
|
46
|
+
<developers>
|
47
|
+
<developer>
|
48
|
+
<id>morgand</id>
|
49
|
+
<name>Morgan Delagrange</name>
|
50
|
+
<email>morgand at apache dot org</email>
|
51
|
+
<organization>Apache</organization>
|
52
|
+
<roles>
|
53
|
+
<role>Java Developer</role>
|
54
|
+
</roles>
|
55
|
+
</developer>
|
56
|
+
<developer>
|
57
|
+
<id>rwaldhoff</id>
|
58
|
+
<name>Rodney Waldhoff</name>
|
59
|
+
<email>rwaldhoff at apache org</email>
|
60
|
+
<organization>Apache Software Foundation</organization>
|
61
|
+
</developer>
|
62
|
+
<developer>
|
63
|
+
<id>craigmcc</id>
|
64
|
+
<name>Craig McClanahan</name>
|
65
|
+
<email>craigmcc at apache org</email>
|
66
|
+
<organization>Apache Software Foundation</organization>
|
67
|
+
</developer>
|
68
|
+
<developer>
|
69
|
+
<id>sanders</id>
|
70
|
+
<name>Scott Sanders</name>
|
71
|
+
<email>sanders at apache dot org</email>
|
72
|
+
<organization>Apache Software Foundation</organization>
|
73
|
+
</developer>
|
74
|
+
<developer>
|
75
|
+
<id>rdonkin</id>
|
76
|
+
<name>Robert Burrell Donkin</name>
|
77
|
+
<email>rdonkin at apache dot org</email>
|
78
|
+
<organization>Apache Software Foundation</organization>
|
79
|
+
</developer>
|
80
|
+
<developer>
|
81
|
+
<id>donaldp</id>
|
82
|
+
<name>Peter Donald</name>
|
83
|
+
<email>donaldp at apache dot org</email>
|
84
|
+
</developer>
|
85
|
+
<developer>
|
86
|
+
<id>costin</id>
|
87
|
+
<name>Costin Manolache</name>
|
88
|
+
<email>costin at apache dot org</email>
|
89
|
+
<organization>Apache Software Foundation</organization>
|
90
|
+
</developer>
|
91
|
+
<developer>
|
92
|
+
<id>rsitze</id>
|
93
|
+
<name>Richard Sitze</name>
|
94
|
+
<email>rsitze at apache dot org</email>
|
95
|
+
<organization>Apache Software Foundation</organization>
|
96
|
+
</developer>
|
97
|
+
<developer>
|
98
|
+
<id>baliuka</id>
|
99
|
+
<name>Juozas Baliuka</name>
|
100
|
+
<email>baliuka@apache.org</email>
|
101
|
+
<roles>
|
102
|
+
<role>Java Developer</role>
|
103
|
+
</roles>
|
104
|
+
</developer>
|
105
|
+
<developer>
|
106
|
+
<id>skitching</id>
|
107
|
+
<name>Simon Kitching</name>
|
108
|
+
<email>skitching@apache.org</email>
|
109
|
+
<organization>Apache Software Foundation</organization>
|
110
|
+
</developer>
|
111
|
+
<developer>
|
112
|
+
<id>dennisl</id>
|
113
|
+
<name>Dennis Lundberg</name>
|
114
|
+
<email>dennisl@apache.org</email>
|
115
|
+
<organization>Apache Software Foundation</organization>
|
116
|
+
</developer>
|
117
|
+
<developer>
|
118
|
+
<id>bstansberry</id>
|
119
|
+
<name>Brian Stansberry</name>
|
120
|
+
</developer>
|
121
|
+
</developers>
|
122
|
+
|
123
|
+
<scm>
|
124
|
+
<connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/logging/tags/commons-logging-1.1.1</connection>
|
125
|
+
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/logging/tags/commons-logging-1.1.1</developerConnection>
|
126
|
+
<url>http://svn.apache.org/repos/asf/commons/proper/logging/tags/commons-logging-1.1.1</url>
|
127
|
+
</scm>
|
128
|
+
|
129
|
+
<build>
|
130
|
+
<sourceDirectory>src/java</sourceDirectory>
|
131
|
+
<testSourceDirectory>src/test</testSourceDirectory>
|
132
|
+
|
133
|
+
<testResources>
|
134
|
+
<testResource>
|
135
|
+
<directory>src/test</directory>
|
136
|
+
<filtering>false</filtering>
|
137
|
+
<includes>
|
138
|
+
<include>**/*.properties</include>
|
139
|
+
</includes>
|
140
|
+
</testResource>
|
141
|
+
</testResources>
|
142
|
+
|
143
|
+
<plugins>
|
144
|
+
|
145
|
+
<!--
|
146
|
+
- The custom test framework requires the unit test code to be
|
147
|
+
- in a jarfile so it can control its place in the classpath.
|
148
|
+
-->
|
149
|
+
<plugin>
|
150
|
+
<groupId>org.apache.maven.plugins</groupId>
|
151
|
+
<artifactId>maven-jar-plugin</artifactId>
|
152
|
+
<configuration>
|
153
|
+
<archive>
|
154
|
+
<manifestFile>src/conf/MANIFEST.MF</manifestFile>
|
155
|
+
</archive>
|
156
|
+
</configuration>
|
157
|
+
<executions>
|
158
|
+
<execution>
|
159
|
+
<id>testjar</id>
|
160
|
+
<phase>package</phase>
|
161
|
+
<goals>
|
162
|
+
<goal>test-jar</goal>
|
163
|
+
</goals>
|
164
|
+
<configuration>
|
165
|
+
<jarName>commons-logging</jarName>
|
166
|
+
</configuration>
|
167
|
+
</execution>
|
168
|
+
</executions>
|
169
|
+
</plugin>
|
170
|
+
|
171
|
+
<plugin>
|
172
|
+
<!--
|
173
|
+
- We want to create four jarfiles from this project: normal, tests, api
|
174
|
+
- and adapters. The first two are handled by the normal jar:jar target.
|
175
|
+
- Alas, the standard jar plugin doesn't have includes/excludes support
|
176
|
+
- in version 2.0, so antrun is used to create the other ones.
|
177
|
+
-->
|
178
|
+
<groupId>org.apache.maven.plugins</groupId>
|
179
|
+
<artifactId>maven-antrun-plugin</artifactId>
|
180
|
+
<version>1.1</version>
|
181
|
+
<executions>
|
182
|
+
<execution>
|
183
|
+
<id>apijar</id>
|
184
|
+
<phase>package</phase>
|
185
|
+
<configuration>
|
186
|
+
<tasks>
|
187
|
+
<property name="workdir" value="${project.build.directory}/rejar" />
|
188
|
+
<property name="target" value="${project.artifactId}-api-${project.version}" />
|
189
|
+
|
190
|
+
<delete dir="${workdir}" failonerror="false" />
|
191
|
+
<mkdir dir="${workdir}" />
|
192
|
+
|
193
|
+
<unjar src="${project.build.directory}/${project.build.finalName}.jar" dest="${workdir}" />
|
194
|
+
<jar basedir="${workdir}" destfile="${project.build.directory}/${target}.jar" manifest="${basedir}/src/conf/MANIFEST.MF">
|
195
|
+
<exclude name="org/apache/commons/logging/impl/Log4J*" />
|
196
|
+
<exclude name="org/apache/commons/logging/impl/Avalon*" />
|
197
|
+
<exclude name="org/apache/commons/logging/impl/Jdk13*" />
|
198
|
+
<exclude name="org/apache/commons/logging/impl/LogKit*" />
|
199
|
+
<exclude name="org/apache/commons/logging/impl/Servlet*" />
|
200
|
+
</jar>
|
201
|
+
</tasks>
|
202
|
+
</configuration>
|
203
|
+
<goals>
|
204
|
+
<goal>run</goal>
|
205
|
+
</goals>
|
206
|
+
</execution>
|
207
|
+
<execution>
|
208
|
+
<id>adaptersjar</id>
|
209
|
+
<phase>package</phase>
|
210
|
+
<configuration>
|
211
|
+
<tasks>
|
212
|
+
<property name="workdir" value="${project.build.directory}/rejar" />
|
213
|
+
<property name="target" value="${project.artifactId}-adapters-${project.version}" />
|
214
|
+
|
215
|
+
<delete dir="${workdir}" failonerror="false" />
|
216
|
+
<mkdir dir="${workdir}" />
|
217
|
+
|
218
|
+
<unjar src="${project.build.directory}/${project.build.finalName}.jar" dest="${workdir}" />
|
219
|
+
<jar basedir="${workdir}" destfile="${project.build.directory}/${target}.jar" manifest="${basedir}/src/conf/MANIFEST.MF">
|
220
|
+
<exclude name="org/apache/commons/logging/*" />
|
221
|
+
<exclude name="org/apache/commons/logging/impl/WeakHashtable*" />
|
222
|
+
<exclude name="org/apache/commons/logging/impl/LogFactoryImpl*" />
|
223
|
+
</jar>
|
224
|
+
</tasks>
|
225
|
+
</configuration>
|
226
|
+
<goals>
|
227
|
+
<goal>run</goal>
|
228
|
+
</goals>
|
229
|
+
</execution>
|
230
|
+
<execution>
|
231
|
+
<id>site.resources</id>
|
232
|
+
<phase>site</phase>
|
233
|
+
<configuration>
|
234
|
+
<tasks>
|
235
|
+
<copy todir="${project.reporting.outputDirectory}">
|
236
|
+
<fileset dir="${basedir}">
|
237
|
+
<include name="RELEASE-NOTES.txt" />
|
238
|
+
</fileset>
|
239
|
+
<!--
|
240
|
+
- The logo should be moved to
|
241
|
+
- ${basedir}/src/site/resources/images
|
242
|
+
- once we can drop support for the Maven 1 site.
|
243
|
+
- When that is done this section can be removed.
|
244
|
+
-->
|
245
|
+
<fileset dir="${basedir}/xdocs">
|
246
|
+
<include name="images/logo.png" />
|
247
|
+
</fileset>
|
248
|
+
</copy>
|
249
|
+
</tasks>
|
250
|
+
</configuration>
|
251
|
+
<goals>
|
252
|
+
<goal>run</goal>
|
253
|
+
</goals>
|
254
|
+
</execution>
|
255
|
+
</executions>
|
256
|
+
</plugin>
|
257
|
+
|
258
|
+
<plugin>
|
259
|
+
<!--
|
260
|
+
- Attach the adapters and api jars to the normal artifact. This way
|
261
|
+
- they will be deployed when the normal artifact is deployed.
|
262
|
+
-->
|
263
|
+
<groupId>org.codehaus.mojo</groupId>
|
264
|
+
<artifactId>build-helper-maven-plugin</artifactId>
|
265
|
+
<version>1.0</version>
|
266
|
+
<executions>
|
267
|
+
<execution>
|
268
|
+
<id>attach-artifacts</id>
|
269
|
+
<phase>package</phase>
|
270
|
+
<goals>
|
271
|
+
<goal>attach-artifact</goal>
|
272
|
+
</goals>
|
273
|
+
<configuration>
|
274
|
+
<artifacts>
|
275
|
+
<artifact>
|
276
|
+
<file>${project.build.directory}/${project.artifactId}-adapters-${project.version}.jar</file>
|
277
|
+
<type>jar</type>
|
278
|
+
<classifier>adapters</classifier>
|
279
|
+
</artifact>
|
280
|
+
<artifact>
|
281
|
+
<file>${project.build.directory}/${project.artifactId}-api-${project.version}.jar</file>
|
282
|
+
<type>jar</type>
|
283
|
+
<classifier>api</classifier>
|
284
|
+
</artifact>
|
285
|
+
</artifacts>
|
286
|
+
</configuration>
|
287
|
+
</execution>
|
288
|
+
</executions>
|
289
|
+
</plugin>
|
290
|
+
|
291
|
+
<plugin>
|
292
|
+
<groupId>org.apache.maven.plugins</groupId>
|
293
|
+
<artifactId>maven-release-plugin</artifactId>
|
294
|
+
<version>2.0-beta-6</version>
|
295
|
+
<configuration>
|
296
|
+
<!--
|
297
|
+
- The site needs to be built prior to deploy,
|
298
|
+
- because it is included in the assembly.
|
299
|
+
-->
|
300
|
+
<goals>site deploy</goals>
|
301
|
+
<!-- Pass these arguments to the deploy plugin. -->
|
302
|
+
<arguments>-Prelease</arguments>
|
303
|
+
</configuration>
|
304
|
+
</plugin>
|
305
|
+
|
306
|
+
<plugin>
|
307
|
+
<!--
|
308
|
+
- Many of JCL's tests use tricky techniques to place the generated
|
309
|
+
- JCL jarfiles on the classpath in various configurations. This means
|
310
|
+
- that the tests must be run *after* the "package" build phase. The
|
311
|
+
- normal test phase is therefore disabled here, and the test plugin
|
312
|
+
- rebound to the "integration-test" phase instead.
|
313
|
+
-->
|
314
|
+
<groupId>org.apache.maven.plugins</groupId>
|
315
|
+
<artifactId>maven-surefire-plugin</artifactId>
|
316
|
+
<configuration>
|
317
|
+
<includes>
|
318
|
+
<include>**/AvalonLoggerTestCase.java</include>
|
319
|
+
</includes>
|
320
|
+
</configuration>
|
321
|
+
|
322
|
+
<executions>
|
323
|
+
<execution>
|
324
|
+
<id>integration-test</id>
|
325
|
+
<phase>integration-test</phase>
|
326
|
+
<goals>
|
327
|
+
<goal>test</goal>
|
328
|
+
</goals>
|
329
|
+
<configuration>
|
330
|
+
<includes>
|
331
|
+
<include>**/*TestCase.java</include>
|
332
|
+
</includes>
|
333
|
+
<systemProperties>
|
334
|
+
<!--
|
335
|
+
<property>
|
336
|
+
<name>org.apache.commons.logging.diagnostics.dest</name>
|
337
|
+
<value>STDOUT</value>
|
338
|
+
</property>
|
339
|
+
-->
|
340
|
+
<property>
|
341
|
+
<name>commons-logging</name>
|
342
|
+
<value>target/${project.build.finalName}.jar</value>
|
343
|
+
</property>
|
344
|
+
<property>
|
345
|
+
<name>commons-logging-api</name>
|
346
|
+
<value>target/${project.artifactId}-api-${project.version}.jar</value>
|
347
|
+
</property>
|
348
|
+
<property>
|
349
|
+
<name>commons-logging-adapters</name>
|
350
|
+
<value>target/${project.artifactId}-adapters-${project.version}.jar</value>
|
351
|
+
</property>
|
352
|
+
<property>
|
353
|
+
<name>testclasses</name>
|
354
|
+
<value>target/commons-logging-tests.jar</value>
|
355
|
+
</property>
|
356
|
+
</systemProperties>
|
357
|
+
</configuration>
|
358
|
+
</execution>
|
359
|
+
</executions>
|
360
|
+
</plugin>
|
361
|
+
|
362
|
+
<plugin>
|
363
|
+
<groupId>org.apache.maven.plugins</groupId>
|
364
|
+
<artifactId>maven-assembly-plugin</artifactId>
|
365
|
+
<version>2.2-beta-1</version>
|
366
|
+
<configuration>
|
367
|
+
<appendAssemblyId>false</appendAssemblyId>
|
368
|
+
<!-- Do not deploy the assemblies to the repository. -->
|
369
|
+
<attach>false</attach>
|
370
|
+
<descriptors>
|
371
|
+
<descriptor>src/assembly/assembly.xml</descriptor>
|
372
|
+
</descriptors>
|
373
|
+
<tarLongFileMode>gnu</tarLongFileMode>
|
374
|
+
</configuration>
|
375
|
+
</plugin>
|
376
|
+
|
377
|
+
<plugin>
|
378
|
+
<groupId>org.apache.maven.plugins</groupId>
|
379
|
+
<artifactId>maven-site-plugin</artifactId>
|
380
|
+
<version>2.0-beta-5</version>
|
381
|
+
</plugin>
|
382
|
+
|
383
|
+
</plugins>
|
384
|
+
</build>
|
385
|
+
|
386
|
+
<profiles>
|
387
|
+
<!-- This profile can be removed when we update to commons-parent-5 -->
|
388
|
+
<profile>
|
389
|
+
<id>ci</id>
|
390
|
+
<distributionManagement>
|
391
|
+
<repository>
|
392
|
+
<id>apache.snapshots</id>
|
393
|
+
<name>Apache Development Snapshot Repository</name>
|
394
|
+
<url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
|
395
|
+
</repository>
|
396
|
+
<snapshotRepository>
|
397
|
+
<id>apache.snapshots</id>
|
398
|
+
<name>Apache Development Snapshot Repository</name>
|
399
|
+
<url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
|
400
|
+
</snapshotRepository>
|
401
|
+
</distributionManagement>
|
402
|
+
</profile>
|
403
|
+
<profile>
|
404
|
+
<id>release</id>
|
405
|
+
<build>
|
406
|
+
<plugins>
|
407
|
+
<plugin>
|
408
|
+
<!-- Create the assemblies automatically during release. -->
|
409
|
+
<groupId>org.apache.maven.plugins</groupId>
|
410
|
+
<artifactId>maven-assembly-plugin</artifactId>
|
411
|
+
<executions>
|
412
|
+
<execution>
|
413
|
+
<goals>
|
414
|
+
<goal>single</goal>
|
415
|
+
</goals>
|
416
|
+
<phase>package</phase>
|
417
|
+
</execution>
|
418
|
+
</executions>
|
419
|
+
</plugin>
|
420
|
+
<plugin>
|
421
|
+
<groupId>org.apache.maven.plugins</groupId>
|
422
|
+
<artifactId>maven-deploy-plugin</artifactId>
|
423
|
+
<version>2.3</version>
|
424
|
+
<configuration>
|
425
|
+
<!-- Pick up this configuration from settings.xml. -->
|
426
|
+
<altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
|
427
|
+
<updateReleaseInfo>true</updateReleaseInfo>
|
428
|
+
</configuration>
|
429
|
+
</plugin>
|
430
|
+
</plugins>
|
431
|
+
</build>
|
432
|
+
</profile>
|
433
|
+
</profiles>
|
434
|
+
|
435
|
+
<dependencies>
|
436
|
+
<dependency>
|
437
|
+
<groupId>junit</groupId>
|
438
|
+
<artifactId>junit</artifactId>
|
439
|
+
<version>3.8.1</version>
|
440
|
+
<scope>test</scope>
|
441
|
+
</dependency>
|
442
|
+
<dependency>
|
443
|
+
<groupId>log4j</groupId>
|
444
|
+
<artifactId>log4j</artifactId>
|
445
|
+
<version>1.2.12</version>
|
446
|
+
<optional>true</optional>
|
447
|
+
</dependency>
|
448
|
+
<dependency>
|
449
|
+
<groupId>logkit</groupId>
|
450
|
+
<artifactId>logkit</artifactId>
|
451
|
+
<version>1.0.1</version>
|
452
|
+
<optional>true</optional>
|
453
|
+
</dependency>
|
454
|
+
<dependency>
|
455
|
+
<groupId>avalon-framework</groupId>
|
456
|
+
<artifactId>avalon-framework</artifactId>
|
457
|
+
<version>4.1.3</version>
|
458
|
+
<optional>true</optional>
|
459
|
+
</dependency>
|
460
|
+
<dependency>
|
461
|
+
<groupId>javax.servlet</groupId>
|
462
|
+
<artifactId>servlet-api</artifactId>
|
463
|
+
<version>2.3</version>
|
464
|
+
<scope>provided</scope>
|
465
|
+
<optional>true</optional>
|
466
|
+
</dependency>
|
467
|
+
</dependencies>
|
468
|
+
|
469
|
+
<reporting>
|
470
|
+
<plugins>
|
471
|
+
<!--
|
472
|
+
<plugin>
|
473
|
+
<groupId>org.apache.maven.plugins</groupId>
|
474
|
+
<artifactId>maven-checkstyle-plugin</artifactId>
|
475
|
+
<configuration>
|
476
|
+
<configLocation>checkstyle.xml</configLocation>
|
477
|
+
</configuration>
|
478
|
+
</plugin>
|
479
|
+
-->
|
480
|
+
<plugin>
|
481
|
+
<groupId>org.codehaus.mojo</groupId>
|
482
|
+
<artifactId>clirr-maven-plugin</artifactId>
|
483
|
+
<version>2.1.1</version>
|
484
|
+
</plugin>
|
485
|
+
<plugin>
|
486
|
+
<groupId>org.codehaus.mojo</groupId>
|
487
|
+
<artifactId>jdepend-maven-plugin</artifactId>
|
488
|
+
<version>2.0-beta-1</version>
|
489
|
+
</plugin>
|
490
|
+
</plugins>
|
491
|
+
</reporting>
|
492
|
+
|
493
|
+
<distributionManagement>
|
494
|
+
<site>
|
495
|
+
<id>apache.website</id>
|
496
|
+
<url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/logging/</url>
|
497
|
+
</site>
|
498
|
+
</distributionManagement>
|
499
|
+
|
500
|
+
<properties>
|
501
|
+
<maven.compile.source>1.2</maven.compile.source>
|
502
|
+
<maven.compile.target>1.1</maven.compile.target>
|
503
|
+
</properties>
|
504
|
+
</project>
|