超级POM

原创 2012年03月30日 13:50:43

存储位置:%M2_HOME%\lib\maven-2.0.9-uber.jar\org\apache\maven\project\pom-4.0.0.xml

内容:

<project>   <modelVersion>4.0.0</modelVersion>   <name>Maven Default Project</name>

  <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>   </repositories>

  <pluginRepositories>     <pluginRepository>       <id>central</id>       <name>Maven Plugin Repository</name>       <url>http://repo1.maven.org/maven2</url>       <layout>default</layout>       <snapshots>         <enabled>false</enabled>       </snapshots>       <releases>         <updatePolicy>never</updatePolicy>       </releases>     </pluginRepository>   </pluginRepositories>

  <build>     <directory>${project.basedir}/target</directory>     <outputDirectory>${project.build.directory}/classes</outputDirectory>     <finalName>${project.artifactId}-${project.version}</finalName>     <testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>     <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>     <!-- TODO: MNG-3731 maven-plugin-tools-api < 2.4.4 expect this to be relative... -->     <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>     <testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>     <resources>       <resource>         <directory>${project.basedir}/src/main/resources</directory>       </resource>     </resources>     <testResources>       <testResource>         <directory>${project.basedir}/src/test/resources</directory>       </testResource>     </testResources>    <pluginManagement>        <plugins>          <plugin>            <artifactId>maven-antrun-plugin</artifactId>            <version>1.3</version>          </plugin>                <plugin>            <artifactId>maven-assembly-plugin</artifactId>            <version>2.2-beta-2</version>          </plugin>                  <plugin>            <artifactId>maven-clean-plugin</artifactId>            <version>2.2</version>          </plugin>          <plugin>            <artifactId>maven-compiler-plugin</artifactId>            <version>2.0.2</version>          </plugin>          <plugin>            <artifactId>maven-dependency-plugin</artifactId>            <version>2.0</version>          </plugin>          <plugin>            <artifactId>maven-deploy-plugin</artifactId>            <version>2.4</version>          </plugin>          <plugin>            <artifactId>maven-ear-plugin</artifactId>            <version>2.3.1</version>          </plugin>          <plugin>            <artifactId>maven-ejb-plugin</artifactId>            <version>2.1</version>          </plugin>          <plugin>            <artifactId>maven-install-plugin</artifactId>            <version>2.2</version>          </plugin>          <plugin>            <artifactId>maven-jar-plugin</artifactId>            <version>2.2</version>          </plugin>          <plugin>            <artifactId>maven-javadoc-plugin</artifactId>            <version>2.5</version>          </plugin>          <plugin>            <artifactId>maven-plugin-plugin</artifactId>            <version>2.4.3</version>          </plugin>          <plugin>            <artifactId>maven-rar-plugin</artifactId>            <version>2.2</version>          </plugin>                 <plugin>                           <artifactId>maven-release-plugin</artifactId>            <version>2.0-beta-8</version>          </plugin>          <plugin>                           <artifactId>maven-resources-plugin</artifactId>            <version>2.3</version>          </plugin>          <plugin>            <artifactId>maven-site-plugin</artifactId>            <version>2.0-beta-7</version>          </plugin>          <plugin>            <artifactId>maven-source-plugin</artifactId>            <version>2.0.4</version>          </plugin>                  <plugin>             <artifactId>maven-surefire-plugin</artifactId>             <version>2.4.3</version>          </plugin>          <plugin>            <artifactId>maven-war-plugin</artifactId>            <version>2.1-alpha-2</version>          </plugin>        </plugins>      </pluginManagement>   </build>

  <reporting>     <outputDirectory>${project.build.directory}/site</outputDirectory>   </reporting>   <profiles>     <profile>       <id>release-profile</id>

      <activation>         <property>           <name>performRelease</name>           <value>true</value>         </property>       </activation>

      <build>         <plugins>           <plugin>             <inherited>true</inherited>             <groupId>org.apache.maven.plugins</groupId>             <artifactId>maven-source-plugin</artifactId>             <executions>               <execution>                 <id>attach-sources</id>                 <goals>                   <goal>jar</goal>                 </goals>               </execution>             </executions>           </plugin>           <plugin>             <inherited>true</inherited>             <groupId>org.apache.maven.plugins</groupId>             <artifactId>maven-javadoc-plugin</artifactId>             <executions>               <execution>                 <id>attach-javadocs</id>                 <goals>                   <goal>jar</goal>                 </goals>               </execution>             </executions>           </plugin>           <plugin>             <inherited>true</inherited>             <groupId>org.apache.maven.plugins</groupId>             <artifactId>maven-deploy-plugin</artifactId>             <configuration>               <updateReleaseInfo>true</updateReleaseInfo>             </configuration>           </plugin>         </plugins>       </build>     </profile>   </profiles>

</project>

 

版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章推荐

Maven 超级POM

对Maven3来说,该文件的位置在Maven安装目录下lib/maven-model-builder-x.x.x.jar中的org/apache/maven/model/pom-4.0.0.xml ...

maven超级pom

一、超级pom简介在maven的发行版本中都会有一个超级pom,超级pom是所有maven项目的父pom,所有项目都继承这个超级pom,在超级pom中配置有: maven的构件和插件的中央仓库地址; ...

SSM整合jar包+pom.xml文件

  • 2017-09-26 09:05
  • 29.33MB
  • 下载

maven pom最全配置

  • 2017-09-11 11:05
  • 30KB
  • 下载

Maven第三篇【Maven术语、pom.xml介绍】

maven术语在我们上一篇中已经知道了在Intellij idea下是如何使用Maven的了,创建出来的目录结构是这样子的:上面的目录结构就是Maven所谓的”约定“,我们使用Maven来构建Java...

SSM框架的maven pom文件

商城maven项目POM.xml

jstorm0.9.6.3 hbase1.1.5整合,本地pom文件配置

由于jstorm0.9.x的版本不提供maven源下载,所以之前一直使用storm的maven配置替代。但是引用hbase后由于引用的zookeeper版本不同:storm引用了zookeeper3....
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)