Re: test data location question

2009-05-07 Thread Pete Siemsen
e program is working just fine. It reads a file name from the command line. My question is how to test it within the maven framework, without specifying absolute test file names. Cheers, -- Pete On May 5, 2009, at 3:55 PM, Jeff MAURY wrote: You should store your files under src/test/re

test data location question

2009-05-05 Thread Pete Siemsen
hat using resources and getResourceAsStream won't allow me to open subfiles. What I think I want is a runtime environment variable or something that tells me the path to the maven development directory. Any suggestion would be appreciated. -- Pete --

Re: an "mvn setup:diagnose" would be nice at times like this :)

2007-12-29 Thread Pete Carapetyan
Thanks Stuart for the idea on running the java program to make sure. Of course that works perfectly. But at least one more issue taken care of. So recapping, here is what it does NOT appear to be - proxy problem - java permission problem - firewall problem - network problem - JAVA_HOME problem A

Re: an "mvn setup:diagnose" would be nice at times like this :)

2007-12-29 Thread Pete Carapetyan
Dec 29, 2007 8:47 AM, Jerome Lacoste <[EMAIL PROTECTED]> wrote: > On Dec 29, 2007 1:39 PM, Pete Carapetyan <[EMAIL PROTECTED]> wrote: > > answer is inline below question: > > > > On Dec 29, 2007 6:30 AM, Tom Huybrechts <[EMAIL PROTECTED]> wrote: > > &g

Re: an "mvn setup:diagnose" would be nice at times like this :)

2007-12-29 Thread Pete Carapetyan
= 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 44ms, Maximum = 46ms, Average = 45ms > > Tom > > > On Dec 29, 2007 1:26 PM, Pete Carapetyan <[EMAIL PROTECTED]> wrote: > > > Long time Maven user getting the dreaded "plugin does not exist or no &

an "mvn setup:diagnose" would be nice at times like this :)

2007-12-29 Thread Pete Carapetyan
Long time Maven user getting the dreaded "plugin does not exist or no valid version could be found" on every maven call after unrelated software installation. Any advice where to look next greatly appreciated. Ran on same box 2 hours before, runs on every other box same network connection, only th

Re: Running heavy tests in the build lifecycle

2007-09-18 Thread Pete
Just wanted to ask on the back of this whether any of you have got the Maven Site Reporting working when you have some JUnit tests running in the 'Integration-test' phase. I posted this recently http://www.nabble.com/mvn-site-doesn%27t-run-JUnits-configured-to-run-during-%27integration-test%27-pha

mvn site doesn't run JUnits configured to run during 'integration-test' phase

2007-09-18 Thread Pete
Just wanted to ask whether there is any plan for supporting 'Integration Tests' in Maven Site Reporting. Currently although there is a well know 'integration-test' phase in Maven, if Surefire JUnits are configured to run during this phase, they are not executed during a 'mvn site-deploy'. We have

Re: Eclipse and Maven "best practice"

2007-09-18 Thread Pete
g the 'Common' tab and specifying a folder that is under SCM. Also can set up an 'General Project' in Eclipse that points to your local repo folder, this allows you to search this area and open pom files if necessary. I would gladly swap to a Plugin but there always seems to b

Re: Eclipse/Maven2 integration info

2007-09-18 Thread Pete
Alexander, Not quite sure why you need an Ant build wrapper it is far easier to just use Eclipse's external tools facility to run mvn for any selected folder e.g. Set up a new External Tool as follows : Name: mvn clean install Location: ${env_var:M2_HOME}/bin/mvn.bat Working Directory: ${r

Re: Eclipse and Maven "best practice"

2007-09-18 Thread Pete
I use Eclipse and the External Tools configuration to run mvn from within eclipse if needed. I used to have Eclipse compiling to a different classes directory and that worked fine for many projects, but recently I use 'mvn jetty:run' all the time so that when I save a java file in Eclipse it get

plugin version range doesn't work [2.3,)

2007-06-27 Thread Pete
Is a plugin version range supposed to work in maven 2.0.6 ? I thought this would be a neat way of ensuring we have latest plugin and at least one that works with JUnit4 org.apache.maven.plugins maven-surefire-plugin

WSDL2Code Axis2 javax/wsdl/WSDLException NoClassDefFoundError

2007-06-22 Thread Pete
I'm trying to use axis2-wsdl2code-maven-plugin with wsdl2code goal. However I'm getting inconsistencies with class versions, can anyone help? Has anyone got a working version that has the correct dependencies required to get plugin to work? . Downloading: http://repo1.maven.org/maven2/woodstox

Re: extensible database integration testing

2007-05-25 Thread Pete
I'm not sure I understand at which point you do know these 'execution environments' but maybe you could specify the values on the command line along with a pom as follows :- ${jdbc.groupId} ${jdbc.artifactId} ${jdb

Re: DBUnit and table list

2007-05-25 Thread Pete
you a suggest using the example, please answer to the list and what is the exact error? On 5/12/07, Pete <[EMAIL PROTECTED]> wrote: > Just wondered if you guys could help with a query I sent to the Maven > mailing list recently ? > > thanks > Pete > > -- Forwarde

DBUnit and table list

2007-05-04 Thread Pete
Hi there, 1) Firstly I've noticed there appears to be two DBUnit plugins, not sure which is best : http://mojo.codehaus.org/dbunit-maven-plugin http://maven-plugins.sourceforge.net 2) I'm trying to use the codehaus DBUnit plugin to export some data, but one table is giving me an error so I tho

Selenium use Java JUnits or HTML suites ? and Unix platform

2007-04-26 Thread Pete
Just wondered if anyone out there can tell me any of the advantages/disadvantages of using Selenium with JUnits or is it better to use selenese with the HTML suite tests ? I thinking in terms of what is easiest to maintain ? Test on multiple browsers ? Also a related question, at the moment our

Re: mvn jetty:run problem with classloader

2007-04-26 Thread Pete
well. This means after a serverside java file change our IDE saves the class to target/classes and Jetty picks it up immediately. Slight downside is you could not have two web apps both depending on a common server side. Did you get any resolutions yourself ? Pete On 13/04/07, Steve Wells <[EM

Re: How to use JunitEE in M2?

2007-03-23 Thread Pete
Jesse, If you have a look at this link http://docs.codehaus.org/display/MAVEN/best+practices+-+testing+strategies and then search for my comment see 'Posted by Pete at Feb 11, 2006 16:15 | Permalink' this was an approach I took and got JUnitEE working. cheers Pete On 20/03/07

Re: Maven2 plugin for eclipse

2007-03-14 Thread Pete
I'd say give up with all these Maven integration plugins and just use Eclipse's external tools facility to run mvn for any selected folder e.g. Set up a new External Tool as follows : Name: mvn clean install Location: ${env_var:M2_HOME}/bin/mvn.bat Working Directory: ${resource_loc} Argume

Re: Running surefire for test and integration-test and producing two reports

2007-03-08 Thread Pete
test However this means the integration tests get run during the 'test' phase when running 'site' instead of 'integration-test' so it's not ideal. Anyone else help ? Pete On 05/03

Re: mvn jetty:run problem with classloader

2007-02-20 Thread Pete
I'm answering myself, but I guess the problem could be the same as :- http://docs.codehaus.org/display/JETTY/ZIP+exception+reading+jar+or+war+files On 16/02/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > There doesn't seem to be any support forums for Jetty either. I see jetty-discuss and jetty-su

mvn jetty:run problem with classloader

2007-02-16 Thread Pete
Anyone help ? -- Forwarded message -- From: Pete <[EMAIL PROTECTED]> Date: 15-Feb-2007 14:11 Subject: mvn jetty:run problem with classloader To: Maven Users List I'm using 'mvn jetty:run', and trying to get it to work with rapid application development

mvn jetty:run problem with classloader

2007-02-15 Thread Pete
ng it seems to have stopped or is intermittent. So the issue only arises if Jetty detects a change to a JAR on its classpath. If I restart Jetty completely all is ok. There doesn't seem to be any support forums for Jetty either. help Pete [INFO] restarting [EMAIL PROTECTED] 2007-02-15 13:

cobertura works on its own but not in reporting mvn site

2007-02-14 Thread Pete
- probably because of surefire Any ideas? I've even compared the -X debug of both and they look the same for the cobertura plugin execution. Pete - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tomcat-maven-plugin and tomcat:run

2007-02-07 Thread Pete
t available Any thoughts on how to ease rapid development with Tomcat appreciated. Pete Pete On 07/02/07, Mark Hobson <[EMAIL PROTECTED]> wrote: Hi Pete, On 07/02/07, Pete <[EMAIL PROTECTED]> wrote: > 1) I'm trying to use the tomcat-maven-plugin all is fine using >

tomcat-maven-plugin and tomcat:run

2007-02-07 Thread Pete
otice the tomcat manager isn't enable in the target\tomcat\conf\tomcat-users.xml 3) Is there any documentation on this tomcat:run goal ? none at http://mojo.codehaus.org/tomcat-maven-plugin/ cheers Pete [INFO] [tomcat:run] [INFO] Using existing Tomcat server configuration at C:\dev\odin\odin-

Re: dependency graph plugin?

2006-10-11 Thread Pete Marvin King
hello, try the mvn site. it will generate a dependency html page under target/generated-site. Patrick Moore wrote: > Hi there- > > Is there a plugin that explodes the dependency graph so that it is possible to > see why a jar is being included in the build? I have a bunch of m

Re: war plugin 2.0.1 webResources pom.* filtering

2006-09-22 Thread Pete
Did anyone get a resolution to this ? I'm getting exactly the same error. Only solution I could find was going back to version 2.0 of war plugin On 03/07/06, SkipWalker <[EMAIL PROTECTED]> wrote: So my basic question is, how do I get some of my webapp files in my war project to be filtered wi

MavenProject property added by MOJO not inherited?

2006-09-21 Thread Pete
1) I have a MOJO that adds property to the MavenProject, using :- project.getProperties().put("myNewProperty", value); This mojo gets invoked during the parent pom's generate-resources 2) But I then find that child poms cannot see the property, even though they have the above as a parent.

Re: Running surefire-report goal as part of maven test goal

2006-09-19 Thread Pete
You need to have org.codehaus.mojo surefire-report-maven-plugin in the section of your POM. On 15/09/06, Manish Shah <[EMAIL PROTECTED]> wrote: Hi, We're maven newbies and would like to configure our surefire-report:report goal so that it always runs as part of the test goa

Re: profiles / ear content . how to do this?

2006-09-19 Thread Pete
. env_dev true env_dev false env_live env_live true this also works for EAR and Pete On 18/09/06, Eric Redmond <[EMAIL PROTEC

maven-changes-plugin help please

2006-09-19 Thread Pete
Help, I'm trying to switch from the old codehaus maven-changes-plugin to the new org.apache.maven.plugins version. Previously I had my pom configured to use the old plugin during the compile phase, so that a changes-report.html could be nested inside the web app's pages. Now with the new plugin

cvs command from mojo gives error

2006-09-14 Thread Pete
I am trying to use the org.codehaus.plexus.util.cli.Commandline in a mojo to run a cvs status command (which isn't supported at the mo) the command looks correct on the log, and executes fine if I cut & paste into a cvs command prompt, but via CommandLineUtils.executeCommandLine( cl, consumer, st

need my Mojo to execute a CVS status command - help

2006-09-14 Thread Pete
Could any of you guys help with the code I would need to put in my MOJO to execute a cvs command. The command is cvs status -v filename which isn't supported by maven-scm-providers-cvs. I see there is a AbstractCvsStatusCommand but this issues a cvs update I believe. Is there a way I can execu

uniqueVersion property accessible during deploy ?

2006-09-14 Thread Pete
Is there a way of referencing the date timestamp that is appended to artifacts during a deploy ? e.g. my_ear-1.0-20060912.160818-730.ear Can I reference something like ${uniqueVersion} ? - To unsubscribe, e-mail: [EMAIL PROT

Re: incorrect war file structure

2006-08-15 Thread Pete Marvin King
i see, then just use "https://svn.apache.org/repos/asf/maven/plugins/trunk"; Jeff Mutonho wrote: > On 8/15/06, Pete Marvin King <[EMAIL PROTECTED]> wrote: >> >> >> There's a space between trunk and plugins on the url, the last plugin >> is th

Re: incorrect war file structure

2006-08-14 Thread Pete Marvin King
There's a space between trunk and plugins on the url, the last plugin is the destination directory 1. svn co https://svn.apache.org/repos/asf/maven/plugins/trunkplugins 2. cd plugins/maven-war-plugin 3. mvn install Jeff Mutonho wrote: > On 8/13/06, Pete Marvin King <[EMAIL PROTEC

Re: incorrect war file structure

2006-08-12 Thread Pete Marvin King
Hello Jeff, Sorry about that, can you try this 1. svn co https://svn.apache.org/repos/asf/maven/plugins/trunk plugins 2. cd plugins/maven-war-plugin 3. mvn install the steps above should do it. pete marvin Jeff Mutonho wrote: > On 8/9/06, Pete Marvin King <[EMAIL PROTECTED]&

Re: incorrect war file structure

2006-08-08 Thread Pete Marvin King
just to be sure. hope this helps, pete marvin Denis Cabasson wrote: > Jeff Mutonho wrote: > >> On 8/8/06, Denis Cabasson <[EMAIL PROTECTED]> wrote: >> >>> >>> Jeff Mutonho wrote: >>> >>>> On 8/8/06, Denis Cabasso

Re: war plugin, webResources-overriding default Location

2006-08-03 Thread Pete Marvin King
use version 2.1-SNAPSHOT [EMAIL PROTECTED] wrote: > Hi all > > I'm trying to override the webResources default location by adding > , but this is not working form, the welogic.xml is being still > copied into the Root directory, > > is there some thing i'm doing wrong here, please help > >

Re: Placing war resources

2006-07-31 Thread Pete Marvin King
ll hope that helps, pete marvin Laurie Harper wrote: > According to the war-plugin documentation [1], I should be able to > control where webapp resources are copied to using the targetPath > element: > > > org.apache.maven.plugins >

Re: Non-classpath resources filtering?

2006-07-31 Thread Pete Marvin King
ceDir ../../destinationDir true [...] [...] [...] you can add as many resource entries as you want. Hope this helps. pete marvin Adrian

Re: maven-war-plugin 2.0.1 not copying xml files

2006-07-27 Thread Pete Marvin King
/plugins/maven-war-plugin/usage.html pete marvin Charles Harvey III wrote: > Hello. > I am trying to build a war with: > > > mvn war:exploded > > mvn war:inplace > > mvn war:war > > And, no matter how I configure it, only .properties files get copied from > my s

Re: Prevent maven from adding pom file to jar

2006-07-21 Thread Pete Marvin King
http://maven.apache.org/guides/mini/guide-archive-configuration.html [EMAIL PROTECTED] wrote: > Hi all, > > Is there a way of preventing maven from adding the effective pom to the > generated JAR? > > Thanks > > > > --

Re: Accessing the build number

2006-07-18 Thread Pete
${build.timestamp} Pete On 17/07/06, Lukasz Szelag <[EMAIL PROTECTED]> wrote: I had a similar problem (trying to access the artifact timestamp, which includes the build number). The following is from my Mojo: /** * The project artifact. * * @par

Re: m2 multiple war files with some common code

2006-07-13 Thread Pete Marvin King
http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html pete marvin Martin Gladdish wrote: > I had the same problem the other day; trying to share JSPs and config > files > across multiple maven2 apps. > > I solved it by configuring the war plugin to pull in the resources > f

Re: WEB-INF/lib excludes once more

2006-07-09 Thread Pete Marvin King
Mike Perham wrote: > Not true. > > -Original Message- > From: Pete Marvin King [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 09, 2006 11:52 AM > To: Maven Users List > Subject: Re: WEB-INF/lib excludes once more > > > if you want to exclude certain depend

Re: WEB-INF/lib excludes once more

2006-07-09 Thread Pete Marvin King
. pete marvin Markus Wolf wrote: > Hi, > > I have a problem creating my EAR file containing a WAR and a EJB. > First I setup my WAR-pom to have the EAR as provided dependency, but > then it is not possible to add it to the manifests classpath. > Then I read through the mailin

Re: Maven 2.0.4's 'package' not copying contents or main resources to WEB-INF/classes

2006-07-08 Thread Pete Marvin King
btw, just make sure you compile first before you invoke war:war or just use the package phase just to be sure. if you invoke war:war, it will not automatically compile the source. see the war plugin documentation for more details. Vinny wrote: > yes, it is set to war > > On 7/7/06, M

Re: Disecting a webapp?

2006-07-07 Thread Pete Marvin King
it's now documented here http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html. just ignore the warning it's obsolete, the overwriting bug is already fixed. cheers, pete marvin Stefan Hübner wrote: > Hi guys, > > 2006/7/7, Alexandre Poitras <[EMAIL

Re: [m2] war plugin, ignores classifier in dependency

2006-07-06 Thread Pete Marvin King
issue created : http://jira.codehaus.org/browse/MWAR-58 Robert Biernat wrote: > Hi, > > I have a web application that I'm trying to build which has two dependencies > which have exactly the same groupId, artifactId and version, however one of > them has a classifier so I can distinguish betwee

Re: [M2] webapp

2006-07-05 Thread Pete Marvin King
execution. the maven user list is not the best place to ask this. =) but here it is anyway..hope this helps. pete marvin christophe blin wrote: > Hi, the nicely documented stuff (that I already read BTW) talks about > jetty and does not mention debugging... > > My concern is to r

Re: [m2] WAR plugin questions

2006-07-04 Thread Pete Marvin King
ed or you can get it from the trunk and generate the site for it. =) svn -co https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-war-plugin war-plugin mvn site:site the generated site is under "target/site", look for the index.html there. pete marvin Adam Hardy wr

Re: [Maven2] test resources

2006-07-04 Thread Pete Marvin King
try putting your mapping_common.hbm.xml on "src/main/resources/" instead. or modify your getResourceAsStream to get the file "META-INF/mapping_common.hbm.xml" resources are searched on all the classpaths, normally META-INF is added to the classpath so getClass().getResourceAsStream("m

Re: warSourceDirectory

2006-06-28 Thread Pete Marvin King
perhaps you can do a war overlay, add the war to your depedency list with a scope of runtime. you might need to rename it to *.war, the war plugin uses the extension to determine if it will do a war overlay. Alexandre Poitras wrote: > To those who are facing the same issue, I just submitted

Re: List of Maven Archetypes?

2006-06-25 Thread Pete Marvin King
y checking http://www.ibiblio.org/maven2/org/apache/maven/archetypes for the latest version of the archetypes and if you feel the urge to write a guide on how to use them, the Maven community will greatly appreciate it. =) cheers, pete marvin siegfried wrote: > I'm doing a google sear

Re: [m2] problem w/ antcall in ANT-based mojo

2006-06-23 Thread Pete
rodef Here's invoking it On 20/06/06, cristal <[EMAIL PROTECTED]> wrote: Thanks Pete, that sounds very promising

Re: [m2] snapshot repository: exploding size

2006-06-21 Thread Pete
sion - our developers don't get the new snapshot version downloaded (unless they delete their local repo). I posted about this separately. It's driving us mad! Pete On 21/06/06, Feniks Nator <[EMAIL PROTECTED]> wrote: It's a pity that this is not yet supported (cleaning of snapshot

Re: [m2] problem w/ antcall in ANT-based mojo

2006-06-20 Thread Pete
I got around this issue in the end by using Ant 1.6's new macrodef feature, this allows you to easily create a macro instead of a callable ant target. See http://ant.apache.org/manual/CoreTasks/macrodef.html so I put the Macrodef's in the same build file and called them where necess

Re: [M2] Ghost dependencies

2006-06-02 Thread Pete Marvin King
Hello, 2.1-SNAPSHOT of the war plugin only includes dependencies with a runtime scope for exploded,inplace and war goals. I think by default an artifact has a compile scope unless you modify the default scope then it shouldn't be included in the war. pete marvin Markus Reinhardt wrote:

Re: maven Website - I'm struggling getting the information I seek

2006-05-30 Thread Pete Marvin King
hello, try to download the maven book at www.mergere.com. There's a link on the mid-right for the book, "Better Builds With Maven". There's a lot of information there that you might find useful. hope this helps...=) cheers, pete marvin Stefan Arentz wrote

Re: What does do???

2006-05-29 Thread Pete Marvin King
it's use for war overlays, for excluding dependent war files from being included in the exploded war. this is use in war:exploded and war:inplace btw, only the artifacts with a runtime scope is included in the war. when using war:war pete marvin Roland Asmann wrote: &

Re: Cobertura under solaris

2006-05-25 Thread Pete Marvin King
I agree with wayne fay there's usually a default jdk installed on Solaris. try to verify your JAVA_HOME and PATH just to be sure. Wayne Fay wrote: > You must have an older JDK installed on your server. > > Run "java -fullversion" on both machines and upgrade the Solaris JDK > to the ver

Re: urgent - downloading of snapshot not working, aaaargh!

2006-05-20 Thread Pete
, snapshots handling seems weird lately... Maybe you're right and this is a regression bug of Maven 2.0.4. On 5/18/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > Weird, when you use the "-U" option on the command line, does it work? > > On 5/18/06, Pete <[EMAIL PROTE

Re: urgent - downloading of snapshot not working, aaaargh!

2006-05-18 Thread Pete
05/06, Jörg Schaible <[EMAIL PROTECTED]> wrote: Hi Pete, Pete wrote on Thursday, May 18, 2006 9:51 AM: > Jorg, > > Are you thinking that this has regressed then ? > > As I've successfully used maven 2.0.0 and 2.0.1 with deploying > 1.0-SNAPSHOTS successfully ? Can&#

Re: urgent - downloading of snapshot not working, aaaargh!

2006-05-18 Thread Pete
Jorg, Are you thinking that this has regressed then ? As I've successfully used maven 2.0.0 and 2.0.1 with deploying 1.0-SNAPSHOTS successfully ? cheers Pete On 17/05/06, Jörg Schaible <[EMAIL PROTECTED]> wrote: Hi Pete, Pete wrote on Wednesday, May 17, 2006 5:52 PM: > Jörg,

Re: urgent - downloading of snapshot not working, aaaargh!

2006-05-17 Thread Pete
Jörg, thanks for your reply, but we aren't using SNAPSHOT we are using 1.0-SNAPSHOT on all our artifacts (some of them inherit this from the parent's version though) So I don't think the JIRA applies here ? Pete On 17/05/06, Jörg Schaible <[EMAIL PROTECTED]> wrote: Pe

urgent - downloading of snapshot not working, aaaargh!

2006-05-17 Thread Pete
Maven 2.0.4. We have a common jar Maven Project call 'infra_Common', but even though it deploys, it won't download to developer workstations after a 'mvn deploy' We have Continuum building & deploying this project as 1.0-SNAPSHOT, however the snapshot jar only seems to get downloaded from our Co

Re: War plugin and filtering webapp files

2006-05-16 Thread Pete Marvin King
what war plugin version are you currently using? Julian Wood wrote: > On 15-May-06, at 1:51 PM, Julian Wood wrote: >> >> PS. I do regularly use the trick where you configure the war plugin >> to use a resources directory which was the target of a regular >> resource filtering process, and th

Re: [m2] problem w/ antcall in ANT-based mojo

2006-05-15 Thread Pete
everywhere I need to use it I have to have a build.xml in the current directory ! (containing these internal helper targets) Pete On 21/03/06, Adrian Herscu <[EMAIL PROTECTED]> wrote: Wayne, thanks for your reply. I will try your idea now. Wayne Fay wrote: > When you create the my/pro

Re: EJB Client Jar Problem

2006-05-04 Thread Pete Marvin King
class **/*CMP.class **/*package.html pete marvin [EMAIL PROTECTED] wrote: > Well i tried with 2.1 ejb plugin noticed that client includes works fine > > but when i tried to include *Session.class its not doing that i think by > defa

Re: maven 2: war plugin excludes doc wrong?

2006-05-03 Thread Pete Marvin King
both are correct, wf's example and the comma separated values wf's example is supported during assigning of values to the parameter and the csv in the war plugin code itself. you can even mix and match, still need to verify this. =) pete marvin Wayne

Re: EJB Client Jar Problem

2006-05-03 Thread Pete Marvin King
verified, it's already fixed on version 2.1 of the plugin clientExclude doesn't work on version 2.0. Pete Marvin King wrote: > include and exclude works fine in the unit test. > can you try getting the latest version. =) > > btw, if yo

Re: EJB Client Jar Problem

2006-05-03 Thread Pete Marvin King
class **/*CMP.class **/*package.html pete marvin [EMAIL PROTECTED] wrote: > It sounds like an bug > > I created a bug in jira for this http://jira.codehaus.org/browse/MEJB-12 > > > > > > Thanks, > Raghu > > > > > > Pete <[EMA

Re: EJB Client Jar Problem

2006-05-03 Thread Pete
I had the same problem so would be interested if anyone can help ? On 02/05/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: Hi,, I'm trying to create ejb client from ejb project this is what i have in my pom org.apache.maven.plugins ma

Re: Deployment of war file using JBOSS

2006-05-03 Thread Pete
Use the JBoss plugin http://mojo.codehaus.org/jboss-maven-plugin/harddeploy-mojo.html this copies the war/ear file to the jboss deploy On 03/05/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: The simplest way would be to copy the war to the jboss deploy directory. If your Jboss server is o

Re: maven-antrun-plugin - issue

2006-05-02 Thread Pete
I am using Antrun with antcontrib if's as follows :- . this works fine. On 01/05/06, Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco) <[EMAIL PROTECTED]> wrote: I did try that. Copied the ant-contrib jar to my local repository and added

Re: [M2-book]

2006-04-30 Thread Pete Marvin King
based on the old 2.0 codes... as for the regression test, we have unit tests for that. =) this bug is covered in the unit test. pete Kenney Westerhof wrote: > On Sun, 30 Apr 2006, Sebastien Arbogast wrote: > > I've done some research and it appears that the latest vers

Re: [M2-book]

2006-04-30 Thread Pete Marvin King
i think this has already been fixed, someone already reported this on the codehaus jira. get the SNAPSHOT of maven-resources-plugin to fix this. cheers, pete Sebastien Arbogast wrote: > I'm just going through "Better Builds With Maven" book and once again, I

Re: won't accept activation jar

2006-03-30 Thread Pete Carapetyan
BINGO ! Huge assist, thank you sir. > That's exactly why I wanted the full command... > >> $ mvn install:install-file -DgroupId=javax.activation >> -DartifactId=activation -Dversion= >> 1.0.2 -Dpackaging=jar -Dfile=/ > > This should be: > -Dfile=/activation-1.0.2.jar ---

Re: won't accept activation jar

2006-03-30 Thread Pete Carapetyan
Mar 30 11:27:33 CST 2006 [INFO] Final Memory: 1M/3M [INFO] None of my other jars are freaking out, all are acting very normal and going in fine > Wayne > > > On 3/30/06, Pete Carapetyan <[EMAIL PRO

won't accept activation jar

2006-03-30 Thread Pete Carapetyan
I am a long time Maven 1.0 user making my first transition to a 2.0 project For whatever reason, my javax.activation jar won't be seen. Everything googled points to the same thing that apparently others have had happen, first you get this error Missing: -- 1) javax.activation:activation:j

Re: how to generate html test reports with maven-surefire-plugin

2006-03-28 Thread Pete
You don't have to do a full site goal you can just do mvn sure-report:report and you'll get the HTML report alone in the target/site directory. On 27/03/06, Venkatagopalaraju <[EMAIL PROTECTED]> wrote: > > Thank youI am able to generate surefire-report in html format by using > this "mvn si

Re: jboss-maven-plugin jboss:start does it work for anyone ?

2006-03-22 Thread Pete
It would be helpful if you could include the following info: > > operating system > maven version > jboss version > java/jdk version > jboss-maven-plugin version > > > Wayne > > On 3/22/06, Pete <[EMAIL PROTECTED]> wrote: > > Has anyone succeeded in usi

jboss-maven-plugin jboss:start does it work for anyone ?

2006-03-22 Thread Pete
Has anyone succeeded in using the jboss-maven-plugin to start JBoss ? It says starting... but as far as I can tell it isn't started ? I put a pause in the pom.xmlusing AntRun just to make sure it wasn't shutting down again. I was hoping it would start JBoss the echo the console to the Maven2 con

M2 assembly plugin works from wrong directory if run via Reactor

2006-03-21 Thread Pete
1) I am using assembly:assembly during the normal lifecycle 'package' phase, on a Maven2 submodule's pom with a descriptor as follows :- dep zip false target *.ear *.jar src/main/assembly/resources *.xml All works fine if

user's settings.xml not being picked up (BUG? more details found out )

2006-03-21 Thread Pete
somehow, but obviously it will vary per developer. Can it be set in conf/settings.xml ? On 21/03/06, Pete <[EMAIL PROTECTED]> wrote: > > cheers but see my recent reply, must be missing something else here. > > On 21/03/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:

Re: user's settings.xml not being picked up

2006-03-21 Thread Pete
cheers but see my recent reply, must be missing something else here. On 21/03/06, Franz Fehringer <[EMAIL PROTECTED]> wrote: > > With the attached program you can see where Java thinks your user.home is. > > Greetings > > Franz > > > Pete schrieb: > > Hi

Re: user's settings.xml not being picked up

2006-03-21 Thread Pete
.getproperty("user.home"); > File m2 = new File(uh, ".m2"); > File settings = new File(m2, "settings.xml"); > > so probably maven is looking at some other place for your settings > than you expect it to.. > > Milos > > On 3/21/06, Pete <[EM

user's settings.xml not being picked up

2006-03-21 Thread Pete
Hi there I'm used to Maven2 picking up the settings.xml from C:\Documents and Settings\\.m2 when in a windows environment, however I'm using Maven2 at a new company now, and for some reason the user's settings.xml doesn't seem to be being picked up. I have developer_me D:/java/j

Re: DESPERATE: JBoss EJB3 embeddable container fails under surefire?

2006-03-20 Thread Pete
Chris or Dan, Just wondered if you could share your POM and testing approach with me , I'm looking 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 &l

Re: How to bind execution of integration tests to integration-test phase

2006-03-18 Thread Pete
; execution of integration tests to integration-test > phase". > > Like Pete, who offered good advice in that thread, I > also need to do in-container testing via Cactus, run > CruiseControl and deploy to OAS/OC4J. > > Pete, if you see this posting, I'm interested

Re: How to add release-info

2006-03-13 Thread Pete
I used the Maven2 Changes plugin to do very similar :- See http://www.nabble.com/Is-there-a-way-to-get-a-Build-Date-Time-and-Version-Release-into-a-Maven-build--t1100519.html#a2930030 On 13/03/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > is there a way to include that maven-metadata.x

Re: EJB3/J2EE project using Maven2

2006-03-11 Thread Pete
Hi Marco, Can you try sending it to me again please. I know yesterday you tried sending the M1 version, but I never received it. many thanks Pete On 11/03/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: > > Hello all, > i have done a J2EE project which includes some EJB3, using

M2: JBoss EJB3 Examples ?

2006-03-10 Thread Pete
Does anyone out there have a JBoss EJB3 Maven2 working example / POMs. This is what I'm attempting to do, any ideas or samples would be much appreciated. thanks Pete

finding JBoss & EJB3 Jars on ibiblio ?

2006-03-10 Thread Pete
under hibernate Is this best workaround to deploy these to my internal repository for now ? Pete

Re: ejb3 plugin

2006-03-08 Thread Pete
Hi there, I'm trying to build the example EJB3 maven project mentioned above by Tim, but am getting [INFO] Building Unnamed - test:test-ear:ear:1.0-SNAPSHOT [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:c

Re: M2 : Excluding WAR from EAR for a live build - is profile the only way ?

2006-02-20 Thread Pete
ds an additional war into the > ear > and what-not. > > -- Lee > > On 2/17/06, Pete <[EMAIL PROTECTED]> wrote: > > > > I have an EAR project that includes a normal webapp, but also a JUnitEE > > testing WAR. > > For some builds we need it in the EAR, but

M2 : Excluding WAR from EAR for a live build - is profile the only way ?

2006-02-17 Thread Pete
I have an EAR project that includes a normal webapp, but also a JUnitEE testing WAR. For some builds we need it in the EAR, but for a live build we don't want it aggregated. Now I guess I could wrap the EAR plugin in a profile, but the EAR plugin's section is very long, so this would mean repeati

  1   2   >