Added: 
directmemory/lightning/trunk/lightning-maven-plugin/src/main/resources/marshaller.vm
URL: 
http://svn.apache.org/viewvc/directmemory/lightning/trunk/lightning-maven-plugin/src/main/resources/marshaller.vm?rev=1392595&view=auto
==============================================================================
--- 
directmemory/lightning/trunk/lightning-maven-plugin/src/main/resources/marshaller.vm
 (added)
+++ 
directmemory/lightning/trunk/lightning-maven-plugin/src/main/resources/marshaller.vm
 Mon Oct  1 20:57:42 2012
@@ -0,0 +1,96 @@
+#**
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you 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.
+*#
+package ${packageName};
+
+import java.io.DataInput;
+import java.io.DataOutput;
+import java.io.IOException;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.directmemory.lightning.Marshaller;
+import org.apache.directmemory.lightning.SerializationContext;
+import 
org.apache.directmemory.lightning.instantiator.ObjectInstantiatorFactory;
+import 
org.apache.directmemory.lightning.internal.ClassDescriptorAwareSerializer;
+import 
org.apache.directmemory.lightning.internal.generator.AbstractGeneratedMarshaller;
+import org.apache.directmemory.lightning.metadata.ValuePropertyAccessor;
+import org.apache.directmemory.lightning.metadata.PropertyDescriptor;
+
+public final class ${className} extends AbstractGeneratedMarshaller {
+
+#foreach( $property in ${properties} )
+       private final PropertyDescriptor 
${support.toFinalFieldName("descriptor", $property)};
+       private final Marshaller ${support.toFinalFieldName("marshaller", 
$property)};
+       private final ValuePropertyAccessor 
${support.toFinalFieldName("accessor", $property)};
+#end
+
+       public ${className} (Class<?> marshalledType, Map<Class<?>, Marshaller> 
marshallers,
+               ClassDescriptorAwareSerializer serializer, 
ObjectInstantiatorFactory objectInstantiatorFactory,
+               List<PropertyDescriptor> propertyDescriptors) {
+               
+               super(marshalledType, marshallers, serializer, 
objectInstantiatorFactory);
+#set( $index = 0)
+#foreach( $property in ${properties} )
+               ${support.toFinalFieldName("descriptor", $property)} = 
propertyDescriptors.get(${index});
+               
+               PropertyDescriptor ${property.propertyName} = 
findPropertyDescriptor("${property.propertyName}", propertyDescriptors);
+               Marshaller ${property.propertyName}Marshaller = 
${property.propertyName}.getMarshaller();
+               if (${property.propertyName}Marshaller == null) {
+                       ${property.propertyName}Marshaller = 
findMarshaller(${property.propertyName});
+               }
+               ${support.toFinalFieldName("marshaller", $property)} = 
${property.propertyName}Marshaller;
+
+               ${support.toFinalFieldName("accessor", $property)} = 
(ValuePropertyAccessor) getPropertyAccessor("${property.propertyName}");
+#set( $index = $index + 1)
+#end   
+       }
+       
+       public void marshall(Object value, PropertyDescriptor 
propertyDescriptor, DataOutput dataOutput, SerializationContext 
serializationContext) throws IOException {
+               if (isAlreadyMarshalled(value, propertyDescriptor.getType(), 
dataOutput, serializationContext)) {
+                       return;
+               }
+
+#foreach( $property in ${properties} )
+               ValuePropertyAccessor ${property.propertyName}PropertyAccessor 
= this.${support.toFinalFieldName("accessor", $property)};
+               PropertyDescriptor ${property.propertyName}PropertyDescriptor = 
this.${support.toFinalFieldName("descriptor", $property)};
+               this.${support.toFinalFieldName("marshaller", 
$property)}.marshall(${support.generateReader($property)}, 
${property.propertyName}PropertyDescriptor, dataOutput, serializationContext);
+
+#end
+       }
+       
+       public <V> V unmarshall(V instance, PropertyDescriptor 
propertyDescriptor, DataInput dataInput, SerializationContext 
serializationContext) throws IOException {
+#foreach( $property in ${properties} )
+               ValuePropertyAccessor ${property.propertyName}PropertyAccessor 
= this.${support.toFinalFieldName("accessor", $property)};
+               PropertyDescriptor ${property.propertyName}PropertyDescriptor = 
this.${support.toFinalFieldName("descriptor", $property)};
+               Object ${property.propertyName}Value = 
this.${support.toFinalFieldName("marshaller", 
$property)}.unmarshall(${property.propertyName}PropertyDescriptor, dataInput, 
serializationContext);
+               ${support.generateWriter($property, "instance")}
+
+#end
+               return instance;
+       }
+       
+       private PropertyDescriptor findPropertyDescriptor(String propertyName, 
List<PropertyDescriptor> propertyDescriptors) {
+               for (PropertyDescriptor propertyDescriptor : 
propertyDescriptors) {
+                       if 
(propertyDescriptor.getPropertyName().equals(propertyName)) {
+                               return propertyDescriptor;
+                       }
+               }
+               return null;
+       }
+}

Propchange: 
directmemory/lightning/trunk/lightning-maven-plugin/src/main/resources/marshaller.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
directmemory/lightning/trunk/lightning-maven-plugin/src/main/resources/marshaller.vm
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: 
directmemory/lightning/trunk/lightning-maven-plugin/src/main/resources/velocity.properties
URL: 
http://svn.apache.org/viewvc/directmemory/lightning/trunk/lightning-maven-plugin/src/main/resources/velocity.properties?rev=1392595&view=auto
==============================================================================
--- 
directmemory/lightning/trunk/lightning-maven-plugin/src/main/resources/velocity.properties
 (added)
+++ 
directmemory/lightning/trunk/lightning-maven-plugin/src/main/resources/velocity.properties
 Mon Oct  1 20:57:42 2012
@@ -0,0 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+runtime.log=target/velocity.log
+resource.loader = class
+class.resource.loader.description = Velocity Classpath Loader
+class.resource.loader.class = 
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
\ No newline at end of file

Propchange: 
directmemory/lightning/trunk/lightning-maven-plugin/src/main/resources/velocity.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
directmemory/lightning/trunk/lightning-maven-plugin/src/main/resources/velocity.properties
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: 
directmemory/lightning/trunk/lightning-maven-plugin/src/test/java/org/apache/directmemory/lightning/maven/GeneratorTestCase.java
URL: 
http://svn.apache.org/viewvc/directmemory/lightning/trunk/lightning-maven-plugin/src/test/java/org/apache/directmemory/lightning/maven/GeneratorTestCase.java?rev=1392595&view=auto
==============================================================================
--- 
directmemory/lightning/trunk/lightning-maven-plugin/src/test/java/org/apache/directmemory/lightning/maven/GeneratorTestCase.java
 (added)
+++ 
directmemory/lightning/trunk/lightning-maven-plugin/src/test/java/org/apache/directmemory/lightning/maven/GeneratorTestCase.java
 Mon Oct  1 20:57:42 2012
@@ -0,0 +1,37 @@
+/**
+ * Copyright 2012 the original author or authors.
+ *
+ * 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.
+ */
+package org.apache.directmemory.lightning.maven;
+
+import java.io.File;
+import java.net.URL;
+
+import org.apache.directmemory.lightning.maven.LightningGeneratorMojo;
+import org.apache.maven.plugin.testing.AbstractMojoTestCase;
+import org.junit.Test;
+
+public class GeneratorTestCase
+    extends AbstractMojoTestCase
+{
+
+    @Test
+    public void testGeneration()
+        throws Exception
+    {
+        URL url = getClass().getClassLoader().getResource( "generate-pom.xml" 
);
+        LightningGeneratorMojo mojo = (LightningGeneratorMojo) lookupMojo( 
"generate", new File( url.toURI() ) );
+        mojo.execute();
+    }
+}

Propchange: 
directmemory/lightning/trunk/lightning-maven-plugin/src/test/java/org/apache/directmemory/lightning/maven/GeneratorTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
directmemory/lightning/trunk/lightning-maven-plugin/src/test/java/org/apache/directmemory/lightning/maven/GeneratorTestCase.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: 
directmemory/lightning/trunk/lightning-maven-plugin/src/test/resources/generate-pom.xml
URL: 
http://svn.apache.org/viewvc/directmemory/lightning/trunk/lightning-maven-plugin/src/test/resources/generate-pom.xml?rev=1392595&view=auto
==============================================================================
--- 
directmemory/lightning/trunk/lightning-maven-plugin/src/test/resources/generate-pom.xml
 (added)
+++ 
directmemory/lightning/trunk/lightning-maven-plugin/src/test/resources/generate-pom.xml
 Mon Oct  1 20:57:42 2012
@@ -0,0 +1,50 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you 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/xsd/maven-4.0.0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>test</groupId>
+  <artifactId>test</artifactId>
+  <version>0</version>
+  <name>test</name>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.directmemory.lightning</groupId>
+        <artifactId>lightning-maven-plugin</artifactId>
+        <version>0.0.1-SNAPSHOT</version>
+        <executions>
+          <execution>
+            <goals>
+              generate
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+          
<generatedSourceDirectory>target/test-generate</generatedSourceDirectory>
+          <targetBuildDirectory>target/test-classes</targetBuildDirectory>
+          <compilerId>javac</compilerId>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>
\ No newline at end of file

Propchange: 
directmemory/lightning/trunk/lightning-maven-plugin/src/test/resources/generate-pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
directmemory/lightning/trunk/lightning-maven-plugin/src/test/resources/generate-pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: directmemory/lightning/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/directmemory/lightning/trunk/pom.xml?rev=1392595&view=auto
==============================================================================
--- directmemory/lightning/trunk/pom.xml (added)
+++ directmemory/lightning/trunk/pom.xml Mon Oct  1 20:57:42 2012
@@ -0,0 +1,461 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you 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/xsd/maven-4.0.0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.directmemory.lightning</groupId>
+  <artifactId>lightning-reactor</artifactId>
+  <version>0.0.1-SNAPSHOT</version>
+  <name>Lightning: Reactor</name>
+  <description>Lightning fast Java Serialization</description>
+  <packaging>pom</packaging>
+
+  <modules>
+    <module>lightning-core</module>
+    <module>lightning-maven-plugin</module>
+    <module>lightning-api</module>
+    <module>lightning-maven-integration-test</module>
+    <module>lightning-maven-eclipse-helper</module>
+    <module>lightning-maven-eclipse-helper-feature</module>
+    <module>lightning-integration</module>
+  </modules>
+
+  <distributionManagement>
+    <repository>
+      <id>sonatype-nexus-staging</id>
+      <name>Nexus Release Repository</name>
+      <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/
+                       </url>
+    </repository>
+    <snapshotRepository>
+      <id>sonatype-nexus-snapshots</id>
+      <name>Sonatype Nexus Snapshots</name>
+      <url>http://oss.sonatype.org/content/repositories/snapshots</url>
+    </snapshotRepository>
+  </distributionManagement>
+
+  <developers>
+    <developer>
+      <id>noctarius</id>
+      <name>Christoph Engelbert</name>
+      <roles>
+        <role>Committer</role>
+      </roles>
+    </developer>
+  </developers>
+
+  <licenses>
+    <license>
+      <name>Apache License Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+    </license>
+  </licenses>
+
+  <issueManagement>
+    <system>GitHub Issue Tracker</system>
+    <url>https://github.com/noctarius/Lightning/issues</url>
+  </issueManagement>
+
+  <scm>
+    <connection>scm:git:http://github.com/Lightning/Lightning</connection>
+    
<developerConnection>scm:git:https://github.com/Lightning/Lightning</developerConnection>
+    <url>http://github.com/Lightning/Lightning</url>
+  </scm>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+
+    <maven.version>[3.0.3,)</maven.version>
+  </properties>
+
+  <dependencyManagement>
+    <dependencies>
+      <!-- Core dependencies -->
+      <dependency>
+        <groupId>org.ow2.asm</groupId>
+        <artifactId>asm</artifactId>
+        <version>4.0</version>
+      </dependency>
+      <dependency>
+        <groupId>com.googlecode</groupId>
+        <artifactId>reflectasm</artifactId>
+        <version>1.01</version>
+        <exclusions>
+          <exclusion>
+            <groupId>asm</groupId>
+            <artifactId>asm</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>4.9</version>
+        <scope>test</scope>
+      </dependency>
+      <!-- Core dependencies -->
+
+      <!-- Integration dependencies -->
+      <dependency>
+        <groupId>org.jgroups</groupId>
+        <artifactId>jgroups</artifactId>
+        <version>3.0.4.Final</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-beans</artifactId>
+        <version>2.5.6</version>
+      </dependency>
+      <!-- Integration dependencies -->
+
+      <!-- Maven plugin dependencies -->
+      <dependency>
+        <groupId>org.apache.velocity</groupId>
+        <artifactId>velocity</artifactId>
+        <version>1.7</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.apache.maven</groupId>
+        <artifactId>maven-plugin-api</artifactId>
+        <version>${maven.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.maven</groupId>
+        <artifactId>maven-model</artifactId>
+        <version>${maven.version}</version>
+        <exclusions>
+          <exclusion>
+            <groupId>org.codehaus.plexus</groupId>
+            <artifactId>plexus-utils</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.maven</groupId>
+        <artifactId>maven-core</artifactId>
+        <version>${maven.version}</version>
+        <exclusions>
+          <exclusion>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-artifact</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-settings</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-settings-builder</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-repository-metadata</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-model-builder</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-aether-provider</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.sonatype.aether</groupId>
+            <artifactId>aether-impl</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.sonatype.aether</groupId>
+            <artifactId>aether-api</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.sonatype.aether</groupId>
+            <artifactId>aether-util</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.sonatype.sisu</groupId>
+            <artifactId>sisu-inject-plexus</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.codehaus.plexus</groupId>
+            <artifactId>plexus-interpolation</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.codehaus.plexus</groupId>
+            <artifactId>plexus-utils</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.codehaus.plexus</groupId>
+            <artifactId>plexus-classworlds</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.codehaus.plexus</groupId>
+            <artifactId>plexus-component-annotations</artifactId>
+          </exclusion>
+          <exclusion>
+            <groupId>org.sonatype.plexus</groupId>
+            <artifactId>plexus-sec-dispatcher</artifactId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+
+      <dependency>
+        <groupId>org.apache.maven.plugin-testing</groupId>
+        <artifactId>maven-plugin-testing-harness</artifactId>
+        <version>2.0-alpha-1</version>
+        <scope>test</scope>
+      </dependency>
+      <!-- Maven plugin dependencies -->
+    </dependencies>
+  </dependencyManagement>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-release-plugin</artifactId>
+        <version>2.1</version>
+        <configuration>
+          <autoVersionSubmodules>true</autoVersionSubmodules>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.3.2</version>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+          <encoding>UTF-8</encoding>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>2.5</version>
+        <configuration>
+          <encoding>UTF-8</encoding>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <version>2.1.2</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.8.1</version>
+        <configuration>
+          <excludePackageNames>*.internal*</excludePackageNames>
+          <detectJavaApiLink>true</detectJavaApiLink>
+          <detectLinks>true</detectLinks>
+          <source>1.6</source>
+          <links>
+            <link>http://docs.oracle.com/javase/6/docs/api/</link>
+          </links>
+        </configuration>
+        <executions>
+          <execution>
+            <id>package-javadoc</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>changelog-maven-plugin</artifactId>
+        <version>2.0-beta-1</version>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>findbugs-maven-plugin</artifactId>
+        <version>2.4.0</version>
+        <configuration>
+          <effort>Max</effort>
+          <threshold>Low</threshold>
+          <xmlOutput>true</xmlOutput>
+          <failOnError>false</failOnError>
+          <findbugsXmlOutput>true</findbugsXmlOutput>
+        </configuration>
+        <executions>
+          <execution>
+            <phase>verify</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>rat-maven-plugin</artifactId>
+        <version>1.0-alpha-3</version>
+        <executions>
+          <execution>
+            <phase>verify</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+            <configuration>
+              <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
+              <licenseMatchers>
+                <classNames>
+                  
<className>rat.analysis.license.ApacheSoftwareLicense20</className>
+                </classNames>
+              </licenseMatchers>
+              <includes>
+                <include>pom.xml</include>
+                <include>src/**</include>
+              </includes>
+              <excludes>
+                <exclude>src/**/bundle/**</exclude>
+                <exclude>src/**/jrockit/**</exclude>
+                <exclude>src/**/generated.java.out</exclude>
+                <exclude>META-INF/MANIFEST.MF</exclude>
+              </excludes>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+    <resources>
+      <resource>
+        <targetPath>target/classes</targetPath>
+        <directory>${basedir}</directory>
+        <includes>
+          <include>*.txt</include>
+        </includes>
+      </resource>
+    </resources>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.eclipse.m2e</groupId>
+          <artifactId>lifecycle-mapping</artifactId>
+          <version>1.0.0</version>
+          <configuration>
+            <lifecycleMappingMetadata>
+              <pluginExecutions>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.sonatype.plugins</groupId>
+                    <artifactId>jarjar-maven-plugin</artifactId>
+                    <versionRange>[1.4,)</versionRange>
+                    <goals>
+                      <goal>jarjar</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore></ignore>
+                  </action>
+                </pluginExecution>
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.4</version>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>findbugs-maven-plugin</artifactId>
+        <version>2.4.0</version>
+      </plugin>
+    </plugins>
+  </reporting>
+
+  <profiles>
+    <profile>
+      <id>release-sign-artifacts</id>
+      <activation>
+        <property>
+          <name>performRelease</name>
+          <value>true</value>
+        </property>
+      </activation>
+      <modules>
+        <module>lightning-core</module>
+        <module>lightning-maven-plugin</module>
+        <module>lightning-api</module>
+        <module>lightning-maven-integration-test</module>
+        <module>lightning-integration</module>
+      </modules>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <version>1.4</version>
+            <executions>
+              <execution>
+                <id>sign-artifacts</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <id>sign-artifacts</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <version>1.4</version>
+            <executions>
+              <execution>
+                <id>sign-artifacts</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+</project>
\ No newline at end of file

Propchange: directmemory/lightning/trunk/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directmemory/lightning/trunk/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision


Reply via email to