Ha, cunning, been trying to work out how to dry up my ivy files for ages...
On 10 Dec 2012, at 16:13, Uwe Schindler wrote: > Approved by the XML policeman :-) > > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > >> -----Original Message----- >> From: rm...@apache.org [mailto:rm...@apache.org] >> Sent: Monday, December 10, 2012 5:12 PM >> To: comm...@lucene.apache.org >> Subject: svn commit: r1419551 - /lucene/dev/trunk/solr/example/ivy.xml >> >> Author: rmuir >> Date: Mon Dec 10 16:12:25 2012 >> New Revision: 1419551 >> >> URL: http://svn.apache.org/viewvc?rev=1419551&view=rev >> Log: >> declare jetty.version as entity to remove the 10x duplication (asking for >> trouble upgrading in the future) >> >> Modified: >> lucene/dev/trunk/solr/example/ivy.xml >> >> Modified: lucene/dev/trunk/solr/example/ivy.xml >> URL: >> http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/ivy.xml?rev= >> 1419551&r1=1419550&r2=1419551&view=diff >> ========================================================== >> ==================== >> --- lucene/dev/trunk/solr/example/ivy.xml (original) >> +++ lucene/dev/trunk/solr/example/ivy.xml Mon Dec 10 16:12:25 2012 >> @@ -16,6 +16,9 @@ >> specific language governing permissions and limitations >> under the License. >> --> >> +<!DOCTYPE ivy-module [ >> + <!ENTITY jetty.version "8.1.8.v20121106"> ]> >> <ivy-module version="2.0"> >> <info organisation="org.apache.solr" module="example"/> >> <configurations> >> @@ -25,18 +28,18 @@ >> </configurations> >> >> <dependencies> >> - <dependency org="org.eclipse.jetty" name="jetty-continuation" >> rev="8.1.8.v20121106" transitive="false" conf="jetty->default"/> >> - <dependency org="org.eclipse.jetty" name="jetty-deploy" >> rev="8.1.8.v20121106" transitive="false" conf="jetty->default"/> >> - <dependency org="org.eclipse.jetty" name="jetty-http" >> rev="8.1.8.v20121106" transitive="false" conf="jetty->default"/> >> - <dependency org="org.eclipse.jetty" name="jetty-io" >> rev="8.1.8.v20121106" transitive="false" conf="jetty->default"/> >> - <dependency org="org.eclipse.jetty" name="jetty-jmx" >> rev="8.1.8.v20121106" transitive="false" conf="jetty->default"/> >> - <dependency org="org.eclipse.jetty" name="jetty-security" >> rev="8.1.8.v20121106" transitive="false" conf="jetty->default"/> >> - <dependency org="org.eclipse.jetty" name="jetty-server" >> rev="8.1.8.v20121106" transitive="false" conf="jetty->default"/> >> - <dependency org="org.eclipse.jetty" name="jetty-servlet" >> rev="8.1.8.v20121106" transitive="false" conf="jetty->default"/> >> - <dependency org="org.eclipse.jetty" name="jetty-util" >> rev="8.1.8.v20121106" transitive="false" conf="jetty->default"/> >> - <dependency org="org.eclipse.jetty" name="jetty-webapp" >> rev="8.1.8.v20121106" transitive="false" conf="jetty->default"/> >> - <dependency org="org.eclipse.jetty" name="jetty-xml" >> rev="8.1.8.v20121106" transitive="false" conf="jetty->default"/> >> - <dependency org="org.eclipse.jetty" name="jetty-start" >> rev="8.1.8.v20121106" transitive="false" conf="start->default"/> >> + <dependency org="org.eclipse.jetty" name="jetty-continuation" >> rev="&jetty.version;" transitive="false" conf="jetty->default"/> >> + <dependency org="org.eclipse.jetty" name="jetty-deploy" >> rev="&jetty.version;" transitive="false" conf="jetty->default"/> >> + <dependency org="org.eclipse.jetty" name="jetty-http" >> rev="&jetty.version;" transitive="false" conf="jetty->default"/> >> + <dependency org="org.eclipse.jetty" name="jetty-io" >> rev="&jetty.version;" transitive="false" conf="jetty->default"/> >> + <dependency org="org.eclipse.jetty" name="jetty-jmx" >> rev="&jetty.version;" transitive="false" conf="jetty->default"/> >> + <dependency org="org.eclipse.jetty" name="jetty-security" >> rev="&jetty.version;" transitive="false" conf="jetty->default"/> >> + <dependency org="org.eclipse.jetty" name="jetty-server" >> rev="&jetty.version;" transitive="false" conf="jetty->default"/> >> + <dependency org="org.eclipse.jetty" name="jetty-servlet" >> rev="&jetty.version;" transitive="false" conf="jetty->default"/> >> + <dependency org="org.eclipse.jetty" name="jetty-util" >> rev="&jetty.version;" transitive="false" conf="jetty->default"/> >> + <dependency org="org.eclipse.jetty" name="jetty-webapp" >> rev="&jetty.version;" transitive="false" conf="jetty->default"/> >> + <dependency org="org.eclipse.jetty" name="jetty-xml" >> rev="&jetty.version;" transitive="false" conf="jetty->default"/> >> + <dependency org="org.eclipse.jetty" name="jetty-start" >> + rev="&jetty.version;" transitive="false" conf="start->default"/> >> <dependency org="org.eclipse.jetty.orbit" name="javax.servlet" >> rev="3.0.0.v201112011016" transitive="false" conf="servlet->default"> >> <artifact name="javax.servlet" type="orbit" ext="jar"/> >> </dependency> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org