git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@375407 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
38898efe5f
commit
c985b81552
202
plugins-parent/LICENSE.txt
Normal file
202
plugins-parent/LICENSE.txt
Normal file
@ -0,0 +1,202 @@
|
|||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
2
plugins-parent/NOTICE.txt
Normal file
2
plugins-parent/NOTICE.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
This product includes software developed by
|
||||||
|
The Apache Software Foundation (http://www.apache.org/).
|
||||||
6
plugins-parent/README.txt
Normal file
6
plugins-parent/README.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
This directory contains Maven build configuration inherited by all
|
||||||
|
plugin projects.
|
||||||
|
|
||||||
|
The top level project is reserved for the master build and plugins
|
||||||
|
should no longer inherit from it as it contains configurations that
|
||||||
|
make sense only for the master build.
|
||||||
18
plugins-parent/checkstyle-license.txt
Normal file
18
plugins-parent/checkstyle-license.txt
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
[This line is ignored by checkstyle. Put the package declaration here]
|
||||||
|
|
||||||
|
/* ====================================================================
|
||||||
|
* Copyright [year. ex: 2001-2004] The Apache Software Foundation.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
* ====================================================================
|
||||||
|
*/
|
||||||
174
plugins-parent/checkstyle.xml
Normal file
174
plugins-parent/checkstyle.xml
Normal file
@ -0,0 +1,174 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
* Copyright 2001-2004 The Apache Software Foundation.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!DOCTYPE module PUBLIC
|
||||||
|
"-//Puppy Crawl//DTD Check Configuration 1.1//EN"
|
||||||
|
"http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Checkstyle checks configured for Maven.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<module name="Checker">
|
||||||
|
|
||||||
|
<!-- Locale to use to generate messages -->
|
||||||
|
<property name="localeCountry" value="${checkstyle.localeCountry}"/>
|
||||||
|
|
||||||
|
<!-- Checks that a package.html file exists for each package. -->
|
||||||
|
<!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
|
||||||
|
<module name="PackageHtml"/>
|
||||||
|
|
||||||
|
<!-- Checks whether files end with a new line. -->
|
||||||
|
<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
|
||||||
|
<module name="NewlineAtEndOfFile"/>
|
||||||
|
|
||||||
|
<!-- Checks that property files contain the same keys. -->
|
||||||
|
<!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
|
||||||
|
<module name="Translation"/>
|
||||||
|
|
||||||
|
<module name="TreeWalker">
|
||||||
|
|
||||||
|
<property name="cacheFile" value="${checkstyle.cache.file}"/>
|
||||||
|
|
||||||
|
<!-- ************************************************************** -->
|
||||||
|
<!-- Checks that are different from the sun coding conventions ones -->
|
||||||
|
<!-- ************************************************************** -->
|
||||||
|
<module name="Header">
|
||||||
|
<property name="headerFile" value="${maven.checkstyle.header.file}"/>
|
||||||
|
<property name="ignoreLines" value="1, 4"/>
|
||||||
|
</module>
|
||||||
|
<property name="tabWidth" value="4"/>
|
||||||
|
<module name="LeftCurly">
|
||||||
|
<property name="option" value="nl"/>
|
||||||
|
</module>
|
||||||
|
<module name="RightCurly">
|
||||||
|
<property name="option" value="alone"/>
|
||||||
|
</module>
|
||||||
|
<module name="LineLength">
|
||||||
|
<property name="max" value="132"/>
|
||||||
|
</module>
|
||||||
|
<module name="MethodLength">
|
||||||
|
<property name="max" value="175"/>
|
||||||
|
</module>
|
||||||
|
<!-- No Paren pad check
|
||||||
|
<module name="ParenPad"/>
|
||||||
|
-->
|
||||||
|
<module name="ConstantName">
|
||||||
|
<property name="format" value="log|^[a-zA-Z][a-zA-Z0-9_]*$"/>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
<!-- ************************************************************** -->
|
||||||
|
<!-- Default Sun coding conventions checks -->
|
||||||
|
<!-- ************************************************************** -->
|
||||||
|
|
||||||
|
<!-- Checks for Javadoc comments. -->
|
||||||
|
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
|
||||||
|
<module name="JavadocMethod"/>
|
||||||
|
<module name="JavadocType"/>
|
||||||
|
<module name="JavadocVariable"/>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Checks for Naming Conventions. -->
|
||||||
|
<!-- See http://checkstyle.sf.net/config_naming.html -->
|
||||||
|
<module name="LocalFinalVariableName"/>
|
||||||
|
<module name="LocalVariableName"/>
|
||||||
|
<module name="MethodName"/>
|
||||||
|
<module name="PackageName"/>
|
||||||
|
<module name="ParameterName"/>
|
||||||
|
<module name="StaticVariableName"/>
|
||||||
|
<module name="TypeName"/>
|
||||||
|
<module name="MemberName"/>
|
||||||
|
|
||||||
|
<!-- Checks for imports -->
|
||||||
|
<!-- See http://checkstyle.sf.net/config_import.html -->
|
||||||
|
<module name="AvoidStarImport"/>
|
||||||
|
<module name="IllegalImport"/> <!-- defaults to sun.* packages -->
|
||||||
|
<module name="RedundantImport"/>
|
||||||
|
<module name="UnusedImports"/>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Checks for Size Violations. -->
|
||||||
|
<!-- See http://checkstyle.sf.net/config_sizes.html -->
|
||||||
|
<module name="FileLength"/>
|
||||||
|
<module name="ParameterNumber"/>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Checks for whitespace -->
|
||||||
|
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
|
||||||
|
<module name="EmptyForIteratorPad"/>
|
||||||
|
<module name="NoWhitespaceAfter"/>
|
||||||
|
<module name="NoWhitespaceBefore"/>
|
||||||
|
<module name="OperatorWrap"/>
|
||||||
|
<module name="TabCharacter"/>
|
||||||
|
<module name="WhitespaceAfter"/>
|
||||||
|
<module name="WhitespaceAround"/>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Modifier Checks -->
|
||||||
|
<!-- See http://checkstyle.sf.net/config_modifiers.html -->
|
||||||
|
<module name="ModifierOrder"/>
|
||||||
|
<module name="RedundantModifier"/>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Checks for blocks. You know, those {}'s -->
|
||||||
|
<!-- See http://checkstyle.sf.net/config_blocks.html -->
|
||||||
|
<module name="AvoidNestedBlocks"/>
|
||||||
|
<module name="EmptyBlock"/>
|
||||||
|
|
||||||
|
<module name="NeedBraces"/>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Checks for common coding problems -->
|
||||||
|
<!-- See http://checkstyle.sf.net/config_coding.html -->
|
||||||
|
<module name="AvoidInlineConditionals"/>
|
||||||
|
<module name="DoubleCheckedLocking"/> <!-- MY FAVOURITE -->
|
||||||
|
<module name="EmptyStatement"/>
|
||||||
|
<module name="EqualsHashCode"/>
|
||||||
|
<module name="HiddenField"/>
|
||||||
|
<module name="IllegalInstantiation"/>
|
||||||
|
<module name="InnerAssignment"/>
|
||||||
|
<module name="MagicNumber"/>
|
||||||
|
<module name="MissingSwitchDefault"/>
|
||||||
|
<!--<module name="RedundantThrows"/>-->
|
||||||
|
<module name="SimplifyBooleanExpression"/>
|
||||||
|
<module name="SimplifyBooleanReturn"/>
|
||||||
|
|
||||||
|
<!-- Checks for class design -->
|
||||||
|
<!-- See http://checkstyle.sf.net/config_design.html -->
|
||||||
|
<!--<module name="DesignForExtension"/>-->
|
||||||
|
<module name="FinalClass"/>
|
||||||
|
<module name="HideUtilityClassConstructor"/>
|
||||||
|
<module name="InterfaceIsType"/>
|
||||||
|
<module name="VisibilityModifier"/>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Miscellaneous other checks. -->
|
||||||
|
<!-- See http://checkstyle.sf.net/config_misc.html -->
|
||||||
|
<module name="ArrayTypeStyle"/>
|
||||||
|
<!-- <module name="FinalParameters"/> -->
|
||||||
|
<module name="GenericIllegalRegexp">
|
||||||
|
<property name="format" value="\s+$"/>
|
||||||
|
<property name="message" value="Line has trailing spaces."/>
|
||||||
|
</module>
|
||||||
|
<module name="TodoComment"/>
|
||||||
|
<module name="UpperEll"/>
|
||||||
|
|
||||||
|
</module>
|
||||||
|
|
||||||
|
</module>
|
||||||
50
plugins-parent/maven.xml
Normal file
50
plugins-parent/maven.xml
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
<!--
|
||||||
|
/*
|
||||||
|
* Copyright 2001-2004 The Apache Software Foundation.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
<project
|
||||||
|
xmlns:ant="jelly:ant"
|
||||||
|
xmlns:j="jelly:core"
|
||||||
|
xmlns:maven="jelly:maven">
|
||||||
|
|
||||||
|
<!-- XXX: must be a nicer way - maybe SCM can read the POM and recursively checkout parent directories
|
||||||
|
project.xml, maven.xml, project.properties, but tag will not be set -->
|
||||||
|
<!-- perhaps copy extended project.xml into current directory, merge higher extends, commit & tag, replace extends
|
||||||
|
in main POM? -->
|
||||||
|
<postGoal name="scm:checkout">
|
||||||
|
<maven:pluginVar plugin="maven-scm-plugin" property="maven.scm.checkout.dir" var="dir" />
|
||||||
|
<ant:mkdir dir="${dir}/../plugins-parent" />
|
||||||
|
<ant:copy todir="${dir}/../plugins-parent">
|
||||||
|
<ant:fileset dir="${pom.parent.file.parent}" />
|
||||||
|
</ant:copy>
|
||||||
|
<ant:copy todir="${dir}/.." file="${pom.parent.file.parent}/LICENSE.txt" />
|
||||||
|
<ant:copy todir="${dir}/.." file="${pom.parent.file.parent}/NOTICE.txt" />
|
||||||
|
<ant:copy todir="${dir}/.." file="${pom.parent.file.parent}/checkstyle.xml" />
|
||||||
|
<ant:copy todir="${dir}/.." file="${pom.parent.file.parent}/checkstyle-license.txt" />
|
||||||
|
<j:set var="executionDir" value="${basedir}" scope="parent" />
|
||||||
|
</postGoal>
|
||||||
|
|
||||||
|
<postGoal name="site:deploy">
|
||||||
|
<j:if test="${empty(executionDir)}">
|
||||||
|
<j:set var="executionDir" value="${basedir}" />
|
||||||
|
</j:if>
|
||||||
|
<maven:maven
|
||||||
|
descriptor="${executionDir}/../project.xml"
|
||||||
|
goals="confirm-and-deploy-site"
|
||||||
|
ignoreFailures="false"
|
||||||
|
/>
|
||||||
|
</postGoal>
|
||||||
|
</project>
|
||||||
183
plugins-parent/project.properties
Normal file
183
plugins-parent/project.properties
Normal file
@ -0,0 +1,183 @@
|
|||||||
|
# -------------------------------------------------------------------
|
||||||
|
# Copyright 2001-2006 The Apache Software Foundation.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
# -------------------------------------------------------------------
|
||||||
|
|
||||||
|
#====================================================================
|
||||||
|
# WARNING: All these properties are inherited by the plugin projects
|
||||||
|
#====================================================================
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# Repositories settings
|
||||||
|
#=====
|
||||||
|
|
||||||
|
# TODO: remove cvs repository, just there for SNAPSHOTs
|
||||||
|
maven.repo.remote = http://www.ibiblio.org/maven,http://cvs.apache.org/repository/
|
||||||
|
|
||||||
|
# Repository to deploy to
|
||||||
|
maven.repo.list=apache.snapshots
|
||||||
|
|
||||||
|
maven.repo.apache.releases=scp://${pom.distributionSite}
|
||||||
|
maven.repo.apache.releases.directory=${pom.distributionDirectory}
|
||||||
|
maven.repo.apache.releases.group=maven
|
||||||
|
# These must be set elsewhere
|
||||||
|
#maven.repo.apache.releases.username=
|
||||||
|
#maven.repo.apache.releases.privatekey=
|
||||||
|
#maven.repo.apache.releases.passphrase=
|
||||||
|
|
||||||
|
# Repository to deploy snapshots
|
||||||
|
maven.repo.apache.snapshots=scp://cvs.apache.org
|
||||||
|
maven.repo.apache.snapshots.directory=/www/cvs.apache.org/repository
|
||||||
|
maven.repo.apache.snapshots.username=${maven.repo.apache.releases.username}
|
||||||
|
maven.repo.apache.snapshots.privatekey=${maven.repo.apache.releases.privatekey}
|
||||||
|
maven.repo.apache.snapshots.passphrase=${maven.repo.apache.releases.passphrase}
|
||||||
|
maven.repo.apache.snapshots.group=${maven.repo.apache.releases.group}
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# Dependencies overriding
|
||||||
|
#=====
|
||||||
|
|
||||||
|
# Override versions of dependencies defined in maven core
|
||||||
|
# The maven's classloader doesn't allow plugins to use
|
||||||
|
# a different version of dependencies loaded by the core.
|
||||||
|
maven.jar.override = on
|
||||||
|
# Set dependencies versions from maven 1.1 core
|
||||||
|
maven.jar.ant=1.6.5
|
||||||
|
maven.jar.ant-junit=1.6.5
|
||||||
|
maven.jar.ant-launcher=1.6.5
|
||||||
|
maven.jar.ant-trax=1.6.5
|
||||||
|
maven.jar.commons-beanutils=1.6.1
|
||||||
|
maven.jar.commons-cli=1.0-beta-2
|
||||||
|
maven.jar.commons-codec=1.2
|
||||||
|
maven.jar.commons-collections=3.0
|
||||||
|
maven.jar.commons-httpclient=3.0
|
||||||
|
maven.jar.commons-io=1.0
|
||||||
|
maven.jar.commons-jelly=1.0
|
||||||
|
maven.jar.commons-jelly-tags-ant=1.1
|
||||||
|
maven.jar.commons-jelly-tags-define=1.0
|
||||||
|
maven.jar.commons-jelly-tags-util=1.1.1
|
||||||
|
maven.jar.commons-jelly-tags-xml=1.1
|
||||||
|
maven.jar.commons-jexl=1.0
|
||||||
|
maven.jar.commons-lang=2.0
|
||||||
|
maven.jar.commons-logging=1.0.4
|
||||||
|
maven.jar.dom4j=1.4
|
||||||
|
maven.jar.forehead=1.0-beta-5
|
||||||
|
maven.jar.log4j=1.2.12
|
||||||
|
maven.jar.maven-model=3.0.1
|
||||||
|
maven.jar.plexus-utils=1.0.3
|
||||||
|
maven.jar.wagon-file=1.0-alpha-4
|
||||||
|
maven.jar.wagon-http=1.0-alpha-3
|
||||||
|
maven.jar.wagon-provider-api=1.0-alpha-3
|
||||||
|
|
||||||
|
maven.jar.maven = ${maven.home}/lib/maven.jar
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# Compilation options
|
||||||
|
#=====
|
||||||
|
# We are targetting the 1.3 JVM and above
|
||||||
|
maven.compile.target=1.3
|
||||||
|
maven.compile.source=1.3
|
||||||
|
maven.compile.encoding=UTF-8
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# Announcement plugin properties
|
||||||
|
#=====
|
||||||
|
maven.announcement.distributionUrl=http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins
|
||||||
|
maven.announcement.mail.to = users@maven.apache.org,dev@maven.apache.org
|
||||||
|
maven.announcement.lenient=true
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# Artifact plugin settings
|
||||||
|
#=====
|
||||||
|
# Force artifact deployment. You must setup your environment appropriately
|
||||||
|
maven.artifact.legacy=false
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# Changelog plugin properties
|
||||||
|
#=====
|
||||||
|
maven.changelog.svn.baseurl=http://svn.apache.org/viewcvs.cgi
|
||||||
|
maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory
|
||||||
|
maven.changelog.type=date
|
||||||
|
maven.changelog.date=lastRelease
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# Changes plugin settings
|
||||||
|
#=====
|
||||||
|
# Changes issue template
|
||||||
|
maven.changes.issue.template = %URL%/%ISSUE%
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# Checkstyle plugin settings
|
||||||
|
#=====
|
||||||
|
maven.checkstyle.header.file = ${basedir}/../plugins-parent/checkstyle-license.txt
|
||||||
|
maven.checkstyle.properties = ${basedir}/../plugins-parent/checkstyle.xml
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# Javadoc plugin settings
|
||||||
|
#=====
|
||||||
|
maven.javadoc.links = http://java.sun.com/j2se/1.4.2/docs/api/
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# License plugin settings
|
||||||
|
#=====
|
||||||
|
maven.license.licenseFile=${basedir}/../plugins-parent/LICENSE.txt
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# LinkCheck plugin settings
|
||||||
|
#=====
|
||||||
|
maven.linkcheck.exclude=${pom.repository.url},${maven.changelog.svn.baseurl}
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# MultiProject plugin settings
|
||||||
|
#=====
|
||||||
|
maven.multiproject.type=plugin
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# PDF plugin settings
|
||||||
|
#=====
|
||||||
|
# Use the jpg image for the organization's logo
|
||||||
|
maven.pdf.companyLogo=http://maven.apache.org/images/apache-maven-project.jpg
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# SCM plugin settings
|
||||||
|
#=====
|
||||||
|
# TODO: derive from SCM URL
|
||||||
|
maven.scm.svn.tag.base=https://svn.apache.org/repos/asf/maven/maven-1/plugins/tags
|
||||||
|
maven.scm.checkout.dir=${maven.build.dir}/scm/checkout
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# Site plugin settings
|
||||||
|
#=====
|
||||||
|
maven.site.stage.address=people.apache.org
|
||||||
|
maven.site.stage.directory=/home/brett/public_html/maven-stage-site/${pom.siteDirectory.substring(22)}
|
||||||
|
maven.site.deploy.method=rsync
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# Test/JUnit plugin settings
|
||||||
|
#=====
|
||||||
|
# Fork so that plugins unit tests are run with the correct classpath
|
||||||
|
maven.junit.fork = true
|
||||||
|
|
||||||
|
#=====
|
||||||
|
# XDOC plugin settings
|
||||||
|
#=====
|
||||||
|
# Display the date on the Maven web site
|
||||||
|
maven.xdoc.date = left
|
||||||
|
maven.xdoc.date.format = dd MMMM yyyy HH:mm z
|
||||||
|
maven.xdoc.distributionUrl=http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins
|
||||||
|
maven.xdoc.version = ${pom.currentVersion}
|
||||||
|
# Use the maven site theme
|
||||||
|
maven.xdoc.theme.url=http://maven.apache.org/maven-1.x/style/maven-stylus.css
|
||||||
|
maven.xdoc.locale.default=en
|
||||||
|
maven.docs.outputencoding=UTF-8
|
||||||
220
plugins-parent/project.xml
Normal file
220
plugins-parent/project.xml
Normal file
@ -0,0 +1,220 @@
|
|||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
/*
|
||||||
|
* Copyright 2001-2006 The Apache Software Foundation.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd">
|
||||||
|
|
||||||
|
<pomVersion>3</pomVersion>
|
||||||
|
<id>plugins-parent</id>
|
||||||
|
<name>Maven Plugins</name>
|
||||||
|
<groupId>maven</groupId>
|
||||||
|
<currentVersion>1.0</currentVersion>
|
||||||
|
<organization>
|
||||||
|
<name>Apache Software Foundation</name>
|
||||||
|
<url>http://www.apache.org/</url>
|
||||||
|
<logo>http://maven.apache.org/images/apache-maven-project-2.png</logo>
|
||||||
|
</organization>
|
||||||
|
<inceptionYear>2001</inceptionYear>
|
||||||
|
<package>org.apache.maven</package>
|
||||||
|
<logo>http://maven.apache.org/images/maven-logo-2.gif</logo>
|
||||||
|
|
||||||
|
<issueTrackingUrl>http://jira.codehaus.org/browse/MAVEN</issueTrackingUrl>
|
||||||
|
<siteAddress>people.apache.org</siteAddress>
|
||||||
|
<siteDirectory>/www/maven.apache.org/maven-1.x/reference/plugins/</siteDirectory>
|
||||||
|
<distributionSite>people.apache.org</distributionSite>
|
||||||
|
<distributionDirectory>/www/www.apache.org/dist/java-repository/</distributionDirectory>
|
||||||
|
|
||||||
|
<mailingLists>
|
||||||
|
<mailingList>
|
||||||
|
<name>Maven User List</name>
|
||||||
|
<subscribe>users-subscribe@maven.apache.org</subscribe>
|
||||||
|
<unsubscribe>users-unsubscribe@maven.apache.org</unsubscribe>
|
||||||
|
<archive>http://www.mail-archive.com/users%40maven.apache.org/</archive>
|
||||||
|
</mailingList>
|
||||||
|
<mailingList>
|
||||||
|
<name>Maven Developer List</name>
|
||||||
|
<subscribe>dev-subscribe@maven.apache.org</subscribe>
|
||||||
|
<unsubscribe>dev-unsubscribe@maven.apache.org</unsubscribe>
|
||||||
|
<archive>http://www.mail-archive.com/dev%40maven.apache.org/</archive>
|
||||||
|
</mailingList>
|
||||||
|
</mailingLists>
|
||||||
|
|
||||||
|
<repository>
|
||||||
|
<connection>scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/</connection>
|
||||||
|
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/</developerConnection>
|
||||||
|
<url>http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/</url>
|
||||||
|
</repository>
|
||||||
|
|
||||||
|
<developers>
|
||||||
|
<developer>
|
||||||
|
<name>dIon Gillard</name>
|
||||||
|
<id>dion</id>
|
||||||
|
<email>dion@multitask.com.au</email>
|
||||||
|
<organization>Multitask Consulting</organization>
|
||||||
|
<roles>
|
||||||
|
<role>Java Developer</role>
|
||||||
|
</roles>
|
||||||
|
<timezone>+10</timezone>
|
||||||
|
</developer>
|
||||||
|
<developer>
|
||||||
|
<name>Vincent Massol</name>
|
||||||
|
<id>vmassol</id>
|
||||||
|
<email>vmassol@pivolis.com</email>
|
||||||
|
<organization>Pivolis</organization>
|
||||||
|
<roles>
|
||||||
|
<role>Java Developer</role>
|
||||||
|
</roles>
|
||||||
|
<timezone>+1</timezone>
|
||||||
|
</developer>
|
||||||
|
<developer>
|
||||||
|
<name>Eric Pugh</name>
|
||||||
|
<id>epugh</id>
|
||||||
|
<email>epugh@upstate.com</email>
|
||||||
|
<organization>Upstate</organization>
|
||||||
|
<roles>
|
||||||
|
<role>Java Developer</role>
|
||||||
|
</roles>
|
||||||
|
</developer>
|
||||||
|
<developer>
|
||||||
|
<name>James Strachan</name>
|
||||||
|
<id>jstrachan</id>
|
||||||
|
<email>james_strachan@yahoo.co.uk</email>
|
||||||
|
<organization>Spiritsoft</organization>
|
||||||
|
<roles>
|
||||||
|
<role>Java Developer</role>
|
||||||
|
</roles>
|
||||||
|
</developer>
|
||||||
|
<developer>
|
||||||
|
<name>Emmanuel Venisse</name>
|
||||||
|
<id>evenisse</id>
|
||||||
|
<email>emmanuel@venisse.net</email>
|
||||||
|
<organization/>
|
||||||
|
<roles>
|
||||||
|
<role>Java Developer</role>
|
||||||
|
</roles>
|
||||||
|
<timezone>+1</timezone>
|
||||||
|
</developer>
|
||||||
|
<developer>
|
||||||
|
<name>Jason van Zyl</name>
|
||||||
|
<id>jvanzyl</id>
|
||||||
|
<email>jason@zenplex.com</email>
|
||||||
|
<organization>Zenplex</organization>
|
||||||
|
<roles>
|
||||||
|
<role>Architect</role>
|
||||||
|
<role>Release Manager</role>
|
||||||
|
</roles>
|
||||||
|
</developer>
|
||||||
|
<developer>
|
||||||
|
<name>Brett Porter</name>
|
||||||
|
<id>brett</id>
|
||||||
|
<email>brett@apache.org</email>
|
||||||
|
<organization>f2 network</organization>
|
||||||
|
<roles>
|
||||||
|
<role>Developer</role>
|
||||||
|
</roles>
|
||||||
|
<timezone>+10</timezone>
|
||||||
|
</developer>
|
||||||
|
<developer>
|
||||||
|
<name>Felipe Leme</name>
|
||||||
|
<id>felipeal</id>
|
||||||
|
<email>maven@felipeal.net</email>
|
||||||
|
<organization>Falcon Informatica</organization>
|
||||||
|
<roles>
|
||||||
|
<role>Java Developer</role>
|
||||||
|
<role>Jelly Developer</role>
|
||||||
|
</roles>
|
||||||
|
<timezone>-3</timezone>
|
||||||
|
</developer>
|
||||||
|
<developer>
|
||||||
|
<name>Fabrizio Giustina</name>
|
||||||
|
<id>fgiust</id>
|
||||||
|
<email>fgiust@apache.org</email>
|
||||||
|
<organization>openmind</organization>
|
||||||
|
<roles>
|
||||||
|
<role>Developer</role>
|
||||||
|
</roles>
|
||||||
|
<timezone>+1</timezone>
|
||||||
|
</developer>
|
||||||
|
<developer>
|
||||||
|
<name>Lukas Theussl</name>
|
||||||
|
<id>ltheussl</id>
|
||||||
|
<email>ltheussl@apache.org</email>
|
||||||
|
<roles>
|
||||||
|
<role>Developer</role>
|
||||||
|
</roles>
|
||||||
|
</developer>
|
||||||
|
</developers>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<defaultGoal>plugin:plugin</defaultGoal>
|
||||||
|
<sourceDirectory>src/main</sourceDirectory>
|
||||||
|
<unitTestSourceDirectory>src/test</unitTestSourceDirectory>
|
||||||
|
<nagEmailAddress>dev@maven.apache.org</nagEmailAddress>
|
||||||
|
|
||||||
|
<unitTest>
|
||||||
|
<includes>
|
||||||
|
<include>**/*Test.java</include>
|
||||||
|
</includes>
|
||||||
|
</unitTest>
|
||||||
|
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>../plugins-parent/</directory>
|
||||||
|
<targetPath>META-INF</targetPath>
|
||||||
|
<includes>
|
||||||
|
<include>NOTICE.txt</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/plugin-resources</directory>
|
||||||
|
<targetPath>plugin-resources</targetPath>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>.</directory>
|
||||||
|
<includes>
|
||||||
|
<include>plugin.jelly</include>
|
||||||
|
<include>plugin.properties</include>
|
||||||
|
<include>project.properties</include>
|
||||||
|
<include>build.properties</include>
|
||||||
|
<include>project.xml</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
<reports>
|
||||||
|
<report>maven-changes-plugin</report>
|
||||||
|
<report>maven-changelog-plugin</report>
|
||||||
|
<report>maven-file-activity-plugin</report>
|
||||||
|
<report>maven-developer-activity-plugin</report>
|
||||||
|
<report>maven-tasklist-plugin</report>
|
||||||
|
<report>maven-javadoc-plugin</report>
|
||||||
|
<report>maven-jxr-plugin</report>
|
||||||
|
<report>maven-jira-plugin</report>
|
||||||
|
<report>maven-jdepend-plugin</report>
|
||||||
|
<report>maven-checkstyle-plugin</report>
|
||||||
|
<report>maven-junit-report-plugin</report>
|
||||||
|
<report>maven-pmd-plugin</report>
|
||||||
|
<report>maven-simian-plugin</report>
|
||||||
|
<report>maven-faq-plugin</report>
|
||||||
|
<report>maven-linkcheck-plugin</report>
|
||||||
|
</reports>
|
||||||
|
|
||||||
|
</project>
|
||||||
Loading…
x
Reference in New Issue
Block a user