MAVEN BUG: ejb-client problem

2007-09-23 Thread Denis Bessmertniy
It sound like a bug in maven, because nobody knows where is the dog. I still have this problem and I have read a lot of manuals and also Better Build with maven book in order to find the answer, but nothing. -Original Message- From: Denis Bessmertniy [mailto:[EMAIL PROTECTED] Sent: Fr

What to do with maven-continuum-plugin ?

2007-09-23 Thread Damien Lecan
Hello, I have seen a plugin called maven-continuum-plugin in Continuum distribution. What to do with this plugin ? Declaring new projects (use plugin once) ? Trigger something in Continuum itself at the end of a build ? Update projects information ? Anything else ? Thanks Damien Lecan

Maven JavaScript Plugin 1.2 released

2007-09-23 Thread Adam
Hey all, We have released version 1.2 of the maven-js-plugin. All release notes and such can be found at http://ossi.mobilvox.com/maven-js-plugin or http://sf.net/projects/maven-js-plugin. Thanks, -- Adam Altemus http://www.mobilvox.com

Re: Generate html test reports

2007-09-23 Thread sukanta
Thanks for your help , I do ran the command 'mvn -e site' and this time it gives some information , which is follows , The plugin artifact has changed , What is the new artifact , should i change the plugins. [INFO] Preparing surefire-report:report-only [INFO] Reloading plugin container for: or

[ANN] Maven Clover 2 Plugin 3.0-beta-4 Released

2007-09-23 Thread Tom Davies
Atlassian has released a new version of the maven-clover-plugin for use with Clover 2.0b2. The plugin remains open source under the Apache license. The plugin facilitates the creation of test coverage reports for projects built with Maven 2. There is an overview of the new features of Clo

MVN POM giving error with Weblogic 8.1 while working fine with tomcat 5.0

2007-09-23 Thread Ashish Srivastava
Hi , When I a m trying to deploy my project using weblogic , I am getting errors. My weblogic server is getting stopped and I am getting error == # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCE

Re: Required goal not found: eclipse:m2eclipse

2007-09-23 Thread thebugslayer
Indeed it just run. MK. There few times this failed, and turns out my local repository is corrupted. Things work again after I purge the jars. This goal is too useful to be missing from the documentation. Hope this email help other too. -Z On 9/20/07, MK Tan <[EMAIL PROTECTED]> wrote: > probabl

Terminating a build in a maven-antrun-plugin call

2007-09-23 Thread Morgovsky, Alexander \(US - Glen Mills\)
I tried using the block from ant-contrib in the maven-antrun-plugin call within the POM.xml. However, a failure did not transfer control to the catch block, and the build terminated successfully. How should I properly catch errors and terminate the build using the maven-antrun-plugin? Thank you

Re: Terminating a build in a custom Maven plug-in

2007-09-23 Thread Wayne Fay
Just throw Exception("this is bad") should do it, iirc. Wayne On 9/23/07, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]> wrote: > I have a custom Java Maven 2 plug-in where if a certain condition is > met, I want the build of the project calling this plug-in to terminate. > When I tri

Terminating a build in a custom Maven plug-in

2007-09-23 Thread Morgovsky, Alexander \(US - Glen Mills\)
I have a custom Java Maven 2 plug-in where if a certain condition is met, I want the build of the project calling this plug-in to terminate. When I tried putting System.exit(0) into the catch block inside the plug-in, the build did not terminate. When I had put System.exit(0) into the code, the bu

Re: Running a single JUnit test

2007-09-23 Thread zalym
Is that supposed to be advantageous? If I want to run a lot of tests, then yea. Otherwise I need to take care while naming my tests Wendy Smoak-3 wrote: > > On 9/23/07, zalym <[EMAIL PROTECTED]> wrote: >> >> It works without the package name right? When I give the test with the >> package na

Re: Running a single JUnit test

2007-09-23 Thread Wendy Smoak
On 9/23/07, zalym <[EMAIL PROTECTED]> wrote: > > It works without the package name right? When I give the test with the > package name, it exits with a no tests to run message, where as when I try > without the packagename, then it works. Correct. It uses a pattern like **/*${test} so you don't

Re: Running a single JUnit test

2007-09-23 Thread zalym
It works without the package name right? When I give the test with the package name, it exits with a no tests to run message, where as when I try without the packagename, then it works. benshort wrote: > > *mvn -Dtest=com.xxx..InternalDAOTest test > > On 7/30/07, ben short <[EMAIL PROTE

Re: maven and eclipse

2007-09-23 Thread Dan Tran
I would expect that you try to understand this example. then adapt to your own On 9/23/07, Dmitri Pissarenko <[EMAIL PROTECTED]> wrote: > Hello! > > I know this example, but... > > What should I change in order to adapt it to my project, apart from > groupId, artifactId, version and name? > > TIA

Re: maven and eclipse

2007-09-23 Thread Dmitri Pissarenko
Hello! I know this example, but... What should I change in order to adapt it to my project, apart from groupId, artifactId, version and name? TIA Dmitri -- http://www.xing.com/profile/Dmitri_Pissarenko http://dapissarenko.blogspot.com/ -

Re: maven and eclipse

2007-09-23 Thread Dan Tran
this example works https://svn.codehaus.org/mojo/trunk/mojo/pde-maven-plugin/src/it/m2eclipse/ please run that and use it as a base also it is best to use the full eclipse sdk to do your build -D On 9/23/07, Dmitri Pissarenko <[EMAIL PROTECTED]> wrote: > Hello! > > Thanks for your answer! > >

Re: maven and eclipse

2007-09-23 Thread Dmitri Pissarenko
Hello! Thanks for your answer! On 9/23/07, Dan Tran <[EMAIL PROTECTED]> wrote: > it seems the problem is here > > BUILD FAILED > d:\silverstrike\sw\cgv-editor\target\pdeBuilder\build.xml:8: Unable to find > elem > ent: at.silverstrike.control.presentation.eclipsercp.cgveditor. Now I can execute

Re: maven and eclipse

2007-09-23 Thread Dan Tran
it seems the problem is here BUILD FAILED d:\silverstrike\sw\cgv-editor\target\pdeBuilder\build.xml:8: Unable to find elem ent: at.silverstrike.control.presentation.eclipsercp.cgveditor. -D On 9/23/07, Dmitri Pissarenko <[EMAIL PROTECTED]> wrote: > Hello! > > But I still can't execute mvn inst

Re: maven and eclipse

2007-09-23 Thread Dmitri Pissarenko
Hello! But I still can't execute mvn install. I'm getting this exception: $ mvn -e install + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] - --- [INFO] Building CGV Editor Plug-in [INFO]task-se

Re: maven and eclipse

2007-09-23 Thread Dmitri Pissarenko
Hello! I found a solution here: http://archive.mojo.codehaus.org/dev/[EMAIL PROTECTED] > FYI, pde-maven-plugin-1.0-alpha-1 should work with eclipse 3.3 by copy > plugins/org.eclipse.equinox.launcher*-xyz.jar into eclipse.home/startup.jar Best regards Dmitri -- http://www.xing.com/profile/Dmitr

maven and eclipse

2007-09-23 Thread Dmitri Pissarenko
Hello! I want to create a maven-built eclipse RCP plugin. For this purpose I followed the tutorial at http://mojo.codehaus.org/pde-maven-plugin/examples/simple_plugin.html Everything works fine until section "Run mvn install". When I run mvn -e install, I'm getting this error: $ mvn -e ins

running hibernate3 plugin with jpaconfiguration

2007-09-23 Thread thebugslayer
Hi, Can someone please help me see why I do not see my database table created after I ran $ mvn hibernate3:hbm2ddl? I don't have any errors, just database wasn't updated. This is my partial pom.xml org.codehaus.mojo hibernate3-maven-plugin