tetra 0.46.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rubocop.yml +6 -0
- data/README.md +5 -12
- data/SPECIAL_CASES.md +3 -74
- data/integration-tests/build-commons.sh +5 -8
- data/lib/template/kit/CONTENTS +4 -3
- data/lib/template/kit/apache-ant-1.9.4/INSTALL +2 -0
- data/lib/template/kit/apache-ant-1.9.4/KEYS +1497 -0
- data/lib/template/kit/apache-ant-1.9.4/LICENSE +272 -0
- data/lib/template/kit/apache-ant-1.9.4/NOTICE +9 -0
- data/lib/template/kit/apache-ant-1.9.4/README +97 -0
- data/lib/template/kit/apache-ant-1.9.4/WHATSNEW +6108 -0
- data/lib/template/kit/apache-ant-1.9.4/bin/ant +336 -0
- data/lib/template/kit/apache-ant-1.9.4/bin/ant.bat +218 -0
- data/lib/template/kit/apache-ant-1.9.4/bin/ant.cmd +93 -0
- data/lib/template/kit/apache-ant-1.9.4/bin/antRun +24 -0
- data/lib/template/kit/apache-ant-1.9.4/bin/antRun.bat +50 -0
- data/lib/template/kit/apache-ant-1.9.4/bin/antRun.pl +66 -0
- data/lib/template/kit/apache-ant-1.9.4/bin/antenv.cmd +98 -0
- data/lib/template/kit/apache-ant-1.9.4/bin/complete-ant-cmd.pl +114 -0
- data/lib/template/kit/apache-ant-1.9.4/bin/envset.cmd +131 -0
- data/lib/template/kit/apache-ant-1.9.4/bin/lcp.bat +31 -0
- data/lib/template/kit/apache-ant-1.9.4/bin/runant.pl +153 -0
- data/lib/template/kit/apache-ant-1.9.4/bin/runant.py +102 -0
- data/lib/template/kit/apache-ant-1.9.4/bin/runrc.cmd +60 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/ant-bootstrap.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/changelog.xsl +148 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/checkstyle/checkstyle-frames.xsl +299 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/checkstyle/checkstyle-text.xsl +34 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/checkstyle/checkstyle-xdoc.xsl +130 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/coverage-frames.xsl +489 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/jdepend-frames.xsl +487 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/jdepend.xsl +276 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/junit-frames-xalan1.xsl +745 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/junit-frames.xsl +955 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/junit-noframes.xsl +496 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/log.xsl +203 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/maudit-frames.xsl +503 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/mmetrics-frames.xsl +1026 -0
- data/lib/template/kit/apache-ant-1.9.4/etc/tagdiff.xsl +179 -0
- data/lib/template/kit/apache-ant-1.9.4/fetch.xml +335 -0
- data/lib/template/kit/apache-ant-1.9.4/get-m2.xml +121 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/README +3 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-antlr.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-antlr.pom +75 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-bcel.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-bcel.pom +71 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-bsf.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-bsf.pom +74 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-log4j.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-log4j.pom +69 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-oro.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-oro.pom +74 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-regexp.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-regexp.pom +70 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-resolver.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-resolver.pom +69 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-xalan2.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-apache-xalan2.pom +94 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-commons-logging.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-commons-logging.pom +70 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-commons-net.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-commons-net.pom +75 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-jai.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-jai.pom +85 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-javamail.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-javamail.pom +78 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-jdepend.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-jdepend.pom +72 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-jmf.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-jmf.pom +65 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-jsch.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-jsch.pom +74 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-junit.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-junit.pom +101 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-junit4.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-junit4.pom +71 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-launcher.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-launcher.pom +57 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-netrexx.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-netrexx.pom +98 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-parent.pom +151 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-swing.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-swing.pom +66 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-testutil.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant-testutil.pom +74 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant.jar +0 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/ant.pom +225 -0
- data/lib/template/kit/apache-ant-1.9.4/lib/libraries.properties +65 -0
- data/lib/template/kit/apache-maven-3.2.5/LICENSE +302 -0
- data/lib/template/kit/apache-maven-3.2.5/NOTICE +8 -0
- data/lib/template/kit/apache-maven-3.2.5/README.txt +77 -0
- data/lib/template/kit/apache-maven-3.2.5/bin/m2.conf +8 -0
- data/lib/template/kit/apache-maven-3.2.5/bin/mvn +202 -0
- data/lib/template/kit/apache-maven-3.2.5/bin/mvn.bat +197 -0
- data/lib/template/kit/apache-maven-3.2.5/bin/mvnDebug +200 -0
- data/lib/template/kit/apache-maven-3.2.5/bin/mvnDebug.bat +200 -0
- data/lib/template/kit/apache-maven-3.2.5/bin/mvnyjp +207 -0
- data/lib/template/kit/apache-maven-3.2.5/boot/plexus-classworlds-2.5.2.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/conf/logging/simplelogger.properties +25 -0
- data/lib/template/kit/apache-maven-3.2.5/conf/settings.xml +257 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/aether-api-1.0.0.v20140518.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/aether-api.license +261 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/aether-connector-basic-1.0.0.v20140518.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/aether-connector-basic.license +261 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/aether-impl-1.0.0.v20140518.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/aether-impl.license +261 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/aether-spi-1.0.0.v20140518.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/aether-spi.license +261 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/aether-transport-wagon-1.0.0.v20140518.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/aether-transport-wagon.license +261 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/aether-util-1.0.0.v20140518.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/aether-util.license +261 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/aopalliance-1.0.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/cdi-api-1.0.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/cdi-api.license +445 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/commons-cli-1.2.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/commons-io-2.2.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/commons-lang-2.6.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/ext/README.txt +2 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/guava-18.0.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/javax.inject-1.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/jsoup-1.7.2.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/jsoup.license +66 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/jsr250-api-1.0.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/jsr250-api.license +406 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-aether-provider-3.2.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-aether-provider.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-artifact-3.2.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-artifact.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-compat-3.2.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-compat.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-core-3.2.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-core.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-embedder-3.2.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-embedder.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-model-3.2.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-model-builder-3.2.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-model-builder.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-model.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-plugin-api-3.2.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-plugin-api.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-repository-metadata-3.2.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-repository-metadata.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-settings-3.2.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-settings-builder-3.2.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-settings-builder.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/maven-settings.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/org.eclipse.sisu.inject-0.3.0.M1.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/org.eclipse.sisu.inject.license +261 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/org.eclipse.sisu.plexus-0.3.0.M1.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/org.eclipse.sisu.plexus.license +261 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/plexus-cipher-1.7.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/plexus-cipher.license +445 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/plexus-component-annotations-1.5.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/plexus-interpolation-1.21.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/plexus-sec-dispatcher-1.3.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/plexus-sec-dispatcher.license +445 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/plexus-utils-3.0.20.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/sisu-guice-3.2.3-no_aop.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/slf4j-api-1.7.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/slf4j-api.license +190 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/slf4j-simple-1.7.5.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/slf4j-simple.license +190 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/wagon-file-2.8.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/wagon-file.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/wagon-http-2.8-shaded.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/wagon-http-shared-2.8.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/wagon-http-shared.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/wagon-http.license +202 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/wagon-provider-api-2.8.jar +0 -0
- data/lib/template/kit/apache-maven-3.2.5/lib/wagon-provider-api.license +202 -0
- data/lib/tetra.rb +30 -29
- data/lib/tetra/facades/ant.rb +27 -0
- data/lib/tetra/{git.rb → facades/git.rb} +29 -24
- data/lib/tetra/facades/mvn.rb +44 -0
- data/lib/tetra/facades/process_runner.rb +65 -0
- data/lib/tetra/facades/tar.rb +20 -0
- data/lib/tetra/{kit_runner.rb → kit.rb} +3 -10
- data/lib/tetra/main.rb +12 -36
- data/lib/tetra/maven_website.rb +1 -1
- data/lib/tetra/packages/archivable.rb +3 -11
- data/lib/tetra/packages/{kit.rb → kit_package.rb} +1 -1
- data/lib/tetra/packages/{built_package.rb → package.rb} +2 -2
- data/lib/tetra/packages/scriptable.rb +27 -15
- data/lib/tetra/project.rb +18 -14
- data/lib/tetra/{commands/ant.rb → ui/ant_subcommand.rb} +5 -5
- data/lib/tetra/ui/dry_run_subcommand.rb +44 -0
- data/lib/tetra/{commands/generate_all.rb → ui/generate_all_subcommand.rb} +5 -5
- data/lib/tetra/{commands/generate_archive.rb → ui/generate_archive_subcommand.rb} +2 -2
- data/lib/tetra/{commands/generate_kit.rb → ui/generate_kit_subcommand.rb} +2 -2
- data/lib/tetra/{commands/generate_script.rb → ui/generate_script_subcommand.rb} +2 -2
- data/lib/tetra/{commands/generate_spec.rb → ui/generate_spec_subcommand.rb} +2 -2
- data/lib/tetra/{commands/get_pom.rb → ui/get_pom_subcommand.rb} +1 -1
- data/lib/tetra/{commands/init.rb → ui/init_subcommand.rb} +1 -1
- data/lib/tetra/{commands/move_jars_to_kit.rb → ui/move_jars_to_kit_subcommand.rb} +1 -1
- data/lib/tetra/{commands/mvn.rb → ui/mvn_subcommand.rb} +5 -5
- data/lib/tetra/{commands/base.rb → ui/subcommand.rb} +19 -6
- data/lib/tetra/version.rb +1 -1
- data/spec/lib/ant_spec.rb +36 -0
- data/spec/lib/archivable_spec.rb +1 -1
- data/spec/lib/built_package_spec.rb +6 -6
- data/spec/lib/kit_package_spec.rb +47 -0
- data/spec/lib/kit_spec.rb +8 -28
- data/spec/lib/mvn_spec.rb +47 -0
- data/spec/lib/project_spec.rb +11 -11
- data/spec/lib/scriptable_spec.rb +8 -16
- data/spec/spec_helper.rb +13 -4
- data/tetra.gemspec +1 -0
- metadata +207 -31
- data/lib/tetra/ant_runner.rb +0 -27
- data/lib/tetra/commands/download_maven_source_jars.rb +0 -29
- data/lib/tetra/commands/dry_run.rb +0 -17
- data/lib/tetra/commands/finish.rb +0 -22
- data/lib/tetra/commands/get_source.rb +0 -30
- data/lib/tetra/commands/list_kit_missing_sources.rb +0 -21
- data/lib/tetra/kit_checker.rb +0 -104
- data/lib/tetra/maven_runner.rb +0 -43
- data/lib/tetra/source_getter.rb +0 -41
- data/spec/lib/ant_runner_spec.rb +0 -45
- data/spec/lib/kit_checker_spec.rb +0 -119
- data/spec/lib/maven_runner_spec.rb +0 -68
- data/spec/lib/source_getter_spec.rb +0 -36
- data/spec/support/kit_runner_examples.rb +0 -15
@@ -0,0 +1,121 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
|
3
|
+
<!--
|
4
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
5
|
+
contributor license agreements. See the NOTICE file distributed with
|
6
|
+
this work for additional information regarding copyright ownership.
|
7
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
8
|
+
(the "License"); you may not use this file except in compliance with
|
9
|
+
the License. You may obtain a copy of the License at
|
10
|
+
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
12
|
+
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
+
See the License for the specific language governing permissions and
|
17
|
+
limitations under the License.
|
18
|
+
-->
|
19
|
+
<!--
|
20
|
+
=======================================================================
|
21
|
+
Build file to fetch maven2 tasks; extracted from (Ant's) fetch.xml
|
22
|
+
=======================================================================
|
23
|
+
-->
|
24
|
+
<project name="get-m2" default="get-m2" basedir=".">
|
25
|
+
|
26
|
+
<description>
|
27
|
+
This build file downloads the Maven2 Ant tasks,
|
28
|
+
and installs them in the location specified by the m2.dest.dir property.
|
29
|
+
|
30
|
+
You may need to set proxy settings. On Java1.5, Ant tries to get
|
31
|
+
this from the OS, unless you use the -noproxy option.
|
32
|
+
|
33
|
+
Proxies can be configured manually setting the JVM proxy values in the
|
34
|
+
ANT_OPTS environment variable.
|
35
|
+
|
36
|
+
For example, to set the proxy up in the tcsh shell, the command would be
|
37
|
+
something like:
|
38
|
+
|
39
|
+
For csh/tcsh:
|
40
|
+
setenv ANT_OPTS "-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
|
41
|
+
For bash:
|
42
|
+
export ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
|
43
|
+
For Windows, set the environment variable in the appropriate dialog box
|
44
|
+
and open a new console. or, by hand
|
45
|
+
set ANT_OPTS = -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080
|
46
|
+
</description>
|
47
|
+
|
48
|
+
<property file="get-m2.properties" />
|
49
|
+
|
50
|
+
<property name="m2.antlib.resource"
|
51
|
+
value="org/apache/maven/artifact/ant/antlib.xml" />
|
52
|
+
|
53
|
+
<property name="m2.antlib.uri"
|
54
|
+
value="antlib:org.apache.maven.artifact.ant" />
|
55
|
+
|
56
|
+
<macrodef name="require">
|
57
|
+
<attribute name="property" />
|
58
|
+
<sequential>
|
59
|
+
<fail unless="@{property}">$${@{property}} not specified</fail>
|
60
|
+
</sequential>
|
61
|
+
</macrodef>
|
62
|
+
|
63
|
+
<target name="probe-m2">
|
64
|
+
<require property="m2.dest.dir" />
|
65
|
+
<require property="m2.jar.name" />
|
66
|
+
|
67
|
+
<!-- Look for M2 ant tasks in our classpath-->
|
68
|
+
<property name="m2.artifact" location="${m2.dest.dir}/${m2.jar.name}" />
|
69
|
+
<available property="m2.antlib.found" resource="${m2.antlib.resource}" />
|
70
|
+
<condition property="m2.antlib.typefound">
|
71
|
+
<typefound name="${m2.antlib.uri}:artifact" />
|
72
|
+
</condition>
|
73
|
+
<available property="m2.artifact.found" file="${m2.artifact}" type="file" />
|
74
|
+
</target>
|
75
|
+
|
76
|
+
<target name="download-m2" depends="probe-m2" unless="m2.artifact.found">
|
77
|
+
<require property="m2.antlib.url" />
|
78
|
+
<echo>Downloading to ${m2.dest.dir}</echo>
|
79
|
+
|
80
|
+
<mkdir dir="${m2.dest.dir}" />
|
81
|
+
<!-- fetch M2 ant tasks into our repository, if it is not there-->
|
82
|
+
<get src="${m2.antlib.url}"
|
83
|
+
dest="${m2.artifact}"
|
84
|
+
verbose="true"
|
85
|
+
usetimestamp="false" />
|
86
|
+
</target>
|
87
|
+
|
88
|
+
<target name="dont-validate-m2-checksum" depends="probe-m2"
|
89
|
+
if="m2.artifact.found">
|
90
|
+
<property name="checksum.equal" value="true" />
|
91
|
+
</target>
|
92
|
+
|
93
|
+
<target name="validate-m2-checksum"
|
94
|
+
depends="download-m2,dont-validate-m2-checksum"
|
95
|
+
if="m2.sha1.checksum" unless="m2.artifact.found">
|
96
|
+
<checksum file="${m2.artifact}"
|
97
|
+
algorithm="SHA"
|
98
|
+
property="${m2.sha1.checksum}"
|
99
|
+
verifyProperty="checksum.equal" />
|
100
|
+
</target>
|
101
|
+
|
102
|
+
<target name="checksum-mismatch" depends="validate-m2-checksum"
|
103
|
+
if="m2.sha1.checksum" unless="checksum.equal">
|
104
|
+
<delete file="${m2.artifact}" />
|
105
|
+
<fail>
|
106
|
+
Failed to verify the downloaded file ${m2.antlib.url}" against the checksum
|
107
|
+
coded into libraries.properties.
|
108
|
+
The local copy has been deleted, for security reasons
|
109
|
+
</fail>
|
110
|
+
</target>
|
111
|
+
|
112
|
+
<target name="checksum-match" depends="checksum-mismatch"
|
113
|
+
unless="m2.antlib.found">
|
114
|
+
<taskdef classpath="${m2.artifact}" resource="${m2.antlib.resource}"
|
115
|
+
uri="${m2.antlib.uri}" />
|
116
|
+
</target>
|
117
|
+
|
118
|
+
<target name="get-m2" depends="checksum-match"
|
119
|
+
description="Download the Maven2 Ant tasks" />
|
120
|
+
|
121
|
+
</project>
|
Binary file
|
@@ -0,0 +1,75 @@
|
|
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
|
+
<!--
|
19
|
+
This POM has been created manually by the Ant Development Team.
|
20
|
+
Please contact us if you are not satisfied with the data contained in this POM.
|
21
|
+
URL : http://ant.apache.org
|
22
|
+
-->
|
23
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
24
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
25
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
26
|
+
<parent>
|
27
|
+
<groupId>org.apache.ant</groupId>
|
28
|
+
<artifactId>ant-parent</artifactId>
|
29
|
+
<relativePath>../pom.xml</relativePath>
|
30
|
+
<version>1.9.4</version>
|
31
|
+
</parent>
|
32
|
+
<modelVersion>4.0.0</modelVersion>
|
33
|
+
<url>http://ant.apache.org/</url>
|
34
|
+
<groupId>org.apache.ant</groupId>
|
35
|
+
<artifactId>ant-antlr</artifactId>
|
36
|
+
<version>1.9.4</version>
|
37
|
+
<name>Apache Ant + ANTLR</name>
|
38
|
+
<description>antlr specific task.
|
39
|
+
The implementation forks a java process, therefore the antlr jar file is only needed at runtime</description>
|
40
|
+
<dependencies>
|
41
|
+
<dependency>
|
42
|
+
<groupId>org.apache.ant</groupId>
|
43
|
+
<artifactId>ant</artifactId>
|
44
|
+
<version>1.9.4</version>
|
45
|
+
<optional>true</optional>
|
46
|
+
<scope>compile</scope>
|
47
|
+
</dependency>
|
48
|
+
<dependency>
|
49
|
+
<!-- add a dependency with antlr 2.7.2 consistent with libraries.properties antlr 2.7.6 is also available on ibiblio-->
|
50
|
+
<groupId>antlr</groupId>
|
51
|
+
<artifactId>antlr</artifactId>
|
52
|
+
<version>2.7.2</version>
|
53
|
+
<optional>true</optional>
|
54
|
+
<scope>runtime</scope>
|
55
|
+
</dependency>
|
56
|
+
</dependencies>
|
57
|
+
<build>
|
58
|
+
<plugins>
|
59
|
+
<plugin>
|
60
|
+
<groupId>org.apache.maven.plugins</groupId>
|
61
|
+
<artifactId>maven-compiler-plugin</artifactId>
|
62
|
+
<configuration>
|
63
|
+
<includes>
|
64
|
+
<include>org/apache/tools/ant/taskdefs/optional/ANTLR*</include>
|
65
|
+
</includes>
|
66
|
+
</configuration>
|
67
|
+
</plugin>
|
68
|
+
</plugins>
|
69
|
+
<sourceDirectory>../../../../src/main</sourceDirectory>
|
70
|
+
<testSourceDirectory>../../../../src/testcases</testSourceDirectory>
|
71
|
+
<outputDirectory>../../../../target/${project.artifactId}/classes</outputDirectory>
|
72
|
+
<testOutputDirectory>../../../../target/${project.artifactId}/testcases</testOutputDirectory>
|
73
|
+
<directory>../../../../target/${project.artifactId}</directory>
|
74
|
+
</build>
|
75
|
+
</project>
|
Binary file
|
@@ -0,0 +1,71 @@
|
|
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
|
+
<!--
|
19
|
+
This POM has been created manually by the Ant Development Team.
|
20
|
+
Please contact us if you are not satisfied with the data contained in this POM.
|
21
|
+
URL : http://ant.apache.org
|
22
|
+
-->
|
23
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
24
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
25
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
26
|
+
<parent>
|
27
|
+
<groupId>org.apache.ant</groupId>
|
28
|
+
<artifactId>ant-parent</artifactId>
|
29
|
+
<relativePath>../pom.xml</relativePath>
|
30
|
+
<version>1.9.4</version>
|
31
|
+
</parent>
|
32
|
+
<modelVersion>4.0.0</modelVersion>
|
33
|
+
<url>http://ant.apache.org/</url>
|
34
|
+
<groupId>org.apache.ant</groupId>
|
35
|
+
<artifactId>ant-apache-bcel</artifactId>
|
36
|
+
<version>1.9.4</version>
|
37
|
+
<name>Apache Ant + BCEL</name>
|
38
|
+
<dependencies>
|
39
|
+
<dependency>
|
40
|
+
<groupId>org.apache.ant</groupId>
|
41
|
+
<artifactId>ant</artifactId>
|
42
|
+
<version>1.9.4</version>
|
43
|
+
<scope>compile</scope>
|
44
|
+
</dependency>
|
45
|
+
<dependency>
|
46
|
+
<groupId>bcel</groupId>
|
47
|
+
<artifactId>bcel</artifactId>
|
48
|
+
<version>5.1</version>
|
49
|
+
<scope>compile</scope>
|
50
|
+
</dependency>
|
51
|
+
</dependencies>
|
52
|
+
<build>
|
53
|
+
<plugins>
|
54
|
+
<plugin>
|
55
|
+
<groupId>org.apache.maven.plugins</groupId>
|
56
|
+
<artifactId>maven-compiler-plugin</artifactId>
|
57
|
+
<configuration>
|
58
|
+
<includes>
|
59
|
+
<include>org/apache/tools/ant/filters/util/JavaClassHelper*</include>
|
60
|
+
<include>org/apache/tools/ant/util/depend/bcel/*</include>
|
61
|
+
</includes>
|
62
|
+
</configuration>
|
63
|
+
</plugin>
|
64
|
+
</plugins>
|
65
|
+
<sourceDirectory>../../../../src/main</sourceDirectory>
|
66
|
+
<testSourceDirectory>../../../../src/testcases</testSourceDirectory>
|
67
|
+
<outputDirectory>../../../../target/${project.artifactId}/classes</outputDirectory>
|
68
|
+
<testOutputDirectory>../../../../target/${project.artifactId}/testcases</testOutputDirectory>
|
69
|
+
<directory>../../../../target/${project.artifactId}</directory>
|
70
|
+
</build>
|
71
|
+
</project>
|
Binary file
|
@@ -0,0 +1,74 @@
|
|
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
|
+
<!--
|
19
|
+
This POM has been created manually by the Ant Development Team.
|
20
|
+
Please contact us if you are not satisfied with the data contained in this POM.
|
21
|
+
URL : http://ant.apache.org
|
22
|
+
-->
|
23
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
24
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
25
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
26
|
+
<parent>
|
27
|
+
<groupId>org.apache.ant</groupId>
|
28
|
+
<artifactId>ant-parent</artifactId>
|
29
|
+
<relativePath>../pom.xml</relativePath>
|
30
|
+
<version>1.9.4</version>
|
31
|
+
</parent>
|
32
|
+
<modelVersion>4.0.0</modelVersion>
|
33
|
+
<url>http://ant.apache.org/</url>
|
34
|
+
<groupId>org.apache.ant</groupId>
|
35
|
+
<artifactId>ant-apache-bsf</artifactId>
|
36
|
+
<version>1.9.4</version>
|
37
|
+
<name>Apache Ant + BSF</name>
|
38
|
+
<dependencies>
|
39
|
+
<dependency>
|
40
|
+
<groupId>org.apache.ant</groupId>
|
41
|
+
<artifactId>ant</artifactId>
|
42
|
+
<version>1.9.4</version>
|
43
|
+
<scope>compile</scope>
|
44
|
+
</dependency>
|
45
|
+
<dependency>
|
46
|
+
<groupId>bsf</groupId>
|
47
|
+
<artifactId>bsf</artifactId>
|
48
|
+
<version>2.4.0</version>
|
49
|
+
<scope>compile</scope>
|
50
|
+
</dependency>
|
51
|
+
</dependencies>
|
52
|
+
<build>
|
53
|
+
<plugins>
|
54
|
+
<plugin>
|
55
|
+
<groupId>org.apache.maven.plugins</groupId>
|
56
|
+
<artifactId>maven-compiler-plugin</artifactId>
|
57
|
+
<configuration>
|
58
|
+
<includes>
|
59
|
+
<include>org/apache/tools/ant/taskdefs/optional/Script*</include>
|
60
|
+
<include>org/apache/tools/ant/taskdefs/optional/script/**</include>
|
61
|
+
<include>org/apache/tools/ant/types/optional/*Script*</include>
|
62
|
+
<include>org/apache/tools/ant/util/Script*</include>
|
63
|
+
<include>org/apache/tools/ant/util/optional/Script*</include>
|
64
|
+
</includes>
|
65
|
+
</configuration>
|
66
|
+
</plugin>
|
67
|
+
</plugins>
|
68
|
+
<sourceDirectory>../../../../src/main</sourceDirectory>
|
69
|
+
<testSourceDirectory>../../../../src/testcases</testSourceDirectory>
|
70
|
+
<outputDirectory>../../../../target/${project.artifactId}/classes</outputDirectory>
|
71
|
+
<testOutputDirectory>../../../../target/${project.artifactId}/testcases</testOutputDirectory>
|
72
|
+
<directory>../../../../target/${project.artifactId}</directory>
|
73
|
+
</build>
|
74
|
+
</project>
|
Binary file
|
@@ -0,0 +1,69 @@
|
|
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
|
+
<!--
|
19
|
+
This POM has been created manually by the Ant Development Team.
|
20
|
+
Please contact us if you are not satisfied with the data contained in this POM.
|
21
|
+
URL : http://ant.apache.org
|
22
|
+
-->
|
23
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
24
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
25
|
+
<parent>
|
26
|
+
<groupId>org.apache.ant</groupId>
|
27
|
+
<artifactId>ant-parent</artifactId>
|
28
|
+
<relativePath>../pom.xml</relativePath>
|
29
|
+
<version>1.9.4</version>
|
30
|
+
</parent>
|
31
|
+
<modelVersion>4.0.0</modelVersion>
|
32
|
+
<url>http://ant.apache.org/</url>
|
33
|
+
<groupId>org.apache.ant</groupId>
|
34
|
+
<artifactId>ant-apache-log4j</artifactId>
|
35
|
+
<version>1.9.4</version>
|
36
|
+
<name>Apache Ant + Log4J</name>
|
37
|
+
<dependencies>
|
38
|
+
<dependency>
|
39
|
+
<groupId>org.apache.ant</groupId>
|
40
|
+
<artifactId>ant</artifactId>
|
41
|
+
<version>1.9.4</version>
|
42
|
+
<scope>compile</scope>
|
43
|
+
</dependency>
|
44
|
+
<dependency>
|
45
|
+
<groupId>log4j</groupId>
|
46
|
+
<artifactId>log4j</artifactId>
|
47
|
+
<version>1.2.13</version>
|
48
|
+
<scope>compile</scope>
|
49
|
+
</dependency>
|
50
|
+
</dependencies>
|
51
|
+
<build>
|
52
|
+
<plugins>
|
53
|
+
<plugin>
|
54
|
+
<groupId>org.apache.maven.plugins</groupId>
|
55
|
+
<artifactId>maven-compiler-plugin</artifactId>
|
56
|
+
<configuration>
|
57
|
+
<includes>
|
58
|
+
<include>org/apache/tools/ant/listener/Log4jListener*</include>
|
59
|
+
</includes>
|
60
|
+
</configuration>
|
61
|
+
</plugin>
|
62
|
+
</plugins>
|
63
|
+
<sourceDirectory>../../../../src/main</sourceDirectory>
|
64
|
+
<testSourceDirectory>../../../../src/testcases</testSourceDirectory>
|
65
|
+
<outputDirectory>../../../../target/${project.artifactId}/classes</outputDirectory>
|
66
|
+
<testOutputDirectory>../../../../target/${project.artifactId}/testcases</testOutputDirectory>
|
67
|
+
<directory>../../../../target/${project.artifactId}</directory>
|
68
|
+
</build>
|
69
|
+
</project>
|
Binary file
|
@@ -0,0 +1,74 @@
|
|
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
|
+
<!--
|
19
|
+
This POM has been created manually by the Ant Development Team.
|
20
|
+
Please contact us if you are not satisfied with the data contained in this POM.
|
21
|
+
URL : http://ant.apache.org
|
22
|
+
-->
|
23
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
24
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
25
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
26
|
+
<parent>
|
27
|
+
<groupId>org.apache.ant</groupId>
|
28
|
+
<artifactId>ant-parent</artifactId>
|
29
|
+
<relativePath>../pom.xml</relativePath>
|
30
|
+
<version>1.9.4</version>
|
31
|
+
</parent>
|
32
|
+
<modelVersion>4.0.0</modelVersion>
|
33
|
+
<url>http://ant.apache.org/</url>
|
34
|
+
<groupId>org.apache.ant</groupId>
|
35
|
+
<artifactId>ant-apache-oro</artifactId>
|
36
|
+
<version>1.9.4</version>
|
37
|
+
<name>Apache Ant + Apache Oro</name>
|
38
|
+
<dependencies>
|
39
|
+
<dependency>
|
40
|
+
<groupId>org.apache.ant</groupId>
|
41
|
+
<artifactId>ant</artifactId>
|
42
|
+
<version>1.9.4</version>
|
43
|
+
<scope>compile</scope>
|
44
|
+
</dependency>
|
45
|
+
<dependency>
|
46
|
+
<groupId>oro</groupId>
|
47
|
+
<artifactId>oro</artifactId>
|
48
|
+
<version>2.0.8</version>
|
49
|
+
<scope>compile</scope>
|
50
|
+
</dependency>
|
51
|
+
</dependencies>
|
52
|
+
<build>
|
53
|
+
<plugins>
|
54
|
+
<plugin>
|
55
|
+
<groupId>org.apache.maven.plugins</groupId>
|
56
|
+
<artifactId>maven-compiler-plugin</artifactId>
|
57
|
+
<configuration>
|
58
|
+
<includes>
|
59
|
+
<include>org/apache/tools/ant/util/regexp/JakartaOro*</include>
|
60
|
+
</includes>
|
61
|
+
<testIncludes>
|
62
|
+
<include>org/apache/tools/ant/util/regexp/JakartaOro*</include>
|
63
|
+
<include>org/apache/tools/ant/util/regexp/Regexp*</include>
|
64
|
+
</testIncludes>
|
65
|
+
</configuration>
|
66
|
+
</plugin>
|
67
|
+
</plugins>
|
68
|
+
<sourceDirectory>../../../../src/main</sourceDirectory>
|
69
|
+
<testSourceDirectory>../../../../src/tests/junit</testSourceDirectory>
|
70
|
+
<outputDirectory>../../../../target/${project.artifactId}/classes</outputDirectory>
|
71
|
+
<testOutputDirectory>../../../../target/${project.artifactId}/testcases</testOutputDirectory>
|
72
|
+
<directory>../../../../target/${project.artifactId}</directory>
|
73
|
+
</build>
|
74
|
+
</project>
|