You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tomee.apache.org by bu...@apache.org on 2014/07/02 14:21:11 UTC
svn commit: r914758 [2/2] - in /websites/staging/tomee/trunk: cgi-bin/
content/ content/dev/ content/download/ content/examples-trunk/
content/examples-trunk/access-timeout-meta/
content/examples-trunk/access-timeout/ content/examples-trunk/alternate-d...
Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/java/org/superbiz/webapp2/provider/ConstraintViolationExceptionMapper.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/java/org/superbiz/webapp2/provider/ConstraintViolationExceptionMapper.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/java/org/superbiz/webapp2/provider/ConstraintViolationExceptionMapper.java Wed Jul 2 12:21:06 2014
@@ -1,7 +1,18 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
+/**
+ * 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.superbiz.webapp2.provider;
Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/java/org/superbiz/webapp2/service/WebApp2Service.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/java/org/superbiz/webapp2/service/WebApp2Service.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/java/org/superbiz/webapp2/service/WebApp2Service.java Wed Jul 2 12:21:06 2014
@@ -1,7 +1,18 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
+/**
+ * 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.superbiz.webapp2.service;
Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/webapp/META-INF/context.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/webapp/WEB-INF/ejb-jar.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/webapp/WEB-INF/openejb-jar.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/webapp/WEB-INF/web.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/webapp/index.jsp
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/webapp/index.jsp (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/WebApp2/src/main/webapp/index.jsp Wed Jul 2 12:21:06 2014
@@ -1,3 +1,19 @@
+<%--
+ 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.
+--%>
<%@page contentType="text/html" pageEncoding="UTF-8" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/runner/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/runner/src/test/java/RedeploymentTest.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/runner/src/test/java/RedeploymentTest.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/runner/src/test/java/RedeploymentTest.java Wed Jul 2 12:21:06 2014
@@ -1,15 +1,29 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
+/**
+ * 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.
*/
import org.apache.cxf.jaxrs.client.WebClient;
+import org.jboss.arquillian.container.test.api.Deployer;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.arquillian.test.api.ArquillianResource;
import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.WebArchive;
+import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -22,26 +36,50 @@ public class RedeploymentTest {
public RedeploymentTest() {
}
- @Deployment(name = "webapp1")
+ @Deployment(name = "webapp1", managed = false)
public static Archive<?> webapp1() {
return ShrinkWrap.createFromZipFile(WebArchive.class, new File("../WebApp1/target/WebApp1-1.1.0-SNAPSHOT.war"));
}
- @Deployment(name = "webapp2")
+ @Deployment(name = "webapp2", managed = false)
public static Archive<?> webapp2() {
return ShrinkWrap.createFromZipFile(WebArchive.class, new File("../WebApp2/target/WebApp2-1.1.0-SNAPSHOT.war"));
}
+ @ArquillianResource
+ private Deployer deployer;
+
@Test
- public void valid() throws Exception {
- final String port = System.getProperty("server.http.port");
- System.out.println("Running test on port: " + port);
+ public void validateTest() throws Exception {
+
+ final String port = System.getProperty("server.http.port", "8080");
+ System.out.println("");
System.out.println("===========================================");
- System.out.println(WebClient.create("http://localhost:" + port + "/WebApp1/test/")
- .type(MediaType.APPLICATION_JSON_TYPE).post("valid").getStatus());
- System.out.println("-------------------------------------------");
- System.out.println(WebClient.create("http://localhost:" + port + "/WebApp2/test/")
- .type(MediaType.APPLICATION_JSON_TYPE).post("valid").getStatus());
+ System.out.println("Running test on port: " + port);
+
+ deployer.deploy("webapp1");
+ int result = WebClient.create("http://localhost:" + port + "/WebApp1/test/")
+ .type(MediaType.APPLICATION_JSON_TYPE).post("validd").getStatus();
+ System.out.println(result);
+ Assert.assertEquals(406, result);
+
+ //Not interested in webapp2 output
+ // deployer.undeploy("webapp2");
+ deployer.deploy("webapp2");
+
+ result = WebClient.create("http://localhost:" + port + "/WebApp1/test/")
+ .type(MediaType.APPLICATION_JSON_TYPE).post("validd").getStatus();
+ System.out.println(result);
+ Assert.assertEquals(406, result);
+ deployer.undeploy("webapp2");
+ result = WebClient.create("http://localhost:" + port + "/WebApp1/test/")
+ .type(MediaType.APPLICATION_JSON_TYPE).post("validd").getStatus();
+ System.out.println(result);
+ Assert.assertEquals(406, result);
+ result = WebClient.create("http://localhost:" + port + "/WebApp1/test/")
+ .type(MediaType.APPLICATION_JSON_TYPE).post("valid").getStatus();
+ System.out.println(result);
+ Assert.assertEquals(200, result);
System.out.println("===========================================");
System.out.println("");
}
Modified: websites/staging/tomee/trunk/content/examples-trunk/bval-evaluation-redeployment/runner/src/test/resources/arquillian.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/cdi-alternative-and-stereotypes/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/cdi-application-scope/pom.xml
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/cdi-application-scope/pom.xml (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/cdi-application-scope/pom.xml Wed Jul 2 12:21:06 2014
@@ -24,8 +24,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
- <source>1.6</source>
- <target>1.6</target>
+ <source>1.7</source>
+ <target>1.7</target>
</configuration>
</plugin>
</plugins>
@@ -53,7 +53,7 @@
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-core</artifactId>
- <version>4.7.0-SNAPSHOT</version>
+ <version>5.0.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
Modified: websites/staging/tomee/trunk/content/examples-trunk/cdi-basic/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/cdi-ejbcontext-jaas/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/cdi-events/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/cdi-interceptors/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/cdi-produces-disposes/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/cdi-produces-field/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/cdi-query/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/cdi-realm/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/cdi-request-scope/pom.xml
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/cdi-request-scope/pom.xml (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/cdi-request-scope/pom.xml Wed Jul 2 12:21:06 2014
@@ -24,8 +24,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
- <source>1.6</source>
- <target>1.6</target>
+ <source>1.7</source>
+ <target>1.7</target>
</configuration>
</plugin>
</plugins>
@@ -53,7 +53,7 @@
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-core</artifactId>
- <version>4.7.0-SNAPSHOT</version>
+ <version>5.0.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
Modified: websites/staging/tomee/trunk/content/examples-trunk/cdi-session-scope/pom.xml
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/cdi-session-scope/pom.xml (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/cdi-session-scope/pom.xml Wed Jul 2 12:21:06 2014
@@ -30,8 +30,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
- <source>1.6</source>
- <target>1.6</target>
+ <source>1.7</source>
+ <target>1.7</target>
</configuration>
</plugin>
<plugin>
@@ -45,7 +45,7 @@
<plugin>
<groupId>org.apache.openejb.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
- <version>1.7.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</plugin>
</plugins>
</build>
Modified: websites/staging/tomee/trunk/content/examples-trunk/change-jaxws-url/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/client-resource-lookup-preview/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/component-interfaces/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/cucumber-jvm/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/custom-injection/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/datasource-ciphered-password/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/datasource-definition/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/datasource-versioning/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/decorators/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/deltaspike-configproperty/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/deltaspike-exception-handling/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/pom.xml
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/pom.xml (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/pom.xml Wed Jul 2 12:21:06 2014
@@ -23,8 +23,8 @@
<version.myfaces2>2.2.3</version.myfaces2>
<version.deltaspike>1.0.0</version.deltaspike>
<version.extval>2.0.8</version.extval>
- <version.openejb>4.7.0-SNAPSHOT</version.openejb>
- <version.tomee>1.7.0-SNAPSHOT</version.tomee>
+ <version.openejb>5.0.0-SNAPSHOT</version.openejb>
+ <version.tomee>2.0.0-SNAPSHOT</version.tomee>
</properties>
<build>
@@ -35,8 +35,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
- <source>1.6</source>
- <target>1.6</target>
+ <source>1.7</source>
+ <target>1.7</target>
</configuration>
</plugin>
<plugin>
Added: websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/src/main/webapp/WEB-INF/beans.xml
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/src/main/webapp/WEB-INF/beans.xml
------------------------------------------------------------------------------
svn:mime-type = application/xml
Modified: websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/src/test/java/org/superbiz/deltaspike/test/MockedPageBeanTest.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/src/test/java/org/superbiz/deltaspike/test/MockedPageBeanTest.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/src/test/java/org/superbiz/deltaspike/test/MockedPageBeanTest.java Wed Jul 2 12:21:06 2014
@@ -54,7 +54,7 @@ public class MockedPageBeanTest
@Inject
private UserRepository userRepository; //will inject the mocked instance
- @Test
+ //@Test
public void saveUserWithMockedBean()
{
final String userName = "gp";
Modified: websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/src/test/java/org/superbiz/deltaspike/test/PageBeanTest.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/src/test/java/org/superbiz/deltaspike/test/PageBeanTest.java (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/deltaspike-fullstack/src/test/java/org/superbiz/deltaspike/test/PageBeanTest.java Wed Jul 2 12:21:06 2014
@@ -51,7 +51,7 @@ public class PageBeanTest
@Inject
private ContextControl contextControl;
- @Test
+ //@Test
public void saveUser()
{
final String userName = "gp";
Modified: websites/staging/tomee/trunk/content/examples-trunk/deltaspike-i18n/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/dynamic-dao-implementation/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/dynamic-datasource-routing/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/dynamic-implementation/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/dynamic-proxy-to-access-mbean/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/ear-testing/business-logic/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/ear-testing/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/ejb-examples/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/ejb-webservice/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/groovy-cdi/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/groovy-jpa/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/groovy-spock/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/groovy-spock/src/test/java/org/superbiz/groovy/HelloSpecification.groovy
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/groovy-spock/src/test/java/org/superbiz/groovy/HelloSpecification.groovy (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/groovy-spock/src/test/java/org/superbiz/groovy/HelloSpecification.groovy Wed Jul 2 12:21:06 2014
@@ -18,16 +18,19 @@ package org.superbiz.groovy
import org.apache.ziplock.JarLocation
import org.jboss.arquillian.container.test.api.Deployment
+import org.jboss.arquillian.spock.ArquillianSputnik
import org.jboss.shrinkwrap.api.ArchivePaths
import org.jboss.shrinkwrap.api.ShrinkWrap
import org.jboss.shrinkwrap.api.asset.EmptyAsset
import org.jboss.shrinkwrap.api.spec.WebArchive
+import org.junit.runner.RunWith
import javax.inject.Inject
import static org.junit.Assert.assertEquals
import static org.junit.Assert.assertNotNull
+@RunWith(ArquillianSputnik.class)
class HelloSpecification extends spock.lang.Specification {
@Inject
Modified: websites/staging/tomee/trunk/content/examples-trunk/helloworld-weblogic/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/injection-of-connectionfactory/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/injection-of-datasource/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/injection-of-ejbs/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/injection-of-entitymanager/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/injection-of-env-entry/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/interceptors/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/jpa-eclipselink/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/jpa-enumerated/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/jpa-hibernate/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/jsf-cdi-and-ejb/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/jsf-managedBean-and-ejb/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/lookup-of-ejbs-with-descriptor/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/lookup-of-ejbs/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/mbean-auto-registration/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/moviefun-rest/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/moviefun/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/movies-complete-meta/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/movies-complete/pom.xml
==============================================================================
Binary files - no diff available.
Added: websites/staging/tomee/trunk/content/examples-trunk/mtom/pom.xml
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/tomee/trunk/content/examples-trunk/mtom/pom.xml
------------------------------------------------------------------------------
svn:mime-type = application/xml
Added: websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/AbstractService.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/AbstractService.java (added)
+++ websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/AbstractService.java Wed Jul 2 12:21:06 2014
@@ -0,0 +1,26 @@
+/**
+ * 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.superbiz.mtom;
+
+import javax.activation.DataHandler;
+
+public class AbstractService {
+
+ public Response convertToBytes(final Request request) {
+ return new Response(new DataHandler(request.getMessage().getBytes(), "application/octet-stream"));
+ }
+}
Added: websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/EjbService.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/EjbService.java (added)
+++ websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/EjbService.java Wed Jul 2 12:21:06 2014
@@ -0,0 +1,34 @@
+/**
+ * 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.superbiz.mtom;
+
+import javax.ejb.Stateless;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.soap.SOAPBinding.ParameterStyle;
+import javax.jws.soap.SOAPBinding.Style;
+import javax.jws.soap.SOAPBinding.Use;
+import javax.xml.ws.BindingType;
+import javax.xml.ws.soap.MTOM;
+
+@Stateless
+@WebService
+@SOAPBinding(use = Use.LITERAL, parameterStyle = ParameterStyle.BARE, style = Style.DOCUMENT)
+@BindingType(javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING)
+@MTOM
+public class EjbService extends AbstractService implements Service {
+}
Added: websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/PojoService.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/PojoService.java (added)
+++ websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/PojoService.java Wed Jul 2 12:21:06 2014
@@ -0,0 +1,32 @@
+/**
+ * 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.superbiz.mtom;
+
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.soap.SOAPBinding.ParameterStyle;
+import javax.jws.soap.SOAPBinding.Style;
+import javax.jws.soap.SOAPBinding.Use;
+import javax.xml.ws.BindingType;
+import javax.xml.ws.soap.MTOM;
+
+@WebService
+@SOAPBinding(use = Use.LITERAL, parameterStyle = ParameterStyle.BARE, style = Style.DOCUMENT)
+@BindingType(javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING)
+@MTOM
+public class PojoService extends AbstractService implements Service {
+}
Added: websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/Request.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/Request.java (added)
+++ websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/Request.java Wed Jul 2 12:21:06 2014
@@ -0,0 +1,43 @@
+/**
+ * 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.superbiz.mtom;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+@XmlType
+@XmlAccessorType(XmlAccessType.FIELD)
+public class Request {
+
+ private String message;
+
+ public Request() {
+ }
+
+ public Request(final String message) {
+ this.message = message;
+ }
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(final String message) {
+ this.message = message;
+ }
+}
Added: websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/Response.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/Response.java (added)
+++ websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/Response.java Wed Jul 2 12:21:06 2014
@@ -0,0 +1,46 @@
+/**
+ * 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.superbiz.mtom;
+
+import javax.activation.DataHandler;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlMimeType;
+import javax.xml.bind.annotation.XmlType;
+
+@XmlType
+@XmlAccessorType(XmlAccessType.FIELD)
+public class Response {
+
+ @XmlMimeType("application/octet-stream")
+ private DataHandler result;
+
+ public Response() {
+ }
+
+ public Response(final DataHandler result) {
+ this.result = result;
+ }
+
+ public DataHandler getResult() {
+ return this.result;
+ }
+
+ public void setResult(final DataHandler result) {
+ this.result = result;
+ }
+}
Added: websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/Service.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/Service.java (added)
+++ websites/staging/tomee/trunk/content/examples-trunk/mtom/src/main/java/org/superbiz/mtom/Service.java Wed Jul 2 12:21:06 2014
@@ -0,0 +1,35 @@
+/**
+ * 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.superbiz.mtom;
+
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.soap.SOAPBinding.ParameterStyle;
+import javax.jws.soap.SOAPBinding.Style;
+import javax.jws.soap.SOAPBinding.Use;
+import javax.xml.ws.BindingType;
+import javax.xml.ws.soap.MTOM;
+
+@WebService
+@SOAPBinding(use = Use.LITERAL, parameterStyle = ParameterStyle.BARE, style = Style.DOCUMENT)
+@BindingType(javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING)
+@MTOM
+public interface Service {
+
+ Response convertToBytes(Request request);
+
+}
Added: websites/staging/tomee/trunk/content/examples-trunk/mtom/src/test/java/org/superbiz/mtom/AbstractServiceTest.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/mtom/src/test/java/org/superbiz/mtom/AbstractServiceTest.java (added)
+++ websites/staging/tomee/trunk/content/examples-trunk/mtom/src/test/java/org/superbiz/mtom/AbstractServiceTest.java Wed Jul 2 12:21:06 2014
@@ -0,0 +1,47 @@
+/**
+ * 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.superbiz.mtom;
+
+import org.apache.openejb.junit.ApplicationComposer;
+import org.junit.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+import javax.xml.ws.WebServiceRef;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+
+@RunWith(ApplicationComposer.class)
+public abstract class AbstractServiceTest {
+
+ @WebServiceRef
+ private Service service;
+
+ @Test
+ public void test() throws IOException {
+ final Response response = this.service.convertToBytes(new Request("hello world!"));
+
+ Assert.assertNotNull(response.getResult());
+
+ final ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
+
+ response.getResult().writeTo(outputStream);
+
+ Assert.assertTrue("datahandler is empty", outputStream.size() > 0);
+ }
+
+}
Added: websites/staging/tomee/trunk/content/examples-trunk/mtom/src/test/java/org/superbiz/mtom/EjbServiceTest.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/mtom/src/test/java/org/superbiz/mtom/EjbServiceTest.java (added)
+++ websites/staging/tomee/trunk/content/examples-trunk/mtom/src/test/java/org/superbiz/mtom/EjbServiceTest.java Wed Jul 2 12:21:06 2014
@@ -0,0 +1,29 @@
+/**
+ * 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.superbiz.mtom;
+
+import org.apache.openejb.testing.EnableServices;
+import org.apache.openejb.testing.Module;
+
+@EnableServices("jaxws") // maybe this should be @Inherited like @RunWith
+public class EjbServiceTest extends AbstractServiceTest {
+
+ @Module
+ public Class<?>[] module() {
+ return new Class<?>[]{EjbService.class};
+ }
+}
Added: websites/staging/tomee/trunk/content/examples-trunk/mtom/src/test/java/org/superbiz/mtom/PojoServiceTest.java
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/mtom/src/test/java/org/superbiz/mtom/PojoServiceTest.java (added)
+++ websites/staging/tomee/trunk/content/examples-trunk/mtom/src/test/java/org/superbiz/mtom/PojoServiceTest.java Wed Jul 2 12:21:06 2014
@@ -0,0 +1,30 @@
+/**
+ * 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.superbiz.mtom;
+
+import org.apache.openejb.jee.WebApp;
+import org.apache.openejb.testing.EnableServices;
+import org.apache.openejb.testing.Module;
+
+@EnableServices("jaxws") // maybe this should be @Inherited like @RunWith
+public class PojoServiceTest extends AbstractServiceTest {
+
+ @Module
+ public WebApp module() {
+ return new WebApp().addServlet("ws", PojoService.class.getName(), "/ws");
+ }
+}
Modified: websites/staging/tomee/trunk/content/examples-trunk/multi-jpa-provider-testing/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/multiple-arquillian-adapters/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/multiple-tomee-arquillian/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/myfaces-codi-demo/pom.xml
==============================================================================
--- websites/staging/tomee/trunk/content/examples-trunk/myfaces-codi-demo/pom.xml (original)
+++ websites/staging/tomee/trunk/content/examples-trunk/myfaces-codi-demo/pom.xml Wed Jul 2 12:21:06 2014
@@ -33,14 +33,14 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
- <source>1.6</source>
- <target>1.6</target>
+ <source>1.7</source>
+ <target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.openejb.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
- <version>1.7.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
</plugin>
</plugins>
</build>
Modified: websites/staging/tomee/trunk/content/examples-trunk/persistence-fragment/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/pojo-webservice/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/polling-parent/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/projectstage-demo/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/quartz-app/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/realm-in-tomee/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/reload-persistence-unit-properties/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/resources-declared-in-webapp/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/rest-applicationcomposer-mockito/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/rest-applicationcomposer/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/rest-cdi/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/rest-example-with-application/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/rest-example/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/rest-jaas/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/rest-on-ejb/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/rest-xml-json/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/scala-basic/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/schedule-events/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/schedule-expression/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/schedule-methods-meta/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/schedule-methods/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/server-events/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-cdi-interceptor/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-cmp2/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-mdb-and-cdi/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-mdb-with-descriptor/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-mdb/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-osgi/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-osgi/simple-osgi-remote-client/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-osgi/standard-ejbd-server/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-rest/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-singleton/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-stateful-callbacks/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-stateful/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-stateless-callbacks/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-stateless-with-descriptor/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-stateless/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-webservice-without-interface/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/simple-webservice/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/spring-data-proxy-meta/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/spring-data-proxy/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/struts/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/telephone-stateful/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/testcase-injection/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/testing-security-2/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/testing-security-3/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/testing-security-4/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/testing-security-meta/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/testing-security/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/testing-transactions-bmt/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/testing-transactions/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/tomee-jersey-eclipselink/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/transaction-rollback/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/troubleshooting/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/webservice-attachments/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/webservice-handlerchain/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/webservice-holder/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/webservice-inheritance/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/webservice-security/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/webservice-ws-security/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/examples-trunk/webservice-ws-with-resources-config/pom.xml
==============================================================================
Binary files - no diff available.
Modified: websites/staging/tomee/trunk/content/index.html
==============================================================================
--- websites/staging/tomee/trunk/content/index.html (original)
+++ websites/staging/tomee/trunk/content/index.html Wed Jul 2 12:21:06 2014
@@ -124,10 +124,8 @@
<img src="resources/images/feather-logo.png" alt="">
</div>
<div class="span3">
- <div class="featured-video">
- <a target="_blank" href="http://youtu.be/eCrtoSTZ2RE">
- <img src="resources/images/oreilly-interview.png" width="140" height="85" alt="Apache TomEE interview with O'Reilly Media">
- </a>
+ <div class="hero-unit">
+ <iframe width="280" height="233" src="http://www.youtube.com/embed/Lr8pxEACVRI" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
@@ -165,8 +163,8 @@
<div class="row">
<div class="span8">
- <h1>Apache TomEE 1.6.0.2
- <small>May 2014</small>
+ <h1>Apache TomEE 1.7.0
+ <small>July 2014</small>
</h1>
</div>
</div>
@@ -197,15 +195,15 @@
<small>Java EE6 Certified</small>
</h2>
<ul>
- <li><a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-webprofile.tar.gz">apache-tomee-1.6.0.2-webprofile.tar.gz</a><br>
- (<a href="http://www.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-webprofile.zip.txt">contents</a> -
- <a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-webprofile.tar.gz.asc">asc</a> -
- <a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-webprofile.tar.gz.md5">md5</a>)
- </li>
- <li><a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-webprofile.zip">apache-tomee-1.6.0.2-webprofile.zip</a><br>
- (<a href="http://www.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-webprofile.zip.txt">contents</a> -
- <a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-webprofile.zip.asc">asc</a> -
- <a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-webprofile.zip.md5">md5</a>)
+ <li><a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-webprofile.tar.gz">apache-tomee-1.7.0-webprofile.tar.gz</a><br>
+ (<a href="http://www.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-webprofile.zip.txt">contents</a> -
+ <a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-webprofile.tar.gz.asc">asc</a> -
+ <a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-webprofile.tar.gz.md5">md5</a>)
+ </li>
+ <li><a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-webprofile.zip">apache-tomee-1.7.0-webprofile.zip</a><br>
+ (<a href="http://www.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-webprofile.zip.txt">contents</a> -
+ <a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-webprofile.zip.asc">asc</a> -
+ <a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-webprofile.zip.md5">md5</a>)
</li>
</ul>
<br>
@@ -213,15 +211,15 @@
<small>Java EE6 Certified</small>
</h2>
<ul>
- <li><a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-jaxrs.tar.gz">apache-tomee-1.6.0.2-jaxrs.tar.gz</a><br>
- (<a href="http://www.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-jaxrs.zip.txt">contents</a> -
- <a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-jaxrs.tar.gz.asc">asc</a> -
- <a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-jaxrsgz.md5">md5</a>)
- </li>
- <li><a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-jaxrs.zip">apache-tomee-1.6.0.2-jaxrs.zip</a><br>
- (<a href="http://www.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-jaxrs.zip.txt">contents</a> -
- <a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-jaxrs.zip.asc">asc</a> -
- <a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-jaxrs.zip.md5">md5</a>)
+ <li><a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-jaxrs.tar.gz">apache-tomee-1.7.0-jaxrs.tar.gz</a><br>
+ (<a href="http://www.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-jaxrs.zip.txt">contents</a> -
+ <a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-jaxrs.tar.gz.asc">asc</a> -
+ <a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-jaxrsgz.md5">md5</a>)
+ </li>
+ <li><a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-jaxrs.zip">apache-tomee-1.7.0-jaxrs.zip</a><br>
+ (<a href="http://www.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-jaxrs.zip.txt">contents</a> -
+ <a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-jaxrs.zip.asc">asc</a> -
+ <a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-jaxrs.zip.md5">md5</a>)
</li>
</ul>
<br>
@@ -230,24 +228,26 @@
<small>NOT Java EE6 Certified</small>
</h2>
<ul>
- <li><a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-plus.tar.gz">apache-tomee-1.6.0.2-plus.tar.gz</a><br>
- (<a href="http://www.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-plus.zip.txt">contents</a> -
+ <li><a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-plus.tar.gz">apache-tomee-1.7.0-plus.tar.gz</a><br>
+ (<a href="http://www.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-plus.zip.txt">contents</a> -
<a
- href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-plus.tar.gz.asc">asc</a> - <a
- href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-plus.tar.gz.md5">md5</a>)
+ href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-plus.tar.gz.asc">asc</a> - <a
+ href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-plus.tar.gz.md5">md5</a>)
</li>
- <li><a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-plus.zip">apache-tomee-1.6.0.2-plus.zip</a><br>
- (<a href="http://www.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-plus.zip.txt">contents</a> -
- <a href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-plus.zip.asc">asc</a> - <a
- href="http://archive.apache.org/dist/tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-plus.zip.md5">md5</a>)
+ <li><a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-plus.zip">apache-tomee-1.7.0-plus.zip</a><br>
+ (<a href="http://www.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-plus.zip.txt">contents</a> -
+ <a href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-plus.zip.asc">asc</a> - <a
+ href="http://archive.apache.org/dist/tomee/tomee-1.7.0/apache-tomee-1.7.0-plus.zip.md5">md5</a>)
</li>
</ul>
</div>
<div class="span7">
- <div class="hero-unit">
- <iframe width="280" height="233" src="http://www.youtube.com/embed/Lr8pxEACVRI" frameborder="0" allowfullscreen></iframe>
- </div>
+ <div class="featured-video">
+ <a target="_blank" href="http://youtu.be/eCrtoSTZ2RE">
+ <img src="resources/images/oreilly-interview.png" width="140" height="85" alt="Apache TomEE interview with O'Reilly Media">
+ </a>
+ </div>
</div>
</div>
Modified: websites/staging/tomee/trunk/content/tomee-1.7.0.html
==============================================================================
--- websites/staging/tomee/trunk/content/tomee-1.7.0.html (original)
+++ websites/staging/tomee/trunk/content/tomee-1.7.0.html Wed Jul 2 12:21:06 2014
@@ -141,12 +141,12 @@
<h3>PLUME Profile (Mojarra and EclipseLink)</h3>
-<p>One the most important features has to be the new PLUME profile, which is basically TomEE PLUS with <a href="https://javaserverfaces.java.net/">Mojarra</a> and <a href="http://www.eclipse.org/eclipselink/">EclipseLink</a> added support. <br />
+<p>One the most important new features has to be the new PLUME profile, which is basically TomEE PLUS with <a href="https://javaserverfaces.java.net/">Mojarra</a> and <a href="http://www.eclipse.org/eclipselink/">EclipseLink</a> added support. <br />
This makes the transition to TomEE from a Glassfish environment a lot less painful. So no more excuses, come and join us - We're all yours!</p>
<h3>Java SE 8 Runtime Support</h3>
-<p>A lot of work has been completed to ensure that Apache TomEE 1.7.x will run within a <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java SE 8 environment</a>, yet remain backwards compatible with Java SE 6. Several libraries used have been shaded and patched to achieve this goal and provide users with a stable platform for the transition.</p>
+<p>A lot of work has been completed to ensure that Apache TomEE 1.7.x will run within an <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java SE 8 environment</a>, yet remain backwards compatible with Java SE 6. Several libraries used have been shaded and patched to achieve this goal and provide users with a stable platform for the transition.</p>
<h3>Bug Fixes and Improvements</h3>
Modified: websites/staging/tomee/trunk/content/tomee-maven-plugin.html
==============================================================================
--- websites/staging/tomee/trunk/content/tomee-maven-plugin.html (original)
+++ websites/staging/tomee/trunk/content/tomee-maven-plugin.html Wed Jul 2 12:21:06 2014
@@ -145,9 +145,9 @@ plugin that allows for:</p>
<pre><code><plugin>
<groupId>org.apache.openejb.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
- <version>1.6.0.2</version>
+ <version>1.7.0</version>
<configuration>
- <tomeeVersion>1.6.0.2</tomeeVersion>
+ <tomeeVersion>1.7.0</tomeeVersion>
<tomeeClassifier>plus</tomeeClassifier>
</configuration>
</plugin>
@@ -437,9 +437,9 @@ project to setup a TomEE install, add li
<pre><code> <plugin>
<groupId>org.apache.openejb.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
- <version>1.6.0.2</version>
+ <version>1.7.0</version>
<configuration>
- <tomeeVersion>1.6.0.2</tomeeVersion>
+ <tomeeVersion>1.7.0</tomeeVersion>
<tomeeClassifier>plus</tomeeClassifier>
<debug>false</debug>
<debugPort>5005</debugPort>
@@ -469,7 +469,7 @@ project to setup a TomEE install, add li
<pre><code><plugin>
<groupId>org.apache.openejb.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
- <version>1.6.0.2</version>
+ <version>1.7.0</version>
<configuration>
<synchronization>
<extensions>
Modified: websites/staging/tomee/trunk/content/tomee-mp-getting-started.html
==============================================================================
--- websites/staging/tomee/trunk/content/tomee-mp-getting-started.html (original)
+++ websites/staging/tomee/trunk/content/tomee-mp-getting-started.html Wed Jul 2 12:21:06 2014
@@ -151,9 +151,9 @@
<p>TomEE provides a maven-archetype for generating a template project. This template project is preconfigured with <code>javaee-api</code> (scope provided) and with the <code>tomee-maven-plugin</code> for starting the application with TomEE.</p>
-<p>The current version of the archetype is '1.6.0.2'. So the required command to generate an application would be:</p>
+<p>The current version of the archetype is '1.7.0'. So the required command to generate an application would be:</p>
-<pre><code>mvn archetype:generate -DarchetypeGroupId=org.apache.openejb.maven -DarchetypeArtifactId=tomee-webapp-archetype -DarchetypeVersion=1.6.0.2
+<pre><code>mvn archetype:generate -DarchetypeGroupId=org.apache.openejb.maven -DarchetypeArtifactId=tomee-webapp-archetype -DarchetypeVersion=1.7.0
</code></pre>
<p>The first time you run this command maven downloads the archetype and some parts related to it. Afterwards you see a prompt which allows you to specify the groupId, artifactId, version and package of your application.