You don't say which container you're using. We just had this problem with
WebLogic (the EAR file that we deploy was very large, leading to deployment
times of 30+ minutes). Our solution to this was to place as many of the JARs
as possible in the system classpath (a classpath that the
As it appears in your email, you have spaces in the goal name:
sample.plugin:maven-hello-plugin :1.0-SNAPSHOT: sayhi
isn't the same as
sample.plugin:maven-hello-plugin:1.0-SNAPSHOT:sayhi
is it?
-Original Message-
From: simoha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03,
My first response to the original question is...why? Which of maven's
functionality would you like to take advantage of on your project?
I've never tried this, nor have I even thought about it. Maven is
intended for Java projects. I would think its theoretically possible to
do this, but that
I run the EAR plugin 2.3.1 and maven 2.0.9. The webModules element
needs to be wrapped in the modules element, like this:
build
plugins
plugin
...
configuration
...
modules
webModule
Hi,
I am on a multi-module project with a large number of dependencies. I
am trying to run the site:site goal in Maven 2.0.8. When it gets to
the Dependencies report, it appears to process all of the dependencies,
but then it seems to connect to each of our specified repositories
several times.
There is a weird issue which we have been facing. For some of maven
plugins, we don't have versions defined in our POM. So I assume Maven
tries to download latest versions for these plugins from the central
repository. I see the central repository has a version 2.3.2( from my
browser) but then
Sorry if this scenario is a bit involved
Take the following multi-module project:
-granddaddy
-child1
-grandchild1
-child2
-child3
-grandchild2
granddaddy is a parent of child1, child2 and child3, child1 is a parent
of grandchild1 and
I have a POM which aggregates several other projects. I am trying to
run scm:update on the master POM. If this is an aggregator plugin
(per the scm plugin's documentation), shouldn't it update the projects
that it contains? It does not seem to do this for me-it only updates
the current project.
Apologies for the length, but it's mostly sample code...
I am reworking a multi-module project, using Maven 2.0.8, with the
following structure:
master-project (pom)
midlevel-project1 (pom)
midlevel-project2 (jar)
war-project (war)
On Mon, 2008-03-31 at 16:39 -0400, Dhruva Reddy wrote:
Let's try depicting this again...
master-project (pom)
midlevel-project1 (pom)
war-project (war)
ear-project (ear)
midlevel-project2 (jar)
-Original Message-
From: Dhruva Reddy [mailto
-plugin:effective-pom
Hope that helps,
-john
On Feb 7, 2008, at 4:50 PM, Dhruva Reddy wrote:
I know this seems like a silly thing to post on here, but...
What exactly is a goal and what is a phase? I can't find a good
answer in the documentation and there's a lot of seemingly
I know this seems like a silly thing to post on here, but...
What exactly is a goal and what is a phase? I can't find a good answer in the
documentation and there's a lot of seemingly conflicting information out there.
My current understanding is that a phase is a part of a lifecycle
with Maven 2
On Jan 3, 2008 5:58 PM, Dhruva Reddy [EMAIL PROTECTED] wrote:
However, when I run the package goal, which runs the unit tests before
creating the WAR file, I can see that both versions of the file make it
into the target directory, one under classes and one under
test-classes
I am working with a Java web application and trying to filter resources for
inclusion in the WAR file. This application runs in Tomcat.
There is one file in particular, context.xml, which resides in
src/main/webapp/META-INF/context.xml. I have the following in pom.xml:
build
...
filters
I am working on a web application with JUnit 3 tests. We have resources
which are different for running within the application (within the
container) and within JUnit tests (outside the container). An example
is persistence.xml (the configuration file for Hibernate Entity
Manager). The
15 matches
Mail list logo