rfrancisco wrote:
Hi peeps I ried executing this comman mvn jetty:run and it gives me this
error
The correct goal seems to be jetty:run-war
As for the plugin itself, it's not yet published in ibiblio.
Have a look here:
http://mojo.codehaus.org/using-sandbox-plugins.html
To know how to
rfrancisco wrote:
Hi peeps I ried executing this comman mvn jetty:run and it gives me this
error
Other alternative, the jetty6-maven-plugin:
http://maven.apache.org/plugins/maven-war-plugin/examples/rapid-testing-jetty6-plugin.html
Denis.
--
View this message in context:
maxmil wrote:
When i generate my war to export to my application server in my production
environment i don't want the htmls, gifs, jpgs etc to be copied.
Try changing the property:
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#warSourceDirectory
to an empty directory.
By
Nick Panienski wrote:
As far as I know I cannot include XMLs in a project that has a
packagingpom/packaging. I already tried to build a resources project
packaged as a jar and define a dependency in my parent pom. Maven doesn't
complain about this, but I still don't know how to access my
Sure,
But if your point is to add up to wars, you can just use the war plugin:
http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html
And no need for zips or whatever else.
Denis.
ben short-3 wrote:
I mentioned zips as the assembly plugin page
Jeff Mutonho wrote:
Can we have a look at your parent pom?
Looks like maven is trying to build a war out of your parent project
Sure thing.There goes :
Ok, that was not the interesting parent. Guess I wanted to say the eportal
pom (which is the parent of the eportal-web module,
Care to show the reporting section fo your pom?
Most of the time, these NPE comes from mispelled plugin names/groups (which
can explain that the plugin is working fine when launched from command
line).
Denis.
--
View this message in context:
Have a look at the maven-assembly-plugin. It basically does what you're
looking for.
http://maven.apache.org/plugins/maven-assembly-plugin/predefined.html
The jar-with-dependencies descriptor creates a single big jar with all of
your dependencies.
If you only want your own jars bundled
That's it, you're using the Maven 1 plugin, with Maven 2.
The correct M2 plugin is:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdfindbugs-maven-plugin/artifactId
/plugin
And that is the plugin you're lanching when using the command line
Sebastien Pennec wrote:
Does anybody know how to be able to answer 'yes' to that question? Or just
to get rid
of it?
Try adding an empty file ~/.ssh/known_hosts
Latest version of maven-wagon plugin will add the fingerprints of your hosts
there.
As you're using external ssh/scp
Vinay Kumar-5 wrote:
It doesn't work I also tried
siteSourceDirectory/path/to/site/dir/siteSourceDirectory
but no luck.
Try the parameter siteDirectory of maven-site-plugin:
http://maven.apache.org/plugins/maven-site-plugin/site-mojo.html
(you can put it in your dependencies or
Vinay Kumar-5 wrote:
Hi dcabasson ,
Will it not work by placing below mention part either in build or report:
I tried this but doesn't work. how we can put these in dependencies . In
dependencies we put jars on which our project depend.
Well, sure, this has nothing to do
Valerio Schiavoni-2 wrote:
but they are not there. why is maven-site used ?
if i look into parent/foo/target/site/index.html i can see the index for
Foo
(same for other submodules).
Which version of the maven-site-plugin are you using? I have got the
2.0-20060528.195659-9, and
Jeff Mutonho wrote:
I'm going through chapter 6 .Running mvn install for the
examples(as instructed on page 158) is giving me build failure due to
PMD violations.The offending projecting is proficio-store-xstream:
Are you sure your archive file is unaltered? Maybe you're missing
Hi,
When using maven 2, you have to stick to a pretty standard lifecycle (of
course, you could change it, but that wouldn't be a good idea).
What you generally do is bind an ant target to a lifecycle phase.
So for example, you can bind your goal1 ant target to the generate-source
phase, and
Jeff Mutonho wrote:
m2 is spitting out the error message basedir JavaSource does not exist
.I have the following in my maven-war-plugin config in my web
project pom(i.e D:\MAVEN-WORK\eportal\eportal-web\pom.xml)
Can we have a look at your parent pom?
Looks like maven is trying to build
Care to show the reporting section fo your pom?
Most of the time, these NPE comes from mispelled plugin names/groups (which
can explain that the plugin is working fine when launched from command
line).
Denis.
Arne Sutor wrote:
I set up my project do far and I wanted to include the
Nope, never heard of such a bug.
Maybe you could fill in a Jira issue and attach a test case?
Denis.
Arne Sutor wrote:
as newbie I am just playing around with maven2 in a multi-project
environment. While setting up the documentation for our project I
discovered
that maven when executing
AFAIK, Maven 2 will add up war contents, if your war2 project depends on the
war1 project.
So I guess that should be your solution (as far as I understand).
And no need for zips there...
Denis.
ben short-2 wrote:
So what im thinking is. If i create a webapp project that pulls the
Looks like the correct url for commons-logging api is
http://jakarta.apache.org/commons/logging/apidocs/package-list
rather than
http://jakarta.apache.org/commons/logging/api/package-list
But javadoc is supposed to handle that Maybe patching the sql plugin
would be fine :)
Denis.
dan
You just have to use the war packaging:
http://maven.apache.org/guides/mini/guide-webapp.html
And Maven will do most of the heavy work for you (building each separate
jar, and assembling all of it in your war file).
If you want to deploy this war to a Tomcat Container, just have a look at
the
Hi,
Why is having your property files inside the jar annoying? You can easily
access them, and if they relates only to a single module - which seems to be
the cas, since they are stored within each of your modules - it's quite
consistent to get them in this module's jar.
And if configuration
Hi,
Maybe you have some type worries. Seems to me you're looking for a
za.co.mycompany.portal, while groupId is za.co.mycompany.eportal.
That could be your point.
Denis.
Jeff Mutonho wrote:
location: class za.co.mycompany.portal.Organisation
--
View this message in context:
http://www.nabble.com/Is-maven-seeing-another-jar--tf1954355.html#a5360675
Sent from the Maven - Users forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
http://maven.apache.org/ref/2.0.3-SNAPSHOT/maven-model/maven.html#class_project
groupId : A universally unique identifier for a project. It is normal to
use a fully-qualified package name to distinguish it from other projects
with a similar name (eg. org.apache.maven).
It's common practice
You can have a look at the antrun plugin:
http://maven.apache.org/plugins/maven-antrun-plugin/
It can easily unzip a file.
But the real question is: why would you need to extract a file?
Denis.
Kapil Gupta(CT) wrote:
Hi,
Is there any way to extract zip file thru a pom file?
--
View
Have a look at the cargo plugin, it is just the thing you're trying to do:
http://cargo.codehaus.org/Maven2+plugin
Cheers!
Denis.
Kapil Gupta(CT) wrote:
Thanks for your reply Adam.
Actually I want to extract tomcat server which is saved in zip format in
my cvs repository and then copy my
Well, most probably, you don't :)
A webapp has to have a web.xml file. So you're probably trying to tweak
Maven in a way he doesn't want to... What are you trying to do?
Denis.
Lucas Gonçalves-2 wrote:
How can i package a war file without web.xml?
--
View this message in context:
28 matches
Mail list logo