]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fixed mvn package and verify to also work with linux (+mac?)
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 10 Aug 2017 10:35:14 +0000 (13:35 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 10 Aug 2017 10:35:14 +0000 (13:35 +0300)
Added settings.xml file to root that contains credentials for Maven
to download the Simantics maven graph-compiler plugin.

refs #7358

README.md [new file with mode: 0644]
bundles/org.simantics.editors.win32/pom.xml [new file with mode: 0644]
releng/org.simantics.tycho.configuration/pom.xml
settings.xml [new file with mode: 0644]

diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..d0d9155
--- /dev/null
+++ b/README.md
@@ -0,0 +1,9 @@
+To build the platform, run:
+mvn -s settings.xml package
+
+or to run unit tests as well:
+mvn -s settings.xml verify
+
+If you're building the platform inside Eclipse IDE, remember to give
+the settings.xml file to the Maven / User Settings preference page
+User Settings field.
diff --git a/bundles/org.simantics.editors.win32/pom.xml b/bundles/org.simantics.editors.win32/pom.xml
new file mode 100644 (file)
index 0000000..d987eeb
--- /dev/null
@@ -0,0 +1,31 @@
+<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.editors.win32</artifactId>
+        <packaging>eclipse-plugin</packaging>
+        <version>1.0.0-SNAPSHOT</version>
+
+        <parent>
+                <groupId>org.simantics</groupId>
+                <artifactId>org.simantics.root.bundles</artifactId>
+                <version>1.0.0-SNAPSHOT</version>
+                <relativePath>..</relativePath>
+        </parent>
+
+        <build>
+                <plugins>
+                        <plugin>
+                                <groupId>org.eclipse.tycho</groupId>
+                                <artifactId>target-platform-configuration</artifactId>
+                                <configuration>
+                                        <environments>
+                                                <environment>
+                                                        <os>win32</os>
+                                                </environment>
+                                        </environments>
+                                </configuration>
+                        </plugin>
+                </plugins>
+        </build>
+
+</project>
index 66070b623e3b50c38491ae4842b62849bd30c5bc..86c4ce44deb6c4ff6bb1dc38d21c2ebf1976c02a 100644 (file)
@@ -66,7 +66,6 @@
                                                </artifact>
                                        </target>
                                        <environments>
-<!--
                                                <environment>
                                                        <os>linux</os>
                                                        <ws>gtk</ws>
@@ -77,7 +76,6 @@
                                                        <ws>gtk</ws>
                                                        <arch>x86_64</arch>
                                                </environment>
--->
                                                <environment>
                                                        <os>win32</os>
                                                        <ws>win32</ws>
                                                        <ws>win32</ws>
                                                        <arch>x86_64</arch>
                                                </environment>
-<!--
                                                <environment>
                                                        <os>macosx</os>
                                                        <ws>cocoa</ws>
                                                        <arch>x86_64</arch>
                                                </environment>
--->
                                        </environments>
                                </configuration>
                        </plugin>
diff --git a/settings.xml b/settings.xml
new file mode 100644 (file)
index 0000000..1aabd4d
--- /dev/null
@@ -0,0 +1,13 @@
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
+                      http://maven.apache.org/xsd/settings-1.0.0.xsd">
+  <servers>
+    <server>
+      <id>graph-builder-snapshot</id>
+      <username>graph-builder</username>
+      <password>graph-builder</password>
+    </server>
+  </servers>
+</settings>
+