Hello,
I'm new to maven and I have a question regarding multiple projects and
how the can be linked. I've created a common code project, and I
have another which depends upon this project. I've got two
directories, two pom files, etc., and the common code project can
generate a jar file
Graham,
Thanks for your advice. I was wondering if parent/child relationships
were the answer. However, there are two problems with this approach.
The first is that I'm writing a plugin to a product and it created the
maven project, and I note it's declared a parent:
parent
Hi Rafael,
Thanks for your response.
My question surrounds dependencies, and while I understand how to
declare a dependency, what I want to know is how I make maven recompile
dependencies.
So if A depends on B, and I run 'mvn jar' in project B, how can I make
it recompile (and I guess, run 'mvn
Hi,
B is a set of common code (such as LDAP user retrieval), and multiple projects
will require this code. I could simply have one project and a common package
for what would reside in B, but I'd prefer to break it out as the unified
source tree approach would become heavily dependent on
Hello,
Thanks for your feedback.
I really don't think I'm trying to make a simple problem into a
difficult one, so perhaps I can outline my thoughts again?
Consider two separate projects: common and plugin. In Eclipse, you'd
create two projects and add common to the build path of plugin. If
Hi,
Perhaps I am simply thinking about one developer making life easier for
themselves! I hadn't considered the multiple developer aspect, although it may
still be handy to have such functionality. However someone suggested something
about a parent pom and multiple modules, which seems a
Hello,
Is there a parent project that will insist in deploying resources to a
Tomcat project? I am currently doing:
mvn -o jar:jar; cp target/CreateOrCommentHandler-0.0.1-SNAPSHOT.jar
~/tomcat/webapps/myapp/WEB-INF/lib/
However this doesn't seem very in tune with maven's way of doing things.
Hi,
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: 13 November 2008 18:14
To: Maven Users List
Subject: Re: Tomcat projects
Google tells me there are a few tomcat plugins for Maven.
http://mojo.codehaus.org/tomcat-maven-plugin/
http://cargo.codehaus.org/
Hi,
Is there any way to get the maven build process to include a set of jars
when compiling/packaging that are not in the repository? I have some
vendor jars and I don't fancy packing them all up and placing them into
the repository - I just want to point maven at a lib directory?
Thanks,
Excellent - do you happen to have a pom extract to, say, include the
contents of ./lib on the compile path?
-Original Message-
From: David C. Hicks [mailto:[EMAIL PROTECTED]
Sent: 28 November 2008 20:45
To: Maven Users List
Subject: Re: Third party jars
The assembly plugin can
Hi,
Thanks for all the feedback. I guess my reasoning was that inventing
the meta data (group/artifactId/version) for 20 jars is a little time
consuming - is there an easier way to do this? I.e. Is there a maven
command to take a directory full of jars and upload them into my local
repository
Hi,
Thanks for the suggestion, but I was already aware of this and I was
wondering if there's an easier mechanism? Such as mvn being smart with
the jar name and coming up with the group/artifact ID, but I suspect
that's beginning to ask too much!
John
-Original Message-
From:
12 matches
Mail list logo