You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ed...@apache.org on 2007/06/07 21:34:57 UTC

svn commit: r545277 - in /jackrabbit/trunk/contrib/jcr-commands: ./ src/assemble/

Author: edgarpoce
Date: Thu Jun  7 12:34:55 2007
New Revision: 545277

URL: http://svn.apache.org/viewvc?view=rev&rev=545277
Log:
jcr-commands remove maven 1.0 build, use maven 2 assembly plugin

Added:
    jackrabbit/trunk/contrib/jcr-commands/src/assemble/
    jackrabbit/trunk/contrib/jcr-commands/src/assemble/distribution.xml
    jackrabbit/trunk/contrib/jcr-commands/src/assemble/filter.properties
Removed:
    jackrabbit/trunk/contrib/jcr-commands/CHANGES.txt
    jackrabbit/trunk/contrib/jcr-commands/checkstyle-suppressions.xml
    jackrabbit/trunk/contrib/jcr-commands/checkstyle.xml
    jackrabbit/trunk/contrib/jcr-commands/maven.xml
    jackrabbit/trunk/contrib/jcr-commands/project.properties
    jackrabbit/trunk/contrib/jcr-commands/project.xml
Modified:
    jackrabbit/trunk/contrib/jcr-commands/   (props changed)
    jackrabbit/trunk/contrib/jcr-commands/README.txt
    jackrabbit/trunk/contrib/jcr-commands/TODO.txt
    jackrabbit/trunk/contrib/jcr-commands/pom.xml

Propchange: jackrabbit/trunk/contrib/jcr-commands/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Thu Jun  7 12:34:55 2007
@@ -1,2 +1,4 @@
 target
 target
+.classpath
+.project

Modified: jackrabbit/trunk/contrib/jcr-commands/README.txt
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-commands/README.txt?view=diff&rev=545277&r1=545276&r2=545277
==============================================================================
--- jackrabbit/trunk/contrib/jcr-commands/README.txt (original)
+++ jackrabbit/trunk/contrib/jcr-commands/README.txt Thu Jun  7 12:34:55 2007
@@ -9,7 +9,7 @@
 
 Building
 ------------------
-call "maven jar" and you'll find a zip file containing the command line interface
+mvn clean install assembly:assembly
 
 USING
 ------------------

Modified: jackrabbit/trunk/contrib/jcr-commands/TODO.txt
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-commands/TODO.txt?view=diff&rev=545277&r1=545276&r2=545277
==============================================================================
--- jackrabbit/trunk/contrib/jcr-commands/TODO.txt (original)
+++ jackrabbit/trunk/contrib/jcr-commands/TODO.txt Thu Jun  7 12:34:55 2007
@@ -2,6 +2,5 @@
 - javadocs
 - testing
 - review i18n resource file
-- replace the parser, it hardly works
 - friendly exception handling in interactive mode
 - review command syntax

Modified: jackrabbit/trunk/contrib/jcr-commands/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-commands/pom.xml?view=diff&rev=545277&r1=545276&r2=545277
==============================================================================
--- jackrabbit/trunk/contrib/jcr-commands/pom.xml (original)
+++ jackrabbit/trunk/contrib/jcr-commands/pom.xml Thu Jun  7 12:34:55 2007
@@ -28,7 +28,7 @@
 
 	<groupId>org.apache.jackrabbit</groupId>
 	<artifactId>jcr-commands</artifactId>
-	<version>1.3-SNAPSHOT</version>
+	<version>1.4-SNAPSHOT</version>
 	<packaging>jar</packaging>
 
 	<name>JCR commands</name>
@@ -56,10 +56,16 @@
 		<dependency>
 			<groupId>org.apache.jackrabbit</groupId>
 			<artifactId>jackrabbit-core</artifactId>
-			<version>1.3-SNAPSHOT</version>
+			<version>${pom.version}</version>
 			<scope>compile</scope>
 		</dependency>
 
+        <dependency>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-log4j12</artifactId>
+          <version>1.3.0</version>
+        </dependency>
+
 	    <dependency>
 	      <groupId>org.apache.derby</groupId>
 	      <artifactId>derby</artifactId>
@@ -70,7 +76,7 @@
 		<dependency>
 			<groupId>org.apache.jackrabbit</groupId>
 			<artifactId>jackrabbit-jcr-rmi</artifactId>
-			<version>1.3-SNAPSHOT</version>
+			<version>${pom.version}</version>
 			<type>jar</type>
 		</dependency>
 
@@ -155,7 +161,16 @@
           </archive>
         </configuration>
       </plugin>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <configuration>
+          <descriptors>
+            <descriptor>src/assemble/distribution.xml</descriptor>
+          </descriptors>
+        </configuration>
+      </plugin>	  
 			</plugins>
 		</pluginManagement>
 	</build>
+	
 </project>

Added: jackrabbit/trunk/contrib/jcr-commands/src/assemble/distribution.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-commands/src/assemble/distribution.xml?view=auto&rev=545277
==============================================================================
--- jackrabbit/trunk/contrib/jcr-commands/src/assemble/distribution.xml (added)
+++ jackrabbit/trunk/contrib/jcr-commands/src/assemble/distribution.xml Thu Jun  7 12:34:55 2007
@@ -0,0 +1,42 @@
+<assembly>
+  <id>distribution</id>
+  <formats>
+    <format>zip</format>
+  </formats> 
+  <fileSets>
+    <outputDirectory>/bin</outputDirectory>
+    <fileSet>
+      <directory>/src/bin</directory>	
+      <outputDirectory>/bin</outputDirectory>
+	  <includes>
+		<include>*.*</include>
+	  </includes>
+    </fileSet>
+    <fileSet>
+      <directory>target/classes</directory>
+      <outputDirectory>/classes</outputDirectory>
+      <includes>
+        <include>**</include>
+      </includes>
+    </fileSet>	
+  </fileSets>
+  <files>
+    <file>
+      <source>README.txt</source>
+      <outputDirectory>/</outputDirectory>
+      <filtered>true</filtered>
+    </file>
+    <file>
+      <source>LICENSE.txt</source>
+      <outputDirectory>/</outputDirectory>
+    </file>
+  </files>
+  <dependencySets>
+    <dependencySet>
+      <outputDirectory>/lib</outputDirectory>
+      <includes>
+        <include>*:jar</include>
+      </includes>
+    </dependencySet>
+  </dependencySets>  
+</assembly>
\ No newline at end of file

Added: jackrabbit/trunk/contrib/jcr-commands/src/assemble/filter.properties
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-commands/src/assemble/filter.properties?view=auto&rev=545277
==============================================================================
    (empty)