You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:14:45 UTC

[sling-maven-jcrocm-plugin] 11/32: Rename XML root element to jackrabbit-ocm, which is the correct root element of the Jackrabbit OCM.

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag maven-jcrocm-plugin-2.0.2-incubator
in repository https://gitbox.apache.org/repos/asf/sling-maven-jcrocm-plugin.git

commit 483b1c8df7e6b3b002c74b1dea1d5b59686c0c7c
Author: Felix Meschberger <fm...@apache.org>
AuthorDate: Wed Nov 7 20:29:51 2007 +0000

    Rename XML root element to jackrabbit-ocm, which is the correct root element
    of the Jackrabbit OCM.
    
    git-svn-id: https://svn.apache.org/repos/asf/incubator/sling/trunk/maven/maven-jcrocm-plugin@592879 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/maven/jcrocm/JcrOcmMojo.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/sling/maven/jcrocm/JcrOcmMojo.java b/src/main/java/org/apache/sling/maven/jcrocm/JcrOcmMojo.java
index 6907b66..523a1fd 100644
--- a/src/main/java/org/apache/sling/maven/jcrocm/JcrOcmMojo.java
+++ b/src/main/java/org/apache/sling/maven/jcrocm/JcrOcmMojo.java
@@ -95,7 +95,7 @@ public class JcrOcmMojo extends AbstractMojo {
             } catch (OutOfMemoryError oome) {
                 // this may be the case for big sources and not enough VM mem
                 builder = null; // drop the builder to help GC now
-                
+
                 // fail with some explanation
                 throw new MojoFailureException(
                     "Failed analyzing source due to not enough memory, try setting Max Heap Size higher, e.g. using MAVEN_OPTS=-Xmx128m");
@@ -150,12 +150,12 @@ public class JcrOcmMojo extends AbstractMojo {
         try {
             descriptorStream = new FileOutputStream(descriptorFile);
             xw = new XMLWriter(descriptorStream, false);
-            xw.printElementStart("graffito-jcr", false);
+            xw.printElementStart("jackrabbit-ocm", false);
             for (Iterator di=descriptors.iterator(); di.hasNext(); ) {
                 ClassDescriptor sd = (ClassDescriptor) di.next();
                 sd.generate(xw);
             }
-            xw.printElementEnd("graffito-jcr");
+            xw.printElementEnd("jackrabbit-ocm");
 
         } catch (IOException ioe) {
             hasFailures = true;

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.