Move to Apache Ivy for lib management

git-svn-id: https://brutex.net/svn/xservices/trunk@137 e7e49efb-446e-492e-b9ec-fcafc1997a86
xservices-jre6
Brian Rosenberger 2013-02-12 11:54:04 +00:00
parent 47cf1af29b
commit d054921dad
3 changed files with 84 additions and 19 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<project default="create-doc" basedir=".">
<project default="create-doc" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
<property name="current-loc" location="." />
<property name="workspace" location=".." />
@ -13,9 +13,7 @@
<property name="base.dir" value="${htmldir}" />
<target name="merge">
<xsl.xinclude in="${docbooksource}/BruteXServices_User_Guide.xml"
out="${docbooksource}/BruteXServices_User_Guide.dbk"
/>
<xsl.xinclude in="${docbooksource}/BruteXServices_User_Guide.xml" out="${docbooksource}/BruteXServices_User_Guide.dbk" />
</target>
<target name="clean-doc">
@ -25,9 +23,7 @@
<target name="create-doc" depends="clean-doc, merge">
<xslt force="true" style="${docbookdir}/../toHTML.xsl"
in="${docbooksource}/BruteXServices_User_Guide.dbk"
out="${htmldir}/index.html">
<xslt force="true" style="${docbookdir}/../toHTML.xsl" in="${docbooksource}/BruteXServices_User_Guide.dbk" out="${htmldir}/index.html">
<factory name="${xalan}" />
<param name="base.dir" expression="${htmldir}/" />
<param name="use.id.as.filename" expression="1" />
@ -36,9 +32,7 @@
<target name="create-webdoc" depends="clean-doc, merge">
<xslt force="true" style="${docbookdir}/../fo/docbook.xsl"
in="${docbooksource}/BruteXServices_User_Guide.dbk"
out="${htmldir}/xservices.fo">
<xslt force="true" style="${docbookdir}/../fo/docbook.xsl" in="${docbooksource}/BruteXServices_User_Guide.dbk" out="${htmldir}/xservices.fo">
<factory name="${xalan}" />
<param name="base.dir" expression="${htmldir}/" />
<param name="use.id.as.filename" expression="1" />
@ -46,4 +40,11 @@
</xslt>
</target>
<!-- =================================
target: resolve
================================= -->
<target name="resolve" description="--> retrieve dependencies with ivy">
<ivy:retrieve />
</target>
</project>

43
ivy.xml Normal file
View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
<info
organisation="Brutex Network"
module="XServices"
status="integration">
</info>
<dependencies>
<dependency org="org.apache.commons" name="commons-lang3" rev="3.1"/>
<dependency org="commons-configuration" name="commons-configuration" rev="1.9"/>
<dependency org="org.apache.ant" name="ant" rev="1.8.4"/>
<dependency org="org.apache.ant" name="ant-nodeps" rev="1.8.1"/>
<dependency org="org.apache.ant" name="ant-jsch" rev="1.8.4"/>
<dependency org="quartz" name="quartz" rev="1.5.2" />
<dependency org="log4j" name="log4j" rev="1.2.17"/>
<dependency org="org.apache.ws.commons.axiom" name="axiom-impl" rev="1.2.14"
transitive="false"/>
</dependencies>
</ivy-module>

21
ivysettings.xml Normal file
View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<ivysettings>
<settings defaultResolver="default-chain"/>
<resolvers>
<chain name="default-chain">
<ibiblio name="java.net" m2compatible="true" root="http://download.java.net/maven/2"/>
<ibiblio name="jboss" root="http://repository.jboss.com/maven2"
m2compatible="true" usepoms="false"/>
<url name="com.springsource.repository.bundles.release">
<ivy pattern="http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
<artifact pattern="http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
</url>
<url name="com.springsource.repository.bundles.external">
<ivy pattern="http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
<artifact pattern="http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
</url>
<ibiblio name="ibiblio" m2compatible="true"/>
</chain>
</resolvers>
</ivysettings>