[MPXDOC-200] Workaround for JELLY-274.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@508920 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0fd212760a
commit
aaf943c029
@ -662,6 +662,8 @@
|
|||||||
<echo message="Validation of the locale entries"/>
|
<echo message="Validation of the locale entries"/>
|
||||||
|
|
||||||
<j:invokeStatic method="getAvailableLocales" className="java.util.Locale" var="availableLocales"/>
|
<j:invokeStatic method="getAvailableLocales" className="java.util.Locale" var="availableLocales"/>
|
||||||
|
<!-- FIXME: Use this when JELLY-274 gets fixed.
|
||||||
|
cf. https://issues.apache.org/jira/browse/JELLY-274
|
||||||
<j:invokeStatic className="java.util.Arrays" method="asList" var="availableLocalesAsList">
|
<j:invokeStatic className="java.util.Arrays" method="asList" var="availableLocalesAsList">
|
||||||
<j:arg value="${availableLocales}" type="[Ljava.lang.Object;"/>
|
<j:arg value="${availableLocales}" type="[Ljava.lang.Object;"/>
|
||||||
</j:invokeStatic>
|
</j:invokeStatic>
|
||||||
@ -671,6 +673,20 @@
|
|||||||
<echo message="WARNING: The locale '${locale}' is not a valid one."/>
|
<echo message="WARNING: The locale '${locale}' is not a valid one."/>
|
||||||
</j:if>
|
</j:if>
|
||||||
</j:forEach>
|
</j:forEach>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Ugly hack to work around JELLY-274. -->
|
||||||
|
<j:forEach var="locale" items="${locales}">
|
||||||
|
<j:set var="localeIsAvailable" value="false"/>
|
||||||
|
<j:forEach var="availableLocale" items="${availableLocales}">
|
||||||
|
<j:if test="${locale == availableLocale}">
|
||||||
|
<j:set var="localeIsAvailable" value="true"/>
|
||||||
|
</j:if>
|
||||||
|
</j:forEach>
|
||||||
|
<j:if test="${!localeIsAvailable}">
|
||||||
|
<echo message="WARNING: The locale '${locale}' is not a valid one."/>
|
||||||
|
</j:if>
|
||||||
|
</j:forEach>
|
||||||
</goal>
|
</goal>
|
||||||
|
|
||||||
<goal
|
<goal
|
||||||
|
|||||||
@ -172,6 +172,15 @@
|
|||||||
</roles>
|
</roles>
|
||||||
<timezone>-7</timezone>
|
<timezone>-7</timezone>
|
||||||
</developer>
|
</developer>
|
||||||
|
<developer>
|
||||||
|
<name>Shinobu Kawai</name>
|
||||||
|
<id>shinobu</id>
|
||||||
|
<email>shinobu@apache.org</email>
|
||||||
|
<roles>
|
||||||
|
<role>Developer</role>
|
||||||
|
</roles>
|
||||||
|
<timezone>-8</timezone>
|
||||||
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@ -24,9 +24,11 @@
|
|||||||
<author email="vmassol@apache.org">Vincent Massol</author>
|
<author email="vmassol@apache.org">Vincent Massol</author>
|
||||||
<author email="aheritier@apache.org">Arnaud Heritier</author>
|
<author email="aheritier@apache.org">Arnaud Heritier</author>
|
||||||
<author email="vincent.siveton@gmail.org">Vincent Siveton</author>
|
<author email="vincent.siveton@gmail.org">Vincent Siveton</author>
|
||||||
|
<author email="shinobu@apache.org">Shinobu Kawai</author>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
<release version="1.10.1-SNAPSHOT" date="In SVN">
|
<release version="1.10.1-SNAPSHOT" date="In SVN">
|
||||||
|
<action dev="shinobu" type="fix" issue="MPXDOC-200" due-to="Benoit Xhenseval">maven-xdoc-plugin-1.10.1-SNAPSHOT fails under JDK 6</action>
|
||||||
<action dev="aheritier" type="add" issue="MPXDOC-203">New 'Built by Maven' logos - default changed to mavenlogo_builtby_w.png</action>
|
<action dev="aheritier" type="add" issue="MPXDOC-203">New 'Built by Maven' logos - default changed to mavenlogo_builtby_w.png</action>
|
||||||
<action dev="ltheussl" type="fix" issue="MPXDOC-202">Plugin fails with anonymous access and empty password in scm url.</action>
|
<action dev="ltheussl" type="fix" issue="MPXDOC-202">Plugin fails with anonymous access and empty password in scm url.</action>
|
||||||
<action dev="aheritier" type="update">Change margin between menu items in stylus.css.</action>
|
<action dev="aheritier" type="update">Change margin between menu items in stylus.css.</action>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user