Author: svn-site-role Date: Fri Apr 12 19:46:10 2019 New Revision: 1857430 Log: Site checkin for project Apache Maven Site
Modified: maven/website/content/guides/introduction/introduction-to-the-pom.html maven/website/content/maven-site-1.0-site.jar maven/website/content/pom.html Modified: maven/website/content/guides/introduction/introduction-to-the-pom.html ============================================================================== --- maven/website/content/guides/introduction/introduction-to-the-pom.html (original) +++ maven/website/content/guides/introduction/introduction-to-the-pom.html Fri Apr 12 19:46:10 2019 @@ -172,17 +172,16 @@ Brett Porter" /> <p><a href="./introduction-to-the-pom.html">[top]</a></p></div> <div class="section"> <h3><a name="Super_POM">Super POM</a></h3> -<p>The Super POM is Maven's default POM. All POMs extend the Super POM unless explicitly set, meaning the configuration specified in the Super POM is inherited by the POMs you created for your projects. The snippet below is the Super POM for Maven 2.0.x.</p> +<p>The Super POM is Maven's default POM. All POMs extend the Super POM unless explicitly set, meaning the configuration specified in the Super POM is inherited by the POMs you created for your projects. The snippet below is the Super POM for Maven 3.5.4.</p> <div class="source"><pre class="prettyprint linenums"><project> <modelVersion>4.0.0</modelVersion> - <name>Maven Default Project</name> <repositories> <repository> <id>central</id> - <name>Maven Repository Switchboard</name> + <name>Central Repository</name> + <url>https://repo.maven.apache.org/maven2</url> <layout>default</layout> - <url>http://repo1.maven.org/maven2</url> <snapshots> <enabled>false</enabled> </snapshots> @@ -192,120 +191,8 @@ Brett Porter" /> <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>target</directory> - <outputDirectory>target/classes</outputDirectory> - <finalName>${artifactId}-${version}</finalName> - <testOutputDirectory>target/test-classes</testOutputDirectory> - <sourceDirectory>src/main/java</sourceDirectory> - <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory> - <testSourceDirectory>src/test/java</testSourceDirectory> - <resources> - <resource> - <directory>src/main/resources</directory> - </resource> - </resources> - <testResources> - <testResource> - <directory>src/test/resources</directory> - </testResource> - </testResources> - </build> - - <reporting> - <outputDirectory>target/site</outputDirectory> - </reporting> - - <profiles> - <profile> - <id>release-profile</id> - - <activation> - <property> - <name>performRelease</name> - </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> -</pre></div> -<p>The snippet below is the Super POM for Maven 2.1.x.</p> -<div class="source"><pre class="prettyprint linenums"><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> + <name>Central Repository</name> + <url>https://repo.maven.apache.org/maven2</url> <layout>default</layout> <snapshots> <enabled>false</enabled> @@ -322,8 +209,7 @@ Brett Porter" /> <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> + <scriptSourceDirectory>${project.basedir}/src/main/scripts</scriptSourceDirectory> <testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory> <resources> <resource> @@ -335,92 +221,36 @@ Brett Porter" /> <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> + <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.8</version> + </plugin> + <plugin> + <artifactId>maven-release-plugin</artifactId> + <version>2.5.3</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> @@ -435,20 +265,18 @@ Brett Porter" /> <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> + <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <inherited>true</inherited> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> @@ -461,7 +289,6 @@ Brett Porter" /> </plugin> <plugin> <inherited>true</inherited> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <configuration> <updateReleaseInfo>true</updateReleaseInfo> Modified: maven/website/content/maven-site-1.0-site.jar ============================================================================== Binary files - no diff available. Modified: maven/website/content/pom.html ============================================================================== --- maven/website/content/pom.html (original) +++ maven/website/content/pom.html Fri Apr 12 19:46:10 2019 @@ -520,7 +520,7 @@ Display parameters as parsed by Maven (i <p>To see inheritance in action, just have a look at the <a class="externalLink" href="https://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?view=markup">ASF</a> or <a class="externalLink" href="https://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?view=markup">Maven</a> parent POM's. </p> <div class="section"> <h5><a name="The_Super_POM">The Super POM</a></h5> -<p>Similar to the inheritance of objects in object oriented programming, POMs that extend a parent POM inherit certain values from that parent. Moreover, just as Java objects ultimately inherit from <tt>java.lang.Object</tt>, all Project Object Models inherit from a base Super POM. The snippet below is the Super POM for Maven 3.0.4.</p> +<p>Similar to the inheritance of objects in object oriented programming, POMs that extend a parent POM inherit certain values from that parent. Moreover, just as Java objects ultimately inherit from <tt>java.lang.Object</tt>, all Project Object Models inherit from a base Super POM. The snippet below is the Super POM for Maven 3.5.4.</p> <div class="source"><pre class="prettyprint linenums"><project> <modelVersion>4.0.0</modelVersion> @@ -528,7 +528,7 @@ Display parameters as parsed by Maven (i <repository> <id>central</id> <name>Central Repository</name> - <url>http://repo.maven.apache.org/maven2</url> + <url>https://repo.maven.apache.org/maven2</url> <layout>default</layout> <snapshots> <enabled>false</enabled> @@ -540,7 +540,7 @@ Display parameters as parsed by Maven (i <pluginRepository> <id>central</id> <name>Central Repository</name> - <url>http://repo.maven.apache.org/maven2</url> + <url>https://repo.maven.apache.org/maven2</url> <layout>default</layout> <snapshots> <enabled>false</enabled> @@ -557,7 +557,7 @@ Display parameters as parsed by Maven (i <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> + <scriptSourceDirectory>${project.basedir}/src/main/scripts</scriptSourceDirectory> <testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory> <resources> <resource> @@ -583,11 +583,11 @@ Display parameters as parsed by Maven (i </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> - <version>2.1</version> + <version>2.8</version> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> - <version>2.0</version> + <version>2.5.3</version> </plugin> </plugins> </pluginManagement> @@ -618,7 +618,7 @@ Display parameters as parsed by Maven (i <execution> <id>attach-sources</id> <goals> - <goal>jar</goal> + <goal>jar-no-fork</goal> </goals> </execution> </executions>