加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 6.76 KB
一键复制 编辑 原始数据 按行查看 历史
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.openwms</groupId>
<artifactId>org.openwms.parent</artifactId>
<version>20</version>
<relativePath />
</parent>
<artifactId>org.openwms</artifactId>
<version>2.0.0-SNAPSHOT</version>
<name>OpenWMS.org Project</name>
<packaging>pom</packaging>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/openwms/${project.artifactId}/issues</url>
</issueManagement>
<profiles>
<profile>
<!-- Use PostgreSQL as database -->
<id>postgres</id>
<activation>
<property>
<name>db</name>
<value>postgresql</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>
</profile>
<profile>
<!-- Use H2 as database -->
<id>h2</id>
<activation>
<property>
<name>db</name>
<value>h2</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>generate_glossary</id>
<!-- Call this profile together with all to generate the DocBook Glossary file -->
<!-- Note: The used doclet plugin is available on the private Nexus repository only -->
<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<source>${project.build.sourceEncoding}</source>
<doclet>org.openwms.doclet.GlossaryGeneratorDoclet</doclet>
<docletArtifact>
<groupId>org.openwms</groupId>
<artifactId>org.openwms.doclet</artifactId>
<version>0.0.1-SNAPSHOT</version>
</docletArtifact>
<charset>${project.build.sourceEncoding}</charset>
<encoding>${project.build.sourceEncoding}</encoding>
<docencoding>${project.build.sourceEncoding}</docencoding>
<breakiterator>true</breakiterator>
<level>private</level>
<show>private</show>
<keywords>true</keywords>
<useStandardDocletOptions>false</useStandardDocletOptions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>
<moduleDir>.</moduleDir>
<env.all>true</env.all>
<ci.buildNumber>MANUAL</ci.buildNumber>
<ms.group>NULL</ms.group>
<!-- Plugin versions -->
<site-maven-plugin.version>0.12</site-maven-plugin.version>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>${site-maven-plugin.version}</version>
<configuration>
<message>Creating site for ${project.version}</message>
<outputDirectory>
${project.basedir}/${moduleDir}/docs
</outputDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<repositories>
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Snapshot Repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Staging Repository</name>
<url>https://oss.sonatype.org/content/groups/staging/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>sonatype-nexus-snapshots</id>
<name>Snapshot Repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
<modules>
<module>org.openwms.core.util</module>
</modules>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化