maven pom.xml配置

<repositories>
<repository>
<id>central</id>
<name>Maven Repository Switchboard</name>
<layout>default</layout>
<url>http://repo1.maven.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>

<repository>
<id>ctid-repository</id>
<name>CTID Central Repository</name>
<layout>default</layout>
<url>http://xxxx:8081/nexus/content/groups/public/</url>
</repository>
</repositories>

<build>
<finalName>rachel_web</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>

posted @ 2017-09-21 15:53  上台阶  阅读(108)  评论(0编辑  收藏  举报