Commit 60a19b46 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

+ added initial maven support for GR

parent 71051a2e
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
<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.etsi.mts.tdl</groupId>
	  	<artifactId>org.etsi.mts.tdl.parent</artifactId>
		<version>1.0.0-SNAPSHOT</version>
		<relativePath>../../org.etsi.mts.tdl.parent</relativePath>

	</parent>

	<artifactId>org.etsi.mts.tdl.graphical.editor.feature</artifactId>
  	<packaging>eclipse-feature</packaging>

	<name>TDL GR Editor Feature</name>
</project>
 No newline at end of file
+5 −0
Original line number Diff line number Diff line
@@ -48,6 +48,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
		<module>../plugins/org.etsi.mts.tdl.constraints</module>
		<module>../plugins/org.etsi.mts.tdl.constraints.ui</module>
		<module>../plugins/org.etsi.mts.tdl.constraints.helper</module>
		<!-- GR -->
		<module>../plugins/org.etsi.mts.tdl.graphical.labels.data</module>
		<module>../plugins/org.etsi.mts.tdl.graphical.labels.data.ui</module>
		<module>../plugins/org.etsi.mts.tdl.graphical.viewpoint</module>
		<!-- Features -->
		<module>../features/org.etsi.mts.tdl.model.feature</module> 
		<module>../features/org.etsi.mts.tdl.tx.feature</module> 
@@ -58,6 +62,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
		<module>../features/org.etsi.mts.tdl.converters.feature</module> 
		<module>../features/org.etsi.mts.tdl.util.feature</module> 
		<module>../features/org.etsi.mts.tdl.tools.to.docx.feature</module> 
		<module>../features/org.etsi.mts.tdl.graphical.editor.feature</module> 
		<!-- Update Site -->
		<module>../updatesite/org.etsi.mts.tdl.updatesite</module>
	</modules>
+37 −0
Original line number Diff line number Diff line
<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.etsi.mts.tdl</groupId>
	  	<artifactId>org.etsi.mts.tdl.parent</artifactId>
		<version>1.0.0-SNAPSHOT</version>
		<relativePath>../../org.etsi.mts.tdl.parent</relativePath>

	</parent>
  
	<artifactId>org.etsi.mts.tdl.graphical.labels.data.ui</artifactId>
	<packaging>eclipse-plugin</packaging>

	<name>TDL GR Data Labels Textual Syntax UI</name>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-clean-plugin</artifactId>
				<executions>
					<execution>
						<id>gen-clean</id>
						<phase>clean</phase>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.eclipse.xtend</groupId>
				<artifactId>xtend-maven-plugin</artifactId>
			</plugin>
		</plugins>
	</build>
</project>
 No newline at end of file
+154 −0
Original line number Diff line number Diff line
<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.etsi.mts.tdl</groupId>
	  	<artifactId>org.etsi.mts.tdl.parent</artifactId>
		<version>1.0.0-SNAPSHOT</version>
		<relativePath>../../org.etsi.mts.tdl.parent</relativePath>

	</parent>
  
	<artifactId>org.etsi.mts.tdl.graphical.labels.data</artifactId>
	<packaging>eclipse-plugin</packaging>

	<name>TDL GR Data Labels Textual Syntax</name>

	<build>
		<plugins>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>exec-maven-plugin</artifactId>
				<version>3.0.0</version>
				<executions>
					<execution>
						<id>mwe2Launcher</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>java</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<mainClass>org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher</mainClass>
					<arguments>
						<argument>/${project.basedir}/src/org/etsi/mts/tdl/graphical/labels/GenerateData.mwe2</argument>
						<argument>-p</argument>
						<argument>rootPath=/${project.basedir}/..</argument>
					</arguments>
					<classpathScope>compile</classpathScope>
					<includePluginDependencies>true</includePluginDependencies>
					<cleanupDaemonThreads>false</cleanupDaemonThreads><!-- see https://bugs.eclipse.org/bugs/show_bug.cgi?id=475098#c3 -->
				</configuration>
				<dependencies>
					<dependency>
						<groupId>org.eclipse.xtext</groupId>
						<artifactId>xtext-antlr-generator</artifactId>
						<version>2.1.1</version>
					</dependency>
				</dependencies>
			</plugin>
			<plugin>
				<groupId>org.eclipse.xtend</groupId>
				<artifactId>xtend-maven-plugin</artifactId>
			</plugin>
	
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-clean-plugin</artifactId>
				<configuration>
					<filesets combine.children="append">
						<fileset>
							<directory>${basedir}/../org.etsi.mts.tdl.graphical.labels.data/src-gen/</directory>
							<includes>
								<include>**/*</include>
							</includes>
							<excludes>
								<exclude>.gitignore</exclude>
							</excludes>
						</fileset>
						<fileset>
							<directory>${basedir}/../org.etsi.mts.tdl.graphical.labels.data/xtend-gen/</directory>
							<includes>
								<include>**/*</include>
							</includes>
							<excludes>
								<exclude>.gitignore</exclude>
							</excludes>
						</fileset>
						<!-- <fileset>
							<directory>${basedir}/../org.etsi.mts.tdl.tx.tests/src-gen/</directory>
							<includes>
								<include>**/*</include>
							</includes>
						</fileset> -->
						<fileset>
							<directory>${basedir}/../org.etsi.mts.tdl.graphical.labels.data.ui/src-gen/</directory>
							<includes>
								<include>**/*</include>
							</includes>
							<excludes>
								<exclude>.gitignore</exclude>
							</excludes>
						</fileset>
						<fileset>
							<directory>${basedir}/../org.etsi.mts.tdl.graphical.labels.data.ui/xtend-gen/</directory>
							<includes>
								<include>**/*</include>
							</includes>
							<excludes>
								<exclude>.gitignore</exclude>
							</excludes>
						</fileset>
						<!-- <fileset>
							<directory>${basedir}/../org.etsi.mts.tdl.tx.ui.tests/src-gen/</directory>
							<includes>
								<include>**/*</include>
							</includes>
						</fileset> -->
						<!-- <fileset>
							<directory>${basedir}/model/generated/</directory>
						</fileset> -->
					</filesets>
				</configuration>
			</plugin>
		</plugins>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.eclipse.m2e</groupId>
					<artifactId>lifecycle-mapping</artifactId>
					<version>1.0.0</version>
					<configuration>
						<lifecycleMappingMetadata>
							<pluginExecutions>
								<pluginExecution>
									<pluginExecutionFilter>
										<groupId>
											org.codehaus.mojo
										</groupId>
										<artifactId>
											exec-maven-plugin
										</artifactId>
										<versionRange>
											[1.2.1,)
										</versionRange>
										<goals>
											<goal>java</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore></ignore>
									</action>
								</pluginExecution>
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>

</project>
+19 −0
Original line number Diff line number Diff line
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
	  <groupId>org.etsi.mts.tdl</groupId>
    <artifactId>org.etsi.mts.tdl.parent</artifactId>
	  <version>1.0.0-SNAPSHOT</version>
	  <relativePath>../../org.etsi.mts.tdl.parent</relativePath>

  </parent>
  <artifactId>org.etsi.mts.tdl.graphical.viewpoint</artifactId>
  <packaging>eclipse-plugin</packaging>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
      </plugin>
    </plugins>
  </build>
</project>
 No newline at end of file
Loading