]> gerrit.simantics Code Review - simantics/district.git/commitdiff
Added graph compilation to fix broken builds
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 6 Sep 2018 06:43:34 +0000 (09:43 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 6 Sep 2018 06:45:29 +0000 (09:45 +0300)
gitlab #2

(cherry picked from commit 988dc8f42b802fea000c10b572b73c67a37971b1)

org.simantics.district.network.ontology/graph.tg [deleted file]
org.simantics.district.network.ui.ontology/graph.tg [deleted file]
pom.xml

diff --git a/org.simantics.district.network.ontology/graph.tg b/org.simantics.district.network.ontology/graph.tg
deleted file mode 100644 (file)
index fc089f4..0000000
Binary files a/org.simantics.district.network.ontology/graph.tg and /dev/null differ
diff --git a/org.simantics.district.network.ui.ontology/graph.tg b/org.simantics.district.network.ui.ontology/graph.tg
deleted file mode 100644 (file)
index bb507c2..0000000
Binary files a/org.simantics.district.network.ui.ontology/graph.tg and /dev/null differ
diff --git a/pom.xml b/pom.xml
index 9f8ca0e951769f4c3d2811759031ab11a9c2f5ce..1b7d3d4dd2d806dc063de52c0728fc12dd0b5de7 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                </repository>
        </repositories>
 
+       <pluginRepositories>
+               <pluginRepository>
+                       <id>graph-builder-snapshot</id>
+                       <name>Graph Builder Repository</name>
+                       <url>https://repo.simupedia.com/repository/graph-builder-release</url>
+                       <layout>default</layout>
+                       <releases>
+                               <updatePolicy>never</updatePolicy>
+                       </releases>
+                       <snapshots>
+                               <updatePolicy>always</updatePolicy>
+                       </snapshots>
+               </pluginRepository>
+       </pluginRepositories>
+
        <build>
                <plugins>
+                       <plugin>
+                               <groupId>org.simantics</groupId>
+                               <artifactId>graph-builder-maven-plugin</artifactId>
+                               <version>0.0.9</version>
+                               <executions>
+                                       <execution>
+                                               <goals><goal>compile-graphs</goal></goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
                        <plugin>
                                <groupId>org.eclipse.tycho</groupId>
                                <artifactId>tycho-compiler-plugin</artifactId>