<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>com.jeesite</groupId> <artifactId>beetl</artifactId> <version>2.7-SNAPSHOT</version> <packaging>jar</packaging> <name>com.ibeetl:beetl</name> <description>java template language</description> <url>ibeetl.com</url> <licenses> <license> <name>BSD License</name> <url>http://opensource.org/licenses/BSD-3-Clause</url> </license> </licenses> <developers> <developer> <name>xiandafu</name> <email>xiandafu@126.com</email> </developer> </developers> <scm> <connection>scm:git@github.com:javamonkey/beetl2.0.git</connection> <developerConnection>scm:git:git@github.com:javamonkey/beetl2.0.git</developerConnection> <url>https://github.com/javamonkey/beetl2.0.git</url> </scm> <dependencies> <dependency> <groupId>org.antlr</groupId> <artifactId>antlr4-runtime</artifactId> <version>4.6</version> <!-- ThinkGem 4.2 to 4.6 [WARNING] 来自注释处理程序 'org.antlr.v4.runtime.misc. NullUsageProcessor' 的受支持 source 版本 'RELEASE_6' 低于 -source '1.8' --> </dependency> <dependency> <groupId>com.ibeetl</groupId> <artifactId>btjson</artifactId> <scope>provided</scope> <version>0.94</version> </dependency> <dependency> <groupId>com.jfinal</groupId> <artifactId>jfinal</artifactId> <scope>provided</scope> <version>3.0</version> </dependency> <dependency> <groupId>org.nutz</groupId> <artifactId>nutz</artifactId> <scope>provided</scope> <version>1.b.52</version> <optional>true</optional> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <scope>provided</scope> <version>3.3.2</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <scope>provided</scope> <optional>true</optional> <version>4.2.1.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <scope>provided</scope> <optional>true</optional> <version>4.2.1.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <scope>provided</scope> <optional>true</optional> <version>4.2.1.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <scope>provided</scope> <optional>true</optional> <version>4.2.1.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <scope>provided</scope> <optional>true</optional> <version>4.2.1.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <scope>provided</scope> <optional>true</optional> <version>4.2.1.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-core</artifactId> <version>3.1.7.RELEASE</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-web</artifactId> <version>3.1.7.RELEASE</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> <scope>provided</scope> <optional>true</optional> <version>2.3.24</version> </dependency> <dependency> <groupId>org.apache.struts.xwork</groupId> <artifactId>xwork-core</artifactId> <scope>provided</scope> <optional>true</optional> <version>2.3.24</version> </dependency> <dependency> <groupId>org.jodd</groupId> <artifactId>jodd-madvoc</artifactId> <scope>provided</scope> <optional>true</optional> <version>3.6.6</version> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <scope>test</scope> <version>6.1.1</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>2.0.31-beta</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.6</source> <target>1.6</target> <encoding>UTF-8</encoding> </configuration> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.3</version> <extensions>true</extensions> <configuration> <serverId>snapshots</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <!-- Source --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <configuration> <charset>utf-8</charset> <encoding>utf-8</encoding> <quiet>true</quiet> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <configuration> <additionalparam>-Xdoclint:none</additionalparam> </configuration> </execution> </executions> </plugin> <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <configuration> <excludes> <exclude>**/*.xml</exclude> <exclude>**/*.g4</exclude> </excludes> </configuration> </plugin> </plugins> </build> <distributionManagement> <snapshotRepository> <id>snapshots</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>releases</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <profiles> <!-- 打包项目 --> <profile> <id>package</id> <build> <plugins> <!-- Java Document Generate <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> --> </plugins> </build> </profile> <!-- 部署项目 --> <profile> <id>deploy</id> <build> <plugins> <!-- Java Document Generate <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> --> </plugins> </build> <distributionManagement> <repository> <id>sonatype-repos</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> <snapshotRepository> <id>sonatype-repos-s</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> </profile> </profiles> </project>