Skip to content
This repository was archived by the owner on May 22, 2024. It is now read-only.

Commit d96002f

Browse files
committed
Removed plugin management.
1 parent 36884a2 commit d96002f

File tree

1 file changed

+147
-156
lines changed

1 file changed

+147
-156
lines changed

pom.xml

Lines changed: 147 additions & 156 deletions
Original file line numberDiff line numberDiff line change
@@ -48,171 +48,162 @@
4848
</dependency>
4949
</dependencies>
5050
<build>
51-
<pluginManagement>
52-
<plugins>
53-
<plugin>
54-
<artifactId>maven-compiler-plugin</artifactId>
55-
<version>3.8.0</version>
56-
<configuration>
57-
<source>11</source>
58-
<target>11</target>
59-
</configuration>
60-
</plugin>
61-
<plugin>
62-
<artifactId>maven-surefire-plugin</artifactId>
63-
<version>2.22.1</version>
64-
<configuration>
65-
<argLine>-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI --module-path=${compiler.dir} --upgrade-module-path=${compiler.dir}/compiler.jar</argLine>
66-
</configuration>
67-
</plugin>
68-
<plugin>
69-
<groupId>org.apache.maven.plugins</groupId>
70-
<artifactId>maven-dependency-plugin</artifactId>
71-
<version>2.10</version>
72-
<executions>
73-
<execution>
74-
<id>copy</id>
75-
<phase>process-test-classes</phase>
76-
<goals>
77-
<goal>copy</goal>
78-
</goals>
79-
<configuration>
80-
<artifactItems>
81-
<artifactItem>
82-
<groupId>org.graalvm.compiler</groupId>
83-
<artifactId>compiler</artifactId>
84-
<version>${graalvm.version}</version>
85-
<type>jar</type>
86-
<overWrite>true</overWrite>
87-
<destFileName>compiler.jar</destFileName>
88-
</artifactItem>
89-
<artifactItem>
90-
<groupId>org.graalvm.truffle</groupId>
91-
<artifactId>truffle-api</artifactId>
92-
<version>${graalvm.version}</version>
93-
<type>jar</type>
94-
<overWrite>true</overWrite>
95-
<destFileName>truffle-api.jar</destFileName>
96-
</artifactItem>
97-
<artifactItem>
98-
<groupId>org.graalvm.sdk</groupId>
99-
<artifactId>graal-sdk</artifactId>
100-
<version>${graalvm.version}</version>
101-
<type>jar</type>
102-
<overWrite>true</overWrite>
103-
<destFileName>graal-sdk.jar</destFileName>
104-
</artifactItem>
105-
</artifactItems>
106-
<outputDirectory>${compiler.dir}</outputDirectory>
107-
</configuration>
108-
</execution>
109-
</executions>
110-
</plugin>
111-
<plugin>
112-
<groupId>org.codehaus.mojo</groupId>
113-
<artifactId>exec-maven-plugin</artifactId>
114-
<version>1.6.0</version>
115-
<executions>
116-
<execution>
117-
<id>default-cli</id>
118-
<goals>
119-
<goal>exec</goal>
120-
</goals>
121-
<configuration>
122-
<arguments>
123-
<argument>--module-path</argument>
124-
<!-- automatically creates the modulepath using all project dependencies, also adding the project build directory -->
125-
<modulepath/>
126-
<argument>-classpath</argument>
127-
<!-- automatically creates the classpath using all project dependencies, also adding the project build directory -->
128-
<classpath/>
129-
<argument>-XX:+UnlockExperimentalVMOptions</argument>
130-
<argument>-XX:+EnableJVMCI</argument>
131-
<argument>--upgrade-module-path=${compiler.dir}/compiler.jar</argument>
132-
<argument>com.mycompany.app.App</argument>
133-
</arguments>
134-
</configuration>
135-
</execution>
136-
<execution>
137-
<id>nograal</id>
138-
<goals>
139-
<goal>exec</goal>
140-
</goals>
141-
<configuration>
142-
<arguments>
143-
<argument>--module-path</argument>
144-
<!-- automatically creates the modulepath using all project dependencies, also adding the project build directory -->
145-
<modulepath/>
146-
<argument>-classpath</argument>
147-
<!-- automatically creates the classpath using all project dependencies, also adding the project build directory -->
148-
<classpath/>
149-
<argument>com.mycompany.app.App</argument>
150-
</arguments>
151-
</configuration>
152-
</execution>
153-
</executions>
154-
<configuration>
155-
<executable>${JAVA_HOME}/bin/java</executable>
156-
</configuration>
157-
</plugin>
158-
</plugins>
159-
</pluginManagement>
16051
<plugins>
16152
<plugin>
53+
<artifactId>maven-compiler-plugin</artifactId>
54+
<version>3.8.0</version>
55+
<configuration>
56+
<source>11</source>
57+
<target>11</target>
58+
</configuration>
59+
</plugin>
60+
<plugin>
61+
<artifactId>maven-surefire-plugin</artifactId>
62+
<version>2.22.1</version>
63+
<configuration>
64+
<argLine>-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI --module-path=${compiler.dir} --upgrade-module-path=${compiler.dir}/compiler.jar</argLine>
65+
</configuration>
66+
</plugin>
67+
<plugin>
68+
<groupId>org.apache.maven.plugins</groupId>
16269
<artifactId>maven-dependency-plugin</artifactId>
70+
<version>2.10</version>
71+
<executions>
72+
<execution>
73+
<id>copy</id>
74+
<phase>process-test-classes</phase>
75+
<goals>
76+
<goal>copy</goal>
77+
</goals>
78+
<configuration>
79+
<artifactItems>
80+
<artifactItem>
81+
<groupId>org.graalvm.compiler</groupId>
82+
<artifactId>compiler</artifactId>
83+
<version>${graalvm.version}</version>
84+
<type>jar</type>
85+
<overWrite>true</overWrite>
86+
<destFileName>compiler.jar</destFileName>
87+
</artifactItem>
88+
<artifactItem>
89+
<groupId>org.graalvm.truffle</groupId>
90+
<artifactId>truffle-api</artifactId>
91+
<version>${graalvm.version}</version>
92+
<type>jar</type>
93+
<overWrite>true</overWrite>
94+
<destFileName>truffle-api.jar</destFileName>
95+
</artifactItem>
96+
<artifactItem>
97+
<groupId>org.graalvm.sdk</groupId>
98+
<artifactId>graal-sdk</artifactId>
99+
<version>${graalvm.version}</version>
100+
<type>jar</type>
101+
<overWrite>true</overWrite>
102+
<destFileName>graal-sdk.jar</destFileName>
103+
</artifactItem>
104+
</artifactItems>
105+
<outputDirectory>${compiler.dir}</outputDirectory>
106+
</configuration>
107+
</execution>
108+
</executions>
109+
</plugin>
110+
<plugin>
111+
<groupId>org.codehaus.mojo</groupId>
112+
<artifactId>exec-maven-plugin</artifactId>
113+
<version>1.6.0</version>
114+
<executions>
115+
<execution>
116+
<id>default-cli</id>
117+
<goals>
118+
<goal>exec</goal>
119+
</goals>
120+
<configuration>
121+
<arguments>
122+
<argument>--module-path</argument>
123+
<!-- automatically creates the modulepath using all project dependencies, also adding the project build directory -->
124+
<modulepath/>
125+
<argument>-classpath</argument>
126+
<!-- automatically creates the classpath using all project dependencies, also adding the project build directory -->
127+
<classpath/>
128+
<argument>-XX:+UnlockExperimentalVMOptions</argument>
129+
<argument>-XX:+EnableJVMCI</argument>
130+
<argument>--upgrade-module-path=${compiler.dir}/compiler.jar</argument>
131+
<argument>com.mycompany.app.App</argument>
132+
</arguments>
133+
</configuration>
134+
</execution>
135+
<execution>
136+
<id>nograal</id>
137+
<goals>
138+
<goal>exec</goal>
139+
</goals>
140+
<configuration>
141+
<arguments>
142+
<argument>--module-path</argument>
143+
<!-- automatically creates the modulepath using all project dependencies, also adding the project build directory -->
144+
<modulepath/>
145+
<argument>-classpath</argument>
146+
<!-- automatically creates the classpath using all project dependencies, also adding the project build directory -->
147+
<classpath/>
148+
<argument>com.mycompany.app.App</argument>
149+
</arguments>
150+
</configuration>
151+
</execution>
152+
</executions>
153+
<configuration>
154+
<executable>${JAVA_HOME}/bin/java</executable>
155+
</configuration>
163156
</plugin>
164157
</plugins>
165158
</build>
166159
</profile>
167160
</profiles>
168161
<build>
169-
<pluginManagement>
170-
<plugins>
171-
<plugin>
172-
<artifactId>maven-compiler-plugin</artifactId>
173-
<version>3.8.0</version>
174-
<configuration>
175-
<source>1.8</source>
176-
<target>1.8</target>
177-
</configuration>
178-
</plugin>
179-
<plugin>
180-
<artifactId>maven-surefire-plugin</artifactId>
181-
<version>2.22.1</version>
182-
</plugin>
183-
<plugin>
184-
<groupId>org.codehaus.mojo</groupId>
185-
<artifactId>exec-maven-plugin</artifactId>
186-
<version>1.6.0</version>
187-
<executions>
188-
<execution>
189-
<goals>
190-
<goal>exec</goal>
191-
</goals>
192-
<configuration>
193-
<arguments>
194-
<argument>--module-path</argument>
195-
<!-- automatically creates the modulepath using all project dependencies, also adding the project build directory -->
196-
<modulepath/>
197-
<argument>-classpath</argument>
198-
<!-- automatically creates the classpath using all project dependencies, also adding the project build directory -->
199-
<classpath/>
200-
</arguments>
201-
</configuration>
202-
</execution>
203-
</executions>
204-
<configuration>
205-
<executable>${JAVA_HOME}/bin/java</executable>
206-
<arguments>
207-
<argument>-classpath</argument>
208-
<!-- automatically creates the classpath using all project dependencies, also adding the project build directory -->
209-
<classpath/>
210-
<argument>com.mycompany.app.App</argument>
211-
</arguments>
212-
</configuration>
213-
</plugin>
214-
</plugins>
215-
</pluginManagement>
162+
<plugins>
163+
<plugin>
164+
<artifactId>maven-compiler-plugin</artifactId>
165+
<version>3.8.0</version>
166+
<configuration>
167+
<source>1.8</source>
168+
<target>1.8</target>
169+
</configuration>
170+
</plugin>
171+
<plugin>
172+
<artifactId>maven-surefire-plugin</artifactId>
173+
<version>2.22.1</version>
174+
</plugin>
175+
<plugin>
176+
<groupId>org.codehaus.mojo</groupId>
177+
<artifactId>exec-maven-plugin</artifactId>
178+
<version>1.6.0</version>
179+
<executions>
180+
<execution>
181+
<goals>
182+
<goal>exec</goal>
183+
</goals>
184+
<configuration>
185+
<arguments>
186+
<argument>--module-path</argument>
187+
<!-- automatically creates the modulepath using all project dependencies, also adding the project build directory -->
188+
<modulepath/>
189+
<argument>-classpath</argument>
190+
<!-- automatically creates the classpath using all project dependencies, also adding the project build directory -->
191+
<classpath/>
192+
</arguments>
193+
</configuration>
194+
</execution>
195+
</executions>
196+
<configuration>
197+
<executable>${JAVA_HOME}/bin/java</executable>
198+
<arguments>
199+
<argument>-classpath</argument>
200+
<!-- automatically creates the classpath using all project dependencies, also adding the project build directory -->
201+
<classpath/>
202+
<argument>com.mycompany.app.App</argument>
203+
</arguments>
204+
</configuration>
205+
</plugin>
206+
</plugins>
216207
</build>
217208
<dependencies>
218209
<dependency>

0 commit comments

Comments
 (0)