Skip to content

Commit

Permalink
Merge pull request #172 from kieler/nre/semantics-2023-06-fixes
Browse files Browse the repository at this point in the history
Fixed build/Eclipse handling
  • Loading branch information
NiklasRentzCAU authored Sep 4, 2023
2 parents 1cc5c06 + 4445b8d commit 870286c
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ final class RenderingPreparer {
static val StyleModificationContext singletonModContext = new StyleModificationContext();

/**
* @see de.cau.cs.kieler.klighd.piccolo.internal.controller.AbstractKGERenderingController#processModifiableStyles
* See {@code de.cau.cs.kieler.klighd.piccolo.internal.controller.AbstractKGERenderingController#processModifiableStyles}
*/
private static def void processModifiableStyles(KRendering rendering, KGraphElement parent) {
val styles = if (rendering instanceof KRenderingRef)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public Draw2DConnectionNode(final Connection theFigure) {
public void setPoints(final PointList pts) {
@SuppressWarnings("unchecked")
final
List<IFigure> children = this.getChildren();
List<IFigure> children = (List<IFigure>) this.getChildren();
for (final Connection child : Iterables.filter(children, Connection.class)) {
child.setPoints(pts);
}
Expand Down
71 changes: 71 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,77 @@
</dependency>
</dependencies>
</plugin -->

<!-- Configure Eclipse m2e to ignore certain plugin goals when integrating Maven build
settings into Eclipse. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<versionRange>${tycho-version}</versionRange>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
<goal>validate-classpath</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<versionRange>${tycho-version}</versionRange>
<goals>
<goal>build-qualifier</goal>
<goal>build-qualifier-aggregator</goal>
<goal>validate-id</goal>
<goal>validate-version</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<versionRange>[3.0.0,)</versionRange>
<goals>
<goal>clean</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<versionRange>[2.7.3,)</versionRange>
<goals>
<goal>target-platform</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down

0 comments on commit 870286c

Please sign in to comment.