|
19 | 19 |
|
20 | 20 | <parent>
|
21 | 21 | <groupId>io.vertx</groupId>
|
22 |
| - <artifactId>vertx-ext-parent</artifactId> |
23 |
| - <version>38</version> |
| 22 | + <artifactId>vertx5-parent</artifactId> |
| 23 | + <version>3</version> |
24 | 24 | </parent>
|
25 | 25 |
|
26 | 26 | <artifactId>vertx-http-proxy</artifactId>
|
|
31 | 31 | <properties>
|
32 | 32 | <stack.version>5.0.0-SNAPSHOT</stack.version>
|
33 | 33 | <fatjar.dir>${project.build.directory}</fatjar.dir>
|
34 |
| - <doc.skip>false</doc.skip> |
35 | 34 | <jar.manifest>${project.basedir}/src/main/resources/META-INF/MANIFEST.MF</jar.manifest>
|
36 | 35 | </properties>
|
37 | 36 |
|
|
102 | 101 |
|
103 | 102 | <build>
|
104 | 103 |
|
| 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> |
105 | 123 | <plugins>
|
106 |
| - <!-- Copy resources after compilation phase as we generate JS in src/main/resources --> |
107 | 124 | <plugin>
|
108 |
| - <artifactId>maven-resources-plugin</artifactId> |
| 125 | + <artifactId>maven-assembly-plugin</artifactId> |
109 | 126 | <executions>
|
110 | 127 | <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> |
154 | 129 | <goals>
|
155 |
| - <goal>shade</goal> |
| 130 | + <goal>single</goal> |
156 | 131 | </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> |
177 | 132 | </execution>
|
178 | 133 | </executions>
|
179 | 134 | </plugin>
|
180 |
| - |
181 | 135 | </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> |
197 | 136 | </build>
|
198 | 137 | </project>
|
0 commit comments