Revision: 30266
Author:   uhommes
Date:     2011-09-17 10:41:58 +0200 (Sat, 17 Sep 2011)
Log Message:
-----------
REPO-213 seperate repository checker into embeddable module and standalone 
application

Modified Paths:
--------------
    hippo-cms7/repository/trunk/checker/pom.xml

Added Paths:
-----------
    hippo-cms7/repository/trunk/checker-app/
    hippo-cms7/repository/trunk/checker-app/pom.xml
    hippo-cms7/repository/trunk/checker-app/src/
    hippo-cms7/repository/trunk/checker-app/src/main/
    hippo-cms7/repository/trunk/checker-app/src/main/resources/
    hippo-cms7/repository/trunk/checker-app/src/main/resources/log4j.xml

Removed Paths:
-------------
    hippo-cms7/repository/trunk/checker/src/main/resources/

Modified: hippo-cms7/repository/trunk/checker/pom.xml
===================================================================
--- hippo-cms7/repository/trunk/checker/pom.xml 2011-09-17 04:16:04 UTC (rev 
30265)
+++ hippo-cms7/repository/trunk/checker/pom.xml 2011-09-17 08:41:58 UTC (rev 
30266)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?><!--
-  Copyright 2010 Hippo.
+  Copyright 2010-2011 Hippo.
  
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
@@ -15,219 +15,26 @@
 --><project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>
 
+  <parent>
+    <groupId>org.onehippo.cms7</groupId>
+    <artifactId>hippo-repository</artifactId>
+    <version>2.21.02-SNAPSHOT</version>
+  </parent>
+
   <name>Repository Checker</name>
   <description>Hippo Repository Consistency Checker</description>
-  <groupId>org.onehippo.cms7</groupId>
   <artifactId>hippo-repository-checker</artifactId>
-  <version>2.21.02-SNAPSHOT</version>
   <packaging>jar</packaging>
 
-  <prerequisites>
-    <maven>[2.2.1,)</maven>
-  </prerequisites>
-
-  <organization>
-    <name>Hippo</name>
-    <url>http://www.onehippo.com/</url>
-  </organization>
-
-  <licenses>
-    <license>
-      <name>The Apache Software License, Version 2.0</name>
-      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-      <distribution>repo</distribution>
-    </license>
-  </licenses>
-
-  <scm>
-    
<connection>scm:svn:http://svn.onehippo.org/repos/hippo/hippo-cms7/repository/trunk/checker</connection>
-    
<developerConnection>scm:svn:https://svn.onehippo.org/repos/hippo/hippo-cms7/repository/trunk/checker</developerConnection>
-    
<url>http://svn.onehippo.org/repos/hippo/hippo-cms7/repository/trunk/checker</url>
-  </scm>
-
-  <developers>
-    <developer>
-      <name>(Berry) A.W. van Halderen</name>
-      <id>bvanhalderen</id>
-      <organization>Hippo</organization>
-      <roles>
-        <role>Java Developer</role>
-      </roles>
-      <timezone>+1</timezone>
-    </developer>
-  </developers>
-
   <dependencies>
     <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>jackrabbit-core</artifactId>
-      <version>2.2.5</version>
     </dependency>
     <dependency>
       <groupId>javax.jcr</groupId>
       <artifactId>jcr</artifactId>
-      <version>2.0</version>
-      <scope>compile</scope>
     </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-core</artifactId>
-      <version>2.3.2</version>
-    </dependency>
-    <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
-      <version>5.0.8</version>
-      <!-- scope>runtime</scope -->
-    </dependency>
   </dependencies>
 
-  <repositories>
-    <repository>
-      <id>hippo</id>
-      <name>Hippo Maven 2</name>
-      <url>http://maven.onehippo.com/maven2/</url>
-      <snapshots>
-        <enabled>false</enabled>
-      </snapshots>
-      <releases>
-        <updatePolicy>never</updatePolicy>
-      </releases>
-    </repository>
-  </repositories>
-
-  <distributionManagement>
-    <site>
-      <id>repodocs.hippocms.org</id>
-      <url>scp://[email protected]/home/repo2site/www</url>
-    </site>
-    <repository>
-      <name>Hippo Maven 2 Repository</name>
-      <id>hippo-maven2</id>
-      <url>https://maven.onehippo.com/content/repositories/releases/</url>
-      <uniqueVersion>false</uniqueVersion>
-    </repository>
-    <snapshotRepository>
-      <id>hippo-maven2-snapshots</id>
-      <name>Hippo Maven 2 Snapshots Repository</name>
-      <url>https://maven.onehippo.com/content/repositories/snapshots/</url>
-      <uniqueVersion>false</uniqueVersion>
-    </snapshotRepository>
-  </distributionManagement>
-
-  <build>
-   <plugins>
-      <plugin>
-        <inherited>true</inherited>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>2.3.2</version>
-        <configuration>
-          <fork>true</fork>
-          <meminitial>128m</meminitial>
-          <maxmem>256m</maxmem>
-          <target>1.6</target>
-          <source>1.6</source>
-        </configuration>
-      </plugin>
-      <plugin>
-        <inherited>true</inherited>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-source-plugin</artifactId>
-        <version>2.1.2</version>
-        <executions>
-          <execution>
-            <id>attach-sources</id>
-            <goals>
-              <goal>jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <inherited>true</inherited>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <version>2.5</version>
-      </plugin>
-      <plugin>      
-        <inherited>true</inherited>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-remote-resources-plugin</artifactId>
-        <version>1.1</version>  
-        <executions>
-          <execution>
-            <goals>
-              <goal>process</goal>
-            </goals>
-            <configuration>
-              <resourceBundles>
-                
<resourceBundle>org.apache:apache-jar-resource-bundle:1.2</resourceBundle>
-              </resourceBundles>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <inherited>true</inherited>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-release-plugin</artifactId>
-        <version>2.1</version>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <version>1.1</version>
-        <executions>
-          <execution>
-            <goals>
-              <goal>java</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <mainClass>org.hippoecm.checker.Main</mainClass>
-          <arguments>
-            
<argument>jdbc:mysql://localhost:3306/hreptwo?user=hippo&amp;password=hippo</argument>
-            
<argument>/home/berry/projects/duitslandweb/repackage/storage/workspaces/default/index</argument>
-          </arguments>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <version>2.3.1</version>
-        <inherited>true</inherited>
-        <configuration>
-          <archive>
-            <manifest>
-              <mainClass>org.hippoecm.checker.Main</mainClass>
-            </manifest>
-          </archive>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-        <version>1.4</version>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>shade</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <finalName>${project.artifactId}-${project.version}-uber</finalName>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
 </project>


Property changes on: hippo-cms7/repository/trunk/checker-app
___________________________________________________________________
Added: svn:ignore
   + target
.settings
.classpath
.project


Copied: hippo-cms7/repository/trunk/checker-app/pom.xml (from rev 30211, 
hippo-cms7/repository/trunk/checker/pom.xml)
===================================================================
--- hippo-cms7/repository/trunk/checker-app/pom.xml                             
(rev 0)
+++ hippo-cms7/repository/trunk/checker-app/pom.xml     2011-09-17 08:41:58 UTC 
(rev 30266)
@@ -0,0 +1,232 @@
+<?xml version="1.0" encoding="UTF-8"?><!--
+  Copyright 2010-2011 Hippo.
+ 
+  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 xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+
+  <name>Repository Checker Application</name>
+  <description>Hippo Repository Consistency Checker Application</description>
+  <groupId>org.onehippo.cms7</groupId>
+  <artifactId>hippo-repository-checker-app</artifactId>
+  <version>2.21.02-SNAPSHOT</version>
+  <packaging>jar</packaging>
+
+  <prerequisites>
+    <maven>[2.2.1,)</maven>
+  </prerequisites>
+
+  <organization>
+    <name>Hippo</name>
+    <url>http://www.onehippo.com/</url>
+  </organization>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    
<connection>scm:svn:http://svn.onehippo.org/repos/hippo/hippo-cms7/repository/trunk/checker</connection>
+    
<developerConnection>scm:svn:https://svn.onehippo.org/repos/hippo/hippo-cms7/repository/trunk/checker</developerConnection>
+    
<url>http://svn.onehippo.org/repos/hippo/hippo-cms7/repository/trunk/checker</url>
+  </scm>
+
+  <developers>
+    <developer>
+      <name>(Berry) A.W. van Halderen</name>
+      <id>bvanhalderen</id>
+      <organization>Hippo</organization>
+      <roles>
+        <role>Java Developer</role>
+      </roles>
+      <timezone>+1</timezone>
+    </developer>
+  </developers>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.onehippo.cms7</groupId>
+      <artifactId>hippo-repository-checker</artifactId>
+      <version>2.21.02-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.jackrabbit</groupId>
+      <artifactId>jackrabbit-core</artifactId>
+      <version>2.2.5</version>
+    </dependency>
+    <dependency>
+      <groupId>javax.jcr</groupId>
+      <artifactId>jcr</artifactId>
+      <version>2.0</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-core</artifactId>
+      <version>2.3.2</version>
+    </dependency>
+    <dependency>
+      <groupId>mysql</groupId>
+      <artifactId>mysql-connector-java</artifactId>
+      <version>5.0.8</version>
+      <!-- scope>runtime</scope -->
+    </dependency>
+  </dependencies>
+
+  <repositories>
+    <repository>
+      <id>hippo</id>
+      <name>Hippo Maven 2</name>
+      <url>http://maven.onehippo.com/maven2/</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+        <updatePolicy>never</updatePolicy>
+      </releases>
+    </repository>
+  </repositories>
+
+  <distributionManagement>
+    <site>
+      <id>repodocs.hippocms.org</id>
+      <url>scp://[email protected]/home/repo2site/www</url>
+    </site>
+    <repository>
+      <name>Hippo Maven 2 Repository</name>
+      <id>hippo-maven2</id>
+      <url>https://maven.onehippo.com/content/repositories/releases/</url>
+      <uniqueVersion>false</uniqueVersion>
+    </repository>
+    <snapshotRepository>
+      <id>hippo-maven2-snapshots</id>
+      <name>Hippo Maven 2 Snapshots Repository</name>
+      <url>https://maven.onehippo.com/content/repositories/snapshots/</url>
+      <uniqueVersion>false</uniqueVersion>
+    </snapshotRepository>
+  </distributionManagement>
+
+  <build>
+   <plugins>
+      <plugin>
+        <inherited>true</inherited>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.3.2</version>
+        <configuration>
+          <fork>true</fork>
+          <meminitial>128m</meminitial>
+          <maxmem>256m</maxmem>
+          <target>1.6</target>
+          <source>1.6</source>
+        </configuration>
+      </plugin>
+      <plugin>
+        <inherited>true</inherited>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <version>2.1.2</version>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <inherited>true</inherited>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <version>2.5</version>
+      </plugin>
+      <plugin>      
+        <inherited>true</inherited>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-remote-resources-plugin</artifactId>
+        <version>1.1</version>  
+        <executions>
+          <execution>
+            <goals>
+              <goal>process</goal>
+            </goals>
+            <configuration>
+              <resourceBundles>
+                
<resourceBundle>org.apache:apache-jar-resource-bundle:1.2</resourceBundle>
+              </resourceBundles>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <inherited>true</inherited>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-release-plugin</artifactId>
+        <version>2.1</version>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <version>1.1</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>java</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <mainClass>org.hippoecm.checker.Main</mainClass>
+          <arguments>
+            
<argument>jdbc:mysql://localhost:3306/hreptwo?user=hippo&amp;password=hippo</argument>
+            
<argument>/home/berry/projects/duitslandweb/repackage/storage/workspaces/default/index</argument>
+          </arguments>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.3.1</version>
+        <inherited>true</inherited>
+        <configuration>
+          <archive>
+            <manifest>
+              <mainClass>org.hippoecm.checker.Main</mainClass>
+            </manifest>
+          </archive>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <version>1.4</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>shade</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <finalName>${project.artifactId}-${project.version}-uber</finalName>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Copied: hippo-cms7/repository/trunk/checker-app/src/main/resources/log4j.xml 
(from rev 30243, 
hippo-cms7/repository/trunk/checker/src/main/resources/log4j.xml)
===================================================================
--- hippo-cms7/repository/trunk/checker-app/src/main/resources/log4j.xml        
                        (rev 0)
+++ hippo-cms7/repository/trunk/checker-app/src/main/resources/log4j.xml        
2011-09-17 08:41:58 UTC (rev 30266)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/";>
+  <appender name="console" class="org.apache.log4j.ConsoleAppender">
+    <param name="Target" value="System.err"/>
+    <layout class="org.apache.log4j.SimpleLayout"/>
+  </appender>
+  <category additivity="false" name="org.onehippo.checker">
+    <level value="debug"/>
+    <appender-ref ref="console"/>
+  </category>
+  <category additivity="false" 
name="org.hippoecm.repository.export.ExportModule">
+    <level value="warn"/>
+    <appender-ref ref="console"/>
+  </category>
+  <root>
+    <level value="debug"/>
+    <appender-ref ref="console"/>
+  </root>
+</log4j:configuration>

_______________________________________________
Hippocms-svn mailing list
[email protected]
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to