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"?> <?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> <modelVersion>4.0.0</modelVersion>
<groupId>org.x4o</groupId> <groupId>org.x4o</groupId>
<artifactId>x4o</artifactId> <artifactId>x4o</artifactId>
@ -159,7 +160,9 @@
<executions> <executions>
<execution> <execution>
<id>attach-sources</id> <id>attach-sources</id>
<goals><goal>jar-no-fork</goal></goals> <goals>
<goal>jar-no-fork</goal>
</goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
@ -173,7 +176,9 @@
<executions> <executions>
<execution> <execution>
<id>attach-javadocs</id> <id>attach-javadocs</id>
<goals><goal>jar</goal></goals> <goals>
<goal>jar</goal>
</goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
@ -205,53 +210,21 @@
<version>${maven-site-plugin.version}</version> <version>${maven-site-plugin.version}</version>
</plugin> </plugin>
<!-- Build documention <!-- Build documention <plugin> <groupId>com.agilejava.docbkx</groupId>
<plugin> <artifactId>docbkx-maven-plugin</artifactId> <version>2.0.9</version> <configuration>
<groupId>com.agilejava.docbkx</groupId> <sourceDirectory>src/main/docbook/</sourceDirectory> <targetDirectory>target/site/docbook/</targetDirectory>
<artifactId>docbkx-maven-plugin</artifactId> <includes>*.xml</includes> <xincludeSupported>true</xincludeSupported> <entities>
<version>2.0.9</version> <entity><name>version</name><value>${project.version}</value></entity> </entities>
<configuration> <chunkedOutput>true</chunkedOutput> </configuration> <executions> <execution>
<sourceDirectory>src/main/docbook/</sourceDirectory> <id>create-pdf-docs</id> <phase>site</phase> <goals><goal>generate-pdf</goal></goals>
<targetDirectory>target/site/docbook/</targetDirectory> <configuration> <imgSrcPath>file:///${basedir}/src/main/docbook/</imgSrcPath>
<includes>*.xml</includes> </configuration> </execution> <execution> <id>create-html-docs</id> <phase>site</phase>
<xincludeSupported>true</xincludeSupported> <goals><goal>generate-html</goal></goals> <configuration> <preProcess> <copy
<entities> todir="target/site/docbook/images"> <fileset dir="src/main/docbook/images"
<entity><name>version</name><value>${project.version}</value></entity> /> </copy> </preProcess> </configuration> </execution> </executions> <dependencies>
</entities> <dependency> <groupId>org.docbook</groupId> <artifactId>docbook-xml</artifactId>
<chunkedOutput>true</chunkedOutput> <version>4.4</version> <scope>runtime</scope> </dependency> </dependencies>
</configuration> </plugin> -->
<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 --> <!-- Perform maven releases -->
<plugin> <plugin>
@ -261,10 +234,8 @@
<configuration> <configuration>
<preparationGoals>clean install verify</preparationGoals> <preparationGoals>clean install verify</preparationGoals>
<goals>clean install</goals> <goals>clean install</goals>
<!-- <!-- <goals>clean install javadoc:javadoc deploy</goals> <arguments>-Prelease
<goals>clean install javadoc:javadoc deploy</goals> -DaltDeploymentRepository="${altDeploymentRepository}"</arguments> -->
<arguments>-Prelease -DaltDeploymentRepository="${altDeploymentRepository}"</arguments>
-->
</configuration> </configuration>
</plugin> </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> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>x4o</artifactId> <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> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>x4o</artifactId> <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> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.x4o</groupId> <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> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>x4o</artifactId> <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> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>x4o</artifactId> <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> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.x4o.tool</groupId> <groupId>org.x4o.tool</groupId>
@ -84,12 +85,17 @@
<phase>generate-resources</phase> <phase>generate-resources</phase>
<configuration> <configuration>
<target> <target>
<property name="coredir" value="${basedir}/../../x4o-driver/src/main/resources/META-INF" /> <property name="coredir"
value="${basedir}/../../x4o-driver/src/main/resources/META-INF" />
<property name="licesefile" value="${basedir}/../../license.txt" /> <property name="licesefile" value="${basedir}/../../license.txt" />
<taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask" classpathref="maven.plugin.classpath"/> <taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask"
classpathref="maven.plugin.classpath" />
<x4oTask languageName="cel" taskId="eld-xsd"> <x4oTask languageName="cel" taskId="eld-xsd">
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/cel"/> <x4oTaskProperty
<x4oTaskProperty key="http://x4o.org/properties/content/prolog/licence-file" value="${licesefile}"/> 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> </x4oTask>
</target> </target>
</configuration> </configuration>
@ -123,12 +129,17 @@
<phase>generate-resources</phase> <phase>generate-resources</phase>
<configuration> <configuration>
<target> <target>
<property name="coredir" value="${basedir}/../../x4o-driver/src/main/resources/META-INF" /> <property name="coredir"
value="${basedir}/../../x4o-driver/src/main/resources/META-INF" />
<property name="licesefile" value="${basedir}/../../license.txt" /> <property name="licesefile" value="${basedir}/../../license.txt" />
<taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask" classpathref="maven.plugin.classpath"/> <taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask"
classpathref="maven.plugin.classpath" />
<x4oTask languageName="eld" taskId="eld-xsd"> <x4oTask languageName="eld" taskId="eld-xsd">
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/eld"/> <x4oTaskProperty
<x4oTaskProperty key="http://x4o.org/properties/content/prolog/licence-file" value="${licesefile}"/> 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> </x4oTask>
</target> </target>
</configuration> </configuration>
@ -162,41 +173,57 @@
<phase>pre-site</phase> <phase>pre-site</phase>
<configuration> <configuration>
<target> <target>
<property name="coredir" value="${basedir}/../../target/site/x4o-support" /> <property name="coredir"
<taskdef name="x4oTask" classname="org.x4o.tool.ant.plugin.X4OTask" classpathref="maven.plugin.classpath"/> 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"> <x4oTask languageName="cel" taskId="eld-doc">
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-cel-1.0"/> <x4oTaskProperty
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/javadoc/link" value="http://docs.oracle.com/javase/7/docs/api/"/> 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>
<x4oTask languageName="eld" taskId="eld-doc"> <x4oTask languageName="eld" taskId="eld-doc">
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-eld-1.0"/> <x4oTaskProperty
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/javadoc/link" value="http://docs.oracle.com/javase/7/docs/api/"/> 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>
<x4oTask languageName="test" taskId="eld-doc"> <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>
<x4oTask languageName="swixml" taskId="eld-doc" languageVersion="2.0"> <x4oTask languageName="swixml" taskId="eld-doc"
<x4oTaskProperty key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-swixml-2.0"/> languageVersion="2.0">
<x4oTaskProperty
key="http://x4o.org/properties/eld-doc/output/path" value="${coredir}/doc-swixml-2.0" />
</x4oTask> </x4oTask>
<x4oTask languageName="swixml" taskId="eld-doc"> <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>
<x4oTask languageName="cel" taskId="eld-xsd"> <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>
<x4oTask languageName="eld" taskId="eld-xsd"> <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>
<x4oTask languageName="test" taskId="eld-xsd"> <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>
<x4oTask languageName="swixml" taskId="eld-xsd" languageVersion="2.0"> <x4oTask languageName="swixml" taskId="eld-xsd"
<x4oTaskProperty key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/xsd-swixml-2.0"/> languageVersion="2.0">
<x4oTaskProperty
key="http://x4o.org/properties/eld-xsd/output/path" value="${coredir}/xsd-swixml-2.0" />
</x4oTask> </x4oTask>
<x4oTask languageName="swixml" taskId="eld-xsd"> <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> </x4oTask>
</target> </target>
</configuration> </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> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.x4o.tool</groupId> <groupId>org.x4o.tool</groupId>
@ -57,14 +58,53 @@
<executions> <executions>
<execution> <execution>
<id>mojo-descriptor</id> <id>mojo-descriptor</id>
<goals><goal>descriptor</goal></goals> <goals>
<goal>descriptor</goal>
</goals>
</execution> </execution>
<execution> <execution>
<id>mojo-help</id> <id>mojo-help</id>
<goals><goal>helpmojo</goal></goals> <goals>
<goal>helpmojo</goal>
</goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </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> </build>
</project> </project>