[ https://issues.apache.org/jira/browse/JSPWIKI-738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13419501#comment-13419501 ]
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: {code:xml} <!-- Maven ant tasks --> <property name="mvn.jar.dir" value="${user.home}/.ant"/> <target name="download-mvn"> <mkdir dir="${mvn.jar.dir}"/> <get src="http://www.nic.funet.fi/pub/mirrors/apache.org/maven/binaries/maven-ant-tasks-2.1.3.jar " dest="${mvn.jar.dir}" usetimestamp="true" skipexisting="true" /> </target> <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" uri="antlib:org.apache.maven.artifact.ant" classpathref="maven-ant-tasks.classpath" /> <artifact:pom id="pom" file="pom.xml" /> <artifact:dependencies filesetId="mvn.fileset" pathId="mvn.classpath" pomRefId="pom" scopes="provided,compile"/> <property name="mvn.init.called" value="true" /> </target> {code} > Dependencies should not be distributed with source archive > ---------------------------------------------------------- > > Key: JSPWIKI-738 > URL: https://issues.apache.org/jira/browse/JSPWIKI-738 > 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira