tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlmonte...@apache.org
Subject [3/9] tomee git commit: TOMEE-2328 - Delete orfaned project. See connector-ear
Date Mon, 10 Dec 2018 13:23:51 GMT
TOMEE-2328 - Delete orfaned project. See connector-ear

Signed-off-by: brunobat <brunobat@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/8d5fb635
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/8d5fb635
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/8d5fb635

Branch: refs/heads/master
Commit: 8d5fb63510d4a22045f9216c0f8d3f6bad8902cf
Parents: 368abd9
Author: brunobat <brunobat@gmail.com>
Authored: Fri Dec 7 10:57:07 2018 +0000
Committer: brunobat <brunobat@gmail.com>
Committed: Fri Dec 7 10:57:07 2018 +0000

----------------------------------------------------------------------
 .../connector/starter/api/SampleConnection.java |  26 ----
 .../starter/api/SampleConnectionFactory.java    |  28 ----
 .../adapter/SampleConnectionFactoryImpl.java    |  69 ---------
 .../starter/adapter/SampleConnectionImpl.java   |  44 ------
 .../adapter/SampleManagedConnection.java        | 139 -------------------
 .../adapter/SampleManagedConnectionFactory.java | 108 --------------
 .../SampleManagedConnectionMetaData.java        |  58 --------
 .../connector-starter-rar/pom.xml               |  43 ------
 .../connector-ear-sample/moviefun-ear/pom.xml   |  74 ----------
 9 files changed, 589 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/8d5fb635/examples/connector-ear-sample/connector-starter-api/src/main/java/org/tomitribe/connector/starter/api/SampleConnection.java
----------------------------------------------------------------------
diff --git a/examples/connector-ear-sample/connector-starter-api/src/main/java/org/tomitribe/connector/starter/api/SampleConnection.java
b/examples/connector-ear-sample/connector-starter-api/src/main/java/org/tomitribe/connector/starter/api/SampleConnection.java
deleted file mode 100644
index 80f492c..0000000
--- a/examples/connector-ear-sample/connector-starter-api/src/main/java/org/tomitribe/connector/starter/api/SampleConnection.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * 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.
- */
-
-package org.tomitribe.connector.starter.api;
-
-public interface SampleConnection {
-    public void sendMessage(final String message);
-
-    public void close();
-}

http://git-wip-us.apache.org/repos/asf/tomee/blob/8d5fb635/examples/connector-ear-sample/connector-starter-api/src/main/java/org/tomitribe/connector/starter/api/SampleConnectionFactory.java
----------------------------------------------------------------------
diff --git a/examples/connector-ear-sample/connector-starter-api/src/main/java/org/tomitribe/connector/starter/api/SampleConnectionFactory.java
b/examples/connector-ear-sample/connector-starter-api/src/main/java/org/tomitribe/connector/starter/api/SampleConnectionFactory.java
deleted file mode 100644
index 47f5879..0000000
--- a/examples/connector-ear-sample/connector-starter-api/src/main/java/org/tomitribe/connector/starter/api/SampleConnectionFactory.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.
- */
-package org.tomitribe.connector.starter.api;
-
-import javax.resource.Referenceable;
-import javax.resource.ResourceException;
-import java.io.Serializable;
-
-public interface SampleConnectionFactory extends Serializable, Referenceable {
-    public SampleConnection getConnection() throws ResourceException;
-
-}

http://git-wip-us.apache.org/repos/asf/tomee/blob/8d5fb635/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleConnectionFactoryImpl.java
----------------------------------------------------------------------
diff --git a/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleConnectionFactoryImpl.java
b/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleConnectionFactoryImpl.java
deleted file mode 100644
index c426a76..0000000
--- a/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleConnectionFactoryImpl.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * 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.
- */
-package org.tomitribe.connector.starter.adapter;
-
-import org.tomitribe.connector.starter.api.SampleConnection;
-import org.tomitribe.connector.starter.api.SampleConnectionFactory;
-
-import javax.naming.NamingException;
-import javax.naming.Reference;
-import javax.resource.ResourceException;
-import javax.resource.spi.ConnectionManager;
-import java.util.logging.Logger;
-
-public class SampleConnectionFactoryImpl implements SampleConnectionFactory {
-    private static final long serialVersionUID = 1L;
-
-    private static Logger log = Logger.getLogger(SampleConnectionFactoryImpl.class.getName());
-
-    private Reference reference;
-
-    private SampleManagedConnectionFactory mcf;
-
-    private ConnectionManager connectionManager;
-
-    public SampleConnectionFactoryImpl() {
-
-    }
-
-    public SampleConnectionFactoryImpl(SampleManagedConnectionFactory mcf, ConnectionManager
cxManager) {
-        this.mcf = mcf;
-        this.connectionManager = cxManager;
-    }
-
-    @Override
-    public SampleConnection getConnection() throws ResourceException {
-        log.finest("getConnection()");
-        return (SampleConnection) connectionManager.allocateConnection(mcf, null);
-    }
-
-    @Override
-    public Reference getReference() throws NamingException {
-        log.finest("getReference()");
-        return reference;
-    }
-
-    @Override
-    public void setReference(Reference reference) {
-        log.finest("setReference()");
-        this.reference = reference;
-    }
-
-
-}

http://git-wip-us.apache.org/repos/asf/tomee/blob/8d5fb635/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleConnectionImpl.java
----------------------------------------------------------------------
diff --git a/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleConnectionImpl.java
b/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleConnectionImpl.java
deleted file mode 100644
index 1bbc59d..0000000
--- a/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleConnectionImpl.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * 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.
- */
-package org.tomitribe.connector.starter.adapter;
-
-import org.tomitribe.connector.starter.api.SampleConnection;
-
-import java.util.logging.Logger;
-
-public class SampleConnectionImpl implements SampleConnection {
-    private static Logger log = Logger.getLogger(SampleConnectionImpl.class.getName());
-
-    private SampleManagedConnection mc;
-
-    private SampleManagedConnectionFactory mcf;
-
-    public SampleConnectionImpl(SampleManagedConnection mc, SampleManagedConnectionFactory
mcf) {
-        this.mc = mc;
-        this.mcf = mcf;
-    }
-
-    public void sendMessage(final String message) {
-        mc.sendMessage(message);
-    }
-
-    public void close() {
-        mc.closeHandle(this);
-    }
-}

http://git-wip-us.apache.org/repos/asf/tomee/blob/8d5fb635/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleManagedConnection.java
----------------------------------------------------------------------
diff --git a/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleManagedConnection.java
b/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleManagedConnection.java
deleted file mode 100644
index 9762dfc..0000000
--- a/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleManagedConnection.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * 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.
- */
-package org.tomitribe.connector.starter.adapter;
-
-import org.tomitribe.connector.starter.api.SampleConnection;
-
-import javax.resource.NotSupportedException;
-import javax.resource.ResourceException;
-import javax.resource.spi.ConnectionEvent;
-import javax.resource.spi.ConnectionEventListener;
-import javax.resource.spi.ConnectionRequestInfo;
-import javax.resource.spi.LocalTransaction;
-import javax.resource.spi.ManagedConnection;
-import javax.resource.spi.ManagedConnectionMetaData;
-import javax.security.auth.Subject;
-import javax.transaction.xa.XAResource;
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-import java.util.logging.Logger;
-
-public class SampleManagedConnection implements ManagedConnection {
-
-    private static Logger log = Logger.getLogger(SampleManagedConnection.class.getName());
-
-    private PrintWriter logwriter;
-
-    private SampleManagedConnectionFactory mcf;
-
-    private List<ConnectionEventListener> listeners;
-
-    private SampleConnectionImpl connection;
-
-    public SampleManagedConnection(SampleManagedConnectionFactory mcf) {
-        this.mcf = mcf;
-        this.logwriter = null;
-        this.listeners = Collections.synchronizedList(new ArrayList<ConnectionEventListener>(1));
-        this.connection = null;
-    }
-
-    public Object getConnection(Subject subject,
-                                ConnectionRequestInfo cxRequestInfo) throws ResourceException
{
-        log.finest("getConnection()");
-        connection = new SampleConnectionImpl(this, mcf);
-        return connection;
-    }
-
-    public void associateConnection(Object connection) throws ResourceException {
-        log.finest("associateConnection()");
-
-        if (connection == null)
-            throw new ResourceException("Null connection handle");
-
-        if (!(connection instanceof SampleConnectionImpl))
-            throw new ResourceException("Wrong connection handle");
-
-        this.connection = (SampleConnectionImpl) connection;
-    }
-
-    public void cleanup() throws ResourceException {
-        log.finest("cleanup()");
-    }
-
-    public void destroy() throws ResourceException {
-        log.finest("destroy()");
-    }
-
-    public void addConnectionEventListener(ConnectionEventListener listener) {
-        log.finest("addConnectionEventListener()");
-
-        if (listener == null) {
-            throw new IllegalArgumentException("Listener is null");
-        }
-
-        listeners.add(listener);
-    }
-
-    public void removeConnectionEventListener(ConnectionEventListener listener) {
-        log.finest("removeConnectionEventListener()");
-        if (listener == null)
-            throw new IllegalArgumentException("Listener is null");
-        listeners.remove(listener);
-    }
-
-    void closeHandle(SampleConnection handle) {
-        ConnectionEvent event = new ConnectionEvent(this, ConnectionEvent.CONNECTION_CLOSED);
-        event.setConnectionHandle(handle);
-        for (ConnectionEventListener cel : listeners) {
-            cel.connectionClosed(event);
-        }
-    }
-
-    public PrintWriter getLogWriter() throws ResourceException {
-        log.finest("getLogWriter()");
-        return logwriter;
-    }
-
-    public void setLogWriter(PrintWriter out) throws ResourceException {
-        log.finest("setLogWriter()");
-        logwriter = out;
-    }
-
-    public LocalTransaction getLocalTransaction() throws ResourceException {
-        throw new NotSupportedException("getLocalTransaction() not supported");
-    }
-
-    public XAResource getXAResource() throws ResourceException {
-        throw new NotSupportedException("getXAResource() not supported");
-    }
-
-    public ManagedConnectionMetaData getMetaData() throws ResourceException {
-        log.finest("getMetaData()");
-        return new SampleManagedConnectionMetaData();
-    }
-
-    void sendMessage(final String message) {
-        log.finest("sendMessage()");
-
-        final SampleResourceAdapter resourceAdapter = (SampleResourceAdapter) mcf.getResourceAdapter();
-        resourceAdapter.sendMessage(message);
-    }
-}

http://git-wip-us.apache.org/repos/asf/tomee/blob/8d5fb635/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleManagedConnectionFactory.java
----------------------------------------------------------------------
diff --git a/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleManagedConnectionFactory.java
b/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleManagedConnectionFactory.java
deleted file mode 100644
index 121105b..0000000
--- a/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleManagedConnectionFactory.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * 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.
- */
-package org.tomitribe.connector.starter.adapter;
-
-import org.tomitribe.connector.starter.api.SampleConnection;
-import org.tomitribe.connector.starter.api.SampleConnectionFactory;
-
-import java.io.PrintWriter;
-import java.util.Iterator;
-import java.util.Set;
-
-import java.util.logging.Logger;
-
-import javax.resource.ResourceException;
-import javax.resource.spi.ConnectionDefinition;
-import javax.resource.spi.ConnectionManager;
-import javax.resource.spi.ConnectionRequestInfo;
-import javax.resource.spi.ManagedConnection;
-import javax.resource.spi.ManagedConnectionFactory;
-import javax.resource.spi.ResourceAdapter;
-import javax.resource.spi.ResourceAdapterAssociation;
-
-import javax.security.auth.Subject;
-
-@ConnectionDefinition(connectionFactory = SampleConnectionFactory.class,
-        connectionFactoryImpl = SampleConnectionFactoryImpl.class,
-        connection = SampleConnection.class,
-        connectionImpl = SampleConnectionImpl.class)
-public class SampleManagedConnectionFactory implements ManagedConnectionFactory, ResourceAdapterAssociation
{
-
-    private static final long serialVersionUID = 1L;
-
-    private static Logger log = Logger.getLogger(SampleManagedConnectionFactory.class.getName());
-
-    private ResourceAdapter ra;
-
-    private PrintWriter logwriter;
-
-    public SampleManagedConnectionFactory() {
-
-    }
-
-    public Object createConnectionFactory(ConnectionManager cxManager) throws ResourceException
{
-        log.finest("createConnectionFactory()");
-        return new SampleConnectionFactoryImpl(this, cxManager);
-    }
-
-    public Object createConnectionFactory() throws ResourceException {
-        throw new ResourceException("This resource adapter doesn't support non-managed environments");
-    }
-
-    public ManagedConnection createManagedConnection(Subject subject,
-                                                     ConnectionRequestInfo cxRequestInfo)
throws ResourceException {
-        log.finest("createManagedConnection()");
-        return new SampleManagedConnection(this);
-    }
-
-    public ManagedConnection matchManagedConnections(Set connectionSet,
-                                                     Subject subject, ConnectionRequestInfo
cxRequestInfo) throws ResourceException {
-        log.finest("matchManagedConnections()");
-        ManagedConnection result = null;
-        Iterator it = connectionSet.iterator();
-        while (result == null && it.hasNext()) {
-            ManagedConnection mc = (ManagedConnection) it.next();
-            if (mc instanceof SampleManagedConnection) {
-                result = mc;
-            }
-
-        }
-        return result;
-    }
-
-    public PrintWriter getLogWriter() throws ResourceException {
-        log.finest("getLogWriter()");
-        return logwriter;
-    }
-
-    public void setLogWriter(PrintWriter out) throws ResourceException {
-        log.finest("setLogWriter()");
-        logwriter = out;
-    }
-
-    public ResourceAdapter getResourceAdapter() {
-        log.finest("getResourceAdapter()");
-        return ra;
-    }
-
-    public void setResourceAdapter(ResourceAdapter ra) {
-        log.finest("setResourceAdapter()");
-        this.ra = ra;
-    }
-}

http://git-wip-us.apache.org/repos/asf/tomee/blob/8d5fb635/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleManagedConnectionMetaData.java
----------------------------------------------------------------------
diff --git a/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleManagedConnectionMetaData.java
b/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleManagedConnectionMetaData.java
deleted file mode 100644
index 4bb5878..0000000
--- a/examples/connector-ear-sample/connector-starter-impl/src/main/java/org/tomitribe/connector/starter/adapter/SampleManagedConnectionMetaData.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * 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.
- */
-package org.tomitribe.connector.starter.adapter;
-
-import java.util.logging.Logger;
-
-import javax.resource.ResourceException;
-
-import javax.resource.spi.ManagedConnectionMetaData;
-
-public class SampleManagedConnectionMetaData implements ManagedConnectionMetaData {
-
-    private static Logger log = Logger.getLogger(SampleManagedConnectionMetaData.class.getName());
-
-    public SampleManagedConnectionMetaData() {
-
-    }
-
-    @Override
-    public String getEISProductName() throws ResourceException {
-        log.finest("getEISProductName()");
-        return null; //TODO
-    }
-
-    @Override
-    public String getEISProductVersion() throws ResourceException {
-        log.finest("getEISProductVersion()");
-        return null; //TODO
-    }
-
-    @Override
-    public int getMaxConnections() throws ResourceException {
-        log.finest("getMaxConnections()");
-        return 0; //TODO
-    }
-
-    @Override
-    public String getUserName() throws ResourceException {
-        log.finest("getUserName()");
-        return null; //TODO
-    }
-}

http://git-wip-us.apache.org/repos/asf/tomee/blob/8d5fb635/examples/connector-ear-sample/connector-starter-rar/pom.xml
----------------------------------------------------------------------
diff --git a/examples/connector-ear-sample/connector-starter-rar/pom.xml b/examples/connector-ear-sample/connector-starter-rar/pom.xml
deleted file mode 100644
index 510e33c..0000000
--- a/examples/connector-ear-sample/connector-starter-rar/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?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: 1387962 $ $Date: 2012-09-20 05:53:17 -0500 (Thu, 20 Sep 2012)
-  $ -->
-
-<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.tomitribe</groupId>
-    <artifactId>connector-starter-parent</artifactId>
-    <version>8.0.0-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>connector-starter-rar</artifactId>
-  <packaging>rar</packaging>
-  <name>Connector Starter :: Resource Adapter</name>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.tomitribe</groupId>
-      <artifactId>connector-starter-impl</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-  </dependencies>
-</project>

http://git-wip-us.apache.org/repos/asf/tomee/blob/8d5fb635/examples/connector-ear-sample/moviefun-ear/pom.xml
----------------------------------------------------------------------
diff --git a/examples/connector-ear-sample/moviefun-ear/pom.xml b/examples/connector-ear-sample/moviefun-ear/pom.xml
deleted file mode 100644
index 3b94f76..0000000
--- a/examples/connector-ear-sample/moviefun-ear/pom.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-<?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">
-
-    <parent>
-        <groupId>org.superbiz</groupId>
-        <artifactId>moviefun-ear-parent</artifactId>
-        <version>8.0.0-SNAPSHOT</version>
-    </parent>
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>moviefun-ear</artifactId>
-    <packaging>ear</packaging>
-    <name>OpenEJB :: Examples :: Simple EAR :: EAR Packaging</name>
-
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.superbiz</groupId>
-            <artifactId>moviefun-business-logic</artifactId>
-            <version>${project.version}</version>
-            <type>ejb</type>
-        </dependency>
-        <dependency>
-            <groupId>org.superbiz</groupId>
-            <artifactId>moviefun-webapp</artifactId>
-            <type>war</type>
-            <version>${project.version}</version>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-ear-plugin</artifactId>
-                <version>2.10.1</version>
-                <configuration>
-                    <version>6</version>
-                    <generateApplicationXml>true</generateApplicationXml>
-                    <defaultLibBundleDir>lib</defaultLibBundleDir>
-                    <modules>
-                        <webModule>
-                            <groupId>org.superbiz</groupId>
-                            <artifactId>moviefun-webapp</artifactId>
-                            <contextRoot>/moviefun</contextRoot>
-                        </webModule>
-                        <ejbModule>
-                            <groupId>org.superbiz</groupId>
-                            <artifactId>moviefun-business-logic</artifactId>
-                        </ejbModule>
-                    </modules>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>


Mime
View raw message