Author: bimargulies Date: Wed Dec 7 22:16:31 2011 New Revision: 1211672 URL: http://svn.apache.org/viewvc?rev=1211672&view=rev Log: CXF-3963 set up maven-site-plugin 3.0. Don't work yet.
Added: cxf/trunk/src/ cxf/trunk/src/site/ cxf/trunk/src/site/site.xml (with props) Modified: cxf/trunk/pom.xml Modified: cxf/trunk/pom.xml URL: http://svn.apache.org/viewvc/cxf/trunk/pom.xml?rev=1211672&r1=1211671&r2=1211672&view=diff ============================================================================== --- cxf/trunk/pom.xml (original) +++ cxf/trunk/pom.xml Wed Dec 7 22:16:31 2011 @@ -49,6 +49,7 @@ <cxf.xjc-utils.version>2.4.0</cxf.xjc-utils.version> <cxf.jdk.version>1.6</cxf.jdk.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <site.deploy.url>scp://people.apache.org/www/cxf.apache.org/maven-site</site.deploy.url> </properties> <distributionManagement> @@ -64,8 +65,8 @@ <!--uniqueVersion>false</uniqueVersion--> </snapshotRepository> <site> - <id>apache.cxf.site</id> - <url>scpexe://people.apache.org/www/cxf.apache.org/cxf/mvn_site</url> + <id>apache.cxf.site</id> + <url>${site.deploy.url}</url> </site> </distributionManagement> <repositories> @@ -442,6 +443,32 @@ <jdk.version>1.5</jdk.version> </properties> </profile> + <profile> + <id>maven-3-site</id> + <activation> + <file> + <!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) --> + <exists>${basedir}</exists> + </file> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <executions> + <execution> + <id>attach-descriptor</id> + <goals> + <goal>attach-descriptor</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> @@ -661,6 +688,25 @@ </excludes> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>3.0</version> + <configuration> + <chmod>true</chmod> + <dependencyDetailsEnabled>false</dependencyDetailsEnabled> + <dependencyLocationsEnabled>false</dependencyLocationsEnabled> + <stagingRepositoryId>apache.cxf.site</stagingRepositoryId> + <stagingSiteURL>scp://people.apache.org/www/cxf.apache.org/maven-site-${project.version}</stagingSiteURL> + </configuration> + <dependencies> + <dependency> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-ssh</artifactId> + <version>2.1</version> + </dependency> + </dependencies> + </plugin> </plugins> </pluginManagement> </build> @@ -668,16 +714,31 @@ <reporting> <plugins> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - <version>2.4</version> + <artifactId>maven-site-plugin</artifactId> + <version>3.0</version> + <configuration> + <dependencyDetailsEnabled>false</dependencyDetailsEnabled> + <dependencyLocationsEnabled>false</dependencyLocationsEnabled> + </configuration> </plugin> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.8</version> + <artifactId>maven-project-info-reports-plugin</artifactId> + <version>2.4</version> + <configuration> + <dependencyLocationsEnabled>false</dependencyLocationsEnabled> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>summary</report> + <report>index</report> + <report>dependencies</report> + <report>issue-tracking</report> + <report>scm</report> + </reports> + </reportSet> + </reportSets> </plugin> </plugins> </reporting> - </project> Added: cxf/trunk/src/site/site.xml URL: http://svn.apache.org/viewvc/cxf/trunk/src/site/site.xml?rev=1211672&view=auto ============================================================================== --- cxf/trunk/src/site/site.xml (added) +++ cxf/trunk/src/site/site.xml Wed Dec 7 22:16:31 2011 @@ -0,0 +1,39 @@ +<?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. +--> + + +<project xmlns="http://maven.apache.org/DECORATION/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd" + name="Maven"> + <version position="right" /> + <skin> + <groupId>org.apache.maven.skins</groupId> + <artifactId>maven-fluido-skin</artifactId> + <version>1.0</version> + </skin> + <body> + <breadcrumbs> + <!-- perhaps needs to point at just this part of the site --> + <item name="Apache CXF" href="http://cxf.apache.org/index.html" /> + </breadcrumbs> + </body> +</project> \ No newline at end of file Propchange: cxf/trunk/src/site/site.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/trunk/src/site/site.xml ------------------------------------------------------------------------------ svn:mime-type = text/plain