geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r833569 - in /geronimo/plugins/openjpa2/trunk: ./ geronimo-openjpa2/ geronimo-openjpa2/src/main/java/org/apache/geronimo/openjpa/ geronimo-persistence-jpa20-builder/ geronimo-persistence-jpa20/ openjpa2/ persistence-jpa20-deployer/
Date Fri, 06 Nov 2009 22:01:08 GMT
Author: dwoods
Date: Fri Nov  6 22:01:07 2009
New Revision: 833569

URL: http://svn.apache.org/viewvc?rev=833569&view=rev
Log:
GERONIMO-4946 OpenJPA2 plugin for Geronimo 2.1.3+

Modified:
    geronimo/plugins/openjpa2/trunk/geronimo-openjpa2/pom.xml
    geronimo/plugins/openjpa2/trunk/geronimo-openjpa2/src/main/java/org/apache/geronimo/openjpa/ConfigurationMonitorGBean.java
    geronimo/plugins/openjpa2/trunk/geronimo-persistence-jpa20-builder/pom.xml
    geronimo/plugins/openjpa2/trunk/geronimo-persistence-jpa20/pom.xml
    geronimo/plugins/openjpa2/trunk/openjpa2/pom.xml
    geronimo/plugins/openjpa2/trunk/persistence-jpa20-deployer/pom.xml
    geronimo/plugins/openjpa2/trunk/pom.xml

Modified: geronimo/plugins/openjpa2/trunk/geronimo-openjpa2/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/openjpa2/trunk/geronimo-openjpa2/pom.xml?rev=833569&r1=833568&r2=833569&view=diff
==============================================================================
--- geronimo/plugins/openjpa2/trunk/geronimo-openjpa2/pom.xml (original)
+++ geronimo/plugins/openjpa2/trunk/geronimo-openjpa2/pom.xml Fri Nov  6 22:01:07 2009
@@ -25,7 +25,7 @@
     <parent>
         <groupId>org.apache.geronimo.plugins</groupId>
         <artifactId>openjpa2</artifactId>
-        <version>2.2-SNAPSHOT</version>
+        <version>2.1.4-SNAPSHOT</version>
     </parent>
     
     <groupId>org.apache.geronimo.modules</groupId>
@@ -34,9 +34,9 @@
     
     <dependencies>
         <dependency>
-            <groupId>org.apache.geronimo.modules</groupId>
+            <groupId>org.apache.geronimo.framework</groupId>
             <artifactId>geronimo-j2ee</artifactId>
-            <version>${version}</version>
+            <version>${geronimoVersion}</version>
             <scope>provided</scope>
         </dependency>
 
@@ -44,6 +44,13 @@
             <groupId>org.apache.openjpa</groupId>
             <artifactId>openjpa</artifactId>
         </dependency>
+
+        <!--
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>jcl-over-slf4j</artifactId>
+        </dependency>
+        -->
     </dependencies>
 
 </project>

Modified: geronimo/plugins/openjpa2/trunk/geronimo-openjpa2/src/main/java/org/apache/geronimo/openjpa/ConfigurationMonitorGBean.java
URL: http://svn.apache.org/viewvc/geronimo/plugins/openjpa2/trunk/geronimo-openjpa2/src/main/java/org/apache/geronimo/openjpa/ConfigurationMonitorGBean.java?rev=833569&r1=833568&r2=833569&view=diff
==============================================================================
--- geronimo/plugins/openjpa2/trunk/geronimo-openjpa2/src/main/java/org/apache/geronimo/openjpa/ConfigurationMonitorGBean.java
(original)
+++ geronimo/plugins/openjpa2/trunk/geronimo-openjpa2/src/main/java/org/apache/geronimo/openjpa/ConfigurationMonitorGBean.java
Fri Nov  6 22:01:07 2009
@@ -24,8 +24,8 @@
 import java.util.Collections;
 import java.util.HashMap;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
+//import org.slf4j.Logger;
+//import org.slf4j.LoggerFactory;
 import org.apache.geronimo.gbean.AbstractName;
 import org.apache.geronimo.gbean.AbstractNameQuery;
 import org.apache.geronimo.gbean.GBeanLifecycle;
@@ -45,7 +45,7 @@
  * @version $Rev$ $Date$
  */
 public class ConfigurationMonitorGBean implements GBeanLifecycle {
-    private static final Logger log = LoggerFactory.getLogger(ConfigurationMonitorGBean.class);
+//    private static final Logger log = LoggerFactory.getLogger(ConfigurationMonitorGBean.class);
     
     private final Kernel kernel;
     private final LifecycleListener listener;
@@ -91,7 +91,7 @@
             Configuration config = (Configuration)kernel.getGBean(name);
             classLoaderMap.put(name, config.getConfigurationClassLoader());
         } catch (GBeanNotFoundException gnfe) {
-            log.warn("Could not retrieve GBean for artifact: " + name.toString(), gnfe);
+            //log.warn("Could not retrieve GBean for artifact: " + name.toString(), gnfe);
         }
     }
 
@@ -102,7 +102,7 @@
     private void configurationStopped(AbstractName name) {
         ClassLoader classLoader = classLoaderMap.remove(name);
         if (classLoader == null) {
-            log.debug("Could not locate ClassLoader for artifact: " + name.toString());
+            //log.debug("Could not locate ClassLoader for artifact: " + name.toString());
         }
         PCRegistry.deRegister(classLoader);
     }

Modified: geronimo/plugins/openjpa2/trunk/geronimo-persistence-jpa20-builder/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/openjpa2/trunk/geronimo-persistence-jpa20-builder/pom.xml?rev=833569&r1=833568&r2=833569&view=diff
==============================================================================
--- geronimo/plugins/openjpa2/trunk/geronimo-persistence-jpa20-builder/pom.xml (original)
+++ geronimo/plugins/openjpa2/trunk/geronimo-persistence-jpa20-builder/pom.xml Fri Nov  6
22:01:07 2009
@@ -25,7 +25,7 @@
     <parent>
         <groupId>org.apache.geronimo.plugins</groupId>
         <artifactId>openjpa2</artifactId>
-        <version>2.2-SNAPSHOT</version>
+        <version>2.1.4-SNAPSHOT</version>
     </parent>
     
     <groupId>org.apache.geronimo.modules</groupId>
@@ -38,7 +38,7 @@
         <dependency>
             <groupId>org.apache.geronimo.modules</groupId>
             <artifactId>geronimo-naming-builder</artifactId>
-            <version>${version}</version>
+            <version>${geronimoVersion}</version>
         </dependency>
         
         <dependency>

Modified: geronimo/plugins/openjpa2/trunk/geronimo-persistence-jpa20/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/openjpa2/trunk/geronimo-persistence-jpa20/pom.xml?rev=833569&r1=833568&r2=833569&view=diff
==============================================================================
--- geronimo/plugins/openjpa2/trunk/geronimo-persistence-jpa20/pom.xml (original)
+++ geronimo/plugins/openjpa2/trunk/geronimo-persistence-jpa20/pom.xml Fri Nov  6 22:01:07
2009
@@ -25,7 +25,7 @@
     <parent>
         <groupId>org.apache.geronimo.plugins</groupId>
         <artifactId>openjpa2</artifactId>
-        <version>2.2-SNAPSHOT</version>
+        <version>2.1.4-SNAPSHOT</version>
     </parent>
     
     <groupId>org.apache.geronimo.modules</groupId>
@@ -38,14 +38,14 @@
             <groupId>org.apache.geronimo.modules</groupId>
             <!--<artifactId>geronimo-connector-1_6</artifactId>-->
             <artifactId>geronimo-connector</artifactId>
-            <version>${version}</version>
+            <version>${geronimoVersion}</version>
             <scope>provided</scope>
         </dependency>
 
         <dependency>
             <groupId>org.apache.geronimo.framework</groupId>
             <artifactId>geronimo-transformer</artifactId>
-            <version>${version}</version>
+            <version>${geronimoVersion}</version>
         </dependency>
 
         <dependency>
@@ -91,11 +91,13 @@
             <scope>test</scope>
         </dependency>
 
+        <!--
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>jcl-over-slf4j</artifactId>
             <scope>test</scope>
         </dependency>
+        -->
     </dependencies>
 
 </project>

Modified: geronimo/plugins/openjpa2/trunk/openjpa2/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/openjpa2/trunk/openjpa2/pom.xml?rev=833569&r1=833568&r2=833569&view=diff
==============================================================================
--- geronimo/plugins/openjpa2/trunk/openjpa2/pom.xml (original)
+++ geronimo/plugins/openjpa2/trunk/openjpa2/pom.xml Fri Nov  6 22:01:07 2009
@@ -25,7 +25,7 @@
     <parent>
         <groupId>org.apache.geronimo.plugins</groupId>
         <artifactId>openjpa2</artifactId>
-        <version>2.2-SNAPSHOT</version>
+        <version>2.1.4-SNAPSHOT</version>
     </parent>
     
     <groupId>org.apache.geronimo.configs</groupId>
@@ -41,7 +41,7 @@
         <dependency>
             <groupId>org.apache.geronimo.framework</groupId>
             <artifactId>geronimo-gbean-deployer</artifactId>
-            <version>${version}</version>
+            <version>${geronimoVersion}</version>
             <type>car</type>
             <scope>provided</scope>
         </dependency>
@@ -71,8 +71,9 @@
             <groupId>org.apache.geronimo.configs</groupId>
             <!--<artifactId>transaction-1_6</artifactId>-->
             <artifactId>transaction</artifactId>
-            <version>${version}</version>
+            <version>${geronimoVersion}</version>
             <type>car</type>
+            <scope>provided</scope>
         </dependency>
     </dependencies>
 
@@ -81,18 +82,24 @@
             <plugin>
                 <groupId>org.apache.geronimo.buildsupport</groupId>
                 <artifactId>car-maven-plugin</artifactId>
+                <!-- Install as extention to allow 'car' packaging to be used. -->
+                <extensions>true</extensions>
                 <configuration>
                     <category>Persistence</category>
+                    <useMavenDependencies>
+                        <value>true</value>
+                        <includeVersion>true</includeVersion>
+                    </useMavenDependencies>
                     <instance>
                         <plugin-artifact>
-                            <config-xml-content server="default" />
-                            <config-xml-content server="offline" />
                             <obsoletes>
                                 <groupId>org.apache.geronimo.configs</groupId>
                                 <artifactId>openjpa</artifactId>
                             </obsoletes>
                             <artifact-alias key="org.apache.geronimo.configs/openjpa//car">org.apache.geronimo.configs/openjpa2/${version}/car</artifact-alias>
-                            <artifact-alias key="org.apache.geronimo.configs/openjpa/${version}/car">org.apache.geronimo.configs/openjpa2/${version}/car</artifact-alias>
+                            <artifact-alias key="org.apache.geronimo.configs/openjpa/2.1.3/car">org.apache.geronimo.configs/openjpa2/${version}/car</artifact-alias>
+                            <artifact-alias key="org.apache.geronimo.configs/openjpa/2.1.4/car">org.apache.geronimo.configs/openjpa2/${version}/car</artifact-alias>
+                            <artifact-alias key="org.apache.geronimo.configs/openjpa/2.1.5-SNAPSHOT/car">org.apache.geronimo.configs/openjpa2/${version}/car</artifact-alias>
                         </plugin-artifact>
                     </instance>
                 </configuration>

Modified: geronimo/plugins/openjpa2/trunk/persistence-jpa20-deployer/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/openjpa2/trunk/persistence-jpa20-deployer/pom.xml?rev=833569&r1=833568&r2=833569&view=diff
==============================================================================
--- geronimo/plugins/openjpa2/trunk/persistence-jpa20-deployer/pom.xml (original)
+++ geronimo/plugins/openjpa2/trunk/persistence-jpa20-deployer/pom.xml Fri Nov  6 22:01:07
2009
@@ -25,7 +25,7 @@
     <parent>
         <groupId>org.apache.geronimo.plugins</groupId>
         <artifactId>openjpa2</artifactId>
-        <version>2.2-SNAPSHOT</version>
+        <version>2.1.4-SNAPSHOT</version>
     </parent>
     
     <groupId>org.apache.geronimo.configs</groupId>
@@ -33,13 +33,13 @@
     <name>Geronimo Plugins, OpenJPA2 :: Deployer</name>
     <packaging>car</packaging>
 
-    <description>Geronimo Persistence Unit deployer</description>
+    <description>Geronimo JPA2 Persistence Unit deployer</description>
 
     <dependencies>
         <dependency>
             <groupId>org.apache.geronimo.configs</groupId>
             <artifactId>j2ee-deployer</artifactId>
-            <version>${version}</version>
+            <version>${geronimoVersion}</version>
             <type>car</type>
         </dependency>
 
@@ -54,14 +54,9 @@
             <!--<artifactId>transaction-1_6</artifactId>-->
             <artifactId>transaction</artifactId>
             <type>car</type>
-            <version>${version}</version>
+            <version>${geronimoVersion}</version>
+            <scope>runtime</scope>
         </dependency>
-
-        <!--todo get the schema classes in a config -->
-        <!--<dependency>-->
-        <!--<groupId>org.apache.geronimo.schema</groupId>-->
-        <!--<artifactId>geronimo-schema-jee_5</artifactId>-->
-        <!--</dependency>-->
     </dependencies>
 
     <build>
@@ -71,14 +66,31 @@
                 <artifactId>car-maven-plugin</artifactId>
                 <configuration>
                     <category>Persistence</category>
+                    <useMavenDependencies>
+                        <value>false</value>
+                    </useMavenDependencies>
                     <dependencies>
                         <dependency>
                             <groupId>org.apache.geronimo.configs</groupId>
                             <!--<artifactId>transaction-1_6</artifactId>-->
                             <artifactId>transaction</artifactId>
+                            <version>${geronimoVersion}</version>
                             <type>car</type>
                             <import>classes</import>
                         </dependency>
+                        <dependency>
+                            <groupId>org.apache.geronimo.modules</groupId>
+                            <artifactId>geronimo-persistence-jpa20-builder</artifactId>
+                            <version>${version}</version>
+                            <type>jar</type>
+                            <import>classes</import>
+                        </dependency>
+                        <dependency>
+                            <groupId>org.apache.geronimo.configs</groupId>
+                            <artifactId>j2ee-deployer</artifactId>
+                            <version>${geronimoVersion}</version>
+                            <type>car</type>
+                        </dependency>
                     </dependencies>
                     <instance>
                         <plugin-artifact>
@@ -131,7 +143,9 @@
                                 <artifactId>persistence-jpa10-deployer</artifactId>
                             </obsoletes>
                             <artifact-alias key="org.apache.geronimo.configs/persistence-jpa10-deployer//car">org.apache.geronimo.configs/persistence-jpa20-deployer/${version}/car</artifact-alias>
-                            <artifact-alias key="org.apache.geronimo.configs/persistence-jpa10-deployer/${version}/car">org.apache.geronimo.configs/persistence-jpa20-deployer/${version}/car</artifact-alias>
+                            <artifact-alias key="org.apache.geronimo.configs/persistence-jpa10-deployer/2.1.3/car">org.apache.geronimo.configs/persistence-jpa20-deployer/${version}/car</artifact-alias>
+                            <artifact-alias key="org.apache.geronimo.configs/persistence-jpa10-deployer/2.1.4/car">org.apache.geronimo.configs/persistence-jpa20-deployer/${version}/car</artifact-alias>
+                            <artifact-alias key="org.apache.geronimo.configs/persistence-jpa10-deployer/2.1.5-SNAPSHOT/car">org.apache.geronimo.configs/persistence-jpa20-deployer/${version}/car</artifact-alias>
                         </plugin-artifact>
                     </instance>
                 </configuration>

Modified: geronimo/plugins/openjpa2/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/openjpa2/trunk/pom.xml?rev=833569&r1=833568&r2=833569&view=diff
==============================================================================
--- geronimo/plugins/openjpa2/trunk/pom.xml (original)
+++ geronimo/plugins/openjpa2/trunk/pom.xml Fri Nov  6 22:01:07 2009
@@ -23,25 +23,66 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.apache.geronimo.plugins</groupId>
-        <artifactId>plugins</artifactId>
-        <version>2.2-SNAPSHOT</version>
+        <groupId>org.apache.geronimo.genesis</groupId>
+        <artifactId>genesis-java5-flava</artifactId>
+        <version>2.0</version>
     </parent>
 
+    <groupId>org.apache.geronimo.plugins</groupId>
     <artifactId>openjpa2</artifactId>
-    <name>Geronimo Plugins, OpenJPA2</name>
+    <version>2.1.4-SNAPSHOT</version>
     <packaging>pom</packaging>
+
+    <name>Geronimo Plugins, OpenJPA2</name>
     <description>Apache OpenJPA2 plugin</description>
 
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/plugins/openjpa2/trunk</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/plugins/openjpa2/trunk</developerConnection>
+        <url>http://svn.apache.org/viewvc/geronimo/plugins/openjpa2/trunk</url>
+    </scm>
+
     <properties>
-        <!-- local overrides for default 2.2 Server provided versions -->
         <openjpa2Version>2.0.0-M3</openjpa2Version>
         <jpa2specVersion>1.0-PFD2</jpa2specVersion>
         <bvspecVersion>1.0-CR5</bvspecVersion>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+
+        <!-- set siteId to artifactId for any "top level" project rooting a webs
+ite -->
+        <siteId>daytrader</siteId>
+
+        <!-- Geronimo server properties for car-maven-plugin -->
+        <geronimoVersion>2.1.4</geronimoVersion>
+        <geronimoSchemaVersion>1.2</geronimoSchemaVersion>
+        <gbeanDeployerBootstrap>org.apache.geronimo.framework/geronimo-gbean-deployer-bootstrap/${geronimoVersion}/car</gbeanDeployerBootstrap>
+        <gbeanDeployer>org.apache.geronimo.framework/geronimo-gbean-deployer/${geronimoVersion}/car</gbeanDeployer>
+        <j2eeDeployer>org.apache.geronimo.configs/j2ee-deployer/${geronimoVersion}/car</j2eeDeployer>
+        <clientDeployer>org.apache.geronimo.configs/client-deployer/${geronimoVersion}/car</clientDeployer>
+        <connectorDeployer>org.apache.geronimo.configs/connector-deployer/${geronimoVersion}/car</connectorDeployer>
+        <openejbDeployer>org.apache.geronimo.configs/openejb-deployer/${geronimoVersion}/car</openejbDeployer>
+        <openejbcorbaDeployer>org.apache.geronimo.configs/openejb-corba-deployer/${geronimoVersion}/car</openejbcorbaDeployer>
+        <axisDeployer>org.apache.geronimo.configs/axis-deployer/${geronimoVersion}/car</axisDeployer>
+        <cxfDeployer>org.apache.geronimo.configs/cxf-deployer/${geronimoVersion}/car</cxfDeployer>
+        <axis2Deployer>org.apache.geronimo.configs/axis2-deployer/${geronimoVersion}/car</axis2Deployer>
+        <tomcatDeployer>org.apache.geronimo.configs/tomcat6-deployer/${geronimoVersion}/car</tomcatDeployer>
+        <jetty6Deployer>org.apache.geronimo.configs/jetty6-deployer/${geronimoVersion}/car</jetty6Deployer>
+        <jasperDeployer>org.apache.geronimo.configs/jasper-deployer/${geronimoVersion}/car</jasperDeployer>
+        <jpaDeployer>org.apache.geronimo.configs/persistence-jpa20-deployer/${version}/car</jpaDeployer>
     </properties>
 
     <dependencyManagement>
         <dependencies>
+            <!-- Import Geronimo Server used dependency versions -->
+            <dependency>
+                <groupId>org.apache.geronimo</groupId>
+                <artifactId>geronimo</artifactId>
+                <version>${geronimoVersion}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+
+            <!-- project depends -->
             <dependency>
                 <groupId>org.apache.openjpa</groupId>
                 <artifactId>openjpa</artifactId>
@@ -138,4 +179,172 @@
         <module>persistence-jpa20-deployer</module>
     </modules>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.geronimo.buildsupport</groupId>
+                <artifactId>car-maven-plugin</artifactId>
+                <version>${geronimoVersion}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <category>Persistence</category>
+                    <archive>
+                        <!-- Do not include META-INF/maven to avoid long file problems
on windows -->
+                        <addMavenDescriptor>false</addMavenDescriptor>
+                    </archive>
+                    <osiApproved>true</osiApproved>
+                    <useMavenDependencies>
+                        <value>true</value>
+                        <includeVersion>true</includeVersion>
+                    </useMavenDependencies>
+                    <commonInstance>
+                        <plugin-artifact>
+                            <geronimo-version>2.1.3</geronimo-version>
+                            <geronimo-version>2.1.4</geronimo-version>
+                            <geronimo-version>2.1.5-SNAPSHOT</geronimo-version>
+                            <geronimo-version>2.2-SNAPSHOT</geronimo-version>
+                            <geronimo-version>2.2</geronimo-version>
+                            <jvm-version>1.5</jvm-version>
+                            <jvm-version>1.6</jvm-version>
+                            <source-repository>http://repo1.maven.org/maven2/</source-repository>
+                            <source-repository>http://repository.apache.org/snapshots/</source-repository>
+                            <source-repository>http://people.apache.org/repo/m2-snapshot-repository/</source-repository>
+                        </plugin-artifact>
+                    </commonInstance>
+                </configuration>
+            </plugin>
+        </plugins>
+
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.geronimo.buildsupport</groupId>
+                    <artifactId>geronimo-maven-plugin</artifactId>
+                    <version>${geronimoVersion}</version>
+
+                    <configuration>
+                        <assemblies>
+                            <assembly>
+                                <id>jetty</id>
+                                <groupId>org.apache.geronimo.assemblies</groupId>
+                                <artifactId>geronimo-jetty6-javaee5</artifactId>
+                                <version>${geronimoVersion}</version>
+                                <classifier>bin</classifier>
+                                <type>zip</type>
+                            </assembly>
+
+                            <assembly>
+                                <id>jetty-minimal</id>
+                                <groupId>org.apache.geronimo.assemblies</groupId>
+                                <artifactId>geronimo-jetty6-minimal</artifactId>
+                                <version>${geronimoVersion}</version>
+                                <classifier>bin</classifier>
+                                <type>zip</type>
+                            </assembly>
+
+                            <assembly>
+                                <id>tomcat</id>
+                                <groupId>org.apache.geronimo.assemblies</groupId>
+                                <artifactId>geronimo-tomcat6-javaee5</artifactId>
+                                <version>${geronimoVersion}</version>
+                                <classifier>bin</classifier>
+                                <type>zip</type>
+                            </assembly>
+
+                            <assembly>
+                                <id>tomcat-minimal</id>
+                                <groupId>org.apache.geronimo.assemblies</groupId>
+                                <artifactId>geronimo-tomcat6-minimal</artifactId>
+                                <version>${geronimoVersion}</version>
+                                <classifier>bin</classifier>
+                                <type>zip</type>
+                            </assembly>
+
+                            <assembly>
+                                <id>framework</id>
+                                <groupId>org.apache.geronimo.assemblies</groupId>
+                                <artifactId>geronimo-framework</artifactId>
+                                <version>${geronimoVersion}</version>
+                                <classifier>bin</classifier>
+                                <type>zip</type>
+                            </assembly>
+                        </assemblies>
+
+                        <defaultAssemblyId>tomcat</defaultAssemblyId>
+
+                        <optionSets>
+                            <optionSet>
+                                <id>morememory</id>
+                                <options>
+                                    <option>-Xmx1024m</option>
+                                    <option>-XX:MaxPermSize=512m</option>
+                                </options>
+                            </optionSet>
+                            <optionSet>
+                                <id>debug</id>
+                                <options>
+                                    <option>-Xdebug</option>
+                                    <option>-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</option>
+                                </options>
+                            </optionSet>
+                        </optionSets>
+                    </configuration>
+                    <executions>
+                        <execution>
+                            <id>start</id>
+                            <phase>pre-integration-test</phase>
+                            <goals>
+                                <goal>start-server</goal>
+                            </goals>
+                            <configuration>
+                                <assemblyId>${it-server}</assemblyId>
+                                <logOutput>true</logOutput>
+                                <background>true</background>
+                                <verifyTimeout>300</verifyTimeout>
+                                <refresh>true</refresh>
+                                <optionSets>
+                                    <optionSet>
+                                        <id>default</id>
+                                        <options>
+                                            <option>-Xmx512m</option>
+                                            <option>-XX:MaxPermSize=256m</option>
+                                        </options>
+                                    </optionSet>
+                                    <optionSet>
+                                        <id>morememory</id>
+                                        <options>
+                                            <option>-Xmx1024m</option>
+                                            <option>-XX:MaxPermSize=512m</option>
+                                        </options>
+                                    </optionSet>
+                                    <optionSet>
+                                        <id>debug</id>
+                                        <options>
+                                            <option>-Xdebug</option>
+                                            <option>-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</option>
+                                        </options>
+                                    </optionSet>
+                                </optionSets>
+                            </configuration>
+                        </execution>
+                        <execution>
+                            <id>install-plugin</id>
+                            <phase>install</phase>
+                            <goals>
+                                <goal>install-plugin</goal>
+                            </goals>
+                        </execution>
+                        <execution>
+                            <id>stop</id>
+                            <phase>install</phase>
+                            <goals>
+                                <goal>stop-server</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
+
 </project>



Mime
View raw message