You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2013/11/17 23:56:24 UTC
svn commit: r1542858 - in
/maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId: ./
business-service/ business-service/src/ business-service/src/main/
business-service/src/main/java/ business-service/src/main/java/com/
business-service/src/main/...
Author: rfscholte
Date: Sun Nov 17 22:56:24 2013
New Revision: 1542858
URL: http://svn.apache.org/r1542858
Log:
Simplify multimodule project
Fix for M2 by specifying ejb packaging (instead of the default: jar)
Added:
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/ (with props)
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/pom.xml
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/ (with props)
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/ (with props)
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/ (with props)
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/com/ (with props)
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/com/example/ (with props)
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/com/example/B.java
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/ (with props)
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/pom.xml
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/ (with props)
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/ (with props)
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/ (with props)
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/com/ (with props)
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/com/example/ (with props)
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/com/example/A.java
Removed:
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business/
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb/
Modified:
maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/pom.xml
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun Nov 17 22:56:24 2013
@@ -0,0 +1 @@
+MEAR-\d+
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/
------------------------------------------------------------------------------
bugtraq:url = http://jira.codehaus.org/browse/%BUGID%
Added: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/pom.xml?rev=1542858&view=auto
==============================================================================
--- maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/pom.xml (added)
+++ maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/pom.xml Sun Nov 17 22:56:24 2013
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+
+<!--
+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.
+-->
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>main</groupId>
+ <artifactId>root</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>main.root.business</groupId>
+ <artifactId>service</artifactId>
+ <packaging>ejb</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax</groupId>
+ <artifactId>javaee-api</artifactId>
+ <version>6.0</version>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun Nov 17 22:56:24 2013
@@ -0,0 +1 @@
+MEAR-\d+
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/
------------------------------------------------------------------------------
bugtraq:url = http://jira.codehaus.org/browse/%BUGID%
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun Nov 17 22:56:24 2013
@@ -0,0 +1 @@
+MEAR-\d+
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/
------------------------------------------------------------------------------
bugtraq:url = http://jira.codehaus.org/browse/%BUGID%
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun Nov 17 22:56:24 2013
@@ -0,0 +1 @@
+MEAR-\d+
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/
------------------------------------------------------------------------------
bugtraq:url = http://jira.codehaus.org/browse/%BUGID%
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/com/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun Nov 17 22:56:24 2013
@@ -0,0 +1 @@
+MEAR-\d+
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/com/
------------------------------------------------------------------------------
bugtraq:url = http://jira.codehaus.org/browse/%BUGID%
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/com/example/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun Nov 17 22:56:24 2013
@@ -0,0 +1 @@
+MEAR-\d+
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/com/example/
------------------------------------------------------------------------------
bugtraq:url = http://jira.codehaus.org/browse/%BUGID%
Added: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/com/example/B.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/com/example/B.java?rev=1542858&view=auto
==============================================================================
--- maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/com/example/B.java (added)
+++ maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/business-service/src/main/java/com/example/B.java Sun Nov 17 22:56:24 2013
@@ -0,0 +1,29 @@
+package com.example;
+
+/*
+ * 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 javax.ejb.Stateless;
+
+@Stateless
+public class B {
+
+ public void doSmth() { }
+
+}
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun Nov 17 22:56:24 2013
@@ -0,0 +1 @@
+MEAR-\d+
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/
------------------------------------------------------------------------------
bugtraq:url = http://jira.codehaus.org/browse/%BUGID%
Added: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/pom.xml?rev=1542858&view=auto
==============================================================================
--- maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/pom.xml (added)
+++ maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/pom.xml Sun Nov 17 22:56:24 2013
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+
+<!--
+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.
+-->
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>main</groupId>
+ <artifactId>root</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>main.root.ejb</groupId>
+ <artifactId>service</artifactId>
+ <packaging>ejb</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax</groupId>
+ <artifactId>javaee-api</artifactId>
+ <version>6.0</version>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun Nov 17 22:56:24 2013
@@ -0,0 +1 @@
+MEAR-\d+
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/
------------------------------------------------------------------------------
bugtraq:url = http://jira.codehaus.org/browse/%BUGID%
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun Nov 17 22:56:24 2013
@@ -0,0 +1 @@
+MEAR-\d+
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/
------------------------------------------------------------------------------
bugtraq:url = http://jira.codehaus.org/browse/%BUGID%
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun Nov 17 22:56:24 2013
@@ -0,0 +1 @@
+MEAR-\d+
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/
------------------------------------------------------------------------------
bugtraq:url = http://jira.codehaus.org/browse/%BUGID%
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/com/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun Nov 17 22:56:24 2013
@@ -0,0 +1 @@
+MEAR-\d+
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/com/
------------------------------------------------------------------------------
bugtraq:url = http://jira.codehaus.org/browse/%BUGID%
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/com/example/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun Nov 17 22:56:24 2013
@@ -0,0 +1 @@
+MEAR-\d+
Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/com/example/
------------------------------------------------------------------------------
bugtraq:url = http://jira.codehaus.org/browse/%BUGID%
Added: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/com/example/A.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/com/example/A.java?rev=1542858&view=auto
==============================================================================
--- maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/com/example/A.java (added)
+++ maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/ejb-service/src/main/java/com/example/A.java Sun Nov 17 22:56:24 2013
@@ -0,0 +1,29 @@
+package com.example;
+
+/*
+ * 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 javax.ejb.Stateless;
+
+@Stateless
+public class A {
+
+ public void doSomething() { }
+
+}
Modified: maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/pom.xml?rev=1542858&r1=1542857&r2=1542858&view=diff
==============================================================================
--- maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/pom.xml (original)
+++ maven/plugins/trunk/maven-ear-plugin/src/it/same-artifactId/pom.xml Sun Nov 17 22:56:24 2013
@@ -40,14 +40,22 @@ under the License.
<target>1.6</target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <ejbVersion>3.0</ejbVersion>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>
<modules>
+ <module>business-service</module>
+ <module>ejb-service</module>
<module>app</module>
- <module>ejb</module>
- <module>business</module>
</modules>
</project>
\ No newline at end of file