Re: Why do running modules in parallel take longer to execute than running them in sequence?

2014-10-09 Thread laredotornado-3
I suspect you're simply trashing your os or the VM. Look at disk/memory usage indicators OS level Is there any way to get the modules I'm running in parallel to use different heaps or VMs so they are not stepping on each other? I allocated 4 GB of memory and my JUnit tests aren't doing taht

Re: Why do running modules in parallel take longer to execute than running them in sequence?

2014-10-09 Thread laredotornado-3
Kristian, Your 'actually make the argLine command work' comment is killing me. What are you talking about? Everything I have read indicates that the correct way to set memory for surefire/failsafe plugins is to have this in the configuration -- argLine-Xmx4096m/argLine. Laird, Thanks for your

Why do running modules in parallel take longer to execute than running them in sequence?

2014-10-08 Thread laredotornado-3
Hi, I’m using Maven 3.2.3, Spring 3.2.11.RELEASE, JUnit 4.11, Java 6, and the Surefire/Failsafe 2.17 plugins. I’m trying to figure out why when running a couple of modules in parallel, it takes much longer than when I run them individually. I’m trying to figure out ways to speed up my build. I

Re: Why do running modules in parallel take longer to execute than running them in sequence?

2014-10-08 Thread laredotornado-3
Hi, Karl, to answer your question, I only have one processor on my MacBook Pro (10.9.5), which is a 2.2 GHz Intel Core i7. I haven't set forkCount in either my surefire or failsafe plugin (configs listed in question) because I was under the impression that the -T option took care of that. Jörg,

Re: Why is dependency:analyze lying to me?

2014-02-13 Thread laredotornado-3
Hi, This may fall into the “How the hell is Maven supposed to know?” category, but one of the dependencies that dependency:analyze lists when I run it on my WAR project is [WARNING] Unused declared dependencies found: … [WARNING]

Why is dependency:analyze lying to me?

2014-02-11 Thread laredotornado-3
Hi, I’m using Maven 3.1.1 on Mac 10.9.1. When I ran “mvn dependency:analyze” on my project, I got results that included: [WARNING] Unused declared dependencies found: … [WARNING]junit:junit:jar:4.11:test So I commented out the above junit dependency in my pom

RE: Work-around to the Maven restriction on AND condition profile activation?

2014-02-03 Thread laredotornado-3
Thanks for that ingenious solution. It worked perfectly. -- View this message in context: http://maven.40175.n5.nabble.com/Work-around-to-the-Maven-restriction-on-AND-condition-profile-activation-tp5782919p5783107.html Sent from the Maven - Users mailing list archive at Nabble.com.

Work-around to the Maven restriction on AND condition profile activation?

2014-01-31 Thread laredotornado-3
Hi, I’m using Maven 3.1.1 and Java 1.6. From reading over posts online, it seems a profile cannot be activated based on two conditions (i.e. there is no such thing as logical AND in Maven profile activation). So I was wondering if someone knows of a work-around for what I want to do. I want to

Possible to set number of threads within a profile?

2013-11-27 Thread laredotornado-3
Hi, I'm using Maven 3.1.1. Normally if you want to try and run builds in parallel you can run mvn -T 4 clean install Is there a way you can figure the -T 4 to be automatically run if someone specifies a profile, e.g. mvn -P dev clean install ? Thanks, - Dave -- View this message

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-26 Thread laredotornado-3
Basically. I had to have both a parent version and a regular version parent artifactIdsubco/artifactId groupIdorg.mainco.subco/groupId version55.0.0/version /parent namemyproject/name urlhttp://maven.apache.org/url

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-19 Thread laredotornado-3
I hadn't specified a Maven release version anywhere, so I assume you meant like this mvn -B -DdevelopmentVersion=52.0.0-SNAPSHOT -DreleaseVersion=52.0.0 -Dusername=* -Dtag=myprojectt-52.0.0 -DskipTests -P prod -Dresume=false -DdryRun=true

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-19 Thread laredotornado-3
Hi, I tried changing the snapshot to be a later version mvn -B -DdevelopmentVersion=52.0.1-SNAPSHOT -DreleaseVersion=52.0.0 -Dusername=* -Dtag=myproject-52.0.0 -DskipTests -P prod -Dresume=false -DdryRun=true org.apache.maven.plugins:maven-release-plugin:2.4.2:prepare but I still get

Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-18 Thread laredotornado-3
of the child module? Right now, I'm getting the errors … mvn -B -DdevelopmentVersion=52.0.0-SNAPSHOT -DreleaseVersion=52.0.0 -Dusername=laredotornado -Dtag=myproject-52.0.0 -DskipTests -P prod -Dresume=false -DdryRun=true release:prepare ... [ERROR] Failed to execute goal

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-18 Thread laredotornado-3
Hi, THe problem is when I use the released parent, by specifying parent artifactIdsubco/artifactId groupIdorg.mainco.subco/groupId version52.0.0/version /parent I get the below error (You don't have a SNAPSHOT project in the reactor projects list).

Any way to generically specify a release version in a child POM when using the Maven release plugin?

2013-08-20 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. I have a multi-module project and want to use the Maven release plugin (through Jenkins). When running release:prepare, the process dies with the error Executing Maven: -B -f /scratch/jenkins/workspace/subco/parent/pom.xml -amd -pl

How do I de-activate a profile if another profile is specified?

2013-08-08 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. I want to activate a profile (profileA) at all times unless the user specifically requests profile B on the command line (e.g. -P profileB). However, right now both profiles are active when I run mvn clean install -P profileB and I can't figure out why.

Having trouble using Maven release plugin to deploy artifact to a dav repo

2013-06-28 Thread laredotornado-3
Hi, I'm using Maven 3.0.3 with SVN 1.7. I'm trying to use the Maven release plugin to deploy my artifact, but I repeatedly run into the error, No connector available to access repository when running mvn -e release:prepare release:perform I have included the connector in my pom, adding

Re: Having trouble using Maven release plugin to deploy artifact to a dav repo

2013-06-28 Thread laredotornado-3
Hi, Per your suggestion, I added a developerConnection alongside the connection and upgraded to the 1.0 connector, but still ran into the same error. Note that the distrubtionManagemetn is next to scm, not inside. Here is the updated pom ... ?xml version=1.0? project

Can Maven recover from OutOfMemoryErrors during JUnit test runs?

2013-05-03 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. Is it possible to configure Maven or the Surefire plugin to recover from OutOfMemoryErrors? I notice with my JUnit tests, if one test from file A fails with an OutOfMemoryError, all subsequent tests in my Maven Junit run (even those from different files) fail with

Re: Can Maven recover from OutOfMemoryErrors during JUnit test runs?

2013-05-03 Thread laredotornado-3
Thanks for the replies. Andreas, I added the reuseForks option and combined wiht an increased heap size everything runs great. Kristian, We'll eventually be running our app on Jboss 7.1.1 with Java 6. Is the bug you mention somethign Sun addressed in newer JDKs? - Dave -- View this message

Possible to write a boolean expression in Maven?

2013-04-03 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. Within one of my plugins, I have skip${skipExecution}/skip in which I define skipExecution within a profile. However, what I would really like to say is skip${skipExecution} || ${maven.test.skip}/skip but I'm not sure how to say that in Maven. Any ideas? Thanks,

Can I force a plugin to not run during parent pom execution phase?

2013-04-02 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. I've included this plugin in a profile in my parent pom, however, when I run my parent pom, I don't want this to be executed as part of the parent pom being built (I do want it executed for each of the child modules). How can I make this plugin not run during the

Re: Can I force a plugin to not run during parent pom execution phase?

2013-04-02 Thread laredotornado-3
Thanks to all for your answers. Alejandro, tried yours and it worked. Loved the fact it didn't require any configurations in the child projects. Rock on, - Dave -- View this message in context:

Maven ear plugin is telling me I don't have a dependency, but I do ... ideas?

2012-08-08 Thread laredotornado-3
Hi, I'm using Maven 3.0.3 and trying to use the maven-ear-plugin (2.7). When building the ear project, I'm getting the error, [ERROR] Failed to execute goal org.apache.maven.plugins:maven-ear-plugin:2.7:generate-application-xml (default-generate-application-xml) on project orders-ear:

Why is Maven trying to download this log4j jar?

2012-08-06 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. Within the last hour, this started happening, and I can't figure out why. When I run mvn dependency:tree or mvn clean compile, I get this error -- Access denied to: http://repository.jboss.org/maven2/apache-log4j/log4j/1.2.14/log4j-1.2.14.pom, ReasonPhrase:Forbidden

How do I make a dependency both system and test scope?

2012-02-10 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. For bizarre reasons, our company has blocked access to a certain Maven repo, so I have chosen to load the dependency through the inclusion dependency groupIdorg.openqa.selenium.server/groupId

Re: How do I make a dependency both system and test scope?

2012-02-10 Thread laredotornado-3
If you're really interested in why we're not deploying it to a local repo it is because the red tape and bureaucracy in our big organization prevents things from getting done in a timely manner. We submitted that request a couple of weeks ago but haven't gotten any replies from the appropriate

Possible to limit enforcer plugin to a lifecycle phase?

2011-12-07 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. If my Maven run includes the verify phase, I want to check to see if certain properties were included at the command line. I've found the Maven enforcer plugin to be useful for this purpose (guaranteeing things are included and conform to a certain value), but I can't

How do I configure only certain tests to run during my integration-test phase?

2011-11-22 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. Is it possible to exclude some tests to be run during the regular test phase and instead have those tests run during the integration-test phase? I have the below surefire configuration in my pom.xml ... plugin

Trouble getting antrun plugin to run in package phase

2011-10-25 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. I'm trying to copy my WAR file to a container before I run integration tests. So I thought I'd bind the copying of the WAR file in the package phase like so plugin

Re: Getting 401 error when trying to use Maven Tomcat plugin

2011-10-13 Thread laredotornado-3
Below is the complete settings.xml file. I'm on Windows, and this file is located in c:/apache-maven-3.0.3/conf/settings.xml . Should it be located somewhere else? - Dave Begin settings.xml == ?xml version=1.0 encoding=UTF-8? settings

Re: Getting 401 error when trying to use Maven Tomcat plugin

2011-10-12 Thread laredotornado-3
Thanks, but sadly changing the URL to point what you suggest resulted in the same 401 error when I ran mvn tomcat:deploy - Dave -- View this message in context: http://maven.40175.n5.nabble.com/Getting-401-error-when-trying-to-use-Maven-Tomcat-plugin-tp4892167p4895394.html Sent from the Maven -

Getting 401 error when trying to use Maven Tomcat plugin

2011-10-11 Thread laredotornado-3
Hi, I'm using maven 3.0.3 with the Maven-Tomcat (1.1) plugin. I'm having trouble deploying my WAR file to a running Tomcat (6.0.33) instance using mvn clean install tomcat:deploy which spits out the 401 error below. My Tomcat plugin configuration is as follows ...

Re: Getting 401 error when trying to use Maven Tomcat plugin

2011-10-11 Thread laredotornado-3
Hi, I did add each of those roles to the tomcat user in the tomcat-users.xml file ... tomcat-users role rolename=tomcat/ role rolename=role1/ user username=tomcat password=tomcat roles=tomcat,manager-gui,manager-script,manager-jmx,manager-status/ user username=both password=tomcat

How can I tell if I'm building the parent or a module?

2011-09-12 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. Within an antrun execution, how can I tell if I'm building a parent or building one of the modules that inherits from the parent? This antrun execution is located within the parent pom.xml file. Thanks, - Dave -- View this message in context:

Re: How can I tell if I'm building the parent or a module?

2011-09-12 Thread laredotornado-3
That is a great idea and works perfectly. Thanks, - Dave -- View this message in context: http://maven.40175.n5.nabble.com/How-can-I-tell-if-I-m-building-the-parent-or-a-module-tp4795683p4796010.html Sent from the Maven - Users mailing list archive at Nabble.com.

Trouble getting antrun plugin to run

2011-09-08 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. I have the below in the buildplugins section of my pom. However, when I run mvn clean deploy the echo message is never printed out. Does anyone know why my antrun plugin isn't running? plugin

RE: Trouble setting Boolean property in custom Mojo

2011-08-09 Thread laredotornado-3
Hi Robert, I really appreciate your help with this. What you suggested worked perfectly. All the best, - Dave -- View this message in context: http://maven.40175.n5.nabble.com/Trouble-setting-Boolean-property-in-custom-Mojo-tp4677954p4682047.html Sent from the Maven - Users mailing list

Trouble setting Boolean property in custom Mojo

2011-08-08 Thread laredotornado-3
Hi, I'm using Maven 3.0.3 and trying to develop my own Maven plugin. I'm having trouble getting my configuration set properly. I want to set a member field that is a Boolean. In my Mojo, I have public class SeleniumTestMojo extends AbstractMojo { private String results;

RE: Trouble setting Boolean property in custom Mojo

2011-08-08 Thread laredotornado-3
Hi, I didn't find anything about doclets in the link and am still lost. My plugin config mirrors the example. What's more bizarre is that within my plugin project when I test my config, it works fine. My test config file is … project xmlns=http://maven.apache.org/POM/4.0.0;

Trouble configuring an additional context path for embedded Tomcat

2011-08-04 Thread laredotornado-3
Hi, I'm using Maven 3.0.3 with the Tomcat plugin. I have a directory outside of my war that contains static assets. It will have a different context path than the default war. How do I configure my plugin to associate the additional context path for the other resources? Thanks for your help,

Trouble deploying to remote repository after the first time (400 error)

2011-07-29 Thread laredotornado-3
Hi, I'm using Maven 3.0.3 with a Sonatype repository. I'm able to deploy my artifact to the remote repository the first time, but when i try and deploy again, using mvn -e -X clean deploy -s sonatype.xml It fails with the below error … Caused by:

Re: Unable to get antrun to run

2011-05-27 Thread laredotornado-3
Good catch. That solved it. Thanks, - Dave -- View this message in context: http://maven.40175.n5.nabble.com/Unable-to-get-antrun-to-run-tp4429367p4432040.html Sent from the Maven - Users mailing list archive at Nabble.com. -

Can Maven dynamically change my application.xml file?

2011-05-26 Thread laredotornado-3
Hi, I'm using Maven 3.0.3 with WebSphere 6.1. In my src/main/webapp/META-INF/application.xml file, I have ?xml version=1.0 encoding=UTF-8? lt;!DOCTYPE application PUBLIC quot;-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//ENquot; quot;http://java.sun.com/dtd/application_1_3.dtdquot;gt;

Unable to get antrun to run

2011-05-26 Thread laredotornado-3
Hi, I'm using Maven 3.0.3 on Mac 10.6.6. I want to run a custom Ant task but it doesn't seem to run. I've included the plugin in the configuration below, but my echo message is never printed (unsurprisingly everything after is never executed either). I run by doing mvn -X test Any ideas why

Re: Unable to get antrun to run

2011-05-26 Thread laredotornado-3
Unfortunately, same result -- my antrun tasks are not executing. I put in phasegenerate-test-sources/phase and ran both mvn -X generate-test-sources mvn -X install - Dave -- View this message in context: http://maven.40175.n5.nabble.com/Unable-to-get-antrun-to-run-tp4429367p4429489.html

How do I pass a shell expression into exec arg?

2011-05-20 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. I'm running an Ant-run exec command. plugin artifactIdmaven-antrun-plugin/artifactId executions execution

Re: Getting compilation errors despite including the correct repo

2011-05-10 Thread laredotornado-3
I removed that line and everything compiled fine. However, the test was not executed upon launching mvn test The test is in my src/main/test directory. Where else should it be? I have nothing in my src/main/java directory. Below is the output of running the above command. - Dave

Re: Getting compilation errors despite including the correct repo

2011-05-10 Thread laredotornado-3
Ah, that was it ... forgot to follow the surefire naming conventions. Thanks to all, - Dave -- View this message in context: http://maven.40175.n5.nabble.com/Getting-compilation-errors-despite-including-the-correct-repo-tp4382157p4384792.html Sent from the Maven - Users mailing list archive at

Getting compilation errors despite including the correct repo

2011-05-09 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. I want to run mvn test to execute some a Junit test, but I'm getting some compilation errors. I have placed my test file in my src/test/java/package/of/my/file directory, and included the appropriate JUnit JAR in my dependency list (pom.xml listed below). However,

Re: Getting compilation errors despite including the correct repo

2011-05-09 Thread laredotornado-3
That is a good thought, but this is one of 50 errors, all classes located in the junit jar. I do have the import statements at the top of my Java file. Is the test goal any different classpath-wise than other goals? I have verified that the junit Jar is in my local repo --

Re: Getting compilation errors despite including the correct repo

2011-05-09 Thread laredotornado-3
Thanks, Dennis. I removed that line, leaving my pom.xml like below, however, I'm sadly getting the same compilation errors. Any other advice for things I should troubleshoot? - Dave ==Begin pom.xml ?xml version=1.0 encoding=UTF-8?project

Re: Mojo: How do I write a plugin to interact with another?

2011-04-15 Thread laredotornado-3
Ah, so I understand your idea, you're saying that my plugin should output its value to a/the maven.proeprties file and then I can just read that in from my other task? - Dave -- View this message in context:

Mojo: How do I write a plugin to interact with another?

2011-04-14 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. I want to write a Maven plugin that will ultimately output a string (in my case, a version control revision number) that will be used by another plugin (SCM). How do I pass the value from one place to another? FYI, I want the value to be used by the scm:checkout task

Looking for a maven-jira-git plugin

2011-04-12 Thread laredotornado-3
Hi, We're using Maven 3.0.3, Jira 4.0.1 and Git 1.7.4.1. We would like to run a Maven build based off a Jira report ID. Here we assume that the Jira report is associated with a revision or branch (latest revision from the branch) of code in our Git repository. Does anyone know of anything that

Re: How to verify that my memory settings are being picked up

2011-04-08 Thread laredotornado-3
What does the Final Memory: 89M/123M message mean with regards to what is set in MAVEN_OPTS? I understand this might have nothing to do with why I got the error I got, but I'm curious all the same. - Dave -- View this message in context:

How to verify that my memory settings are being picked up

2011-04-07 Thread laredotornado-3
Hi, I'm using Maven 3.0.3 on Mac 10.6.6. I have a small project and have this set in my ~/.bash_profile MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=2048m When running a mvn -e deploy, my project is dying with OutOfMemoryErrors (PermGen space). This maven output is generated. Does the Final Memory

Anyone know how to resolve this curious warning?

2011-04-04 Thread laredotornado-3
Hi, I'm using Maven 2.2. When I run my integration-test command, I'm getting this mysterious warning ... davea-mbp2:socialmediaproxy davea$ mvn integration-test [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for

Re: Anyone know how to resolve this curious warning?

2011-04-04 Thread laredotornado-3
I am mavenizing a Grails (1.2.1) project, using the instructions here -- http://grails.org/doc/latest/guide/4.%20The%20Command%20Line.html . I ran the command mvn org.grails:grails-maven-plugin:1.2.1:create-pom -DgroupId=com.myproject that generated the pom.xml with the content I posted.

Why wrap grails in maven?

2011-04-01 Thread laredotornado-3
Hi, I'm using Grails 1.2.1 and just recently downloaded Maven 2.2. I have found the maven-grails plugin and figured out how to mavenize an existing grails project. What are the advantages of doing this? It seems like some of the advantages of using Maven (dependency management,

Any way to place a JAR so that I am guaranteed its classes get loaded first?

2010-02-01 Thread laredotornado
Hi, I'm using an older version of Maven (1.1). I'm having a problem whereby an old Xalan class is somehow getting loaded into my classpath and I wish to use the classes available through Xalan 2.7.1. I have tried placing this dependency dependencies dependency

Re: Any way to place a JAR so that I am guaranteed its classes get loaded first?

2010-02-01 Thread laredotornado
Thanks for this suggestion. How do I locate the JRE's endorsed folder? Wayne Fay wrote: NoSuchMethodError (due to an older class version).  Is there anywhere I can place my xalan jar such that I'm guaranteed its classes will get loaded first into the classpath? Maybe you could put it

Re: Any way to place a JAR so that I am guaranteed its classes get loaded first?

2010-02-01 Thread laredotornado
Actually I found it. Placing the updated JAR there solved the problem. Much thanks once again! - Dave ps - I am anxious for our company to move to the newest version of Maven. Sadly this issue is out of my control right now. laredotornado wrote: Thanks for this suggestion. How do I

How do I find the Jar that conatains this method signature?

2010-01-28 Thread laredotornado
Hi, I'm using an older version of Maven (1.1) for my project. I am getting the error when running unit tests ... org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/String;Ljava/lang/Class;)I java.lang.NoSuchMethodError:

Maven classpath question

2010-01-07 Thread laredotornado
Hi, I'm using an older version of Maven (1.1), but hopefully this question is still relevant. I have a test module that includes this dependency in its project.xml file ... dependency groupIdcom.caucho/groupId artifactIdresin/artifactId version3.0.9/version

RE: Help figuring out the Maven dependency

2010-01-05 Thread laredotornado
the classname search: http://repository.sonatype.org/index.html#welcome -Original Message- From: laredotornado [mailto:laredotorn...@gmail.com] Sent: Monday, January 04, 2010 4:47 PM To: users@maven.apache.org Subject: Help figuring out the Maven dependency Hi, I'm trying to figure

Help figuring out the Maven dependency

2010-01-04 Thread laredotornado
Hi, I'm trying to figure out the appropriate Maven dependency so that I can include this class org.openejb.client.LocalInitialContextFactory in my project's classpath. Does anyone know what the dependency is or a more reliable way of tracking down what JAR file a class is included in?

Where can I put CVS credentials outside my project?

2009-12-30 Thread laredotornado
Hi, I'm using Maven 2.2. Currently in my root pom.xml, I have scm connectionscm:cvs:pserver:dalvar...@localhost:/usr/local/cvs/abc:myco/galc/capitol/tours/connection tagmyco-galc-capitol-tours-1_0_5/tag /scm This is needed when preparing and performing a release. However,

error: You don't have a SNAPSHOT project in the reactor projects list.

2009-12-28 Thread laredotornado
Hi, I'm using Maven 2.2 on Mac 10.5.6. I'm trying to release a non-snapshot version of my project, but getting the error You don't have a SNAPSHOT project in the reactor projects list., when running mvn release:prepare. Google has not told me much about how to overcome this error . Can you?

Re: error: You don't have a SNAPSHOT project in the reactor projects list.

2009-12-28 Thread laredotornado
if the project (or projects in a multi-module/reactor build) have SNAPSHOT versions. In Maven-world, a non-SNAPSHOT project has already been released. Justin On Mon, Dec 28, 2009 at 12:59 PM, laredotornado laredotorn...@gmail.comwrote: Hi, I'm using Maven 2.2 on Mac 10.5.6. I'm trying

release plugin: Why is allowTimestampedSnapshots being ignored?

2009-12-10 Thread laredotornado
Hi, I'm using Maven 2 and trying to release a snapshot version of my Java web app. Here is the command I'm running from my root project folder ... mvn release:prepare -DdryRun=true -Dresume=false -DallowTimestampedSnapshots=true Eventually the build dies because of Can't release project due

Re: release plugin: Why is allowTimestampedSnapshots being ignored?

2009-12-10 Thread laredotornado
'mvn deploy' will suffice. Thanks Adam On Thu, 2009-12-10 at 07:35 -0800, laredotornado wrote: Hi, I'm using Maven 2 and trying to release a snapshot version of my Java web app. Here is the command I'm running from my root project folder ... mvn release:prepare -DdryRun=true

resin plugin: Required goal not found: resin:upload-war

2009-12-09 Thread laredotornado
Hi, I'm using Maven 2.2 with Resin 3.0.19. I'm trying to use the resin plugin to deploy my app, using the instructions here -- http://wiki.caucho.com/Maven2. However, I repeatedly get this error ... [INFO] Required goal not found: resin:upload-war in com.caucho:resin-maven-plugin:4.0-SNAPSHOT

Re: Building using different files based on a build flag?

2009-12-07 Thread laredotornado
Thanks. Everything works perfectly now. Really appreciate the help, - Dave ps - What made me think there was a 1.0 version was the page you sent to me -- http://maven.apache.org/enforcer/enforcer-rules/requireProperty.html, specifically the version1.0/version. I didn't realize I shouldn't

Re: Building using different files based on a build flag?

2009-12-04 Thread laredotornado
I found this documentation related to profiles -- http://maven.apache.org/guides/introduction/introduction-to-profiles.html and it was very helpful. It left me with one lingering question. If someone doesn't specify -Denv= in the build command, how can you warn them that they must include this

Re: Building using different files based on a build flag?

2009-12-04 Thread laredotornado
Sweet! This looks like the answer to my problems, except that when I include the plugin in my pom.xml, I'm not able to download it. What repository should I be using? Here is what I get ... mvn clean install jboss:redeploy [INFO] Scanning for projects... Downloading:

Building using different files based on a build flag?

2009-12-03 Thread laredotornado
Hi, I'm using Maven 2.2 on Mac 10.5.6. I'm building a web application for JBoss 5.1 AS. I was wondering how I would include a different properties file based on the value someone specified in the mvn build command. For example, if someone entered mvn -Denv=dev jboss:redeploy I would want to

Re: How do you include classes from a WAR as a dependency?

2009-12-01 Thread laredotornado
WAR's classes, but maybe I'm misunderstanding the purpose of the sourceDirectory element. Thanks, - Dave Wendy Smoak-3 wrote: On Tue, Dec 1, 2009 at 8:10 AM, laredotornado laredotorn...@gmail.com wrote: I'm using Maven 2.2.  I think I read somewhere that you cannot have a WAR

Maven 2: How can I avoid hard-coding the version multiple times?

2009-11-30 Thread laredotornado
Hi, I'm using Maven 2.2. In my maven project, I have this fragment in my pom.xml at the project root ... nameMyco GA Capitol Tours/name descriptionMyco GA Capitol Tours/description inceptionYear2009/inceptionYear groupIdMyco.galc.capitol.tours/groupId

Re: Maven 2: How can I avoid hard-coding the version multiple times?

2009-11-30 Thread laredotornado
descriptionMyco GA Capitol Tours Webapp/description artifactIdMyco-galc-capitol-tours-webapp/artifactId packagingwar/packaging We also do this for our multi-module projects since it makes dependency management a little easier. Hope this helps, Joe Hindsley laredotornado wrote: Hi

Isn't listing a dependency supposed to download that JAR file into your WEB-INF/lib folder?

2009-11-19 Thread laredotornado
I'm using Maven 2.2 on Mac 10.5.6 with JBoss 5.1. I have these two dependencies in my pom.xml (I'm building a WAR file) ... dependency groupIdcom.myco.jsf/groupId artifactIdcom-myco-jsf/artifactId version1.11/version /dependency dependency

mvn jboss:redeploy is not redeploying my app

2009-11-16 Thread laredotornado
Hi, I have a webapp running locally on JBoss 5.1 (Java 1.6) and I'm using Maven 2.2 for my build tool. I'm noticing that when I run mvn jboss:redeploy, my app is not getting updated, meaning I'm still seeing the old version. If I restart my local JBoss server and deploy again, then I can see

Re: mvn jboss:redeploy is not redeploying my app

2009-11-16 Thread laredotornado
There is nothing unusual in my JBoss log. Here is all that happens when I redeploy: 10:17:50,498 INFO [TomcatDeployment] undeploy, ctxPath=/apps/galc/capitol/tours 10:17:53,126 INFO [TomcatDeployment] deploy, ctxPath=/apps/galc/capitol/tours 10:17:53,191 INFO [config] Initializing Mojarra

Maven eclipse:multiproject question

2009-11-12 Thread laredotornado
Hi, I'm using Maven 1.1. In my root project folder, I have several sub-projects, including service, model, and test folders. If I am in the root project level directory and run maven eclipse:multiproject .classpath and .project files are created in each sub-directory, which is good. However

maven eclipse is not generating entire classpath

2009-11-10 Thread laredotornado
Hi, I have a project in Maven 1.1 (can't upgrade due to company restrictions at the moment). I am using Eclipse Galileo on Mac 10.5.6. Within my project level directory, I have service, model, and serviceWebApp directories. However, when I run maven eclipse from the top level directory, my

How do I write this preGoal?

2009-11-10 Thread laredotornado
Hi, Using Maven 1.1. Within my PROJECT_ROOT/service directory, I'm trying to create a maven.xml file that will automatically create a directory whenever someone runs the javaapp:install command. I tried this, but the command isn't being executed ... project xmlns:j=jelly:core

Re: How do I get multiproject:install to run jar:install in sub-directories?

2009-11-09 Thread laredotornado
at 2:41 PM, laredotornado laredotorn...@gmail.com wrote: Hi, I'm using Maven 1.1.  I have model and service directories within my project.  How do I configure maven so that when I run maven multiproject:install from the top level, it will run jar:install from within each of those two

Re: How do I get multiproject:install to run jar:install in sub-directories?

2009-11-09 Thread laredotornado
-projects. See http://maven.apache.org/maven-1.x/plugins/multiproject/goals.html HTH, -Lukas laredotornado wrote: Hi, I'm using Maven 1.1. I have model and service directories within my project. How do I configure maven so that when I run maven multiproject:install from the top level

Re: How do I get multiproject:install to run jar:install in sub-directories?

2009-11-09 Thread laredotornado
Sadly, the decision to move to maven 2 is beyond my control. I know the company has plans for it, but for now this is the hand I was dealt. If you have any insights into the question posed, I am grateful. - Daev Wayne Fay wrote: Thanks but I have sadly not yet joined the real world of

Re: How to get the command maven test:test to delete test files before executing?

2009-11-04 Thread laredotornado
laredotornado wrote: Hi, I'm using Maven 1.1 with Java 1.5 on a Mac 10.5.6. In my test directory, I can run maven test:test to execute all of my unit tests. I would like that when I type this command, the first thing that happens is that all files in the current directory matching *.tmp get deleted

Anyone know how to auto-include this option when I'm running tests?

2009-11-04 Thread laredotornado
Hi, I'm using Maven 1.1 for a Java (1.5) project on Mac 10.5.6. I have a number of unit tests within a sub-folder of my test directory. In order to run everything smoothly, I must run a command like below when I cd into my test directory: maven -Dhttp.nonProxyHosts=localhost test:test My

How to get the command maven test:test to delete test files before executing?

2009-11-03 Thread laredotornado
Hi, I'm using Maven 1.1 with Java 1.5 on a Mac 10.5.6. In my test directory, I can run maven test:test to execute all of my unit tests. I would like that when I type this command, the first thing that happens is that all files in the current directory matching *.tmp get deleted (in case a

How to get the command maven test:test to delete test files before executing?

2009-11-03 Thread laredotornado
Hi, I'm using Maven 1.1 with Java 1.5 on a Mac 10.5.6. In my test directory, I can run maven test:test to execute all of my unit tests. I would like that when I type this command, the first thing that happens is that all files in the current directory matching *.tmp get deleted (in case a

How to get the command maven test:test to delete test files before executing?

2009-11-03 Thread laredotornado
Hi, I'm using Maven 1.1 with Java 1.5 on a Mac 10.5.6. In my test directory, I can run maven test:test to execute all of my unit tests. I would like that when I type this command, the first thing that happens is that all files in the current directory matching *.tmp get deleted (in case a

Is there a way to say get the latest version in the project.xml file?

2009-11-02 Thread laredotornado
Hi, I'm using Maven 1.1. I have this dependency in my test/project.xml file ... dependency groupIdmyco.dor.dmv.driver.matching/groupId artifactIdmyco-dor-dmv-driver-matching-client/artifactId version${pom.currentVersion}/version /dependency However, there is no

Error when trying to run scm:perform-release

2009-10-27 Thread laredotornado
Hi, I'm using Maven 1.1. I'm trying to perform a release into our test environment using this command (from my root project folder): maven -Dmaven.scm.tag=myco-oit-governor-citizen-assistanceUtility-1_6-SNAPSHOT-20091027-01 scm:perform-release Unfortunately the command fails and here

What dependency do I need to include?

2009-10-22 Thread laredotornado
Hi, I'm using Maven 1.1. I'm writing unit tests for a console application but I'm having trouble connecting to the Oracle database, due to java.sql.SQLException: No suitable driver. Google has told me in so many words that this is a classpath issue. I tried adding this line in my JUnit setUp

Anyone know a shortcut? (Maven 1.1)

2009-10-14 Thread laredotornado
Hi, I'm using Maven 1.1. Right now, in my webapp project, I'm running maven war:install maven jar:install to generate my deployable WAR file and then to generate a JAR with the included classes so that my unit tests have something to look at. Does anyone know a way that I can run maven

RE: Anyone know a shortcut? (Maven 1.1)

2009-10-14 Thread laredotornado
: laredotornado [mailto:laredotorn...@gmail.com] Sent: Wednesday, October 14, 2009 1:54 PM To: users@maven.apache.org Subject: Anyone know a shortcut? (Maven 1.1) Hi, I'm using Maven 1.1. Right now, in my webapp project, I'm running maven war:install maven jar:install to generate my

RE: Anyone know a shortcut? (Maven 1.1)

2009-10-14 Thread laredotornado
Thanks for your reply. So there's ABSOLUTELY no way to type war:install and also have jar:install run after? - Dave Jeff Jensen wrote: You need to give your goal a unique name... -Original Message- From: laredotornado [mailto:laredotorn...@gmail.com] Sent: Wednesday

  1   2   >