1 Star 0 Fork 0

张金来/webdrivermanager

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 19.22 KB
一键复制 编辑 原始数据 按行查看 历史
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>5.0.4-SNAPSHOT</version>
<properties>
<!-- compile -->
<slf4j.version>1.7.32</slf4j.version>
<gson.version>2.8.9</gson.version>
<jsoup.version>1.14.3</jsoup.version>
<docker-java.version>3.2.12</docker-java.version>
<guava.version>31.0.1-jre</guava.version>
<brotli.version>0.1.2</brotli.version>
<!-- provided -->
<javalin.version>4.1.1</javalin.version>
<selenium.version>4.1.1</selenium.version>
<!-- test -->
<logback.version>1.2.10</logback.version>
<junit.version>5.8.2</junit.version>
<assertj.version>3.21.0</assertj.version>
<mockserver.version>5.11.2</mockserver.version>
<!-- plugins -->
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
<exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
<maven-asciidoctor-plugin.version>2.2.1</maven-asciidoctor-plugin.version>
<asciidoctorj-pdf.version>1.6.0</asciidoctorj-pdf.version>
<asciidoctorj-epub3.version>1.5.1</asciidoctorj-epub3.version>
<maven-site.version>3.10.0</maven-site.version>
<maven-project-info-reports.version>3.1.2</maven-project-info-reports.version>
<maven-javadoc-plugin.version>3.3.1</maven-javadoc-plugin.version>
<!-- Java version -->
<java.version>1.8</java.version>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.source>${java.version}</maven.compiler.source>
<!-- encoding -->
<project.encondig>UTF-8</project.encondig>
<project.build.sourceEncoding>${project.encondig}</project.build.sourceEncoding>
<project.reporting.outputEncoding>${project.encondig}</project.reporting.outputEncoding>
<!-- format date -->
<maven.build.timestamp.format>dd-MM-yyyy</maven.build.timestamp.format>
<!-- custom -->
<wdm.mainClass>io.github.bonigarcia.wdm.WebDriverManager</wdm.mainClass>
<wdm.agentClass>io.github.bonigarcia.wdm.WdmAgent</wdm.agentClass>
<wdm.manifest>src/main/resources/META-INF/MANIFEST.MF</wdm.manifest>
</properties>
<name>WebDriverManager</name>
<description>
Automated driver management and Docker builder for Selenium WebDriver
</description>
<url>https://bonigarcia.dev/webdrivermanager/</url>
<developers>
<developer>
<id>bonigarcia</id>
<name>Boni Garcia</name>
<url>https://bonigarcia.dev/</url>
</developer>
</developers>
<licenses>
<license>
<name>Apache 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/bonigarcia/webdrivermanager.git</connection>
<developerConnection>scm:git:git@github.com:bonigarcia/webdrivermanager.git</developerConnection>
<url>https://github.com/bonigarcia/webdrivermanager</url>
<tag>webdrivermanager-5.0.0</tag>
</scm>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>${jsoup.version}</version>
</dependency>
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java</artifactId>
<version>${docker-java.version}</version>
<exclusions>
<exclusion>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-transport-jersey</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-transport-netty</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-transport-httpclient5</artifactId>
<version>${docker-java.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.brotli</groupId>
<artifactId>dec</artifactId>
<version>${brotli.version}</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>${selenium.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.javalin</groupId>
<artifactId>javalin</artifactId>
<version>${javalin.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mock-server</groupId>
<artifactId>mockserver-junit-jupiter</artifactId>
<version>${mockserver.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-grid</artifactId>
<version>${selenium.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
<configuration>
<excludes>
<exclude>**com.gargoylesoftware*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${exec-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>${wdm.mainClass}</mainClass>
<includePluginDependencies>false</includePluginDependencies>
<cleanupDaemonThreads>false</cleanupDaemonThreads>
<classpathScope>test</classpathScope>
<systemProperties>
<systemProperty>
<key>logback.configurationFile</key>
<value>src/main/resources/logback.xml</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>${wdm.mainClass}</mainClass>
</manifest>
<manifestEntries>
<Premain-Class>${wdm.agentClass}</Premain-Class>
<Can-Redefine-Classes>true</Can-Redefine-Classes>
<Can-Retransform-Classes>true</Can-Retransform-Classes>
</manifestEntries>
</archive>
<descriptors>
<descriptor>src/main/resources/assembly.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<excludes>
<exclude>**/*.xml</exclude>
</excludes>
<archive>
<manifestFile>${wdm.manifest}</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>${maven-asciidoctor-plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-pdf</artifactId>
<version>${asciidoctorj-pdf.version}</version>
</dependency>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-epub3</artifactId>
<version>${asciidoctorj-epub3.version}</version>
</dependency>
</dependencies>
<configuration>
<sourceDirectory>src/doc/asciidoc</sourceDirectory>
<attributes>
<endpoint-url>https://bonigarcia.dev</endpoint-url>
<sourcedir>${project.build.sourceDirectory}</sourcedir>
<project-version>${project.version}</project-version>
</attributes>
<outputDirectory>${basedir}/docs</outputDirectory>
</configuration>
<executions>
<execution>
<id>asciidoc-to-html</id>
<phase>pre-site</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>html5</backend>
<attributes>
<source-highlighter>coderay</source-highlighter>
<stylesheet>css/styles.css</stylesheet>
<imagesdir>img</imagesdir>
<toc>left</toc>
<icons>font</icons>
<sectanchors>true</sectanchors>
<idprefix />
<idseparator>-</idseparator>
<docinfo1>true</docinfo1>
<toclevels>3</toclevels>
<sectnums />
<lang>en</lang>
<docdatetime>${maven.build.timestamp}</docdatetime>
<last-update-label>Updated on</last-update-label>
</attributes>
</configuration>
</execution>
<execution>
<id>asciidoc-to-pdf</id>
<phase>site</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<doctype>book</doctype>
<backend>pdf</backend>
<sourceDirectory>src/doc/asciidoc</sourceDirectory>
<sourceDocumentName>index.adoc</sourceDocumentName>
<outputFile>${project.artifactId}.pdf</outputFile>
<attributes>
<source-highlighter>coderay</source-highlighter>
<imagesdir>img</imagesdir>
<pagenums />
<toc />
<idprefix />
<idseparator>-</idseparator>
<icons>font</icons>
<sectnums />
<lang>en</lang>
<revnumber>${project.version}</revnumber>
<revdate>${maven.build.timestamp}</revdate>
</attributes>
</configuration>
</execution>
<execution>
<id>asciidoc-to-epub</id>
<phase>site</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<doctype>book</doctype>
<backend>epub3</backend>
<sourceDirectory>src/doc/asciidoc</sourceDirectory>
<sourceDocumentName>index.adoc</sourceDocumentName>
<outputFile>${project.artifactId}.epub</outputFile>
<attributes>
<source-highlighter>coderay</source-highlighter>
<imagesdir>img</imagesdir>
<pagenums />
<toc />
<idprefix />
<idseparator>-</idseparator>
<icons>font</icons>
<sectnums />
<lang>en</lang>
<revnumber>${project.version}</revnumber>
<revdate>${maven.build.timestamp}</revdate>
</attributes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${maven-site.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${maven-project-info-reports.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<source>8</source>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus snapshot repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Sonatype Nexus release repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<configuration>
<passphrase>${gpg.passphrase}</passphrase>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cuge1995/webdrivermanager.git
git@gitee.com:cuge1995/webdrivermanager.git
cuge1995
webdrivermanager
webdrivermanager
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385