Hi,
I am trying to create a new entry for JUG (java uuid generator), but I
am running into issues (this is my first attempted contribution). I
have created the following folder path in the subversion checkout:
src/modules/com.fasterxml/jug/3.1.0/
and then configured an ivy.xml and packager.xml file. Once done I run
'ant repo', which seems to do its work.
Once finished I configure a test project so that it depends on the
newly declared project and then configure my ivysettings.xml to point
to my local version of the repository. When I do that I get errors
such as follows:
[FAILED ] com.fasterxml#jug;3.1.0!javadoc.jar(javadoc): /Users/
ajmas/.ivy2/packager/build/com.fasterxml/jug/3.1.0/packager.xml is not
a valid XML document. (22ms)
The contents of the packager.xml is as follows:
<packager-module rev="$Id$">
<property name="name" value="${ivy.packager.module}"/>
<property name="revision" value="${ivy.packager.revision}"/>
<property name="archive" value="${name}-${revision}"/>
<property name="name" value="${ivy.packager.module}"/>
<m2resource artifactId="java-uuid-generator">
<artifact tofile="artifacts/jars/${name}.jar"
sha1="596e1176c68eeb5ed103d6ffb5647655fd72cab3"/>
<artifact classifier="sources" tofile="artifacts/sources/$
{name}.zip" sha1="166a2db97a32dd96952c5591713ea4ed6bca30e0"/>
<artifact classifier="javadoc" tofile="artifacts/javadoc/$
{name}.zip" sha1="166a2db97a32dd96952c5591713ea4ed6bca30e0"/>
</m2resource>
</packager-module>
and of the ivy.xml file:
<ivy-module rev="$Id$">
<info publication="20100715012500">
<license name="Apache License, Version 2.0" url="http://
www.apache.org/licenses/LICENSE-2.0"/>
<license name="GNU Lesser General Public License" url="http://
www.gnu.org/licenses/licenses.html#LGPL"/>
<ivyauthor name="$Id: ivy.xml 1116 2010-03-11 01:10:11Z
spatialguru.net $" url="
http://code.google.com/p/ivyroundup/source/
browse/trunk/src/modules/com.fasterxml/jug/3.2.0/"/>
<repository pattern="
http://ivyroundup.googlecode.com/svn/
trunk/repo/modules/[organisation]/[module]/[revision]/ivy.xml"
ivys="true" url="
http://ivyroundup.googlecode.com/" name="ivyroundup"/
>
<description homepage="
http://wiki.fasterxml.com/JugHome">
<p>
- removed for now -
</p>
</description>
</info>
<publications>
<artifact/>
<artifact name="javadoc" type="javadoc" ext="jar"/>
<artifact type="source" ext="jar"/>
</publications>
<dependencies>
<dependency org="org.apache.log4j" name="log4j" rev="1.2.+"
conf="default->default"/>
</dependencies>
</ivy-module>
Any help would be appreciated.
Andre