You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2007/12/07 03:19:10 UTC
svn commit: r601959 - in /openejb/trunk/openejb3/examples:
component-interfaces/ expanded-env-entries/ helloworld-weblogic/
injection-of-ejbs/ injection-of-env-entry/ simple-stateful/
simple-stateless/ telephone-stateful/ webapps/ejb-examples/
Author: dblevins
Date: Thu Dec 6 18:19:09 2007
New Revision: 601959
URL: http://svn.apache.org/viewvc?rev=601959&view=rev
Log:
Cleaned up poms. removed codehaus and updated groupids to match package
Modified:
openejb/trunk/openejb3/examples/component-interfaces/pom.xml
openejb/trunk/openejb3/examples/expanded-env-entries/pom.xml
openejb/trunk/openejb3/examples/helloworld-weblogic/pom.xml
openejb/trunk/openejb3/examples/injection-of-ejbs/pom.xml
openejb/trunk/openejb3/examples/injection-of-env-entry/pom.xml
openejb/trunk/openejb3/examples/simple-stateful/pom.xml
openejb/trunk/openejb3/examples/simple-stateless/pom.xml
openejb/trunk/openejb3/examples/telephone-stateful/pom.xml
openejb/trunk/openejb3/examples/webapps/ejb-examples/pom.xml
Modified: openejb/trunk/openejb3/examples/component-interfaces/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/component-interfaces/pom.xml?rev=601959&r1=601958&r2=601959&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/component-interfaces/pom.xml (original)
+++ openejb/trunk/openejb3/examples/component-interfaces/pom.xml Thu Dec 6 18:19:09 2007
@@ -48,11 +48,6 @@
</build>
<repositories>
<repository>
- <id>codehaus-m2-snapshot</id>
- <name>Codehaus Snapshot Repository</name>
- <url>http://snapshots.repository.codehaus.org</url>
- </repository>
- <repository>
<id>apache-m2-snapshot</id>
<name>Apache Snapshot Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
@@ -73,26 +68,8 @@
</dependency>
<!--
- Nice thing about maven2 is it has test-only dependencies.
- This guarantees that non of your runtime code is dependent
- on any OpenEJB classes.
-
- For those of you who want to know the minimum steps required
- to add OpenEJB for testing to an existing maven 2 build, you
- simply add this dependency below and in your test code create
- your InitialContext like such:
-
- Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
-
- initialContext = new InitialContext(properties);
-
- And include an add a src/main/resources/META-INF/ejb-jar.xml
- file to your project containing at least "<ejb-jar/>"
-
- There is a method for finding your app without the need for
- an ejb-jar.xml via annotation scraping the classpath. See:
- http://openejb.apache.org/loading-deployments-from-the-classpath.html
+ The <scope>test</scope> guarantees that non of your runtime
+ code is dependent on any OpenEJB classes.
-->
<dependency>
<groupId>org.apache.openejb</groupId>
Modified: openejb/trunk/openejb3/examples/expanded-env-entries/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/expanded-env-entries/pom.xml?rev=601959&r1=601958&r2=601959&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/expanded-env-entries/pom.xml (original)
+++ openejb/trunk/openejb3/examples/expanded-env-entries/pom.xml Thu Dec 6 18:19:09 2007
@@ -23,7 +23,7 @@
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>
- <groupId>org.apache.openejb</groupId>
+ <groupId>org.superbiz</groupId>
<artifactId>expanded-env-entries</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
@@ -42,11 +42,6 @@
</build>
<repositories>
<repository>
- <id>codehaus-m2-snapshot</id>
- <name>Codehaus Snapshot Repository</name>
- <url>http://snapshots.repository.codehaus.org</url>
- </repository>
- <repository>
<id>apache-m2-snapshot</id>
<name>Apache Snapshot Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
@@ -74,26 +69,8 @@
</dependency>
<!--
- Nice thing about maven2 is it has test-only dependencies.
- This guarantees that non of your runtime code is dependent
- on any OpenEJB classes.
-
- For those of you who want to know the minimum steps required
- to add OpenEJB for testing to an existing maven 2 build, you
- simply add this dependency below and in your test code create
- your InitialContext like such:
-
- Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
-
- initialContext = new InitialContext(properties);
-
- And include an add a src/main/resources/META-INF/ejb-jar.xml
- file to your project containing at least "<ejb-jar/>"
-
- There is a method for finding your app without the need for
- an ejb-jar.xml via annotation scraping the classpath. See:
- http://openejb.apache.org/loading-deployments-from-the-classpath.html
+ The <scope>test</scope> guarantees that non of your runtime
+ code is dependent on any OpenEJB classes.
-->
<dependency>
<groupId>org.apache.openejb</groupId>
Modified: openejb/trunk/openejb3/examples/helloworld-weblogic/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/helloworld-weblogic/pom.xml?rev=601959&r1=601958&r2=601959&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/helloworld-weblogic/pom.xml (original)
+++ openejb/trunk/openejb3/examples/helloworld-weblogic/pom.xml Thu Dec 6 18:19:09 2007
@@ -22,7 +22,7 @@
<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>
- <groupId>org.apache.openejb</groupId>
+ <groupId>org.superbiz</groupId>
<artifactId>helloworld-weblogic</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
@@ -41,11 +41,6 @@
</build>
<repositories>
<repository>
- <id>codehaus-m2-snapshot</id>
- <name>Codehaus Snapshot Repository</name>
- <url>http://snapshots.repository.codehaus.org</url>
- </repository>
- <repository>
<id>apache-m2-snapshot</id>
<name>Apache Snapshot Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
@@ -66,26 +61,8 @@
</dependency>
<!--
- Nice thing about maven2 is it has test-only dependencies.
- This guarantees that non of your runtime code is dependent
- on any OpenEJB classes.
-
- For those of you who want to know the minimum steps required
- to add OpenEJB for testing to an existing maven 2 build, you
- simply add this dependency below and in your test code create
- your InitialContext like such:
-
- Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
-
- initialContext = new InitialContext(properties);
-
- And include an add a src/main/resources/META-INF/ejb-jar.xml
- file to your project containing at least "<ejb-jar/>"
-
- There is a method for finding your app without the need for
- an ejb-jar.xml via annotation scraping the classpath. See:
- http://openejb.apache.org/loading-deployments-from-the-classpath.html
+ The <scope>test</scope> guarantees that non of your runtime
+ code is dependent on any OpenEJB classes.
-->
<dependency>
<groupId>org.apache.openejb</groupId>
Modified: openejb/trunk/openejb3/examples/injection-of-ejbs/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/injection-of-ejbs/pom.xml?rev=601959&r1=601958&r2=601959&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/injection-of-ejbs/pom.xml (original)
+++ openejb/trunk/openejb3/examples/injection-of-ejbs/pom.xml Thu Dec 6 18:19:09 2007
@@ -41,11 +41,6 @@
</build>
<repositories>
<repository>
- <id>codehaus-m2-snapshot</id>
- <name>Codehaus Snapshot Repository</name>
- <url>http://snapshots.repository.codehaus.org</url>
- </repository>
- <repository>
<id>apache-m2-snapshot</id>
<name>Apache Snapshot Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
@@ -66,26 +61,8 @@
</dependency>
<!--
- Nice thing about maven2 is it has test-only dependencies.
- This guarantees that non of your runtime code is dependent
- on any OpenEJB classes.
-
- For those of you who want to know the minimum steps required
- to add OpenEJB for testing to an existing maven 2 build, you
- simply add this dependency below and in your test code create
- your InitialContext like such:
-
- Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
-
- initialContext = new InitialContext(properties);
-
- And include an add a src/main/resources/META-INF/ejb-jar.xml
- file to your project containing at least "<ejb-jar/>"
-
- There is a method for finding your app without the need for
- an ejb-jar.xml via annotation scraping the classpath. See:
- http://openejb.apache.org/loading-deployments-from-the-classpath.html
+ The <scope>test</scope> guarantees that non of your runtime
+ code is dependent on any OpenEJB classes.
-->
<dependency>
<groupId>org.apache.openejb</groupId>
Modified: openejb/trunk/openejb3/examples/injection-of-env-entry/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/injection-of-env-entry/pom.xml?rev=601959&r1=601958&r2=601959&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/injection-of-env-entry/pom.xml (original)
+++ openejb/trunk/openejb3/examples/injection-of-env-entry/pom.xml Thu Dec 6 18:19:09 2007
@@ -23,7 +23,7 @@
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>
- <groupId>org.apache.openejb</groupId>
+ <groupId>org.superbiz</groupId>
<artifactId>injection-of-env-entry</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
@@ -42,11 +42,6 @@
</build>
<repositories>
<repository>
- <id>codehaus-m2-snapshot</id>
- <name>Codehaus Snapshot Repository</name>
- <url>http://snapshots.repository.codehaus.org</url>
- </repository>
- <repository>
<id>apache-m2-snapshot</id>
<name>Apache Snapshot Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
@@ -74,26 +69,8 @@
</dependency>
<!--
- Nice thing about maven2 is it has test-only dependencies.
- This guarantees that non of your runtime code is dependent
- on any OpenEJB classes.
-
- For those of you who want to know the minimum steps required
- to add OpenEJB for testing to an existing maven 2 build, you
- simply add this dependency below and in your test code create
- your InitialContext like such:
-
- Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
-
- initialContext = new InitialContext(properties);
-
- And include an add a src/main/resources/META-INF/ejb-jar.xml
- file to your project containing at least "<ejb-jar/>"
-
- There is a method for finding your app without the need for
- an ejb-jar.xml via annotation scraping the classpath. See:
- http://openejb.apache.org/loading-deployments-from-the-classpath.html
+ The <scope>test</scope> guarantees that non of your runtime
+ code is dependent on any OpenEJB classes.
-->
<dependency>
<groupId>org.apache.openejb</groupId>
Modified: openejb/trunk/openejb3/examples/simple-stateful/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-stateful/pom.xml?rev=601959&r1=601958&r2=601959&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/simple-stateful/pom.xml (original)
+++ openejb/trunk/openejb3/examples/simple-stateful/pom.xml Thu Dec 6 18:19:09 2007
@@ -22,7 +22,7 @@
<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>
- <groupId>org.apache.openejb</groupId>
+ <groupId>org.superbiz</groupId>
<artifactId>simple-stateful</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
@@ -41,11 +41,6 @@
</build>
<repositories>
<repository>
- <id>codehaus-m2-snapshot</id>
- <name>Codehaus Snapshot Repository</name>
- <url>http://snapshots.repository.codehaus.org</url>
- </repository>
- <repository>
<id>apache-m2-snapshot</id>
<name>Apache Snapshot Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
@@ -66,26 +61,8 @@
</dependency>
<!--
- Nice thing about maven2 is it has test-only dependencies.
- This guarantees that non of your runtime code is dependent
- on any OpenEJB classes.
-
- For those of you who want to know the minimum steps required
- to add OpenEJB for testing to an existing maven 2 build, you
- simply add this dependency below and in your test code create
- your InitialContext like such:
-
- Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
-
- initialContext = new InitialContext(properties);
-
- And include an add a src/main/resources/META-INF/ejb-jar.xml
- file to your project containing at least "<ejb-jar/>"
-
- There is a method for finding your app without the need for
- an ejb-jar.xml via annotation scraping the classpath. See:
- http://openejb.apache.org/loading-deployments-from-the-classpath.html
+ The <scope>test</scope> guarantees that non of your runtime
+ code is dependent on any OpenEJB classes.
-->
<dependency>
<groupId>org.apache.openejb</groupId>
Modified: openejb/trunk/openejb3/examples/simple-stateless/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-stateless/pom.xml?rev=601959&r1=601958&r2=601959&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/simple-stateless/pom.xml (original)
+++ openejb/trunk/openejb3/examples/simple-stateless/pom.xml Thu Dec 6 18:19:09 2007
@@ -22,7 +22,7 @@
<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>
- <groupId>org.apache.openejb</groupId>
+ <groupId>org.superbiz</groupId>
<artifactId>simple-stateless</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
@@ -41,11 +41,6 @@
</build>
<repositories>
<repository>
- <id>codehaus-m2-snapshot</id>
- <name>Codehaus Snapshot Repository</name>
- <url>http://snapshots.repository.codehaus.org</url>
- </repository>
- <repository>
<id>apache-m2-snapshot</id>
<name>Apache Snapshot Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
@@ -66,26 +61,8 @@
</dependency>
<!--
- Nice thing about maven2 is it has test-only dependencies.
- This guarantees that non of your runtime code is dependent
- on any OpenEJB classes.
-
- For those of you who want to know the minimum steps required
- to add OpenEJB for testing to an existing maven 2 build, you
- simply add this dependency below and in your test code create
- your InitialContext like such:
-
- Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
-
- initialContext = new InitialContext(properties);
-
- And include an add a src/main/resources/META-INF/ejb-jar.xml
- file to your project containing at least "<ejb-jar/>"
-
- There is a method for finding your app without the need for
- an ejb-jar.xml via annotation scraping the classpath. See:
- http://openejb.apache.org/loading-deployments-from-the-classpath.html
+ The <scope>test</scope> guarantees that non of your runtime
+ code is dependent on any OpenEJB classes.
-->
<dependency>
<groupId>org.apache.openejb</groupId>
Modified: openejb/trunk/openejb3/examples/telephone-stateful/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/telephone-stateful/pom.xml?rev=601959&r1=601958&r2=601959&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/telephone-stateful/pom.xml (original)
+++ openejb/trunk/openejb3/examples/telephone-stateful/pom.xml Thu Dec 6 18:19:09 2007
@@ -22,7 +22,7 @@
<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>
- <groupId>org.apache.openejb</groupId>
+ <groupId>org.superbiz</groupId>
<artifactId>telephone-stateful</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
@@ -40,11 +40,6 @@
</plugins>
</build>
<repositories>
- <repository>
- <id>codehaus-m2-snapshot</id>
- <name>Codehaus Snapshot Repository</name>
- <url>http://snapshots.repository.codehaus.org</url>
- </repository>
<repository>
<id>apache-m2-snapshot</id>
<name>Apache Snapshot Repository</name>
Modified: openejb/trunk/openejb3/examples/webapps/ejb-examples/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/webapps/ejb-examples/pom.xml?rev=601959&r1=601958&r2=601959&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/webapps/ejb-examples/pom.xml (original)
+++ openejb/trunk/openejb3/examples/webapps/ejb-examples/pom.xml Thu Dec 6 18:19:09 2007
@@ -1,28 +1,28 @@
-<?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.
--->
-
-<!-- $Rev$ $Date$ -->
-
+<?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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
<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>
- <groupId>org.apache.openejb</groupId>
+ <groupId>org.superbiz</groupId>
<artifactId>ejb-examples</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
Re: svn commit: r601959 - in /openejb/trunk/openejb3/examples: component-interfaces/ expanded-env-entries/ helloworld-weblogic/ injection-of-ejbs/ injection-of-env-entry/ simple-stateful/ simple-stateless/ telephone-stateful/ webapps/ejb-examples/
Posted by David Blevins <da...@visi.com>.
On Dec 7, 2007, at 1:05 AM, Jacek Laskowski wrote:
> On Dec 7, 2007 3:19 AM, <db...@apache.org> wrote:
>> Author: dblevins
>> Date: Thu Dec 6 18:19:09 2007
>> New Revision: 601959
>>
>> URL: http://svn.apache.org/viewvc?rev=601959&view=rev
>> Log:
>> Cleaned up poms. removed codehaus and updated groupids to match
>> package
> ...
>> - <groupId>org.apache.openejb</groupId>
>> + <groupId>org.superbiz</groupId>
>
> Hi Dave,
>
> Shouldn't it be other way round, i.e. all
> non-org.apache.openejb.examples should move to it? I wish we could end
> up in a single m2 directory. I'm stepping forward to do the switch
> over the weekend.
I'm not sure what you mean by other way around and single m2 directory.
-David
Re: svn commit: r601959 - in /openejb/trunk/openejb3/examples: component-interfaces/ expanded-env-entries/ helloworld-weblogic/ injection-of-ejbs/ injection-of-env-entry/ simple-stateful/ simple-stateless/ telephone-stateful/ webapps/ejb-examples/
Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Dec 7, 2007 3:19 AM, <db...@apache.org> wrote:
> Author: dblevins
> Date: Thu Dec 6 18:19:09 2007
> New Revision: 601959
>
> URL: http://svn.apache.org/viewvc?rev=601959&view=rev
> Log:
> Cleaned up poms. removed codehaus and updated groupids to match package
...
> - <groupId>org.apache.openejb</groupId>
> + <groupId>org.superbiz</groupId>
Hi Dave,
Shouldn't it be other way round, i.e. all
non-org.apache.openejb.examples should move to it? I wish we could end
up in a single m2 directory. I'm stepping forward to do the switch
over the weekend.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl