Problem with DBUNIT task after SQL task inside ANTRUN PLUGIN

2008-12-18 Thread bkbonner
I have two tasks defined inside the antrun plugin: sql driver=oracle.jdbc.OracleDriver autocommit=false

Re: maven 2.0.9 create-from-project

2008-05-06 Thread bkbonner
I'm trying to run the archetype:generate based on a archetype generated using archetype:create-from-project. The new project is generated, but the directories and files are not restored from the jar file that is sitting in the repository. All that is created is the pom.xml file. Any advice?

Re: maven 2.0.9 create-from-project

2008-05-06 Thread bkbonner
OK, I ran it with the -U option and realized that there is a newer version of the Archetype plugin than the one that I had. I had to go back and recreate the archetype from the project again, but it works GREAT! Brian bkbonner wrote: I'm trying to run the archetype:generate based

Re: maven 2.0.9 create-from-project

2008-05-06 Thread bkbonner
if this is not a user error. Brian bkbonner wrote: OK, I ran it with the -U option and realized that there is a newer version of the Archetype plugin than the one that I had. I had to go back and recreate the archetype from the project again, but it works GREAT! Brian bkbonner wrote: I'm trying

Re: Prompt user for variable?

2007-10-18 Thread bkbonner
history and accidentally pressing enter). Harlan Iverson-2 wrote: I'm no Maven expert, but in the case of passwords, I can see some merit to this desire. What is the accepted way of storing passwords for builds, anyway? In any other case (responding to bkbonner), wouldn't something like

Re: Prompt user for variable?

2007-10-17 Thread bkbonner
Maven guys, I think this is a valid request. I'm using maven on one project to make it easier for non-developers to run builds. I'd like to have it prompt for environment variables, too. I'd like to make a maven-prompt-plugin that will take the configuration and prompt the user for variable

2 Classpath Questions - how to included generated classes in classpath so dependent Testcases compile.

2007-09-12 Thread bkbonner
I have a project setup that includes xml schemas from 3rd parties that I want to create jar files for using XMLBeans. This works fine. The xmlbeans plugin generates: generated-sources generated-classes I would also like to include test cases in the project to verify that the sample xml files

loader constraint violation - killerapp example at sonatype

2007-06-07 Thread bkbonner
So, one of my guys is taking a look at sonatype's mavenbook example http://www.sonatype.com/book/simple-project.html where it says to run mvn install on the killerapp project. We're seeing this error msg. Has anyone else seen this problem and how did they solve it. I googled a bit and

Re: loader constraint violation - killerapp example at sonatype

2007-06-07 Thread bkbonner
configuration forkModealways/forkMode /configuration /plugin /plugins /build to the pom.xml in the killlerapp-store-xstream project. bkbonner wrote

Re: loader constraint violation - killerapp example at sonatype

2007-06-07 Thread bkbonner
the killerapp back to its original state 3. run the example again 4. Tell me what's in $localRepository/org/apache/maven/plugins/ maven-surefire-plugin Then I know what version of Maven and the Surefire plugin and I can help you. On 7 Jun 07, at 6:47 PM 7 Jun 07, bkbonner wrote: So

Re: loader constraint violation - killerapp example at sonatype

2007-06-07 Thread bkbonner
state 3. run the example again 4. Tell me what's in $localRepository/org/apache/maven/plugins/maven- surefire-plugin Then I know what version of Maven and the Surefire plugin and I can help you. On 7 Jun 07, at 6:47 PM 7 Jun 07, bkbonner wrote: So, one of my guys is taking a look

Subversion Maven Continuum (trunk/tags/branches) and flat layout

2007-06-06 Thread bkbonner
I have a question about the best practice for dealing with a flat layout project in conjunction with a common directory structure for subversion namely: foo/trunk/... foo/tags/... foo/branches/... If I have multiple modules that are part of foo, I'll end up with: foo/trunk/... foo/tags/...

Re: Subversion Maven Continuum (trunk/tags/branches) and flat layout

2007-06-06 Thread bkbonner
a pom.xml -- and it's correct, it's not visible from the directory. I guess I can add a pom.xml to see what happens. Any ideas are appreciated. Brian bkbonner wrote: I have a question about the best practice for dealing with a flat layout project in conjunction with a common directory

Maven 2 and Cobertura - 100% coverage???

2007-02-23 Thread bkbonner
Hi, I've added the Cobertura plugin to my pom.xml build, using the examples at: http://mojo.codehaus.org/cobertura-maven-plugin/usage.html However, when I run 'mvn clean site', it shows that I have 100% line coverage. I know for certain that all of the methods in our DAOs are not exercised.

Re: [m2] Maven 2 and Cobertura - 100% coverage???

2007-02-23 Thread bkbonner
btw, my plugin definition in reporting is: plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId /plugin Brian -- View this message in context:

Re: [m2] Maven 2 and Cobertura - 100% coverage???

2007-02-23 Thread bkbonner
On Fri, 2007-02-23 at 11:45 -0800, bkbonner wrote: btw, my plugin definition in reporting is: plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId /plugin Brian

Re: [m2] Maven 2 and Cobertura - 100% coverage???

2007-02-23 Thread bkbonner
OK, I'll revert back to 2.0, thanks for the tip. dan tran wrote: use version2.0/version latest 2.1 is bad, and it should be taken out of repo1 -D On 2/23/07, Arnaud Bailly [EMAIL PROTECTED] wrote: Hello, You may want to try the following configuration build !-- indique les

Re: [m2] sql-maven-plugin, derby, and test cases - failed to start database

2007-02-21 Thread bkbonner
PROTECTED] wrote: It sounds like your test case does not try to recreate database again. -D On 2/20/07, bkbonner [EMAIL PROTECTED] wrote: I'm trying to use the sql-maven-plugin with derby. My pom is as follows: plugin

Re: [m2] sql-maven-plugin, derby, and test cases - failed to start database

2007-02-21 Thread bkbonner
Including the jdbc:derby:;shutdown with the skipOnConnectionErrortrue/skipOnConnectionError parameter in the 1.1-SNAPSHOT did the trick. Thanks for the help. For the benefit of others, I've added the following execution: execution

500 Error on Jira website

2007-02-21 Thread bkbonner
I just tried to create a new issue out on Jira: The URL was: http://jira.codehaus.org/secure/CreateIssue!default.jspa and received: 500 Servlet Exception java.lang.NullPointerException at

exec-maven-plugin = path with spaces is truncated

2007-02-21 Thread bkbonner
I tried running the following POM using: mvn generate-sources POM: plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions

Re: [m2] 500 Error on Jira website

2007-02-21 Thread bkbonner
:) Just wanted to make sure folks were aware. I looked at the prior posts and didn't see it, or I wouldn't have posted it. Sorry. -- View this message in context: http://www.nabble.com/500-Error-on-Jira-website-tf3268878s177.html#a9088001 Sent from the Maven - Users mailing list archive at

exec-maven-plugin = using exec to run a java program

2007-02-21 Thread bkbonner
Related to my earlier post about the spaces. I moved my project to C:\pim-biz Here's the fragment of my POM: plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId

Re: [m2] exec-maven-plugin = path with spaces is truncated

2007-02-21 Thread bkbonner
It seems that 1.1-SNAPSHOT on codehaus repository fixes this problem. Is there any chance of a 1.1 release for this exec-maven-plugin? Brian -- View this message in context: http://www.nabble.com/exec-maven-plugin--%3D--path-with-spaces-is-truncated-tf3268904s177.html#a9088232 Sent from the

sql-maven-plugin, derby, and test cases - failed to start database

2007-02-20 Thread bkbonner
I'm trying to use the sql-maven-plugin with derby. My pom is as follows: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId

Re: hibernate3 extension - No Suitable Driver

2006-06-23 Thread bkbonner
I meant to include this link to the Maven-hibernate3 mojo: http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/howto.html Thanks. -- View this message in context: http://www.nabble.com/hibernate3-extension---No-Suitable-Driver-t1838389.html#a5018707 Sent from the Maven - Users

hibernate3 extension - No Suitable Driver

2006-06-23 Thread bkbonner
Out at the maven-hibernate3 plugin (for maven2), it indicates that an extension needs to be defined. I believe Extension is generated by Modello from the maven.mdo file, but I can't say for certain. What should this extension contain. I tried included the groupId, artifactId and version of a

Re: hibernate3 extension - No Suitable Driver

2006-06-23 Thread bkbonner
Max, I did do this, which is why I posted my original msg. Thanks for replying, just the same. I realized what was happening. The driver URL syntax had changed in the new driver version. I wanted to rule out that there wasn't anything special about the artifact. Lo and behold, it's just a

Re: Project build error Duplicate project ID

2006-05-01 Thread bkbonner
It looks like MVNECLIPSE 0.7 resolves this problem. In Eclipse choose: Help - Software - Manage Configuration - Maven 2.0 integration and then click scan for updates :) -- View this message in context: http://www.nabble.com/Project-build-error-Duplicate-project-ID-t1445476.html#a4172291 Sent

Surefire Report does not run when test throws an exception

2006-04-20 Thread bkbonner
One of the test cases in my project blows an exception. As a result the surefire-report plugin doesn't seem to run. 'site' goal does not complete and consequently. Is there a parameter I can set in the plugin that will at least allow the report to run so I can see what the error was? Or is

Re: Surefire Report does not run when test throws an exception

2006-04-20 Thread bkbonner
Thorsten, thanks for the help. I'm sure this will do the trick. I just found this bug http://jira.codehaus.org/browse/MSUREFIREREP-2 in Jira. It figures it was the second to the last one for me to find. -- View this message in context: