[portletswap-commits] JBoss PortletSwap SVN: r245 - in contrib/wikiPortlet/trunk: WebRoot and 8 other directories.

portletswap-commits at lists.jboss.org portletswap-commits at lists.jboss.org
Fri Feb 20 09:43:19 EST 2009


Author: piergiorgiolucidi
Date: 2009-02-20 09:43:19 -0500 (Fri, 20 Feb 2009)
New Revision: 245

Added:
   contrib/wikiPortlet/trunk/.classpath
   contrib/wikiPortlet/trunk/.project
   contrib/wikiPortlet/trunk/JBossORG-EULA.txt
   contrib/wikiPortlet/trunk/WebRoot/
   contrib/wikiPortlet/trunk/WebRoot/WEB-INF/
   contrib/wikiPortlet/trunk/binaries/
   contrib/wikiPortlet/trunk/binaries/aslibs/
   contrib/wikiPortlet/trunk/binaries/aslibs/jars/
   contrib/wikiPortlet/trunk/binaries/aslibs/jars/javax.servlet.jar
   contrib/wikiPortlet/trunk/binaries/aslibs/jars/javax.servlet.jsp.jar
   contrib/wikiPortlet/trunk/binaries/jboss/
   contrib/wikiPortlet/trunk/binaries/jboss/jars/
   contrib/wikiPortlet/trunk/binaries/jboss/jars/activation.jar
   contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-annotations-ejb3.jar
   contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-common.jar
   contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-ejb3.jar
   contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-ejb3x.jar
   contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-j2ee.jar
   contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-jmx.jar
   contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-portlet-api-lib.jar
   contrib/wikiPortlet/trunk/binaries/jboss/jars/mail.jar
   contrib/wikiPortlet/trunk/binaries/jboss/jars/portal-common-lib.jar
   contrib/wikiPortlet/trunk/binaries/jboss/jars/portal-core-lib.jar
   contrib/wikiPortlet/trunk/binaries/jboss/jars/portal-identity-lib.jar
   contrib/wikiPortlet/trunk/binaries/jboss/jars/portal-portlet-lib.jar
   contrib/wikiPortlet/trunk/build.properties
   contrib/wikiPortlet/trunk/build.properties.sample
   contrib/wikiPortlet/trunk/common.xml
   contrib/wikiPortlet/trunk/lib/
   contrib/wikiPortlet/trunk/maven.xml
   contrib/wikiPortlet/trunk/pom.xml
   contrib/wikiPortlet/trunk/project.properties
   contrib/wikiPortlet/trunk/project.xml
   contrib/wikiPortlet/trunk/src/
   contrib/wikiPortlet/trunk/src/application/
   contrib/wikiPortlet/trunk/src/application/JBossORG-EULA.txt
   contrib/wikiPortlet/trunk/src/application/META-INF/
   contrib/wikiPortlet/trunk/src/application/META-INF/application.xml
Log:
- the project now is based on Maven 2

Added: contrib/wikiPortlet/trunk/.classpath
===================================================================
--- contrib/wikiPortlet/trunk/.classpath	                        (rev 0)
+++ contrib/wikiPortlet/trunk/.classpath	2009-02-20 14:43:19 UTC (rev 245)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="wiki-management/src/java"/>
+	<classpathentry kind="src" path="wiki-test/src/java"/>
+	<classpathentry kind="src" path="wiki-test/src/etc"/>
+	<classpathentry kind="src" path="wiki-common/src/etc"/>
+	<classpathentry kind="src" path="wiki-common/src/java"/>
+	<classpathentry kind="src" path="wiki-management/src/test"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>

Added: contrib/wikiPortlet/trunk/.project
===================================================================
--- contrib/wikiPortlet/trunk/.project	                        (rev 0)
+++ contrib/wikiPortlet/trunk/.project	2009-02-20 14:43:19 UTC (rev 245)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>JBossWiki</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.maven.ide.eclipse.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.maven.ide.eclipse.maven2Nature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Added: contrib/wikiPortlet/trunk/JBossORG-EULA.txt
===================================================================
--- contrib/wikiPortlet/trunk/JBossORG-EULA.txt	                        (rev 0)
+++ contrib/wikiPortlet/trunk/JBossORG-EULA.txt	2009-02-20 14:43:19 UTC (rev 245)
@@ -0,0 +1,107 @@
+LICENSE AGREEMENT
+JBOSS(r)
+
+This License Agreement governs the use of the Software Packages and any updates to the Software 
+Packages, regardless of the delivery mechanism.  Each Software Package is a collective work 
+under U.S. Copyright Law.  Subject to the following terms, Red Hat, Inc. ("Red Hat") grants to 
+the user ("Client") a license to the applicable collective work(s) pursuant to the 
+GNU Lesser General Public License v. 2.1 except for the following Software Packages: 
+(a) JBoss Portal Forums and JBoss Transactions JTS, each of which is licensed pursuant to the 
+GNU General Public License v.2; 
+
+(b) JBoss Rules, which is licensed pursuant to the Apache  License v.2.0;
+
+(c) an optional download for JBoss Cache for the Berkeley DB for Java database, which is licensed under the 
+(open source) Sleepycat License (if Client does not wish to use the open source version of this database, 
+it may purchase a license from Sleepycat Software); 
+
+and (d) the BPEL extension for JBoss jBPM, which is licensed under the Common Public License v.1, 
+and, pursuant to the OASIS BPEL4WS standard, requires parties wishing to redistribute to enter various 
+royalty-free patent licenses.  
+
+Each of the foregoing licenses is available at http://www.opensource.org/licenses/index.php.
+
+1.  The Software.  "Software Packages" refer to the various software modules that are created and made available 
+for distribution by the JBoss.org open source community at http://www.jboss.org.   Each of the Software Packages 
+may be comprised of hundreds of software components.  The end user license agreement for each component is located in 
+the component's source code.  With the exception of certain image files identified in Section 2 below, 
+the license terms for the components permit Client to copy, modify, and redistribute the component, 
+in both source code and binary code forms.  This agreement does not limit Client's rights under, 
+or grant Client rights that supersede, the license terms of any particular component.
+
+2.  Intellectual Property Rights.  The Software Packages are owned by Red Hat and others and are protected under copyright 
+and other laws.  Title to the Software Packages and any component, or to any copy, modification, or merged portion shall 
+remain with the aforementioned, subject to the applicable license.  The "JBoss" trademark, "Red Hat" trademark, the 
+individual Software Package trademarks, and the "Shadowman" logo are registered trademarks of Red Hat and its affiliates 
+in the U.S. and other countries.  This agreement permits Client to distribute unmodified copies of the Software Packages 
+using the Red Hat trademarks that Red Hat has inserted in the Software Packages on the condition that Client follows Red Hat's 
+trademark guidelines for those trademarks located at http://www.redhat.com/about/corporate/trademark/.  Client must abide by 
+these trademark guidelines when distributing the Software Packages, regardless of whether the Software Packages have been modified. 
+If Client modifies the Software Packages, then Client must replace all Red Hat trademarks and logos identified at 
+http://www.jboss.com/company/logos, unless a separate agreement with Red Hat is executed or other permission granted.  
+Merely deleting the files containing the Red Hat trademarks may corrupt the Software Packages.  
+
+3.  Limited Warranty.  Except as specifically stated in this Paragraph 3 or a license for a particular 
+component, to the maximum extent permitted under applicable law, the Software Packages and the 
+components are provided and licensed "as is" without warranty of any kind, expressed or implied, 
+including the implied warranties of merchantability, non-infringement or fitness for a particular purpose.  
+Red Hat warrants that the media on which Software Packages may be furnished will be free from defects in 
+materials and manufacture under normal use for a period of 30 days from the date of delivery to Client.  
+Red Hat does not warrant that the functions contained in the Software Packages will meet Client's requirements 
+or that the operation of the Software Packages will be entirely error free or appear precisely as described 
+in the accompanying documentation. This warranty extends only to the party that purchases the Services 
+pertaining to the Software Packages from Red Hat or a Red Hat authorized distributor. 
+
+4.  Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, the remedies 
+described below are accepted by Client as its only remedies.  Red Hat's entire liability, and Client's 
+exclusive remedies, shall be: If the Software media is defective, Client may return it within 30 days of 
+delivery along with a copy of Client's payment receipt and Red Hat, at its option, will replace it or 
+refund the money paid by Client for the Software.  To the maximum extent permitted by applicable law, 
+Red Hat or any Red Hat authorized dealer will not be liable to Client for any incidental or consequential 
+damages, including lost profits or lost savings arising out of the use or inability to use the Software, 
+even if Red Hat or such dealer has been advised of the possibility of such damages.  In no event shall 
+Red Hat's liability under this agreement exceed the amount that Client paid to Red Hat under this 
+Agreement during the twelve months preceding the action.
+
+5.  Export Control.  As required by U.S. law, Client represents and warrants that it: 
+(a) understands that the Software Packages are subject to export controls under the 
+U.S. Commerce Department's Export Administration Regulations ("EAR"); 
+
+(b) is not located in a prohibited destination country under the EAR or U.S. sanctions regulations 
+(currently Cuba, Iran, Iraq, Libya, North Korea, Sudan and Syria); 
+
+(c) will not export, re-export, or transfer the Software Packages to any prohibited destination, entity, 
+or individual without the necessary export license(s) or authorizations(s) from the U.S. Government; 
+
+(d) will not use or transfer the Software Packages for use in any sensitive nuclear, chemical or 
+biological weapons, or missile technology end-uses unless authorized by the U.S. Government by 
+regulation or specific license; 
+
+(e) understands and agrees that if it is in the United States and exports or transfers the Software 
+Packages to eligible end users, it will, as required by EAR Section 740.17(e), submit semi-annual 
+reports to the Commerce Department's Bureau of Industry & Security (BIS), which include the name and 
+address (including country) of each transferee; 
+
+and (f) understands that countries other than the United States may restrict the import, use, or 
+export of encryption products and that it shall be solely responsible for compliance with any such 
+import, use, or export restrictions.
+
+6.  Third Party Programs. Red Hat may distribute third party software programs with the Software Packages 
+that are not part of the Software Packages and which Client must install separately.  These third party 
+programs are subject to their own license terms.  The license terms either accompany the programs or 
+can be viewed at http://www.redhat.com/licenses/.  If Client does not agree to abide by the applicable 
+license terms for such programs, then Client may not install them.  If Client wishes to install the programs 
+on more than one system or transfer the programs to another party, then Client must contact the licensor 
+of the programs.
+
+7.  General.  If any provision of this agreement is held to be unenforceable, that shall not affect the 
+enforceability of the remaining provisions.  This License Agreement shall be governed by the laws of the 
+State of North Carolina and of the United States, without regard to any conflict of laws provisions, 
+except that the United Nations Convention on the International Sale of Goods shall not apply.
+
+Copyright 2006 Red Hat, Inc.  All rights reserved.  
+"JBoss" and the JBoss logo are registered trademarks of Red Hat, Inc.  
+All other trademarks are the property of their respective owners. 
+
+	Page 1 of 1	18 October 2006
+

Added: contrib/wikiPortlet/trunk/binaries/aslibs/jars/javax.servlet.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/aslibs/jars/javax.servlet.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/aslibs/jars/javax.servlet.jsp.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/aslibs/jars/javax.servlet.jsp.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/jboss/jars/activation.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/jboss/jars/activation.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-annotations-ejb3.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-annotations-ejb3.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-common.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-common.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-ejb3.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-ejb3.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-ejb3x.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-ejb3x.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-j2ee.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-j2ee.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-jmx.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-jmx.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-portlet-api-lib.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/jboss/jars/jboss-portlet-api-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/jboss/jars/mail.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/jboss/jars/mail.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/jboss/jars/portal-common-lib.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/jboss/jars/portal-common-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/jboss/jars/portal-core-lib.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/jboss/jars/portal-core-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/jboss/jars/portal-identity-lib.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/jboss/jars/portal-identity-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/binaries/jboss/jars/portal-portlet-lib.jar
===================================================================
(Binary files differ)


Property changes on: contrib/wikiPortlet/trunk/binaries/jboss/jars/portal-portlet-lib.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: contrib/wikiPortlet/trunk/build.properties
===================================================================
--- contrib/wikiPortlet/trunk/build.properties	                        (rev 0)
+++ contrib/wikiPortlet/trunk/build.properties	2009-02-20 14:43:19 UTC (rev 245)
@@ -0,0 +1,15 @@
+# Path to where JBoss AS is to be copied.
+local.server.dir=/Users/tomek/jboss/jboss-clean/
+
+# Path to where your portal extensions are to be deployed - you shouldn't
+# have to change that.
+local.deploy.dir=${local.server.dir}/server/default/deploy
+
+# Path to your local maven repository - you can comment this out if you use 
+# the default location. You can also create a build.properties in your home
+# directory to set the maven.repo.local for all projects.
+# maven.repo.local=
+
+# URL of your content repository. You don't have to specify this if you don't
+# plan to update the content by maven (it's need for CruiseControl).
+maven.scm.url=

Added: contrib/wikiPortlet/trunk/build.properties.sample
===================================================================
--- contrib/wikiPortlet/trunk/build.properties.sample	                        (rev 0)
+++ contrib/wikiPortlet/trunk/build.properties.sample	2009-02-20 14:43:19 UTC (rev 245)
@@ -0,0 +1,15 @@
+# Path to where JBoss AS is to be copied.
+local.server.dir=
+
+# Path to where your portal extensions are to be deployed - you shouldn't
+# have to change that.
+local.deploy.dir=${local.server.dir}/server/all/deploy
+
+# Path to your local maven repository - you can comment this out if you use 
+# the default location. You can also create a build.properties in your home
+# directory to set the maven.repo.local for all projects.
+# maven.repo.local=
+
+# URL of your content repository. You don't have to specify this if you don't
+# plan to update the content by maven (it's need for CruiseControl).
+maven.scm.url=

Added: contrib/wikiPortlet/trunk/common.xml
===================================================================
--- contrib/wikiPortlet/trunk/common.xml	                        (rev 0)
+++ contrib/wikiPortlet/trunk/common.xml	2009-02-20 14:43:19 UTC (rev 245)
@@ -0,0 +1,51 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+<project>
+    <pomVersion>3</pomVersion>
+
+    <dependencies>
+	<dependency>
+	    <id>portlet-api</id>
+	    <version>1.0</version>
+	</dependency>
+	
+	<dependency>
+            <groupId>jboss</groupId>
+            <artifactId>jboss-jmx</artifactId>
+            <version>1.0</version>
+            <jar>jboss-jmx.jar</jar>
+        </dependency>
+
+	<dependency>
+	    <groupId>jboss</groupId>
+	    <artifactId>jboss-common</artifactId>
+	    <version>1.0</version>
+	    <jar>jboss-common.jar</jar>
+	</dependency>
+	
+	<dependency>
+	    <groupId>jboss</groupId>
+	    <artifactId>portal-common-lib</artifactId>
+	    <version>1.0</version>
+	    <jar>portal-common-lib.jar</jar>
+	</dependency>
+	
+	<dependency>
+	    <groupId>jboss</groupId>
+	    <artifactId>portal-core-lib</artifactId>
+	    <version>1.0</version>
+	    <jar>portal-core-lib.jar</jar>
+	</dependency>
+	
+	<dependency>
+	    <groupId>jboss</groupId>
+	    <artifactId>portal-portlet-lib</artifactId>
+	    <version>1.0</version>
+	    <jar>portal-portlet-lib.jar</jar>
+	</dependency>
+	
+    </dependencies>
+    
+    <build>
+        <sourceDirectory>src/java</sourceDirectory>
+    </build>
+</project>

Added: contrib/wikiPortlet/trunk/maven.xml
===================================================================
--- contrib/wikiPortlet/trunk/maven.xml	                        (rev 0)
+++ contrib/wikiPortlet/trunk/maven.xml	2009-02-20 14:43:19 UTC (rev 245)
@@ -0,0 +1,112 @@
+<!-- 
+  JBoss, the OpenSource J2EE webOS
+  Distributable under LGPL license.
+  See terms of license at gnu.org. 
+ -->
+<project xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:u="jelly:util" xmlns:maven="jelly:maven">
+	<!-- 
+		Project-build goals 
+	-->
+	
+	<goal name="prepare-repo">
+                <ant:copy todir="${maven.repo.local}" overwrite="true">
+                        <ant:fileset dir="binaries" />
+                </ant:copy>
+	</goal>
+
+	<goal name="build">
+		<attainGoal name="wiki:build" />
+	</goal>
+
+ 	<goal name="prj-install">
+        </goal>
+	
+	<goal name="deploy">
+		<attainGoal name="wiki:deploy" />
+	</goal>
+	
+	<goal name="clean">
+		<ant:delete dir="target" />
+		<ant:delete dir="wiki-common/target" />
+		<ant:delete dir="wiki-management/target" />
+		<ant:delete dir="forge-wiki/target" />
+		<ant:delete dir="wiki-test/target" />
+	</goal>
+	
+	<goal name="wiki:build">
+		<maven:reactor includes="jbosswiki/wiki-common/project.xml" excludes="" basedir="." 
+			       banner="Making wiki-common for the repo" 
+			       goals="clean,build" ignoreFailures="false" />
+		<maven:reactor includes="jbosswiki/wiki-management/project.xml" excludes="" basedir="." 
+			       banner="Building and deploying EJB3 service for wiki" 
+			       goals="clean,build" ignoreFailures="false" />
+		<maven:reactor includes="jbosswiki/forge-wiki/project.xml" excludes="" basedir="." 
+			       banner="Building and deploying wiki portlet/servlet" 
+			       goals="clean,build" ignoreFailures="false" />
+		<maven:reactor includes="jbosswiki/wiki-test/project.xml" excludes="" basedir="." 
+			       banner="Building and deploying wiki test" 
+			       goals="clean,build" ignoreFailures="false" />
+		
+		<attainGoal name="prepare-ear" />
+		
+		<attainGoal name="ear" />
+	</goal>
+	
+	<goal name="wiki:localbuild">
+		<maven:reactor includes="wiki-common/project.xml" excludes="" basedir="." 
+			       banner="Making wiki-common for the repo" 
+			       goals="clean,build" ignoreFailures="false" />
+		<maven:reactor includes="wiki-management/project.xml" excludes="" basedir="." 
+			       banner="Building and deploying EJB3 service for wiki" 
+			       goals="clean,build" ignoreFailures="false" />
+		<maven:reactor includes="forge-wiki/project.xml" excludes="" basedir="." 
+			       banner="Building and deploying wiki portlet/servlet" 
+			       goals="clean,build" ignoreFailures="false" />
+		<maven:reactor includes="wiki-test/project.xml" excludes="" basedir="." 
+			       banner="Building and deploying wiki test" 
+			       goals="clean,build" ignoreFailures="false" />
+		
+		<attainGoal name="prepare-ear" />
+		
+		<attainGoal name="ear" />
+	</goal>
+	
+	<goal name="prepare-ear">
+		<ant:delete dir="target/ear" />
+		
+		<ant:copy tofile="target/ear/wiki-common.jar" file="wiki-common/target/wiki-common-1.0.jar" />
+		<ant:copy tofile="target/ear/wiki.ejb3" file="wiki-management/target/wiki-management-1.0.jar" />
+		<ant:copy tofile="target/ear/wiki.war" file="forge-wiki/target/wiki.war" />
+		<ant:copy tofile="target/ear/wiki-test.war" file="wiki-test/target/wiki-test.war" />
+		
+		<ant:copy todir="target/ear">
+			<ant:fileset dir="lib">
+				<ant:filename name="*.jar" />
+			</ant:fileset>
+		</ant:copy>
+	</goal>
+	
+	<goal name="wiki:deploy">
+		<ant:copy 
+		todir="${local.deploy.dir}"
+		file="target/${maven.final.name}.ear" overwrite="true" />
+	</goal>
+	
+	<goal name="wiki:all">
+		<attainGoal name="prepare-repo" />
+
+		<attainGoal name="wiki:localbuild" />
+			
+		<attainGoal name="wiki:deploy" />
+	</goal>
+	
+	<goal name="all">
+		<attainGoal name="wiki:all" />
+	</goal>
+
+	<goal name="help">
+		<echo>
+			First make file wiki-common/src/etc/org/jboss/wiki/filedatasource.properties (see the .sample file), then run maven all
+		</echo>
+	</goal>
+</project>

Added: contrib/wikiPortlet/trunk/pom.xml
===================================================================
--- contrib/wikiPortlet/trunk/pom.xml	                        (rev 0)
+++ contrib/wikiPortlet/trunk/pom.xml	2009-02-20 14:43:19 UTC (rev 245)
@@ -0,0 +1,142 @@
+<!--
+	JBoss, the OpenSource J2EE webOS Distributable under LGPL license. See
+	terms of license at gnu.org. 
+	Maven manual install: portal-core-lib.jar
+	portal-portlet-lib javax-servlet.jar javax-servlet-jsp.jar
+	activation.jar jboss-ejb3x.jar jboss-ejb3.jar portal-identity-lib.jar
+	jboss-portlet-api-lib.jar
+	
+	author: Piergiorgio Lucidi
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<modules>
+		<module>forge-wiki</module>
+		<module>wiki-common</module>
+		<module>wiki-management</module>
+		<module>wiki-test</module>
+	</modules>
+	<groupId>jboss</groupId>
+	<artifactId>wiki</artifactId>
+	<version>1.0</version>
+	<name>JBoss Wiki</name>
+	<packaging>pom</packaging>
+	<developers>
+		<developer>
+			<name>Tomasz Szymanski</name>
+			<url>http://mamut.net.pl</url>
+			<roles>
+				<role>Retired Project Lead</role>
+			</roles>
+		</developer>
+		<developer>
+			<name>Piergiorgio Lucidi</name>
+			<email>p.lucidi at sourcesense.com</email>
+			<url>http://www.open4dev.com/</url>
+			<organization>Sourcesense</organization>
+			<organizationUrl>http://www.sourcesense.com/</organizationUrl>
+		</developer>
+	</developers>
+	<build>
+		<sourceDirectory>src/java</sourceDirectory>
+	</build>
+	<dependencies>
+		<dependency>
+			<groupId>javax.portlet</groupId>
+			<artifactId>portlet-api</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>jboss</groupId>
+			<artifactId>jboss-jmx</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>jboss</groupId>
+			<artifactId>jboss-common</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>jboss</groupId>
+			<artifactId>portal-common-lib</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>jboss</groupId>
+			<artifactId>portal-core-lib</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>jboss</groupId>
+			<artifactId>portal-portlet-lib</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>jboss</groupId>
+			<artifactId>portal-identity-lib</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>jboss</groupId>
+			<artifactId>jboss-portlet-api-lib</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>javax.transaction</groupId>
+			<artifactId>jta</artifactId>
+			<version>1.1</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>log4j</groupId>
+			<artifactId>log4j</artifactId>
+			<version>1.2.9</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<version>3.8.1</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>jboss</groupId>
+			<artifactId>jboss-mail</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>javax.jms</groupId>
+			<artifactId>jms</artifactId>
+			<version>1.1</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>jboss</groupId>
+			<artifactId>jboss-ejb3</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>jboss</groupId>
+			<artifactId>jboss-ejb3x</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>jboss</groupId>
+			<artifactId>jboss-annotations-ejb3</artifactId>
+			<version>1.0</version>
+			<scope>provided</scope>
+		</dependency>
+	</dependencies>
+</project>

Added: contrib/wikiPortlet/trunk/project.properties
===================================================================
--- contrib/wikiPortlet/trunk/project.properties	                        (rev 0)
+++ contrib/wikiPortlet/trunk/project.properties	2009-02-20 14:43:19 UTC (rev 245)
@@ -0,0 +1,7 @@
+maven.repo.remote=http://repository.atlassian.com,http://www.ibiblio.org/maven,http://dist.codehaus.org/
+maven.junit.fork=yes
+maven.final.name=wiki
+
+maven.jar.override=on
+
+maven.jar.shotoku-base=${ext.root.dir}/shotoku/shotoku-base/target/shotoku-base.jar

Added: contrib/wikiPortlet/trunk/project.xml
===================================================================
--- contrib/wikiPortlet/trunk/project.xml	                        (rev 0)
+++ contrib/wikiPortlet/trunk/project.xml	2009-02-20 14:43:19 UTC (rev 245)
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+<!-- 
+  JBoss, the OpenSource J2EE webOS
+  Distributable under LGPL license.
+  See terms of license at gnu.org. 
+ -->
+<project>
+<pomVersion>3</pomVersion>
+    <id>jbosswiki</id>
+    <name>JBoss Wiki</name>
+    <currentVersion>1.0</currentVersion>
+    <organization>
+        <name>Tomasz Szymanski</name>
+        <url>http://mamut.net.pl</url>
+    </organization>
+    <description></description>
+
+</project>

Added: contrib/wikiPortlet/trunk/src/application/JBossORG-EULA.txt
===================================================================
--- contrib/wikiPortlet/trunk/src/application/JBossORG-EULA.txt	                        (rev 0)
+++ contrib/wikiPortlet/trunk/src/application/JBossORG-EULA.txt	2009-02-20 14:43:19 UTC (rev 245)
@@ -0,0 +1,107 @@
+LICENSE AGREEMENT
+JBOSS(r)
+
+This License Agreement governs the use of the Software Packages and any updates to the Software 
+Packages, regardless of the delivery mechanism.  Each Software Package is a collective work 
+under U.S. Copyright Law.  Subject to the following terms, Red Hat, Inc. ("Red Hat") grants to 
+the user ("Client") a license to the applicable collective work(s) pursuant to the 
+GNU Lesser General Public License v. 2.1 except for the following Software Packages: 
+(a) JBoss Portal Forums and JBoss Transactions JTS, each of which is licensed pursuant to the 
+GNU General Public License v.2; 
+
+(b) JBoss Rules, which is licensed pursuant to the Apache  License v.2.0;
+
+(c) an optional download for JBoss Cache for the Berkeley DB for Java database, which is licensed under the 
+(open source) Sleepycat License (if Client does not wish to use the open source version of this database, 
+it may purchase a license from Sleepycat Software); 
+
+and (d) the BPEL extension for JBoss jBPM, which is licensed under the Common Public License v.1, 
+and, pursuant to the OASIS BPEL4WS standard, requires parties wishing to redistribute to enter various 
+royalty-free patent licenses.  
+
+Each of the foregoing licenses is available at http://www.opensource.org/licenses/index.php.
+
+1.  The Software.  "Software Packages" refer to the various software modules that are created and made available 
+for distribution by the JBoss.org open source community at http://www.jboss.org.   Each of the Software Packages 
+may be comprised of hundreds of software components.  The end user license agreement for each component is located in 
+the component's source code.  With the exception of certain image files identified in Section 2 below, 
+the license terms for the components permit Client to copy, modify, and redistribute the component, 
+in both source code and binary code forms.  This agreement does not limit Client's rights under, 
+or grant Client rights that supersede, the license terms of any particular component.
+
+2.  Intellectual Property Rights.  The Software Packages are owned by Red Hat and others and are protected under copyright 
+and other laws.  Title to the Software Packages and any component, or to any copy, modification, or merged portion shall 
+remain with the aforementioned, subject to the applicable license.  The "JBoss" trademark, "Red Hat" trademark, the 
+individual Software Package trademarks, and the "Shadowman" logo are registered trademarks of Red Hat and its affiliates 
+in the U.S. and other countries.  This agreement permits Client to distribute unmodified copies of the Software Packages 
+using the Red Hat trademarks that Red Hat has inserted in the Software Packages on the condition that Client follows Red Hat's 
+trademark guidelines for those trademarks located at http://www.redhat.com/about/corporate/trademark/.  Client must abide by 
+these trademark guidelines when distributing the Software Packages, regardless of whether the Software Packages have been modified. 
+If Client modifies the Software Packages, then Client must replace all Red Hat trademarks and logos identified at 
+http://www.jboss.com/company/logos, unless a separate agreement with Red Hat is executed or other permission granted.  
+Merely deleting the files containing the Red Hat trademarks may corrupt the Software Packages.  
+
+3.  Limited Warranty.  Except as specifically stated in this Paragraph 3 or a license for a particular 
+component, to the maximum extent permitted under applicable law, the Software Packages and the 
+components are provided and licensed "as is" without warranty of any kind, expressed or implied, 
+including the implied warranties of merchantability, non-infringement or fitness for a particular purpose.  
+Red Hat warrants that the media on which Software Packages may be furnished will be free from defects in 
+materials and manufacture under normal use for a period of 30 days from the date of delivery to Client.  
+Red Hat does not warrant that the functions contained in the Software Packages will meet Client's requirements 
+or that the operation of the Software Packages will be entirely error free or appear precisely as described 
+in the accompanying documentation. This warranty extends only to the party that purchases the Services 
+pertaining to the Software Packages from Red Hat or a Red Hat authorized distributor. 
+
+4.  Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, the remedies 
+described below are accepted by Client as its only remedies.  Red Hat's entire liability, and Client's 
+exclusive remedies, shall be: If the Software media is defective, Client may return it within 30 days of 
+delivery along with a copy of Client's payment receipt and Red Hat, at its option, will replace it or 
+refund the money paid by Client for the Software.  To the maximum extent permitted by applicable law, 
+Red Hat or any Red Hat authorized dealer will not be liable to Client for any incidental or consequential 
+damages, including lost profits or lost savings arising out of the use or inability to use the Software, 
+even if Red Hat or such dealer has been advised of the possibility of such damages.  In no event shall 
+Red Hat's liability under this agreement exceed the amount that Client paid to Red Hat under this 
+Agreement during the twelve months preceding the action.
+
+5.  Export Control.  As required by U.S. law, Client represents and warrants that it: 
+(a) understands that the Software Packages are subject to export controls under the 
+U.S. Commerce Department's Export Administration Regulations ("EAR"); 
+
+(b) is not located in a prohibited destination country under the EAR or U.S. sanctions regulations 
+(currently Cuba, Iran, Iraq, Libya, North Korea, Sudan and Syria); 
+
+(c) will not export, re-export, or transfer the Software Packages to any prohibited destination, entity, 
+or individual without the necessary export license(s) or authorizations(s) from the U.S. Government; 
+
+(d) will not use or transfer the Software Packages for use in any sensitive nuclear, chemical or 
+biological weapons, or missile technology end-uses unless authorized by the U.S. Government by 
+regulation or specific license; 
+
+(e) understands and agrees that if it is in the United States and exports or transfers the Software 
+Packages to eligible end users, it will, as required by EAR Section 740.17(e), submit semi-annual 
+reports to the Commerce Department's Bureau of Industry & Security (BIS), which include the name and 
+address (including country) of each transferee; 
+
+and (f) understands that countries other than the United States may restrict the import, use, or 
+export of encryption products and that it shall be solely responsible for compliance with any such 
+import, use, or export restrictions.
+
+6.  Third Party Programs. Red Hat may distribute third party software programs with the Software Packages 
+that are not part of the Software Packages and which Client must install separately.  These third party 
+programs are subject to their own license terms.  The license terms either accompany the programs or 
+can be viewed at http://www.redhat.com/licenses/.  If Client does not agree to abide by the applicable 
+license terms for such programs, then Client may not install them.  If Client wishes to install the programs 
+on more than one system or transfer the programs to another party, then Client must contact the licensor 
+of the programs.
+
+7.  General.  If any provision of this agreement is held to be unenforceable, that shall not affect the 
+enforceability of the remaining provisions.  This License Agreement shall be governed by the laws of the 
+State of North Carolina and of the United States, without regard to any conflict of laws provisions, 
+except that the United Nations Convention on the International Sale of Goods shall not apply.
+
+Copyright 2006 Red Hat, Inc.  All rights reserved.  
+"JBoss" and the JBoss logo are registered trademarks of Red Hat, Inc.  
+All other trademarks are the property of their respective owners. 
+
+	Page 1 of 1	18 October 2006
+

Added: contrib/wikiPortlet/trunk/src/application/META-INF/application.xml
===================================================================
--- contrib/wikiPortlet/trunk/src/application/META-INF/application.xml	                        (rev 0)
+++ contrib/wikiPortlet/trunk/src/application/META-INF/application.xml	2009-02-20 14:43:19 UTC (rev 245)
@@ -0,0 +1,16 @@
+<application>
+	<display-name>JBoss Labs - forge infrastructure</display-name>
+	<module>
+		<ejb>wiki-management.jar</ejb>
+	</module>
+	<module>
+		<web>
+			<web-uri>wiki.war</web-uri>
+		</web>
+	</module>
+	<module>
+		<web>
+			<web-uri>wiki-test.war</web-uri>
+		</web>
+	</module>
+</application>




More information about the portletswap-commits mailing list