| POM文件内容: |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>io.vertx</groupId>
<artifactId>vertx-web-parent</artifactId>
<version>3.7.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>vertx-web</artifactId>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
<license>
<name>Eclipse Public License - v 2.0</name>
<url>http://www.eclipse.org/legal/epl-v20.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties>
<doc.skip>false</doc.skip>
</properties>
<dependencies>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-web-common</artifactId>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-auth-common</artifactId>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-bridge-common</artifactId>
</dependency>
<!--
These should be optional so they're not dragged into web applications unless they're explicitly declared
-->
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-auth-jwt</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-auth-oauth2</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-auth-htdigest</artifactId>
<optional>true</optional>
</dependency>
<!-- Testing -->
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-unit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-auth-shiro</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.21</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.22.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<extensions>
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>1.4.0.Final</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<compilerArgument>-Xlint:all</compilerArgument>
</configuration>
</plugin>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.codehaus.gmavenplus
</groupId>
<artifactId>
gmavenplus-plugin
</artifactId>
<versionRange>[1.2,)</versionRange>
<goals>
<goal>compile</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${basedir}/src/client/vertx-eventbus.js</file>
<classifier>client</classifier>
<type>js</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>default-jar</id>
<configuration>
<archive>
<!-- Generate a jar INDEX.LIST -->
<index>true</index>
<!-- A manifest containing the OSGi metadata has been generated using the maven-bundle-plugin -->
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<!-- Add the Maven coordinates in the manifest -->
<manifestEntries>
<Maven-Group-Id>${project.groupId}</Maven-Group-Id>
<Maven-Artifact-Id>${project.artifactId}</Maven-Artifact-Id>
<Maven-Version>${project.version}</Maven-Version>
</manifestEntries>
</archive>
<!-- Remove examples and docoverride -->
<excludes>
<exclude>/examples/**</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>default-bnd-process</id>
<goals>
<goal>bnd-process</goal>
</goals>
</execution>
</executions>
<configuration>
<bnd><![CDATA[
Import-Package: \
groovy.lang.*;resolution:=optional,\
org.codehaus.groovy.*;resolution:=optional,\
kotlin.*;resolution:=optional,\
io.vertx.groovy.*;resolution:=optional,\
io.vertx.ext.auth,\
io.vertx.ext.auth.*;resolution:=optional,\
io.vertx.ext.bridge,\
io.vertx.ext.bridge.*;resolution:=optional,\
io.vertx.lang.rxjava.*;resolution:=optional,\
io.vertx.lang.groovy.*;resolution:=optional,\
io.vertx.codegen.annotations;resolution:=optional,\
io.vertx.rx.java;resolution:=optional,\
io.vertx.rxjava.core.*;resolution:=optional,\
io.vertx.rxjava.ext.auth.*;resolution:=optional,\
rx.*;resolution:=optional,\
io.reactivex.*;resolution:=optional,\
io.vertx.lang.reactivex.*;resolution:=optional,\
io.vertx.reactivex.*;resolution:=optional,\
*
-exportcontents: !*impl, !examples, *
]]></bnd>
</configuration>
</plugin>
</plugins>
</build>
</project>
|