incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janne Jalkanen (JIRA)" <>
Subject [jira] [Commented] (JSPWIKI-738) Dependencies should not be distributed with source archive
Date Fri, 20 Jul 2012 19:53:35 GMT


Janne Jalkanen commented on JSPWIKI-738:

We're currently doing something like this: first have a pom.xml with the dependencies (which
will include transitive stuff) and then in the build.xml have something like this:

           Maven ant tasks

<property name="mvn.jar.dir" value="${user.home}/.ant"/>
<target name="download-mvn">
    <mkdir dir="${mvn.jar.dir}"/>
    <get src="
" dest="${mvn.jar.dir}" usetimestamp="true" skipexisting="true" />

<target name="init-mvn" depends="download-mvn" unless="mvn.init.called">
    <path id="maven-ant-tasks.classpath" path="${mvn.jar.dir}/maven-ant-tasks-2.1.3.jar"
    <typedef resource="org/apache/maven/artifact/ant/antlib.xml"
                 classpathref="maven-ant-tasks.classpath" />
    <artifact:pom id="pom" file="pom.xml" />
    <artifact:dependencies filesetId="mvn.fileset" pathId="mvn.classpath" pomRefId="pom"
    <property name="mvn.init.called" value="true" />


> Dependencies should not be distributed with source archive
> ----------------------------------------------------------
>                 Key: JSPWIKI-738
>                 URL:
>             Project: JSPWiki
>          Issue Type: Task
>    Affects Versions: Graduating, 2.9
>            Reporter: Juan Pablo Santos Rodríguez
>            Assignee: Juan Pablo Santos Rodríguez
>             Fix For: Graduating, 2.9
> As pointed out in the revision of the July 2012 incubation report, JSPWiki ships binary
dependencies in the source archive, which is contrary to Apache principles.
> As we are downloading some dependencies in current trunk, I would take the path of downloading
all needed jars. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message