Deprecate java:jar (it's still there, just warns about deprecation)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113352 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
59f2204617
commit
cb3f003a64
@ -5,15 +5,6 @@
|
|||||||
xmlns:ant="jelly:ant"
|
xmlns:ant="jelly:ant"
|
||||||
xmlns:resources="resources">
|
xmlns:resources="resources">
|
||||||
|
|
||||||
<!--
|
|
||||||
|
|
||||||
The xmlns:doc declaration is a fix for transitive dynatag dependency
|
|
||||||
problem. The introduction of license dynatag which uses the xdoc
|
|
||||||
plugin revealed the problem a day before the release. This should
|
|
||||||
allow a new user to build with no initial repo.
|
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
<j:choose>
|
<j:choose>
|
||||||
<j:when test="${!pom.build.resources.includes.isEmpty()}">
|
<j:when test="${!pom.build.resources.includes.isEmpty()}">
|
||||||
<ant:property name="maven.has.jar.resource.patterns" value="true"/>
|
<ant:property name="maven.has.jar.resource.patterns" value="true"/>
|
||||||
@ -124,6 +115,7 @@
|
|||||||
<goal name="java:jar"
|
<goal name="java:jar"
|
||||||
description="Create the deliverable jar file."
|
description="Create the deliverable jar file."
|
||||||
prereqs="jar:jar">
|
prereqs="jar:jar">
|
||||||
|
<echo>java:jar is deprecated and will be removed. Please use jar:jar</echo>
|
||||||
</goal>
|
</goal>
|
||||||
|
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user