jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trei...@apache.org
Subject svn commit: rev 47192 - incubator/jackrabbit/trunk
Date Sat, 25 Sep 2004 08:47:07 GMT
Author: treilly
Date: Sat Sep 25 01:47:06 2004
New Revision: 47192

Added:
   incubator/jackrabbit/trunk/maven.xml
Log:
Created maven xml default goal is jar + post goal to correct build.xml

Added: incubator/jackrabbit/trunk/maven.xml
==============================================================================
--- (empty file)
+++ incubator/jackrabbit/trunk/maven.xml	Sat Sep 25 01:47:06 2004
@@ -0,0 +1,36 @@
+<!--
+   Copyright 2004 The Apache Software Foundation
+
+   Licensed 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.
+-->
+
+<project
+  default="jar:jar"
+  xmlns:j="jelly:core"
+  xmlns:ant="jelly:ant">
+
+
+	<postGoal name="ant:generate-build">
+		<attainGoal	name="jackrabbit:post-ant"/>
+	</postGoal>
+	
+	<!-- Goal adds a line to build.xml to include the ./lib in ant classpath -->
+	<!-- Once jcr.jar is in a maven repository this can be removed -->
+  	<goal name="jackrabbit:post-ant">
+      	<ant:replace 
+      		file="build.xml"
+      		token="&lt;path id=&quot;build.classpath&quot;&gt;"
+      		value="&lt;path id=&quot;build.classpath&quot;&gt;&lt;fileset
dir=&quot;./lib&quot;&gt;&lt;include name=&quot;**/*.jar&quot;>&lt;/include&gt;&lt;/fileset&gt;"
+    />
+  	</goal>
+</project>
\ No newline at end of file

Mime
View raw message