You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michael Niemaz <Mi...@xrce.xerox.com> on 2004/11/24 10:51:08 UTC
Re: Updating scripts according to artifacts [SOLVED}
Sorry guys for having bothered for such stupid mistakes.
was due to my namespaces declaration ;-(
xmlns:j="jelly" WRONG
xmlns:j="jelly:core" CORRECT
--mike
Michael Niemaz wrote:
> Hi all,
> I'd like to update my launchers when creating distribs but It does not
> want to work ;-(
> The problem here is that ${xxx.name} are always null.
> ${pom.artifacts} are valid though, I mean not empty:
> [org.apache.maven.repository.GenericArtifact@1a19458,
> org.apache.maven.repository.GenericArtifact@1124746,
> org.apache.maven.repository.GenericArtifact@105691e,
> org.apache.maven.repository.GenericArtifact@383118,
> org.apache.maven.repository.GenericArtifact@11f23e5,
> org.apache.maven.repository.GenericArtifact@16dc861]
>
> I have this weird message when launching maven:
> Tag library requested that is not present: 'jelly' in plugin: 'null'
> Do you think it might be the cause? If so, why do I get it?
>
> Any ideas?
>
> Thanx,
>
> --mike
>
> <j:forEach var="lib" items="${pom.artifacts}">
> <j:if test="${lib.dependency.artifactId=='jxip'}">
> <j:set var="jxip.name" value="${lib.file.name}"/>
> </j:if>
> <j:if test="${lib.dependency.artifactId=='jgraph'}">
> <j:set var="jgraph.name" value="${lib.file.name}"/>
> </j:if>
> <j:if test="${lib.dependency.artifactId=='jgraphaddons'}">
> <j:set var="jgraphaddons.name" value="${lib.file.name}"/>
> </j:if>
> <j:if test="${lib.dependency.artifactId=='xercesImpl'}">
> <j:set var="xercesImpl.name" value="${lib.file.name}"/>
> </j:if>
> <j:if test="${lib.dependency.artifactId=='xml-apis'}">
> <j:set var="xml-apis.name" value="${lib.file.name}"/>
> </j:if>
> <j:if test="${lib.dependency.artifactId=='xmlParserAPIs'}">
> <j:set var="xmlParserAPIs.name" value="${lib.file.name}"/>
> </j:if>
> </j:forEach>
> <ant:replace dir="${basedir}/bin/install">
> <ant:replacefilter token="[JXIP_JAR]" value="${jxip.name}"/>
> <ant:replacefilter token="[XIPUI_JAR]"
> value="${maven.final.name}.jar"/>
> <ant:replacefilter token="[JGRAPH_JAR]" value="${jgraph.name}"/>
> <ant:replacefilter token="[JGRAPHADDONS_JAR]"
> value="${jgraphaddons.name}"/>
> <ant:replacefilter token="[XERCESIMPL_JAR]"
> value="${xercesImpl.name}"/>
> <ant:replacefilter token="[XML-APIS_JAR]"
> value="${xml-apis.name}"/>
> <ant:replacefilter token="[XMLPARSER-APIS_JAR]"
> value="${xmlParserAPIs.name}"/> </ant:replace>
>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> .
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org