Hello List,

I am a new user with Maven, so please excuse me if I am asking a trivial
question.

My question is that I have a 3rd party war file, which I would like to
extend with some additional functionality.   I read that if I in a war
project, I specify dependency on another war, then the two will be merged.
 However, I get stuck before that.

In my pom I have the following:
..
    <dependency>
      <groupId>net.sf.pebble</groupId>
      <artifactId>pebble</artifactId>
      <version>1.9</version>
      <type>war</type>
    </dependency>
..
pebble is a 3rdparty war that I've installed into my local repository with:
mvn install:install-file -Dfile=pebble.war -DgroupId=net.sf.pebble
-DartifactId=pebble -Dversion=1.9 -Dpackaging=war

When I try to create the new war with the war:war goal, then I get the
following:
Downloading:
http://repo1.maven.org/maven2/net/sf/pebble/pebble/1.9/pebble-1.9.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)

However, this file should (and does) exist in the local repository. Is
there some fundamental flaw in my understanding of Maven or am I just
missing some step?

Thanks,
Soren Davidsen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to