Skip to content

Commit c63a202

Browse files
committed
Update to vertx5-parent
1 parent 0d7bad5 commit c63a202

File tree

1 file changed

+24
-85
lines changed

1 file changed

+24
-85
lines changed

pom.xml

Lines changed: 24 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
<parent>
2121
<groupId>io.vertx</groupId>
22-
<artifactId>vertx-ext-parent</artifactId>
23-
<version>38</version>
22+
<artifactId>vertx5-parent</artifactId>
23+
<version>3</version>
2424
</parent>
2525

2626
<artifactId>vertx-http-proxy</artifactId>
@@ -31,7 +31,6 @@
3131
<properties>
3232
<stack.version>5.0.0-SNAPSHOT</stack.version>
3333
<fatjar.dir>${project.build.directory}</fatjar.dir>
34-
<doc.skip>false</doc.skip>
3534
<jar.manifest>${project.basedir}/src/main/resources/META-INF/MANIFEST.MF</jar.manifest>
3635
</properties>
3736

@@ -102,97 +101,37 @@
102101

103102
<build>
104103

104+
<pluginManagement>
105+
<plugins>
106+
<plugin>
107+
<artifactId>maven-compiler-plugin</artifactId>
108+
<executions>
109+
<execution>
110+
<id>default-compile</id>
111+
<phase>compile</phase>
112+
<configuration>
113+
<annotationProcessors>
114+
<annotationProcessor>io.vertx.codegen.CodeGenProcessor</annotationProcessor>
115+
<annotationProcessor>io.vertx.docgen.JavaDocGenProcessor</annotationProcessor>
116+
</annotationProcessors>
117+
</configuration>
118+
</execution>
119+
</executions>
120+
</plugin>
121+
</plugins>
122+
</pluginManagement>
105123
<plugins>
106-
<!-- Copy resources after compilation phase as we generate JS in src/main/resources -->
107124
<plugin>
108-
<artifactId>maven-resources-plugin</artifactId>
125+
<artifactId>maven-assembly-plugin</artifactId>
109126
<executions>
110127
<execution>
111-
<id>default-resources</id>
112-
<phase>process-classes</phase>
113-
</execution>
114-
</executions>
115-
</plugin>
116-
<plugin>
117-
<groupId>org.apache.maven.plugins</groupId>
118-
<artifactId>maven-surefire-plugin</artifactId>
119-
<configuration>
120-
<failIfNoTests>false</failIfNoTests>
121-
<systemPropertyVariables>
122-
<vertx.test.dir>${project.build.directory}</vertx.test.dir>
123-
<vertx.test.timeout>60</vertx.test.timeout>
124-
<io.netty.leakDetectionLevel>PARANOID</io.netty.leakDetectionLevel>
125-
</systemPropertyVariables>
126-
<argLine>-server -Xms128m -Xmx1024m -XX:NewRatio=2</argLine>
127-
</configuration>
128-
</plugin>
129-
<plugin>
130-
<artifactId>maven-jar-plugin</artifactId>
131-
<executions>
132-
<execution>
133-
<id>default-jar</id>
134-
<phase>process-classes</phase>
135-
<configuration>
136-
<archive>
137-
<manifestEntries>
138-
<Main-Verticle>service:io.vertx.ext.shell</Main-Verticle>
139-
</manifestEntries>
140-
</archive>
141-
</configuration>
142-
</execution>
143-
</executions>
144-
</plugin>
145-
146-
<plugin>
147-
<groupId>org.apache.maven.plugins</groupId>
148-
<artifactId>maven-shade-plugin</artifactId>
149-
<version>2.3</version>
150-
<executions>
151-
<!-- Run shade goal on package phase -->
152-
<execution>
153-
<phase>package</phase>
128+
<id>package-docs</id>
154129
<goals>
155-
<goal>shade</goal>
130+
<goal>single</goal>
156131
</goals>
157-
<configuration>
158-
<filters>
159-
<filter>
160-
<artifact>*:*</artifact>
161-
<excludes>
162-
<exclude>META-INF/*.SF</exclude>
163-
<exclude>META-INF/*.DSA</exclude>
164-
<exclude>META-INF/*.RSA</exclude>
165-
</excludes>
166-
</filter>
167-
</filters>
168-
<outputDirectory>${fatjar.dir}</outputDirectory>
169-
<finalName>${project.artifactId}-${project.version}-fat</finalName>
170-
<transformers>
171-
<!-- add Main-Class to manifest file -->
172-
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
173-
<mainClass>io.vertx.httpproxy.Main</mainClass>
174-
</transformer>
175-
</transformers>
176-
</configuration>
177132
</execution>
178133
</executions>
179134
</plugin>
180-
181135
</plugins>
182-
<pluginManagement>
183-
<plugins>
184-
185-
<!-- Execute with mvn java:exec -->
186-
<plugin>
187-
<groupId>org.codehaus.mojo</groupId>
188-
<artifactId>exec-maven-plugin</artifactId>
189-
<version>1.3.2</version>
190-
<configuration>
191-
<mainClass>io.vertx.ext.shell.Main</mainClass>
192-
<classpathScope>test</classpathScope>
193-
</configuration>
194-
</plugin>
195-
</plugins>
196-
</pluginManagement>
197136
</build>
198137
</project>

0 commit comments

Comments
 (0)