Added eclipse luna life cycle mapping and formatted all pom.xml

This commit is contained in:
Willem Cazander 2014-08-31 15:03:03 +02:00
parent bd9bfadeb4
commit 0c811208ec
8 changed files with 1107 additions and 1064 deletions

79
pom.xml
View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<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.x4o</groupId>
<artifactId>x4o</artifactId>
@ -159,7 +160,9 @@
<executions>
<execution>
<id>attach-sources</id>
<goals><goal>jar-no-fork</goal></goals>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
@ -173,7 +176,9 @@
<executions>
<execution>
<id>attach-javadocs</id>
<goals><goal>jar</goal></goals>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
@ -205,53 +210,21 @@
<version>${maven-site-plugin.version}</version>
</plugin>
<!-- Build documention
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>2.0.9</version>
<configuration>
<sourceDirectory>src/main/docbook/</sourceDirectory>
<targetDirectory>target/site/docbook/</targetDirectory>
<includes>*.xml</includes>
<xincludeSupported>true</xincludeSupported>
<entities>
<entity><name>version</name><value>${project.version}</value></entity>
</entities>
<chunkedOutput>true</chunkedOutput>
</configuration>
<executions>
<execution>
<id>create-pdf-docs</id>
<phase>site</phase>
<goals><goal>generate-pdf</goal></goals>
<configuration>
<imgSrcPath>file:///${basedir}/src/main/docbook/</imgSrcPath>
</configuration>
</execution>
<execution>
<id>create-html-docs</id>
<phase>site</phase>
<goals><goal>generate-html</goal></goals>
<configuration>
<preProcess>
<copy todir="target/site/docbook/images">
<fileset dir="src/main/docbook/images" />
</copy>
</preProcess>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>4.4</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
-->
<!-- Build documention <plugin> <groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId> <version>2.0.9</version> <configuration>
<sourceDirectory>src/main/docbook/</sourceDirectory> <targetDirectory>target/site/docbook/</targetDirectory>
<includes>*.xml</includes> <xincludeSupported>true</xincludeSupported> <entities>
<entity><name>version</name><value>${project.version}</value></entity> </entities>
<chunkedOutput>true</chunkedOutput> </configuration> <executions> <execution>
<id>create-pdf-docs</id> <phase>site</phase> <goals><goal>generate-pdf</goal></goals>
<configuration> <imgSrcPath>file:///${basedir}/src/main/docbook/</imgSrcPath>
</configuration> </execution> <execution> <id>create-html-docs</id> <phase>site</phase>
<goals><goal>generate-html</goal></goals> <configuration> <preProcess> <copy
todir="target/site/docbook/images"> <fileset dir="src/main/docbook/images"
/> </copy> </preProcess> </configuration> </execution> </executions> <dependencies>
<dependency> <groupId>org.docbook</groupId> <artifactId>docbook-xml</artifactId>
<version>4.4</version> <scope>runtime</scope> </dependency> </dependencies>
</plugin> -->
<!-- Perform maven releases -->
<plugin>
@ -261,10 +234,8 @@
<configuration>
<preparationGoals>clean install verify</preparationGoals>
<goals>clean install</goals>
<!--
<goals>clean install javadoc:javadoc deploy</goals>
<arguments>-Prelease -DaltDeploymentRepository="${altDeploymentRepository}"</arguments>
-->
<!-- <goals>clean install javadoc:javadoc deploy</goals> <arguments>-Prelease
-DaltDeploymentRepository="${altDeploymentRepository}"</arguments> -->
</configuration>
</plugin>

View file

@ -1,4 +1,5 @@
<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">
<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>
<artifactId>x4o</artifactId>

View file

@ -1,4 +1,5 @@
<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">
<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>
<artifactId>x4o</artifactId>

View file

@ -1,4 +1,5 @@
<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">
<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>
<parent>
<groupId>org.x4o</groupId>

View file

@ -1,4 +1,5 @@
<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">
<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>
<parent>
<artifactId>x4o</artifactId>

View file

@ -1,4 +1,5 @@
<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">
<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>
<parent>
<artifactId>x4o</artifactId>

View file

@ -1,4 +1,5 @@
<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">
<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>
<parent>
<groupId>org.x4o.tool</groupId>
@ -84,12 +85,17 @@
<phase>generate-resources</phase>
<configuration>
<target>
<property name="coredir" value="${basedir}/../../x4o-driver/src/main/resources/META-INF" />
<property name="licesefile" value="${basedir}/../../license.txt"/>
<taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask" classpathref="maven.plugin.classpath"/>
<property name="coredir"
value="${basedir}/../../x4o-driver/src/main/resources/META-INF" />
<property name="licesefile" value="${basedir}/../../license.txt" />
<taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask"
classpathref="maven.plugin.classpath" />
<x4oTask languageName="cel" taskId="eld-xsd">
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/cel"/>
<x4oTaskProperty key="http://x4o.org/properties/content/prolog/licence-file" value="${licesefile}"/>
<x4oTaskProperty
key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/cel" />
<x4oTaskProperty
key="http://x4o.org/properties/content/prolog/licence-file"
value="${licesefile}" />
</x4oTask>
</target>
</configuration>
@ -123,12 +129,17 @@
<phase>generate-resources</phase>
<configuration>
<target>
<property name="coredir" value="${basedir}/../../x4o-driver/src/main/resources/META-INF" />
<property name="licesefile" value="${basedir}/../../license.txt"/>
<taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask" classpathref="maven.plugin.classpath"/>
<property name="coredir"
value="${basedir}/../../x4o-driver/src/main/resources/META-INF" />
<property name="licesefile" value="${basedir}/../../license.txt" />
<taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask"
classpathref="maven.plugin.classpath" />
<x4oTask languageName="eld" taskId="eld-xsd">
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/eld"/>
<x4oTaskProperty key="http://x4o.org/properties/content/prolog/licence-file" value="${licesefile}"/>
<x4oTaskProperty
key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/eld" />
<x4oTaskProperty
key="http://x4o.org/properties/content/prolog/licence-file"
value="${licesefile}" />
</x4oTask>
</target>
</configuration>
@ -162,41 +173,57 @@
<phase>pre-site</phase>
<configuration>
<target>
<property name="coredir" value="${basedir}/../../target/site/x4o-support" />
<taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask" classpathref="maven.plugin.classpath"/>
<property name="coredir"
value="${basedir}/../../target/site/x4o-support" />
<taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask"
classpathref="maven.plugin.classpath" />
<x4oTask languageName="cel" taskId="eld-doc">
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-cel-1.0"/>
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/javadoc/link" value="http://docs.oracle.com/javase/7/docs/api/"/>
<x4oTaskProperty
key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-cel-1.0" />
<x4oTaskProperty
key="http://x4o.org/properties/eld-doc/javadoc/link" value="http://docs.oracle.com/javase/7/docs/api/" />
</x4oTask>
<x4oTask languageName="eld" taskId="eld-doc">
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-eld-1.0"/>
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/javadoc/link" value="http://docs.oracle.com/javase/7/docs/api/"/>
<x4oTaskProperty
key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-eld-1.0" />
<x4oTaskProperty
key="http://x4o.org/properties/eld-doc/javadoc/link" value="http://docs.oracle.com/javase/7/docs/api/" />
</x4oTask>
<x4oTask languageName="test" taskId="eld-doc">
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-test-1.0"/>
<x4oTaskProperty
key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-test-1.0" />
</x4oTask>
<x4oTask languageName="swixml" taskId="eld-doc" languageVersion="2.0">
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-swixml-2.0"/>
<x4oTask languageName="swixml" taskId="eld-doc"
languageVersion="2.0">
<x4oTaskProperty
key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-swixml-2.0" />
</x4oTask>
<x4oTask languageName="swixml" taskId="eld-doc">
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-swixml-3.0"/>
<x4oTaskProperty
key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-swixml-3.0" />
</x4oTask>
<x4oTask languageName="cel" taskId="eld-xsd">
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/xsd-cel-1.0"/>
<x4oTaskProperty
key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/xsd-cel-1.0" />
</x4oTask>
<x4oTask languageName="eld" taskId="eld-xsd">
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/xsd-eld-1.0"/>
<x4oTaskProperty
key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/xsd-eld-1.0" />
</x4oTask>
<x4oTask languageName="test" taskId="eld-xsd">
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/xsd-test-1.0"/>
<x4oTaskProperty
key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/xsd-test-1.0" />
</x4oTask>
<x4oTask languageName="swixml" taskId="eld-xsd" languageVersion="2.0">
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/xsd-swixml-2.0"/>
<x4oTask languageName="swixml" taskId="eld-xsd"
languageVersion="2.0">
<x4oTaskProperty
key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/xsd-swixml-2.0" />
</x4oTask>
<x4oTask languageName="swixml" taskId="eld-xsd">
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/xsd-swixml-3.0"/>
<x4oTaskProperty
key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/xsd-swixml-3.0" />
</x4oTask>
</target>
</configuration>

View file

@ -1,4 +1,5 @@
<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">
<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>
<parent>
<groupId>org.x4o.tool</groupId>
@ -57,14 +58,53 @@
<executions>
<execution>
<id>mojo-descriptor</id>
<goals><goal>descriptor</goal></goals>
<goals>
<goal>descriptor</goal>
</goals>
</execution>
<execution>
<id>mojo-help</id>
<goals><goal>helpmojo</goal></goals>
<goals>
<goal>helpmojo</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-plugin-plugin
</artifactId>
<versionRange>[3.2,)</versionRange>
<goals>
<goal>descriptor</goal>
<goal>helpmojo</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>