Skip to content

Commit d746c2a

Browse files
committed
Clean up Maven build for split artifacts
1 parent 32661ee commit d746c2a

3 files changed

Lines changed: 14 additions & 130 deletions

File tree

java/api/pom.xml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -13,50 +13,8 @@
1313
<description>Java API for the Prism Ruby language parser</description>
1414
<url>https://github.com/ruby/prism</url>
1515

16-
<dependencies>
17-
<dependency>
18-
<groupId>org.ruby-lang</groupId>
19-
<artifactId>prism-parser-native</artifactId>
20-
<version>0.0.2-SNAPSHOT</version>
21-
<scope>provided</scope>
22-
</dependency>
23-
</dependencies>
24-
2516
<build>
2617
<plugins>
27-
<plugin>
28-
<groupId>org.codehaus.mojo</groupId>
29-
<artifactId>templating-maven-plugin</artifactId>
30-
<version>3.1.0</version>
31-
<executions>
32-
<execution>
33-
<id>filtering-java-templates</id>
34-
<goals>
35-
<goal>filter-sources</goal>
36-
</goals>
37-
</execution>
38-
</executions>
39-
</plugin>
40-
<plugin>
41-
<groupId>org.apache.maven.plugins</groupId>
42-
<artifactId>maven-compiler-plugin</artifactId>
43-
<version>3.15.0</version>
44-
<configuration>
45-
<release>21</release>
46-
<annotationProcessorPaths>
47-
<path>
48-
<groupId>com.dylibso.chicory</groupId>
49-
<artifactId>annotations-processor</artifactId>
50-
<version>${chicory.version}</version>
51-
</path>
52-
</annotationProcessorPaths>
53-
</configuration>
54-
</plugin>
55-
<plugin>
56-
<groupId>org.apache.maven.plugins</groupId>
57-
<artifactId>maven-surefire-plugin</artifactId>
58-
<version>3.5.5</version>
59-
</plugin>
6018
<plugin>
6119
<groupId>org.codehaus.mojo</groupId>
6220
<artifactId>build-helper-maven-plugin</artifactId>

java/native/pom.xml

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -13,60 +13,4 @@
1313
<description>Java native bindings Prism parser shared library</description>
1414
<url>https://github.com/ruby/prism</url>
1515

16-
<build>
17-
<plugins>
18-
<plugin>
19-
<groupId>org.codehaus.mojo</groupId>
20-
<artifactId>templating-maven-plugin</artifactId>
21-
<version>3.1.0</version>
22-
<executions>
23-
<execution>
24-
<id>filtering-java-templates</id>
25-
<goals>
26-
<goal>filter-sources</goal>
27-
</goals>
28-
</execution>
29-
</executions>
30-
</plugin>
31-
<plugin>
32-
<groupId>org.apache.maven.plugins</groupId>
33-
<artifactId>maven-compiler-plugin</artifactId>
34-
<version>3.15.0</version>
35-
<configuration>
36-
<release>21</release>
37-
<annotationProcessorPaths>
38-
<path>
39-
<groupId>com.dylibso.chicory</groupId>
40-
<artifactId>annotations-processor</artifactId>
41-
<version>${chicory.version}</version>
42-
</path>
43-
</annotationProcessorPaths>
44-
</configuration>
45-
</plugin>
46-
<plugin>
47-
<groupId>org.apache.maven.plugins</groupId>
48-
<artifactId>maven-surefire-plugin</artifactId>
49-
<version>3.5.5</version>
50-
</plugin>
51-
<plugin>
52-
<groupId>org.codehaus.mojo</groupId>
53-
<artifactId>build-helper-maven-plugin</artifactId>
54-
<version>3.6.1</version>
55-
<executions>
56-
<execution>
57-
<phase>generate-sources</phase>
58-
<goals>
59-
<goal>add-source</goal>
60-
</goals>
61-
<configuration>
62-
<sources>
63-
<source>../java</source>
64-
</sources>
65-
</configuration>
66-
</execution>
67-
</executions>
68-
</plugin>
69-
</plugins>
70-
</build>
71-
7216
</project>

java/pom.xml

Lines changed: 14 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
4646
<maven.compiler.source>21</maven.compiler.source>
4747
<maven.compiler.target>21</maven.compiler.target>
48-
49-
<chicory.version>1.7.3</chicory.version>
5048
<junit.version>6.0.3</junit.version>
5149
</properties>
5250

@@ -56,36 +54,6 @@
5654
<module>wasm</module>
5755
</modules>
5856

59-
<dependencyManagement>
60-
<dependencies>
61-
<dependency>
62-
<groupId>org.apache.maven.plugins</groupId>
63-
<artifactId>maven-gpg-plugin</artifactId>
64-
<version>3.2.4</version>
65-
</dependency>
66-
<dependency>
67-
<groupId>org.apache.maven.plugins</groupId>
68-
<artifactId>maven-compiler-plugin</artifactId>
69-
<version>3.15.0</version>
70-
</dependency>
71-
<dependency>
72-
<groupId>org.apache.maven.plugins</groupId>
73-
<artifactId>maven-source-plugin</artifactId>
74-
<version>3.4.0</version>
75-
</dependency>
76-
<dependency>
77-
<groupId>org.apache.maven.plugins</groupId>
78-
<artifactId>maven-javadoc-plugin</artifactId>
79-
<version>3.12.0</version>
80-
</dependency>
81-
<dependency>
82-
<groupId>org.sonatype.central</groupId>
83-
<artifactId>central-publishing-maven-plugin</artifactId>
84-
<version>0.7.0</version>
85-
</dependency>
86-
</dependencies>
87-
</dependencyManagement>
88-
8957
<profiles>
9058
<profile>
9159
<id>release</id>
@@ -117,8 +85,16 @@
11785

11886
<build>
11987
<plugins>
88+
<plugin>
89+
<artifactId>maven-compiler-plugin</artifactId>
90+
<version>3.15.0</version>
91+
<configuration>
92+
<release>21</release>
93+
</configuration>
94+
</plugin>
12095
<plugin>
12196
<artifactId>maven-source-plugin</artifactId>
97+
<version>3.4.0</version>
12298
<executions>
12399
<execution>
124100
<id>attach-sources</id>
@@ -128,8 +104,14 @@
128104
</execution>
129105
</executions>
130106
</plugin>
107+
<plugin>
108+
<groupId>org.apache.maven.plugins</groupId>
109+
<artifactId>maven-surefire-plugin</artifactId>
110+
<version>3.5.5</version>
111+
</plugin>
131112
<plugin>
132113
<artifactId>maven-javadoc-plugin</artifactId>
114+
<version>3.12.0</version>
133115
<executions>
134116
<execution>
135117
<id>attach-javadocs</id>

0 commit comments

Comments
 (0)