Yet some more Maven/Tycho changes ...


... I should have taken the blue pill
diff --git a/oracleddl.target/.project b/oracleddl.target/.project
new file mode 100644
index 0000000..8a6feca
--- /dev/null
+++ b/oracleddl.target/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<projectDescription>

+	<name>oracleddl.target</name>

+	<comment></comment>

+	<projects>

+	</projects>

+	<buildSpec>

+		<buildCommand>

+			<name>org.eclipse.m2e.core.maven2Builder</name>

+			<arguments>

+			</arguments>

+		</buildCommand>

+	</buildSpec>

+	<natures>

+		<nature>org.eclipse.m2e.core.maven2Nature</nature>

+	</natures>

+</projectDescription>

diff --git a/oracleddl.target/indigo.target b/oracleddl.target/indigo.target
new file mode 100644
index 0000000..5c95afe
--- /dev/null
+++ b/oracleddl.target/indigo.target
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>

+<?pde version="3.6"?>

+

+<target includeMode="feature" name="indigo" sequenceNumber="3">

+<locations>

+<location includeAllPlatforms="false" includeMode="slicer" includeSource="true" type="InstallableUnit">

+<unit id="org.eclipse.jdt.feature.group" version="3.7.1.r371_v20110810-0800-7z8gFcoFMLfTabvKsR5Qm9rBGEBK"/>

+<repository location="http://download.eclipse.org/releases/indigo"/>

+</location>

+</locations>

+<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>

+</target>

diff --git a/oracleddl.target/pom.xml b/oracleddl.target/pom.xml
new file mode 100644
index 0000000..a3a5e46
--- /dev/null
+++ b/oracleddl.target/pom.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<project

+   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"

+   xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

+   <modelVersion>4.0.0</modelVersion>

+

+   <parent>

+      <groupId>org.eclipse.persistence</groupId>

+      <artifactId>oracleddl.parent</artifactId>

+      <version>1.0.0-SNAPSHOT</version>

+      <relativePath>../oracleddl.parent/pom.xml</relativePath>

+   </parent>

+

+   <name>EclipseLink Oracle DDL Target Platform</name>

+   <artifactId>oracleddl.target</artifactId>

+   <packaging>pom</packaging>

+

+   <build>

+      <plugins>

+         <plugin>

+            <groupId>org.codehaus.mojo</groupId>

+            <artifactId>build-helper-maven-plugin</artifactId>

+            <version>1.3</version>

+            <executions>

+               <!-- make target file available for incremental builds -->

+               <execution>

+                  <id>attach-artifacts</id>

+                  <phase>package</phase>

+                  <goals>

+                     <goal>attach-artifact</goal>

+                  </goals>

+                  <configuration>

+                     <artifacts>

+                        <artifact>

+                           <!-- note: the file name must be ${classifier}.target -->

+                           <file>indigo.target</file>

+                           <type>target</type>

+                           <classifier>indigo</classifier>

+                        </artifact>

+                     </artifacts>

+                  </configuration>

+               </execution>

+            </executions>

+         </plugin>

+      </plugins>

+   </build>

+</project>
\ No newline at end of file
diff --git "a/oracleddlparser/\050maven\051Oracle DDL Parser tests.launch" "b/oracleddlparser/\050maven\051Oracle DDL Parser tests.launch"
index acf3484..5ad2e19 100644
--- "a/oracleddlparser/\050maven\051Oracle DDL Parser tests.launch"
+++ "b/oracleddlparser/\050maven\051Oracle DDL Parser tests.launch"
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>

 <launchConfiguration type="org.eclipse.m2e.Maven2LaunchConfigurationType">

 <booleanAttribute key="M2_DEBUG_OUTPUT" value="false"/>

-<stringAttribute key="M2_GOALS" value="compile compiler:testCompile test"/>

+<stringAttribute key="M2_GOALS" value="compile compiler:testCompile site test"/>

 <booleanAttribute key="M2_NON_RECURSIVE" value="false"/>

 <booleanAttribute key="M2_OFFLINE" value="false"/>

 <stringAttribute key="M2_PROFILES" value=""/>

diff --git a/pom.xml b/pom.xml
index aa3aeb7..a40c2e5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,6 +21,7 @@
         <module>oracleddl.source.feature</module>

         <module>oracleddl.repository</module>

         <module>oracleddl.parent</module>

+        <module>oracleddl.target</module>

     </modules>

 

     <build>