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
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
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
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,
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]
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
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.
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
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
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
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
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
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
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).
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
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.
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
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
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
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
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,
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
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:
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:
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
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
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
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
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
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
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
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 -
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 ...
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
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:
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.
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
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
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;
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;
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,
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:
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.
-
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;
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
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
Hi,
I'm using Maven 3.0.3. I'm running an Ant-run exec command.
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
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
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
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,
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 --
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
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:
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
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
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:
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
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
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.
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,
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
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
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
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:
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
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
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?
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,
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?
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
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
'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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
: 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
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 - 100 of 112 matches
Mail list logo