o removing the release profile from the Super POM, this is for our particular flavor of releasing and the Super POM should stand as defaults for everyone using Maven. We should never again put profiles into the Super POM, it's just a bad idea. It forces us to inject the profile manager into the reading of the SuperPOM which is also bad.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571907 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2007-09-02 00:11:37 +00:00
parent fc05e3e050
commit e0dbac1e24
1 changed files with 3 additions and 65 deletions

View File

@ -27,10 +27,7 @@ under the License.
<id>central</id> <id>central</id>
<name>Maven Repository Switchboard</name> <name>Maven Repository Switchboard</name>
<layout>default</layout> <layout>default</layout>
<!-- <url>http://repo1.maven.org/maven2</url>
<url>http://www.ibiblio.org/maven2</url>
-->
<url>http://repo1.maven.org/maven2</url>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>
@ -41,10 +38,7 @@ under the License.
<pluginRepository> <pluginRepository>
<id>central</id> <id>central</id>
<name>Maven Plugin Repository</name> <name>Maven Plugin Repository</name>
<!-- <url>http://repo1.maven.org/maven2</url>
<url>http://www.ibiblio.org/maven2</url>
-->
<url>http://repo1.maven.org/maven2</url>
<layout>default</layout> <layout>default</layout>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
@ -78,61 +72,5 @@ under the License.
<reporting> <reporting>
<outputDirectory>target/site</outputDirectory> <outputDirectory>target/site</outputDirectory>
</reporting> </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> </project>
<!-- END SNIPPET: superpom --> <!-- END SNIPPET: superpom -->