|
@@ -7,6 +7,8 @@
|
|
|
<artifactId>parent</artifactId>
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
<packaging>pom</packaging>
|
|
|
+ <name>Semantics Adaptation Root
|
|
|
+ </name>
|
|
|
|
|
|
|
|
|
<!-- the mavenization is based on this approach https://github.com/xtext/maven-xtext-example -->
|
|
@@ -16,21 +18,19 @@
|
|
|
<module>be.uantwerpen.ansymo.semanticadaptation.tests</module>
|
|
|
<module>be.uantwerpen.ansymo.semanticadaptation.ide</module>
|
|
|
<module>be.uantwerpen.ansymo.semanticadaptation.ui</module>
|
|
|
- <!--module>be.uantwerpen.ansymo.semanticadaptation.cg.cpp.lib</module-->
|
|
|
<module>be.uantwerpen.ansymo.semanticadaptation.cg.cpp</module>
|
|
|
<module>be.uantwerpen.ansymo.semanticadaptation.cg.cpp.tests</module>
|
|
|
- <!--module>../my.mavenized.herolanguage.ui</module>
|
|
|
- <module>../my.mavenized.herolanguage.tests</module>
|
|
|
- <module>../my.mavenized.herolanguage.sdk</module>
|
|
|
- <module>../my.mavenized.herolanguage.updatesite</module-->
|
|
|
+ <module>features</module>
|
|
|
+ <module>repository</module>
|
|
|
</modules>
|
|
|
|
|
|
<properties>
|
|
|
- <tycho-version>1.0.0</tycho-version>
|
|
|
+
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<xtext.version>2.11.0</xtext.version>
|
|
|
|
|
|
<main.basedir>${project.basedir}</main.basedir>
|
|
|
+ <tycho.version>1.0.0</tycho.version>
|
|
|
</properties>
|
|
|
|
|
|
<repositories>
|
|
@@ -50,87 +50,406 @@
|
|
|
<!--repository>
|
|
|
<id>mvn</id>
|
|
|
<url>http://mvnrepository.com/artifact</url>
|
|
|
- </repository-->
|
|
|
+ </repository-->
|
|
|
|
|
|
- </repositories>
|
|
|
- <build>
|
|
|
- <pluginManagement>
|
|
|
- <plugins>
|
|
|
+ </repositories>
|
|
|
+ <build>
|
|
|
+ <pluginManagement>
|
|
|
+ <plugins>
|
|
|
+
|
|
|
+ <!-- Enable JavaDoc but dont fail on error. This must be disabled for
|
|
|
+ the Eclipse project in the IDE -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-javadoc-plugin</artifactId>
|
|
|
+ <version>2.9</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>attach-javadocs</id>
|
|
|
+ <goals>
|
|
|
+ <goal>jar</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ <configuration>
|
|
|
+ <failOnError>false</failOnError>
|
|
|
+ <quiet>true</quiet>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <!-- Configure the compiler for all Overture Projects -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>3.5.1</version>
|
|
|
+ <configuration>
|
|
|
+ <source>1.8</source>
|
|
|
+ <target>1.8</target>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
+ <version>2.13</version>
|
|
|
+ <configuration>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- xtend-maven-plugin is in pluginManagement instead of in plugins
|
|
|
+ so that it doesn't run before the exec-maven-plugin's *.mwe2 gen; this way
|
|
|
+ we can list it after. -->
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.xtend</groupId>
|
|
|
+ <artifactId>xtend-maven-plugin</artifactId>
|
|
|
+ <version>${xtext.version}</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>compile</goal>
|
|
|
+ <goal>xtend-install-debug-info</goal>
|
|
|
+ <goal>testCompile</goal>
|
|
|
+ <goal>xtend-test-install-debug-info</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ <configuration>
|
|
|
+
|
|
|
+ <xtendAsPrimaryDebugSource>true</xtendAsPrimaryDebugSource>
|
|
|
+ <!--outputDirectory>${project.build.directory}/xtend-gen/main</outputDirectory-->
|
|
|
+ <testOutputDirectory>${project.build.directory}/xtend-gen/test</testOutputDirectory>
|
|
|
+ <writeTraceFiles>true</writeTraceFiles>
|
|
|
+
|
|
|
+
|
|
|
+ <outputDirectory>xtend-gen</outputDirectory>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-clean-plugin</artifactId>
|
|
|
+ <version>2.5</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>gen-clean</id>
|
|
|
+ <goals>
|
|
|
+ <goal>clean</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <filesets>
|
|
|
+ <fileset>
|
|
|
+ <directory>${basedir}/xtend-gen</directory>
|
|
|
+ </fileset>
|
|
|
+ </filesets>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>tycho-maven-plugin</artifactId>
|
|
|
+ <version>${tycho.version}</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>target-platform-configuration</artifactId>
|
|
|
+ <version>${tycho.version}</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>tycho-p2-director-plugin</artifactId>
|
|
|
+ <version>${tycho.version}</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>tycho-packaging-plugin</artifactId>
|
|
|
+ <version>${tycho.version}</version>
|
|
|
+ <configuration>
|
|
|
+ <archive>
|
|
|
+ <addMavenDescriptor>false</addMavenDescriptor>
|
|
|
+ </archive>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <!-- Use the below to update the version numbers of the poms,
|
|
|
+ manifests, and feature.xml files with the commandline:
|
|
|
+ $ mvn -Dtycho.mode=maven tycho-versions:set-version -DnewVersion=2.0.2
|
|
|
+ Don't commit the changes to the export-packages lines in
|
|
|
+ the manifests, though.
|
|
|
+ -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>tycho-versions-plugin</artifactId>
|
|
|
+ <version>${tycho.version}</version>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <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-dependency-plugin</artifactId>
|
|
|
+ <versionRange>[1.0.0,)</versionRange>
|
|
|
+ <goals>
|
|
|
+ <goal>copy-dependencies</goal>
|
|
|
+ </goals>
|
|
|
+ </pluginExecutionFilter>
|
|
|
+ <action>
|
|
|
+ <ignore />
|
|
|
+ </action>
|
|
|
+ </pluginExecution>
|
|
|
+ </pluginExecutions>
|
|
|
+ </lifecycleMappingMetadata>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ </plugins>
|
|
|
+ </pluginManagement>
|
|
|
|
|
|
- <!-- Configure the compiler for all Overture Projects -->
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>tycho-maven-plugin</artifactId>
|
|
|
+ <extensions>true</extensions>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>target-platform-configuration</artifactId>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-javadoc-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <skip>true</skip>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <profiles>
|
|
|
+ <!-- These next five profiles will autodetect which OS maven is
|
|
|
+ being executed on and then build the matching version of
|
|
|
+ Overture for that OS. -jwc/23Jan2014
|
|
|
+ -->
|
|
|
+ <profile>
|
|
|
+ <id>win</id>
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>false</activeByDefault>
|
|
|
+ <os>
|
|
|
+ <family>windows</family>
|
|
|
+ <arch>x86</arch>
|
|
|
+ </os>
|
|
|
+ </activation>
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
<plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>3.5.1</version>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>target-platform-configuration</artifactId>
|
|
|
<configuration>
|
|
|
- <source>1.8</source>
|
|
|
- <target>1.8</target>
|
|
|
+ <environments>
|
|
|
+ <environment>
|
|
|
+ <os>win32</os>
|
|
|
+ <ws>win32</ws>
|
|
|
+ <arch>x86</arch>
|
|
|
+ </environment>
|
|
|
+ </environments>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ </profile>
|
|
|
|
|
|
+ <profile>
|
|
|
+ <id>win64</id>
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>false</activeByDefault>
|
|
|
+ <os>
|
|
|
+ <family>windows</family>
|
|
|
+ <arch>amd64</arch>
|
|
|
+ </os>
|
|
|
+ </activation>
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>target-platform-configuration</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <environments>
|
|
|
+ <environment>
|
|
|
+ <os>win32</os>
|
|
|
+ <ws>win32</ws>
|
|
|
+ <arch>x86_64</arch>
|
|
|
+ </environment>
|
|
|
+ </environments>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ </profile>
|
|
|
|
|
|
+ <profile>
|
|
|
+ <id>mac</id>
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>false</activeByDefault>
|
|
|
+ <os>
|
|
|
+ <family>mac</family>
|
|
|
+ </os>
|
|
|
+ </activation>
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>target-platform-configuration</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <environments>
|
|
|
+ <environment>
|
|
|
+ <os>macosx</os>
|
|
|
+ <ws>cocoa</ws>
|
|
|
+ <arch>x86_64</arch>
|
|
|
+ </environment>
|
|
|
+ </environments>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
|
|
|
|
|
|
-
|
|
|
- <!-- xtend-maven-plugin is in pluginManagement instead of in plugins
|
|
|
- so that it doesn't run before the exec-maven-plugin's *.mwe2 gen; this way
|
|
|
- we can list it after. -->
|
|
|
-
|
|
|
<plugin>
|
|
|
- <groupId>org.eclipse.xtend</groupId>
|
|
|
- <artifactId>xtend-maven-plugin</artifactId>
|
|
|
- <version>${xtext.version}</version>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <goals>
|
|
|
- <goal>compile</goal>
|
|
|
- <goal>xtend-install-debug-info</goal>
|
|
|
- <goal>testCompile</goal>
|
|
|
- <goal>xtend-test-install-debug-info</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>tycho-p2-repository-plugin</artifactId>
|
|
|
+ <version>${tycho.version}</version>
|
|
|
<configuration>
|
|
|
+ <includeAllDependencies>true</includeAllDependencies>
|
|
|
+ <profileProperties>
|
|
|
+ <macosx-bundled>true</macosx-bundled>
|
|
|
+ </profileProperties>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
|
|
|
- <xtendAsPrimaryDebugSource>true</xtendAsPrimaryDebugSource>
|
|
|
- <!--outputDirectory>${project.build.directory}/xtend-gen/main</outputDirectory-->
|
|
|
- <testOutputDirectory>${project.build.directory}/xtend-gen/test</testOutputDirectory>
|
|
|
- <writeTraceFiles>true</writeTraceFiles>
|
|
|
|
|
|
|
|
|
- <outputDirectory>xtend-gen</outputDirectory>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ </profile>
|
|
|
+
|
|
|
+ <profile>
|
|
|
+ <id>linux</id>
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>false</activeByDefault>
|
|
|
+ <os>
|
|
|
+ <family>unix</family>
|
|
|
+ <name>linux</name>
|
|
|
+ <arch>x86</arch>
|
|
|
+ </os>
|
|
|
+ </activation>
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>target-platform-configuration</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <environments>
|
|
|
+ <environment>
|
|
|
+ <os>linux</os>
|
|
|
+ <ws>gtk</ws>
|
|
|
+ <arch>x86</arch>
|
|
|
+ </environment>
|
|
|
+ </environments>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ </profile>
|
|
|
+
|
|
|
+ <profile>
|
|
|
+ <id>linux64</id>
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>false</activeByDefault>
|
|
|
+ <os>
|
|
|
+ <family>unix</family>
|
|
|
+ <name>linux</name>
|
|
|
+ <arch>amd64</arch>
|
|
|
+ </os>
|
|
|
+ </activation>
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
<plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-clean-plugin</artifactId>
|
|
|
- <version>2.5</version>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>gen-clean</id>
|
|
|
- <goals>
|
|
|
- <goal>clean</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <filesets>
|
|
|
- <fileset>
|
|
|
- <directory>${basedir}/xtend-gen</directory>
|
|
|
- </fileset>
|
|
|
- </filesets>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>target-platform-configuration</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <environments>
|
|
|
+ <environment>
|
|
|
+ <os>linux</os>
|
|
|
+ <ws>gtk</ws>
|
|
|
+ <arch>x86</arch>
|
|
|
+ </environment>
|
|
|
+ <environment>
|
|
|
+ <os>linux</os>
|
|
|
+ <ws>gtk</ws>
|
|
|
+ <arch>x86_64</arch>
|
|
|
+ </environment>
|
|
|
+ </environments>
|
|
|
+ </configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
- </pluginManagement>
|
|
|
+ </build>
|
|
|
+ </profile>
|
|
|
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.eclipse.tycho</groupId>
|
|
|
- <artifactId>tycho-maven-plugin</artifactId>
|
|
|
- <version>${tycho-version}</version>
|
|
|
- <extensions>true</extensions>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
- </project>
|
|
|
+ <!-- Use this profile to build Overture for all platforms, but you
|
|
|
+ may need to add -P\!linux (or whichever os) to disable the
|
|
|
+ autodetected profile (per above), otherwise the autodetected
|
|
|
+ profile may take precedence over the command-line specified
|
|
|
+ profile. -jwc/23Jan2014
|
|
|
+ -->
|
|
|
+ <profile>
|
|
|
+ <id>all-platforms</id>
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.eclipse.tycho</groupId>
|
|
|
+ <artifactId>target-platform-configuration</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <environments>
|
|
|
+ <environment>
|
|
|
+ <os>win32</os>
|
|
|
+ <ws>win32</ws>
|
|
|
+ <arch>x86</arch>
|
|
|
+ </environment>
|
|
|
+ <environment>
|
|
|
+ <os>win32</os>
|
|
|
+ <ws>win32</ws>
|
|
|
+ <arch>x86_64</arch>
|
|
|
+ </environment>
|
|
|
+ <environment>
|
|
|
+ <os>linux</os>
|
|
|
+ <ws>gtk</ws>
|
|
|
+ <arch>x86</arch>
|
|
|
+ </environment>
|
|
|
+ <environment>
|
|
|
+ <os>linux</os>
|
|
|
+ <ws>gtk</ws>
|
|
|
+ <arch>x86_64</arch>
|
|
|
+ </environment>
|
|
|
+ <environment>
|
|
|
+ <os>macosx</os>
|
|
|
+ <ws>cocoa</ws>
|
|
|
+ <arch>x86_64</arch>
|
|
|
+ </environment>
|
|
|
+ </environments>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+</project>
|