Skip to content

Commit

Permalink
Fixed missing class files in p2 repository #1
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuebner committed Dec 22, 2022
1 parent b2e56e9 commit 38184c0
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 1 deletion.
9 changes: 9 additions & 0 deletions io.typefox.xtext2langium.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
<packaging>eclipse-plugin</packaging>
<build>
<plugins>
<plugin>
<!-- clean "xtend-gen" and "target" folder. -->
<artifactId>maven-clean-plugin</artifactId>
</plugin>
<plugin>
<!-- Compile Xtend files -->
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
Expand Down
14 changes: 13 additions & 1 deletion io.typefox.xtext2langium/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,17 @@

<!-- This is a Maven-Tycho build. See https://eclipse.org/tycho/ -->
<packaging>eclipse-plugin</packaging>

<build>
<plugins>
<plugin>
<!-- clean "xtend-gen" and "target" folder. -->
<artifactId>maven-clean-plugin</artifactId>
</plugin>
<plugin>
<!-- Compile Xtend files -->
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
38 changes: 38 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,44 @@
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
<configuration>
<filesets>
<fileset>
<directory>${project.basedir}/target</directory>
</fileset>
<fileset>
<directory>${project.basedir}/xtend-gen</directory>
<includes>
<include>**/*</include>
</includes>
<excludes>
<exclude>.gitignore</exclude>
</excludes>
</fileset>
</filesets>
</configuration>
</plugin>
<!-- configure the Xtend compiler -->
<plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
<version>2.25.0</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<configuration>
<writeTraceFiles>false</writeTraceFiles>
<outputDirectory>${basedir}/xtend-gen</outputDirectory>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down

0 comments on commit 38184c0

Please sign in to comment.