]> gerrit.simantics Code Review - simantics/fmil.git/commitdiff
Added project for p2 repository generation from FMIL feature.
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 30 Jan 2017 13:50:48 +0000 (15:50 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 30 Jan 2017 13:50:48 +0000 (15:50 +0200)
refs #6879

org.simantics.fmil.parent/pom.xml
org.simantics.fmil.repository/.gitignore [new file with mode: 0644]
org.simantics.fmil.repository/.project [new file with mode: 0644]
org.simantics.fmil.repository/.settings/org.eclipse.core.resources.prefs [new file with mode: 0644]
org.simantics.fmil.repository/.settings/org.eclipse.m2e.core.prefs [new file with mode: 0644]
org.simantics.fmil.repository/category.xml [new file with mode: 0644]
org.simantics.fmil.repository/pom.xml [new file with mode: 0644]

index 87571c093cf1ec9e92c096e32053ba38b9ed482f..364d0737f59f7bf2ae7ac939c9fce42597123274 100644 (file)
@@ -8,14 +8,14 @@
 \r
        <properties>\r
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
-               <tycho-version>0.25.0</tycho-version>\r
+               <tycho-version>0.26.0</tycho-version>\r
        </properties>\r
 \r
        <repositories>\r
                <repository>\r
                        <id>simantics-sdk</id>\r
                        <layout>p2</layout>\r
-                       <url>http://www.simantics.org/download/head/sdk</url>\r
+                       <url>http://www.simantics.org/download/master/sdk</url>\r
                </repository>\r
        </repositories>\r
 \r
@@ -69,5 +69,6 @@
                <module>../org.simantics.fmil.feature</module>\r
                <module>../org.simantics.fmil.win32</module>\r
                <module>../org.simantics.fmil.win64</module>\r
+               <module>../org.simantics.fmil.repository</module>\r
        </modules>\r
-</project>
\ No newline at end of file
+</project>\r
diff --git a/org.simantics.fmil.repository/.gitignore b/org.simantics.fmil.repository/.gitignore
new file mode 100644 (file)
index 0000000..c4130ba
--- /dev/null
@@ -0,0 +1 @@
+/target/**
diff --git a/org.simantics.fmil.repository/.project b/org.simantics.fmil.repository/.project
new file mode 100644 (file)
index 0000000..8a789fc
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.simantics.sysdyn.repository</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.pde.UpdateSiteBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.m2e.core.maven2Builder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.m2e.core.maven2Nature</nature>
+               <nature>org.eclipse.pde.UpdateSiteNature</nature>
+       </natures>
+</projectDescription>
diff --git a/org.simantics.fmil.repository/.settings/org.eclipse.core.resources.prefs b/org.simantics.fmil.repository/.settings/org.eclipse.core.resources.prefs
new file mode 100644 (file)
index 0000000..99f26c0
--- /dev/null
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/org.simantics.fmil.repository/.settings/org.eclipse.m2e.core.prefs b/org.simantics.fmil.repository/.settings/org.eclipse.m2e.core.prefs
new file mode 100644 (file)
index 0000000..f897a7f
--- /dev/null
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/org.simantics.fmil.repository/category.xml b/org.simantics.fmil.repository/category.xml
new file mode 100644 (file)
index 0000000..62d721f
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+   <feature id="org.simantics.fmil">
+      <category name="org.simantics.fmi"/>
+   </feature>
+   <category-def name="org.simantics.fmi" label="Simantics FMI Support">
+      <description>
+         This is the P2 repository for Simantics FMI support components
+      </description>
+   </category-def>
+</site>
diff --git a/org.simantics.fmil.repository/pom.xml b/org.simantics.fmil.repository/pom.xml
new file mode 100644 (file)
index 0000000..1ee6036
--- /dev/null
@@ -0,0 +1,73 @@
+<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>
+       <artifactId>org.simantics.fmil.repository</artifactId>
+       <version>1.26.0-SNAPSHOT</version>
+       <packaging>eclipse-repository</packaging>
+
+       <parent>
+               <groupId>org.simantics.fmi</groupId>
+               <artifactId>org.simantics.fmil.parent</artifactId>
+               <version>0.0.1-SNAPSHOT</version>
+                <relativePath>../org.simantics.fmil.parent</relativePath>
+       </parent>
+
+       <build>
+               <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-clean-plugin
+                                                                               </artifactId>
+                                                                               <versionRange>
+                                                                                       [2.5,)
+                                                                               </versionRange>
+                                                                               <goals>
+                                                                                       <goal>clean</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore></ignore>
+                                                                       </action>
+                                                               </pluginExecution>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>
+                                                                                       org.eclipse.tycho
+                                                                               </groupId>
+                                                                               <artifactId>
+                                                                                       tycho-packaging-plugin
+                                                                               </artifactId>
+                                                                               <versionRange>
+                                                                                       [0.26.0,)
+                                                                               </versionRange>
+                                                                               <goals>
+                                                                                       <goal>
+                                                                                               build-qualifier-aggregator
+                                                                                       </goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore></ignore>
+                                                                       </action>
+                                                               </pluginExecution>
+                                                       </pluginExecutions>
+                                               </lifecycleMappingMetadata>
+                                       </configuration>
+                               </plugin>
+                       </plugins>
+               </pluginManagement>
+       </build>
+</project>