tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andygumbre...@apache.org
Subject svn commit: r1607580 - in /tomee/tomee/branches/tomee-1.7.x/examples: bval-evaluation-redeployment/ bval-evaluation-redeployment/WebApp1/ bval-evaluation-redeployment/WebApp1/src/main/webapp/WEB-INF/ bval-evaluation-redeployment/WebApp2/ bval-evaluatio...
Date Thu, 03 Jul 2014 10:18:26 GMT
Author: andygumbrecht
Date: Thu Jul  3 10:18:25 2014
New Revision: 1607580

URL: http://svn.apache.org/r1607580
Log:
Require distributionManagement for release

Added:
    tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/README.md
    tomee/tomee/branches/tomee-1.7.x/examples/mtom/README.md
Modified:
    tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp1/nb-configuration.xml
    tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp1/src/main/webapp/WEB-INF/openejb-jar.xml
    tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp2/nb-configuration.xml
    tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp2/src/main/webapp/WEB-INF/openejb-jar.xml
    tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/pom.xml
    tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/runner/src/test/java/RedeploymentTest.java
    tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/runner/src/test/resources/arquillian.xml
    tomee/tomee/branches/tomee-1.7.x/examples/mtom/pom.xml

Added: tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/README.md
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/README.md?rev=1607580&view=auto
==============================================================================
    (empty)

Modified: tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp1/nb-configuration.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp1/nb-configuration.xml?rev=1607580&r1=1607579&r2=1607580&view=diff
==============================================================================
--- tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp1/nb-configuration.xml
(original)
+++ tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp1/nb-configuration.xml
Thu Jul  3 10:18:25 2014
@@ -18,21 +18,24 @@
     under the License.
 -->
 <project-shared-configuration>
-    <!--
+  <!--
 This file contains additional configuration written by modules in the NetBeans IDE.
 The configuration is intended to be shared among all the users of project and
 therefore it is assumed to be part of version control checkout.
 Without this configuration present, some functionality in the IDE may be limited or fail
altogether.
 -->
-    <properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
-        <!--
+  <properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
+    <!--
 Properties that influence various parts of the IDE, especially code formatting and the like.

 You can copy and paste the single properties, into the pom.xml file and the IDE will pick
them up.
 That way multiple projects can share the same settings (useful for formatting rules for example).
 Any value defined here will override the pom.xml file value but is only applicable to the
current project.
 -->
-        <org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>1.6-web</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>
-        <org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>Tomcat</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>
-        <org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>ide</org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>
-    </properties>
+    <org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>1.6-web
+    </org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>
+    <org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>Tomcat
+    </org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>
+    <org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>ide
+    </org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>
+  </properties>
 </project-shared-configuration>

Modified: tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp1/src/main/webapp/WEB-INF/openejb-jar.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp1/src/main/webapp/WEB-INF/openejb-jar.xml?rev=1607580&r1=1607579&r2=1607580&view=diff
==============================================================================
--- tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp1/src/main/webapp/WEB-INF/openejb-jar.xml
(original)
+++ tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp1/src/main/webapp/WEB-INF/openejb-jar.xml
Thu Jul  3 10:18:25 2014
@@ -20,7 +20,8 @@
 <openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
   <pojo-deployment class-name="jaxrs-application">
     <properties>
-      cxf.jaxrs.providers = com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider,org.superbiz.webapp1.provider.ConstraintViolationExceptionMapper
+      cxf.jaxrs.providers =
+      com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider,org.superbiz.webapp1.provider.ConstraintViolationExceptionMapper
     </properties>
   </pojo-deployment>
 </openejb-jar>
\ No newline at end of file

Modified: tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp2/nb-configuration.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp2/nb-configuration.xml?rev=1607580&r1=1607579&r2=1607580&view=diff
==============================================================================
--- tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp2/nb-configuration.xml
(original)
+++ tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp2/nb-configuration.xml
Thu Jul  3 10:18:25 2014
@@ -18,21 +18,24 @@
     under the License.
 -->
 <project-shared-configuration>
-    <!--
+  <!--
 This file contains additional configuration written by modules in the NetBeans IDE.
 The configuration is intended to be shared among all the users of project and
 therefore it is assumed to be part of version control checkout.
 Without this configuration present, some functionality in the IDE may be limited or fail
altogether.
 -->
-    <properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
-        <!--
+  <properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
+    <!--
 Properties that influence various parts of the IDE, especially code formatting and the like.

 You can copy and paste the single properties, into the pom.xml file and the IDE will pick
them up.
 That way multiple projects can share the same settings (useful for formatting rules for example).
 Any value defined here will override the pom.xml file value but is only applicable to the
current project.
 -->
-        <org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>1.6-web</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>
-        <org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>Tomcat</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>
-        <org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>ide</org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>
-    </properties>
+    <org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>1.6-web
+    </org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>
+    <org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>Tomcat
+    </org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>
+    <org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>ide
+    </org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>
+  </properties>
 </project-shared-configuration>

Modified: tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp2/src/main/webapp/WEB-INF/openejb-jar.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp2/src/main/webapp/WEB-INF/openejb-jar.xml?rev=1607580&r1=1607579&r2=1607580&view=diff
==============================================================================
--- tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp2/src/main/webapp/WEB-INF/openejb-jar.xml
(original)
+++ tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/WebApp2/src/main/webapp/WEB-INF/openejb-jar.xml
Thu Jul  3 10:18:25 2014
@@ -20,7 +20,8 @@
 <openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
   <pojo-deployment class-name="jaxrs-application">
     <properties>
-      cxf.jaxrs.providers = com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider,org.superbiz.webapp2.provider.ConstraintViolationExceptionMapper
+      cxf.jaxrs.providers =
+      com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider,org.superbiz.webapp2.provider.ConstraintViolationExceptionMapper
     </properties>
   </pojo-deployment>
 </openejb-jar>
\ No newline at end of file

Modified: tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/pom.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/pom.xml?rev=1607580&r1=1607579&r2=1607580&view=diff
==============================================================================
--- tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/pom.xml (original)
+++ tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/pom.xml Thu Jul
 3 10:18:25 2014
@@ -171,4 +171,18 @@
     </pluginRepository>
   </pluginRepositories>
 
+  <!-- This section allows you to configure where to publish libraries for
+    sharing. It is not required and may be deleted. For more information see:
+    http://maven.apache.org/plugins/maven-deploy-plugin/ -->
+  <distributionManagement>
+    <repository>
+      <id>localhost</id>
+      <url>file://${basedir}/target/repo/</url>
+    </repository>
+    <snapshotRepository>
+      <id>localhost</id>
+      <url>file://${basedir}/target/snapshot-repo/</url>
+    </snapshotRepository>
+  </distributionManagement>
+
 </project>
\ No newline at end of file

Modified: tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/runner/src/test/java/RedeploymentTest.java
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/runner/src/test/java/RedeploymentTest.java?rev=1607580&r1=1607579&r2=1607580&view=diff
==============================================================================
--- tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/runner/src/test/java/RedeploymentTest.java
(original)
+++ tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/runner/src/test/java/RedeploymentTest.java
Thu Jul  3 10:18:25 2014
@@ -73,11 +73,11 @@ public class RedeploymentTest {
         Assert.assertEquals(406, result);
         deployer.undeploy("webapp2");
         result = WebClient.create("http://localhost:" + port + "/WebApp1/test/")
-                .type(MediaType.APPLICATION_JSON_TYPE).post("validd").getStatus();
+            .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();
+            .type(MediaType.APPLICATION_JSON_TYPE).post("valid").getStatus();
         System.out.println(result);
         Assert.assertEquals(200, result);
         System.out.println("===========================================");

Modified: tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/runner/src/test/resources/arquillian.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/runner/src/test/resources/arquillian.xml?rev=1607580&r1=1607579&r2=1607580&view=diff
==============================================================================
--- tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/runner/src/test/resources/arquillian.xml
(original)
+++ tomee/tomee/branches/tomee-1.7.x/examples/bval-evaluation-redeployment/runner/src/test/resources/arquillian.xml
Thu Jul  3 10:18:25 2014
@@ -17,7 +17,6 @@
     limitations under the License.
 -->
 <arquillian
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     >
 
   <container qualifier="tomee" default="true">

Added: tomee/tomee/branches/tomee-1.7.x/examples/mtom/README.md
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/examples/mtom/README.md?rev=1607580&view=auto
==============================================================================
    (empty)

Modified: tomee/tomee/branches/tomee-1.7.x/examples/mtom/pom.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/examples/mtom/pom.xml?rev=1607580&r1=1607579&r2=1607580&view=diff
==============================================================================
--- tomee/tomee/branches/tomee-1.7.x/examples/mtom/pom.xml (original)
+++ tomee/tomee/branches/tomee-1.7.x/examples/mtom/pom.xml Thu Jul  3 10:18:25 2014
@@ -17,26 +17,28 @@
     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/xsd/maven-4.0.0.xsd">
+<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/xsd/maven-4.0.0.xsd">
 
-	<modelVersion>4.0.0</modelVersion>
-	<groupId>org.superbiz</groupId>
-	<artifactId>mtom</artifactId>
-	<version>1.1.0-SNAPSHOT</version>
-	<name>OpenEJB :: Examples :: MTOM</name>
-
-	<properties>
-		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-	</properties>
-	
-	<repositories>
-		<repository>
-			<id>snapshots-apache</id>
-			<url>http://repository.apache.org/content/groups/snapshots/</url>
-		</repository>
-	</repositories>
-	
-	<build>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.superbiz</groupId>
+  <artifactId>mtom</artifactId>
+  <version>1.1.0-SNAPSHOT</version>
+  <name>OpenEJB :: Examples :: MTOM</name>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <version.openejb>4.7.0-SNAPSHOT</version.openejb>
+  </properties>
+
+  <repositories>
+    <repository>
+      <id>snapshots-apache</id>
+      <url>http://repository.apache.org/content/groups/snapshots/</url>
+    </repository>
+  </repositories>
+
+  <build>
     <defaultGoal>install</defaultGoal>
     <plugins>
       <plugin>
@@ -51,31 +53,45 @@
     </plugins>
   </build>
 
-	<dependencies>
-		<dependency>
-			<groupId>org.apache.openejb</groupId>
-			<artifactId>openejb-cxf</artifactId>
-			<version>4.7.0-SNAPSHOT</version>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.openejb</groupId>
-			<artifactId>openejb-junit</artifactId>
-			<version>4.7.0-SNAPSHOT</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.openejb</groupId>
-			<artifactId>openejb-mockito</artifactId>
-			<version>4.7.0-SNAPSHOT</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.hamcrest</groupId>
-			<artifactId>hamcrest-library</artifactId>
-			<version>1.3</version>
-			<scope>test</scope>
-		</dependency>
-	</dependencies>
-	
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.openejb</groupId>
+      <artifactId>openejb-cxf</artifactId>
+      <version>${version.openejb}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.openejb</groupId>
+      <artifactId>openejb-junit</artifactId>
+      <version>${version.openejb}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.openejb</groupId>
+      <artifactId>openejb-mockito</artifactId>
+      <version>${version.openejb}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.hamcrest</groupId>
+      <artifactId>hamcrest-library</artifactId>
+      <version>1.3</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <!-- This section allows you to configure where to publish libraries for
+    sharing. It is not required and may be deleted. For more information see:
+    http://maven.apache.org/plugins/maven-deploy-plugin/ -->
+  <distributionManagement>
+    <repository>
+      <id>localhost</id>
+      <url>file://${basedir}/target/repo/</url>
+    </repository>
+    <snapshotRepository>
+      <id>localhost</id>
+      <url>file://${basedir}/target/snapshot-repo/</url>
+    </snapshotRepository>
+  </distributionManagement>
+
 </project>



Mime
View raw message