You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by so...@apache.org on 2009/01/09 01:36:48 UTC
svn commit: r732886 - in /myfaces/portlet-bridge/core/trunk:
build-api-javadoc.sh pom.xml
Author: sobryan
Date: Thu Jan 8 16:36:47 2009
New Revision: 732886
URL: http://svn.apache.org/viewvc?rev=732886&view=rev
Log:
Trying to do a secure copy to the website for the API documentation instead of a copy
Modified:
myfaces/portlet-bridge/core/trunk/build-api-javadoc.sh
myfaces/portlet-bridge/core/trunk/pom.xml
Modified: myfaces/portlet-bridge/core/trunk/build-api-javadoc.sh
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/build-api-javadoc.sh?rev=732886&r1=732885&r2=732886&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/build-api-javadoc.sh (original)
+++ myfaces/portlet-bridge/core/trunk/build-api-javadoc.sh Thu Jan 8 16:36:47 2009
@@ -50,7 +50,8 @@
mvn clean install -DsiteJavadoc --batch-mode
cd api
mvn javadoc:javadoc -DsiteJavadoc --batch-mode
-echo "Removing Old Javadocs"
-rm -Rf /www/myfaces.apache.org/portlet-bridge/1.0/api/apidocs
+#echo "Removing Old Javadocs"
+#rm -Rf /www/myfaces.apache.org/portlet-bridge/1.0/api/apidocs
echo "Copying new JavaDocs"
-mv target/site/apidocs /www/myfaces.apache.org/portlet-bridge/1.0/api
+scp -r target/site/apidocs minotaur.apache.org:/www/myfaces.apache.org/portlet-bridge
+#mv target/site/apidocs /www/myfaces.apache.org/portlet-bridge/1.0/api
Modified: myfaces/portlet-bridge/core/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/pom.xml?rev=732886&r1=732885&r2=732886&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/pom.xml (original)
+++ myfaces/portlet-bridge/core/trunk/pom.xml Thu Jan 8 16:36:47 2009
@@ -69,6 +69,8 @@
<modules>
<module>api</module>
+ <module>impl</module>
+ <module>examples</module>
</modules>
<!-- Versions and scope of dependencies -->
@@ -199,41 +201,7 @@
</plugins>
</reporting-->
- <profiles>
- <profile>
- <!--This is applied when NOT generating javadocs for the website -->
- <id>normalBuild</id>
- <activation>
- <property>
- <name>!siteJavadoc</name>
- </property>
- </activation>
-
- <modules>
- <module>impl</module>
- <module>examples</module>
- </modules>
- </profile>
-
- <!-- This profile is used for the API documentation on the website.
- It goes according to the latest release rather then the trunk -->
- <profile>
- <id>javadoc-latest-release</id>
- <activation>
- <property>
- <name>siteJavadoc</name>
- </property>
- </activation>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- </profile>
-
+ <profiles>
<!-- This profile is invoked by -DprepareRelease=true. This allows mvn release:prepare to
run successfully on the assembly projects. -->
<profile>