You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2009/01/05 18:50:12 UTC

svn commit: r731636 - in /incubator/openwebbeans/trunk: NOTICE.txt README.txt distribution/ distribution/pom.xml distribution/src/ distribution/src/assembly/ distribution/src/assembly/dist.xml pom.xml

Author: gerdogdu
Date: Mon Jan  5 09:50:11 2009
New Revision: 731636

URL: http://svn.apache.org/viewvc?rev=731636&view=rev
Log:
M1 Release POM Update

Added:
    incubator/openwebbeans/trunk/README.txt   (with props)
    incubator/openwebbeans/trunk/distribution/
    incubator/openwebbeans/trunk/distribution/pom.xml   (with props)
    incubator/openwebbeans/trunk/distribution/src/
    incubator/openwebbeans/trunk/distribution/src/assembly/
    incubator/openwebbeans/trunk/distribution/src/assembly/dist.xml   (with props)
Modified:
    incubator/openwebbeans/trunk/NOTICE.txt
    incubator/openwebbeans/trunk/pom.xml

Modified: incubator/openwebbeans/trunk/NOTICE.txt
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/NOTICE.txt?rev=731636&r1=731635&r2=731636&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/NOTICE.txt (original)
+++ incubator/openwebbeans/trunk/NOTICE.txt Mon Jan  5 09:50:11 2009
@@ -21,5 +21,11 @@
 This product uses jsr250-api-1.0.jar as binary, home page of the project is
 https://jsr250.dev.java.net/. with Common Development and Distribution License.
 
+This product uses the some Java EE API jars developed by the Apache Geronimo project. 
+The project home page is http://geronimo.apache.org/
+
+This product uses the some JSF API jars developed by the Apache MyFaces project. 
+The project home page is http://myfaces.apache.org/
+
 See the LICENSE.txt file and licences folder for information on all licenses 
 associated with this software.

Added: incubator/openwebbeans/trunk/README.txt
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/README.txt?rev=731636&view=auto
==============================================================================
--- incubator/openwebbeans/trunk/README.txt (added)
+++ incubator/openwebbeans/trunk/README.txt Mon Jan  5 09:50:11 2009
@@ -0,0 +1,105 @@
+--------------------------------
+What is OpenWebBeans?
+--------------------------------
+OpenWebBeans is an ASL-License implementation of the JSR-299, WebBeans Specification.
+
+Project web page could be found at the URL : 
+http://incubator.apache.org/projects/openwebbeans.html
+
+--------------------------------
+OpenWebBeans M1 Release Content
+--------------------------------
+
+- M1 Release Supports the followings
+-----------------------------------
+* Simple WebBeans Support
+* Producer Method Support
+* Event Support
+* Decorator and Interceptor Support
+* Experimental XML Configuration Support
+* Lookup and Dependency Injection Support
+* Java EE Plugin Support (via ServetContextListener interface)
+
+- M1 Release Does not Supports the followings
+--------------------------------------------
+* Enterprise WebBeans Support
+* JMS WebBeans Support
+* Producer Field Support
+* Servlet Injection Support
+* Inheritance, Stereotype Inheritance and Realization Support
+* Common Annotations Support
+* Full Support for Validation Checks
+* Passivation Scope and Serialization Operations
+* Full Support for XML Configuration
+* Java EE Container Integration Support (SPI)
+
+---------------------------------------------
+How to Configure The OpenWebBeans
+---------------------------------------------
+
+There are two important jars for OpenWebBeans;
+
+ - webbeans-api-1.0.0-SNAPSHOT.jar
+ - webbeans-impl-1.0.0-SNAPSHOT.jar
+
+There are also a dependent libraries. These dependent library jars
+are located in the directory "/lib/thirdparty". 
+
+Java EE APIs jars used by the project are located in the directory
+"lib/javaee" folder. You could put necessary Java EE jars into the 
+server classpath if the server is not contains these jars already. 
+
+To run openwebbeans applications in the Java EE based application server, 
+you could add OpenWebBeans API, Implementation and dependent jars into 
+the common classpath of the Java EE Application Server or your WEB-INF/lib 
+directory of the Java EE Web Application.
+
+In this release, we can not support the OpenWebBeans as an integrated
+functionality of the Java EE Application Servers. So, you have to manage the
+configuration of the OpenWebBeans within your "web.xml" file. A sample web.xml
+file can be found in the "config" directory.
+
+---------------------------------------------
+How to Run The Samples
+---------------------------------------------
+
+In this release, there is a sample application called "Login and Guess". It is
+located in the "/samples" directory of the root folder. In the distribution, there are
+binary and source versions of the samples project could be found. Name of the binary 
+file is the "samples/guess.war", you can deploy it into the any Java EE web container. 
+
+Before this, you have to configure OpenWebBeans runtime, 
+see "How to Configure OpenWebBeans.
+
+--------------------------------------------
+Build and Package  From the Source
+--------------------------------------------
+To install the Maven artifacts of the project from the source, Maven must be installed
+in your runtime. After Maven installation, just run the following command in the src/ folder : 
+
+> mvn clean install
+
+This command will install all the Maven artifacts in your local Maven respository.
+
+If you wish to build all the artifacts of the project, just run the following command
+in the src/ folder : 
+
+> mvn clean package -Ddistribute=true
+
+This command will package the project artifacts of the project from the source and put it into the "src/distribution/target/"
+directory.
+
+-------------------------------------------
+OpenWebBeans User Mail List
+-------------------------------------------
+
+Please mail to the user mailing list about any questions or advice
+about the OpenWebBeans.
+
+User Mailing List : [openwebbeans-users@incubator.apache.org]
+
+-------------------------------------------
+OpenWebBeans JIRA Page
+-------------------------------------------
+
+Please logs the bugs into the "https://issues.apache.org/jira/browse/OWB".

Propchange: incubator/openwebbeans/trunk/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/openwebbeans/trunk/distribution/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/distribution/pom.xml?rev=731636&view=auto
==============================================================================
--- incubator/openwebbeans/trunk/distribution/pom.xml (added)
+++ incubator/openwebbeans/trunk/distribution/pom.xml Mon Jan  5 09:50:11 2009
@@ -0,0 +1,157 @@
+<?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/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>
+
+    <parent>
+        <groupId>org.apache.openwebbeans</groupId>
+        <artifactId>openwebbeans</artifactId>
+        <version>1.0.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.openwebbeans</groupId>
+    <artifactId>distribution</artifactId>
+    <packaging>pom</packaging>
+
+    <name>OpenWebBeans :: Distribution</name>
+    <description>Builds the complete OpenWebBeans  distribution bundles</description>
+
+    <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-assembly-plugin</artifactId>
+                    <version>2.2-beta-2</version>
+                    <configuration>
+                        <descriptors>
+                            <descriptor>src/assembly/dist.xml</descriptor>
+                        </descriptors>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
+
+    <!--
+        The assemblies work off of dependency sets since the stuff to be
+        aggregated is no longer sub-modules after moving assembly itself
+        into this 'distribution' module.
+    -->
+    <dependencies>
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>guess</artifactId>
+            <version>${project.version}</version>
+	    <type>war</type>
+        </dependency>
+
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>webbeans-api</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>webbeans-impl</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+		<dependency>
+			<groupId>log4j</groupId>
+			<artifactId>log4j</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-servlet_2.5_spec</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>dom4j</groupId>
+			<artifactId>dom4j</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.geronimo.specs </groupId>
+			<artifactId>geronimo-ejb_3.0_spec</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-el_1.0_spec</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.myfaces.core</groupId>
+			<artifactId>myfaces-api</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>javassist</groupId>
+			<artifactId>javassist</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>net.sf.scannotation</groupId>
+			<artifactId>scannotation</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>javax.annotation</groupId>
+			<artifactId>jsr250-api</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-jpa_3.0_spec</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-interceptor_3.0_spec</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-jta_1.1_spec</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-jsp_2.1_spec</artifactId>
+		</dependency>
+    </dependencies>
+
+    <profiles>
+        <profile>
+            <id>release-profile</id>
+            <activation>
+                <property>
+                    <name>distribute</name>
+                    <value>true</value>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <version>2.2-beta-2</version>
+                        <executions>
+                            <execution>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>single</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
+</project>

Propchange: incubator/openwebbeans/trunk/distribution/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/openwebbeans/trunk/distribution/src/assembly/dist.xml
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/distribution/src/assembly/dist.xml?rev=731636&view=auto
==============================================================================
--- incubator/openwebbeans/trunk/distribution/src/assembly/dist.xml (added)
+++ incubator/openwebbeans/trunk/distribution/src/assembly/dist.xml Mon Jan  5 09:50:11 2009
@@ -0,0 +1,104 @@
+<assembly xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+
+
+    <id>dist</id>
+    <formats>
+        <format>zip</format>
+        <format>tar.gz</format>
+    </formats>
+
+    <includeBaseDirectory>true</includeBaseDirectory>
+
+    <files>
+        <file>
+            <source>../LICENCE.txt</source>
+        </file>
+
+        <file>
+            <source>../NOTICE.txt</source>
+        </file>
+
+        <file>
+	    <source>../README.txt</source>
+        </file>
+
+        <file>
+	    <source>../KEYS</source>
+        </file>
+	
+	<file>
+		<outputDirectory>config</outputDirectory>
+		<source>../samples/guess/src/main/webapp/WEB-INF/web.xml</source>
+	</file>        
+
+	<file>
+		<outputDirectory>config</outputDirectory>
+		<source>../samples/guess/src/main/webapp/WEB-INF/web-beans.xml</source>
+	</file>        
+
+    </files>
+    <dependencySets>
+
+        <dependencySet>
+            <outputDirectory></outputDirectory>
+            <includes>
+                <include>org.apache.openwebbeans:webbeans-api</include>           
+                <include>org.apache.openwebbeans:webbeans-impl</include>
+            </includes>
+	</dependencySet>
+
+
+        <dependencySet>
+            <outputDirectory>samples</outputDirectory>
+            <includes>
+                <include>org.apache.openwebbeans:guess:war</include>           
+            </includes>
+        </dependencySet>
+
+        <dependencySet>
+            <outputDirectory>lib/thirdparty</outputDirectory>
+            <includes>
+                <include>log4j:log4j</include>           
+                <include>dom4j:dom4j</include>
+                <include>javassist:javassist</include>
+                <include>>net.sf.scannotation:scannotation</include>
+            </includes>
+    </dependencySet>
+
+        <dependencySet>
+            <outputDirectory>lib/javaee</outputDirectory>
+            <includes>
+                <include>org.apache.geronimo.specs:geronimo-servlet_2.5_spec</include>
+                <include>org.apache.geronimo.specs:geronimo-ejb_3.0_spec</include>
+                <include>org.apache.geronimo.specs:geronimo-el_1.0_spec</include>
+                <include>org.apache.myfaces.core:myfaces-api</include>
+                <include>javax.annotation:jsr250-api</include>
+                <include>org.apache.geronimo.specs:geronimo-interceptor_3.0_spec</include>
+                <include>org.apache.geronimo.specs:geronimo-jta_1.1_spec</include>
+                <include>org.apache.geronimo.specs:geronimo-jsp_2.1_spec</include>
+            </includes>
+        </dependencySet>
+
+     </dependencySets>
+
+    <fileSets>
+        <!--
+            Build the 'project' directory which includes the project sources
+        -->
+        <fileSet>
+            <directory>..</directory>
+            <useDefaultExcludes>true</useDefaultExcludes>
+            <outputDirectory>src</outputDirectory>
+            <excludes>
+                <exclude>**/target/**</exclude>
+		<exclude>KEYS</exclude>
+		<exclude>**/licences/**</exclude>
+		<exclude>LICENCE.txt</exclude>
+		<exclude>NOTICE.txt</exclude>
+		<exclude>README.txt</exclude>
+            </excludes>
+        </fileSet>
+
+    </fileSets>
+
+</assembly>

Propchange: incubator/openwebbeans/trunk/distribution/src/assembly/dist.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/openwebbeans/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/pom.xml?rev=731636&r1=731635&r2=731636&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/pom.xml (original)
+++ incubator/openwebbeans/trunk/pom.xml Mon Jan  5 09:50:11 2009
@@ -26,12 +26,27 @@
 	<name>OpenWebBeans</name>
 	<packaging>pom</packaging>
 	<version>1.0.0-SNAPSHOT</version>
+
 	<description> Apache OpenWebBeans is an open source implementation of
-		JSR-299 WebBeans </description>
+		JSR-299 WebBeans 
+	</description>
+
 	<organization>
 		<name>The Apache OpenWebBeans development community</name>
 		<url>http://incubator.apache.org/openwebbeans</url>
 	</organization>
+
+	<scm>
+	    <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/openwebbeans/trunk</connection>
+	    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/openwebbeans/trunk</developerConnection>
+	    <url>https://svn.apache.org/repos/asf/incubator/openwebbeans/trunk</url>
+       </scm>
+
+ 	<issueManagement>
+          <system>jira</system>
+          <url>http://issues.apache.org/jira/browse/OWB</url>
+        </issueManagement>
+
 	<build>
 		<plugins>
 			<plugin>
@@ -156,4 +171,20 @@
 	<properties>
 		<openwebbeans.version>1.0.0-SNAPSHOT</openwebbeans.version>
 	</properties>
-</project>
\ No newline at end of file
+  
+   <profiles>
+        <profile>
+            <id>release-profile</id>
+            <activation>
+                <property>
+                    <name>distribute</name>
+                    <value>true</value>
+                </property>
+            </activation>
+	    <modules>
+		<module>distribution</module>
+            </modules>
+        </profile>
+    </profiles>
+
+</project>