`
123003473
  • 浏览: 1047904 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论

maven super pom 文件位置

 
阅读更多
D:\apache-maven-3.0.4\lib 下的 maven-model-builder-3.0.4.jar 中的 org/apache/maven/model/pom-4.0.0.xml, 内容为


<?xml version="1.0" encoding="UTF-8"?>


<!--

Licensed to the Apache Software Foundation (ASF) under one

or more contributor license agreements.  See the NOTICE file

distributed with this work for additional information

regarding copyright ownership.  The ASF licenses this file

to you under the Apache License, Version 2.0 (the

"License"); you may not use this file except in compliance

with the License.  You may obtain a copy of the License at


    http://www.apache.org/licenses/LICENSE-2.0


Unless required by applicable law or agreed to in writing,

software distributed under the License is distributed on an

"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY

KIND, either express or implied.  See the License for the

specific language governing permissions and limitations

under the License.

-->


<!-- START SNIPPET: superpom -->

<project>

  <modelVersion>4.0.0</modelVersion>


  <repositories>

    <repository>

      <id>central</id>

      <name>Central Repository</name>

      <url>http://repo.maven.apache.org/maven2</url>

      <layout>default</layout>

      <snapshots>

        <enabled>false</enabled>

      </snapshots>

    </repository>

  </repositories>


  <pluginRepositories>

    <pluginRepository>

      <id>central</id>

      <name>Central Repository</name>

      <url>http://repo.maven.apache.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>

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

      <!-- NOTE: These plugins will be removed from future versions of the super POM -->

      <!-- They are kept for the moment as they are very unlikely to conflict with lifecycle mappings (MNG-4453) -->

      <plugins>

        <plugin>

          <artifactId>maven-antrun-plugin</artifactId>

          <version>1.3</version>

        </plugin>

        <plugin>

          <artifactId>maven-assembly-plugin</artifactId>

          <version>2.2-beta-5</version>

        </plugin>

        <plugin>

          <artifactId>maven-dependency-plugin</artifactId>

          <version>2.1</version>

        </plugin>

        <plugin>

          <artifactId>maven-release-plugin</artifactId>

          <version>2.0</version>

        </plugin>

      </plugins>

    </pluginManagement>

  </build>


  <reporting>

    <outputDirectory>${project.build.directory}/site</outputDirectory>

  </reporting>


  <profiles>

    <!-- NOTE: The release profile will be removed from future versions of the super POM -->

    <profile>

      <id>release-profile</id>


      <activation>

        <property>

          <name>performRelease</name>

          <value>true</value>

        </property>

      </activation>


      <build>

        <plugins>

          <plugin>

            <inherited>true</inherited>

            <artifactId>maven-source-plugin</artifactId>

            <executions>

              <execution>

                <id>attach-sources</id>

                <goals>

                  <goal>jar</goal>

                </goals>

              </execution>

            </executions>

          </plugin>

          <plugin>

            <inherited>true</inherited>

            <artifactId>maven-javadoc-plugin</artifactId>

            <executions>

              <execution>

                <id>attach-javadocs</id>

                <goals>

                  <goal>jar</goal>

                </goals>

              </execution>

            </executions>

          </plugin>

          <plugin>

            <inherited>true</inherited>

            <artifactId>maven-deploy-plugin</artifactId>

            <configuration>

              <updateReleaseInfo>true</updateReleaseInfo>

            </configuration>

          </plugin>

        </plugins>

      </build>

    </profile>

  </profiles>


</project>

<!-- END SNIPPET: superpom -->
分享到:
评论

相关推荐

    maven3配置文件

    `pom.xml`是Maven的核心配置文件,存在于每个Maven项目根目录下。这个文件定义了项目的基本信息(如项目名、版本、描述),项目依赖、构建插件、构建目标等。通过`&lt;dependencies&gt;`标签,可以声明项目所需的其他库,...

    maven - maven tutorial

    1. APACHE MAVEN — OVERVIEW 1 What is Maven?...Super POM10 4. APACHE MAVEN — BUILD LIFE CYCLE 17 What is Build Lifecycle?17 Clean Lifecycle 18 Default (or Build) Lifecycle21 Site Lifecycle 26

    Maven在Windows下环境搭建

    POM文件(pom.xml)是Maven的核心,它定义了项目属性、依赖、构建目标和插件等信息。 **一、安装Java Development Kit (JDK)** 在安装Maven之前,确保你的计算机已经安装了JDK,因为Maven需要Java运行环境。你可以...

    apache-maven-3.0.5

    用户只需在POM文件中指定依赖的坐标(groupId、artifactId、version)。 3. **生命周期与构建阶段**:Maven具有预定义的生命周期,如compile、test、package、install和deploy,每个生命周期包含多个阶段。开发者...

    apache-maven-3.3.9.zip

    - `conf`: 存放Maven的配置文件,如`settings.xml`,用于配置全局的Maven设置,如仓库位置、代理设置等。 - `lib`: Maven运行所需的库文件,包括核心库和其他依赖。 - `docs`: Maven的文档资料。 - `LICENSE`和`...

    apache-maven-3.6.3-bin Windows.7z

    Maven项目对象模型(POM),可以通过一小段描述信息来管理项目的构建,报告和文档的项目管理工具软件。 Maven 除了以程序构建能力为特色之外,还提供高级项目管理工具。由于 Maven 的缺省构建规则有较高的可重用性,...

    Supermarket2.0.rar

    6. **pom.xml**:Maven项目的配置文件,定义项目依赖和构建过程。 在实际运行中,用户可以通过Web界面浏览商品、添加购物车、提交订单,后台系统接收到这些请求后,调用相应的Service进行处理,如计算总价、验证...

    基于ssm+maven的超市进销存管理系统设计源码案例设计.zip

    Maven作为项目管理工具,统一了构建过程,通过定义POM(Project Object Model)文件,可以自动化处理依赖管理和构建流程,大大提高了开发效率。在"SSM_Maven_Supermarket_inventory"这个项目中,Maven管理了所有相关...

    用maven创建基于wink的rest服务(三)-携带纯文本文件的post请求

    打开pom.xml文件,并添加以下依赖项: ```xml &lt;groupId&gt;org.apache.wink &lt;artifactId&gt;wink-server &lt;version&gt;1.4.0-incubating &lt;groupId&gt;org.apache.wink &lt;artifactId&gt;wink-client &lt;version&gt;1.4.0-...

    gwt-maven-plugin

    在使用`gwt-maven-plugin`时,开发者需要在项目的`pom.xml`文件中添加相应的配置,设定GWT模块、编译参数、目标浏览器以及其他定制选项。通过这种方式,Maven可以根据配置自动化执行构建流程,极大地提高了开发效率...

    superMarket.zip

    `pom.xml`是Maven项目的配置文件,它管理了项目依赖、构建过程、插件等信息。在MyEclipse中,如果项目配置为Maven项目,那么这个文件就定义了项目的依赖关系,比如Spring、Hibernate等框架,以及版本号等,方便自动...

    java csv reader writer

    要使用它,首先需要在`pom.xml`文件中添加对应的依赖: ```xml &lt;groupId&gt;org.apache.commons &lt;artifactId&gt;commons-csv &lt;version&gt;1.8 ``` 然后,可以使用`CSVParser`来读取CSV文件,`CSVPrinter`进行写入操作...

    SpringBoot的定时调用的加强工具,实现定时任务动态管理-super-scheduled.zip

    - `pom.xml`:Maven项目配置文件,定义了项目的依赖和构建规则。 - `src/main/java`:源代码目录,包含项目的核心业务逻辑和定时任务相关的类。 - `src/main/resources`:资源文件,如配置文件、日志配置等。 - `...

    jacoco获取exec和获取report

    1. **配置JaCoCo插件**:在Maven项目的`pom.xml`文件中,你需要添加JaCoCo插件的相关配置,例如: ```xml &lt;groupId&gt;org.jacoco &lt;artifactId&gt;jacoco-maven-plugin &lt;version&gt;0.8.7 &lt;id&gt;prepare-agent ...

    Override_super.market:使用MVC架构模式的Java Supermarket Web应用程序

    3. `pom.xml`: Maven项目对象模型,定义了项目依赖、构建目标等信息。 4. `.gitignore`: 忽略某些文件或目录,防止在Git版本控制中误提交。 5. `README.md`: 项目说明文件,可能包含安装、运行和开发指南。 总之,...

    martian-framework-parent:超级POM

    火星框架父 超级POM 阿帕奇Maven &lt;groupId&gt;io.github.marsianer &lt;artifactId&gt;martian-framework-parent &lt;version&gt;21.04.00.00 执照 根据Apache License 2.0分发。 有关更多信息,请参见。

    super-user-application:以管理员权限执行Jar

    &lt;dependency&gt;&lt;groupId&gt;com.vnetpublishing.java&lt;/groupId&gt;&lt;artifactId&gt;super-user-application&lt;/artifactId&gt;&lt;version&gt;0.0.5&lt;/version&gt;&lt;/dependency&gt;建造检出该存储库,并从其中包含pom.xml文件的基本目录执行maven...

    SplitetFramework:Splitet是一个基于Java的Event Sourcing框架,计划以最小的学习曲线和易于适应性进行CQRS转换的团队可以从中受益。

    如果使用 ,则必须将此属性添加到super pom文件中。 .m2 / settings.xml &lt;? xml version = " 1.0 " encoding = " UTF-8 " ?&gt; &lt; settings xsi : schemaLocation = ' ...

    KlungeFramework:Klunge是一个用于事件源和CQRS的平台,可构建可扩展的事件驱动和最终一致的系统

    如果使用 ,则必须将此属性添加到super pom文件中。 .m2 / settings.xml &lt;? xml version = " 1.0 " encoding = " UTF-8 " ?&gt; &lt; settings xsi : schemaLocation = ' ...

Global site tag (gtag.js) - Google Analytics