Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit ea5f04d

Browse files
Add source plugin to pom
1 parent 41fbc02 commit ea5f04d

1 file changed

Lines changed: 50 additions & 19 deletions

File tree

pom.xml

Lines changed: 50 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<artifactId>jakarta.websocket-api</artifactId>
2323
<version>2.1.0</version>
2424
</dependency>
25-
2625
</dependencies>
2726

2827
<build>
@@ -86,6 +85,39 @@
8685
</environments>
8786
</configuration>
8887
</plugin>
88+
<plugin>
89+
<groupId>org.eclipse.tycho</groupId>
90+
<artifactId>tycho-source-plugin</artifactId>
91+
<version>${tycho.version}</version>
92+
<executions>
93+
<execution>
94+
<id>plugin-source</id>
95+
<goals>
96+
<goal>plugin-source</goal>
97+
</goals>
98+
</execution>
99+
<execution>
100+
<id>feature-source</id>
101+
<goals>
102+
<goal>feature-source</goal>
103+
</goals>
104+
</execution>
105+
</executions>
106+
</plugin>
107+
<plugin>
108+
<groupId>org.eclipse.tycho</groupId>
109+
<artifactId>tycho-p2-plugin</artifactId>
110+
<version>${tycho.version}</version>
111+
<executions>
112+
<execution>
113+
<id>attached-p2-metadata</id>
114+
<phase>package</phase>
115+
<goals>
116+
<goal>p2-metadata</goal>
117+
</goals>
118+
</execution>
119+
</executions>
120+
</plugin>
89121
<plugin>
90122
<groupId>org.eclipse.xtend</groupId>
91123
<artifactId>xtend-maven-plugin</artifactId>
@@ -102,24 +134,23 @@
102134
</execution>
103135
</executions>
104136
</plugin>
105-
<plugin>
106-
<groupId>com.diffplug.spotless</groupId>
107-
<artifactId>spotless-maven-plugin</artifactId>
108-
<version>2.43.0</version>
109-
<configuration>
110-
<java>
111-
<includes>
112-
<include>bundles/**/*.java</include>
113-
<include>tests/**/*.java</include>
114-
</includes>
115-
<eclipse>
116-
<file>${maven.multiModuleProjectDirectory}/formatter.xml</file>
117-
</eclipse>
118-
<importOrder/>
119-
<removeUnusedImports/>
120-
</java>
121-
</configuration>
122-
</plugin>
137+
<plugin>
138+
<groupId>com.diffplug.spotless</groupId>
139+
<artifactId>spotless-maven-plugin</artifactId>
140+
<version>2.43.0</version>
141+
<configuration>
142+
<java>
143+
<includes>
144+
<include>bundles/**/*.java</include>
145+
<include>tests/**/*.java</include>
146+
</includes>
147+
<eclipse>
148+
<file>${maven.multiModuleProjectDirectory}/formatter.xml</file>
149+
</eclipse>
150+
<importOrder/>
151+
<removeUnusedImports/>
152+
</java>
153+
</plugin>
123154
</plugins>
124155
</build>
125156

0 commit comments

Comments
 (0)