加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 4.41 KB
一键复制 编辑 原始数据 按行查看 历史
红尘低代码 提交于 2017-03-05 18:14 . 初始化内容网站代码
<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>
<groupId>cn.iutils</groupId>
<artifactId>iutils-cms</artifactId>
<packaging>war</packaging>
<version>2.0-SNAPSHOT</version>
<name>iutils-cms Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<!-- 引入iutils基础平台库 -->
<dependency>
<groupId>cn.iutils</groupId>
<artifactId>iutils-admin</artifactId>
<version>2.0-SNAPSHOT</version>
<classifier>lib</classifier>
</dependency>
<dependency>
<groupId>cn.iutils</groupId>
<artifactId>iutils-admin</artifactId>
<version>2.0-SNAPSHOT</version>
<type>war</type>
</dependency>
</dependencies>
<!-- 从远程仓库上下载 -->
<repositories>
<repository>
<id>public</id>
<name>Team Maven Repository</name>
<url>http://iutils.cn:8081/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<!-- 发布到远程仓库 -->
<distributionManagement>
<repository>
<id>releases</id>
<url>http://iutils.cn:8081/nexus/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<url>http://iutils.cn:8081/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<build>
<finalName>iutils-cms</finalName>
<plugins>
<!--生成jar和war包 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>lib</classifier>
<includes>
<include>**</include>
</includes>
<excludes>
<exclude>**/*.xml</exclude>
<exclude>**/*.properties</exclude>
<exclude>**/*.xsd</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<!-- 代码编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<!-- 上传源码到maven仓库的插件 -->
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.1</version>
<configuration>
<attach>true</attach>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化