Skip to content

Instantly share code, notes, and snippets.

View rmannibucau's full-sized avatar

Romain Manni-Bucau rmannibucau

View GitHub Profile
<plugin>
<groupId>org.apache.openejb</groupId>
<artifactId>tomee-maven-plugin</artifactId>
<version>0.0.1-SNAPSHOT</version>
<configuration>
<tomeeVersion>1.0.0-beta-2-SNAPSHOT</tomeeVersion>
<libs>
<lib>mysql:mysql-connector-java:5.1.18</lib>
</libs>
</configuration>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<version>3.0.0-SNAPSHOT</version>
<configuration>
</configuration>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
diff -r 0170ba313366 galleria-ejb/pom.xml
--- a/galleria-ejb/pom.xml Fri Mar 16 15:50:50 2012 +0530
+++ b/galleria-ejb/pom.xml Sun Mar 18 19:12:37 2012 +0100
@@ -186,17 +186,13 @@
</execution>
</executions>
</plugin>
- <plugin>
+ <!--plugin>
<groupId>com.dbdeploy</groupId>
Index: container/openejb-core/src/main/java/org/apache/openejb/config/DeploymentLoader.java
===================================================================
--- container/openejb-core/src/main/java/org/apache/openejb/config/DeploymentLoader.java (révision 1309375)
+++ container/openejb-core/src/main/java/org/apache/openejb/config/DeploymentLoader.java (copie de travail)
@@ -1512,7 +1512,7 @@
return ResourcesModule.class;
}
- if (descriptors.containsKey("application.xml") || path.endsWith(".ear")) {
+ if (descriptors.containsKey("application.xml") || path.endsWith(".ear")) {
diff --git a/ejb/pom.xml b/ejb/pom.xml
index 7e73f14..6b32f74 100644
--- a/ejb/pom.xml
+++ b/ejb/pom.xml
@@ -90,9 +90,9 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <excludes>
+ <!--excludes>
<plugin>
<groupId>org.apache.openejb.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version> <!-- 1.0-alpha-1 for last release -->
<configuration> <!-- all has default -->
<tomeeVersion>1.1.0-SNAPSHOT</tomeeVersion> <!-- 1.0.0 -->
<tomeeClassifier>plus</tomeeClassifier> <!-- default = webprofile -->
<debug>false</debug>
<debugPort>5005</debugPort>
<args>-Dfoo=bar</args>
/*
* Copyright 2012 the original author or authors.
*
* Licensed 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
/*
* 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
@Before
public void bind()
{
try {
if (ctxt == null) {
try {
Properties p = new Properties();
p.put("openjpa.jdbc.SynchronizeMappings", "buildSchema(ForeignKeys=true)");
p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
// ctxt = new InitialContext(p);
<plugins>
<plugin>
<groupId>org.apache.openejb.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
<version>1.0.1-SNAPSHOT</version>
<configuration>
<args>-Xmx1024m -XX:MaxPermSize=256m</args>
<removeDefaultWebapps>true</removeDefaultWebapps>
<zip>false</zip>
<libs>