Was there any decision as to whether this (ie. surefire configuration
in parent POM causing surefire plugin in child POM that's bound to the
integration-test phase to run twice) is a bug or feature?
Any maven committers out there?
Chris
--
Enterprise POJO consulting -
Tony,
If you want to test your session beans and MDBs you can use the JBoss
microcontainer.
It starts up very quickly. No need for a long running server.
Its been discussed a few times on this mailing list - I also have an
example in my book's source code.
EJB3 entity beans (aka JPA) can easily
Jose,
Here are a couple of things you might find interesting:
* A excerpt from my book POJOs in Action on testing a persistence
layer: http://www.theserverside.com/tt/articles/article.tss?l=PersistentDomain
* The slide from my JavaOne talk on the same topic:
);
}
It actually CRASHES surefire, I think because of a null pointer
exception in EJB3StandaloneBootstrap.boot. But still runs fine in
eclipse. Don't know what the problem is, but it seems like a bug in
Surefire.
I updated SUREFIRE-38 to document this.
By the way, thank you to Chris Richardson
to test JBoss EJB3 EJBs using surefire or testNG, so I am
wondering
what the options are, and how this emedded EJB3 container works / fits in
?
Pete
On 19/03/06, Chris Richardson [EMAIL PROTECTED] wrote:
Dan,
I also had a problem using maven2 to run the EJB3/JBoss microcontainer
Dan,
I also had a problem using maven2 to run the EJB3/JBoss microcontainer tests
for the example from my book.
It got this error:
Caused by: java.net.MalformedURLException: no protocol: and
at java.net.URL.lt;initgt;(URL.java:567)
at java.net.URL.lt;initgt;(URL.java:464)
at
Hi,
I've started to migrate the example source code for my book to Spring 2.0M1.
However, http://www.ibiblio.org/maven2/org/springframework/spring/2.0-m1/ does
not contain a spring.jar.
I've had to replace the dependency on spring.jar with dependencies on the
smaller jars: spring-code.jar,
not
using it and use the smaller ones)
On 1/20/06, Chris Richardson [EMAIL PROTECTED] wrote:
Hi,
I've started to migrate the example source code for my book to Spring
2.0M1.
However,
http://www.ibiblio.org/maven2/org/springframework/spring/2.0-m1/ does
not contain a spring.jar.
I've
Hi,
When I try running jetty6:run I get this error, which seems to be related to
log4j.
Any suggestions?
Thanks.
Chris
[DEBUG] Trace
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
I found it very useful to read '*Maven*: A *Developer's Notebook'* when I
started using maven2.
I hadn't used maven1 and this book was a good introduction to many of the
concepts and capabilities of maven2.
Its also a quick read.
Chris
--
Enterprise POJO consulting -
Hello,
I am trying to track down the source code for this JPOX maven plugin.
I've only been able to find older (maven1/jelly) versions.
Here is an excerpt from maven-jpox-plugin-1.0.1
project
parent
artifactIdmojo/artifactId
groupIdorg.codehaus.mojo/groupId
version2/version
I use HSQL DB (http://hsqldb.org/) for testing with both Kodo JDO and
Hibernate.
It works well and is very fast.
This is what I have in my pom.xml
dependency
groupIdhsqldb/groupId
artifactIdhsqldb/artifactId
version1.7.2.2 http://1.7.2.2/version
scopetest/scope
/dependency
Chris
--
- http://chris-richardson.blog-city.com
-Original Message-
From: Chris Richardson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 09, 2005 2:06 PM
To: Maven Users List
Subject: Re: How to make self contained database dependant unit tests in
maven 2?
I use HSQL DB (http
Hi,
I used install:install-file to install a bunch of 3rd party jars into my
local (default) repository
But maven 2.0 insists on trying to download the dependency from
http://repo1.maven.org.
This fails of course:
[WARNING] Unable to get resource from repository central (
.
- Brett
On 11/9/05, Chris Richardson [EMAIL PROTECTED] wrote:
Hi,
I used install:install-file to install a bunch of 3rd party jars into my
local (default) repository
But maven 2.0 insists on trying to download the dependency from
http://repo1.maven.org.
This fails of course
15 matches
Mail list logo