Re: buid error

2006-07-24 Thread dcabasson


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 use the plugins.

Denis.
-- 
View this message in context: 
http://www.nabble.com/buid-error-tf1989923.html#a5463134
Sent from the Maven - Users forum at Nabble.com.


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



Re: buid error

2006-07-24 Thread dcabasson


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: 
http://www.nabble.com/buid-error-tf1989923.html#a5463187
Sent from the Maven - Users forum at Nabble.com.


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



Re: Separate static content in war

2006-07-24 Thread dcabasson


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 default, all ressources from the webapp directory are copied (without
filtering), and your extras webRessource configuration is added to the
war

Denis.
-- 
View this message in context: 
http://www.nabble.com/Separate-static-content-in-war-tf1981030.html#a5463278
Sent from the Maven - Users forum at Nabble.com.


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



Re: Parent POM with Resources

2006-07-24 Thread dcabasson


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 config
 files...
 

Common practice is indeed to have a build-tools module, with packaging jar.

To use this module (with checkstyle), in the build/plugins part, of your
parent POM:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-checkstyle-plugin/artifactId
dependencies
dependency
groupIdcom.myApplication/groupId
artifactIdbuild-tools/artifactId
version1.2-SNAPSHOT/version
/dependency
/dependencies
configuration
configLocationyour_checks.xml/configLocation
/configuration
/plugin

Every sub-project will now use this checkstyle configuration.

Denis.

-- 
View this message in context: 
http://www.nabble.com/Parent-POM-with-Resources-tf1990950.html#a5463782
Sent from the Maven - Users forum at Nabble.com.


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



Re: [m2] Assemby plugin Question

2006-07-21 Thread dcabasson

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
 http://maven.apache.org/plugins/maven-assembly-plugin/unpack-mojo.html
 says that it can only unpack jar ans zip files.
 
 Ben
 
-- 
View this message in context: 
http://www.nabble.com/-m2--Assemby-plugin-Question-tf1966965.html#a5429055
Sent from the Maven - Users forum at Nabble.com.


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



Re: basedir JavaSource does not exist

2006-07-21 Thread dcabasson


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, isn't it?)

Denis.
-- 
View this message in context: 
http://www.nabble.com/basedir-JavaSource-does-not-exist-tf1973672.html#a5430061
Sent from the Maven - Users forum at Nabble.com.


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



Re: [m2] Another findbugs plugin problem - site goal resides into a nullpointer execption

2006-07-21 Thread dcabasson

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: 
http://www.nabble.com/-m2--Another-findbugs-plugin-problem---site-goal-resides-into-a-nullpointer-execption-tf1978903.html#a5430086
Sent from the Maven - Users forum at Nabble.com.


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



Re: pack multiple jars into one

2006-07-21 Thread dcabasson

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 together, I guess you should put the
scope provided for any other jar on your depending upon.

Cheers.

Denis.


Eric Zhao wrote:
 
 my project has 3 modules, one of which depends on the other two. After i
 package it with Maven 2, i got 3 jars. This is ok but i want to pack them
 into one jar file (so that when i distribute it, my client has to deal
 with one jar file). How to do that?
 

-- 
View this message in context: 
http://www.nabble.com/pack-multiple-jars-into-one-tf1976655.html#a5430095
Sent from the Maven - Users forum at Nabble.com.


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



Re: AW: [m2] Another findbugs plugin problem - site goal resides into a nullpointer execption

2006-07-21 Thread dcabasson

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 with
findbugs:findbugs

Denis.


Arne Sutor wrote:
 
   reporting
   plugins
 !--  plugin
   groupIdmaven-plugins/groupId
   
 artifactIdmaven-findbugs-plugin/artifactId
   version1.0-SNAPSHOT/version
   configuration
   
 outputDirectorytarget/site/outputDirectory
   thresholdLow/threshold
   /configuration 
   /plugin--
   /plugins
   /reporting
 
 With regards,
 
 Arne
 

-- 
View this message in context: 
http://www.nabble.com/-m2--Another-findbugs-plugin-problem---site-goal-resides-into-a-nullpointer-execption-tf1978903.html#a5430351
Sent from the Maven - Users forum at Nabble.com.


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



Re: [M2]Release plugin and host authentication

2006-07-21 Thread dcabasson


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 programs (why not use internal maven ones),
these file might not be used. (I guess putty is storing known_hosts
somewhere in registry).
Well, anyone, try with this file, and try with maven native ssh connection.

Hope it helps.

Denis.
-- 
View this message in context: 
http://www.nabble.com/Default-dir-fo-site-src-tf1976644.html#a5431309
Sent from the Maven - Users forum at Nabble.com.


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



Re: Default dir fo site src

2006-07-21 Thread dcabasson


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 dependencyManagement part, I guess)

Denis
-- 
View this message in context: 
http://www.nabble.com/Default-dir-fo-site-src-tf1976644.html#a5431340
Sent from the Maven - Users forum at Nabble.com.


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



Re: Default dir fo site src

2006-07-21 Thread dcabasson


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 in the dependencies. In the
build/plugins/plugin, it should work just fine (you have got a in extra,
and relative paths shouldn't start with a '/', I guess).
-- 
View this message in context: 
http://www.nabble.com/Default-dir-fo-site-src-tf1976644.html#a5434465
Sent from the Maven - Users forum at Nabble.com.


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



Re: multi-module project site: link to module sites

2006-07-21 Thread dcabasson


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 everything is working just fine

Denis
-- 
View this message in context: 
http://www.nabble.com/multi-module-project-site%3A-link-to-module-sites-tf1980169.html#a5434633
Sent from the Maven - Users forum at Nabble.com.


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



Re: BBWM : Chapter 6 build failure due to PMD

2006-07-21 Thread dcabasson


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 something.

I just downloaded the example from mergere, and everything is working fine:
[INFO]
-
---
[INFO] Building Maven Proficio XStream Store
[INFO]task-segment: [install]
[INFO]
-
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 1 source file to
E:\Temp\proficio\proficio-stores\proficio-store-xstre
am\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 2 source files to
E:\Temp\proficio\proficio-stores\proficio-store-xstr
eam\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
E:\Temp\proficio\proficio-stores\proficio-stor
e-xstream\target\surefire-reports

---
 T E S T S
---
Running com.mergere.mvnbook.proficio.store.xstream.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.541 sec
Running com.mergere.mvnbook.proficio.store.memory.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec

Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar:
E:\Temp\proficio\proficio-stores\proficio-store-xstream\tar
get\proficio-store-xstream-1.0-SNAPSHOT.jar
[INFO] Preparing pmd:check
[INFO] [pmd:pmd]
[INFO] [pmd:check {execution: default}]
[INFO] Preparing cobertura:check
..

run a mvn pmd:check with the -e options on proficio-store-xstream, maybe we
could learn more about your PMD error.

Denis
-- 
View this message in context: 
http://www.nabble.com/BBWM-%3A-Chapter-6-build-failure-due-to-PMD-tf1980425.html#a5434932
Sent from the Maven - Users forum at Nabble.com.


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



Re: [m2] Calling goals outside a plugin

2006-07-20 Thread dcabasson

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 your goal2 ant target to the package phase (or whatever,
depending on what your goals are).
And Maven will make sure everything has been going fine until the package
phase, including your goal1 ant target.

So, to sum it up, there is no general answer to your question. It
depends But most of the time, maven 2 solution is far simpler that what
you're trying to maintain in your maven1/ant targets.

Be sure to read the M2 FAQ for Maven 1 users:
http://maven.apache.org/maven1.html

Denis


hibikijoji wrote:
 
 To all,
 
 I am currently migrating from the Maven 1 to the Maven 2 build system.
 Here's the scenario:
 
 In maven 1, I have goals in maven.xml that has a prereq attribute. For
 argument's sake, let's say its:
 
 goal name=foo:bar
   prereqs=clean, goal1, goal2
 !-- insert some ant script code here --
 /goal
 
 If goal1 is specified within the plugin whereas goal2 isnt, What is the
 equivalent in implementing this in maven 2?
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/-m2--Calling-goals-outside-a-plugin-tf1970783.html#a5417037
Sent from the Maven - Users forum at Nabble.com.


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



Re: basedir JavaSource does not exist

2006-07-20 Thread dcabasson


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 a war out of your parent project

Denis.
-- 
View this message in context: 
http://www.nabble.com/basedir-JavaSource-does-not-exist-tf1973672.html#a5416917
Sent from the Maven - Users forum at Nabble.com.


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



Re: [m2] Another findbugs plugin problem - site goal resides into a nullpointer execption

2006-07-20 Thread dcabasson

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 findbugs in the
 reporting section. Reading the Mailing list archives I discovered several
 hints. Executing the coals findbugs:findbugs does not result into any
 errors. But as soon as I start the mvn site goal, I will get the following
 stack trace.
 
-- 
View this message in context: 
http://www.nabble.com/-m2--Another-findbugs-plugin-problem---site-goal-resides-into-a-nullpointer-execption-tf1970304.html#a5417228
Sent from the Maven - Users forum at Nabble.com.


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



Re: m2: Discovering problems with the maven-site and the maven-javadoc plugins - No staging of javadocs

2006-07-20 Thread dcabasson

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 the site goal generates everything fine
 including
 the javadoc. But as soon as I use the stage goal, maven seems not to stage
 the generated javadocs in the specified directory. Does anyone discovered
 that problem as well or is this just a settings thing. Browsing the
 mailing
 list archives did not worked out well. 
 
 Arne
 

-- 
View this message in context: 
http://www.nabble.com/m2%3A-Discovering-problems-with-the-maven-site-and-the-maven-javadoc-plugins---No-staging-of-javadocs-tf1970073.html#a5417309
Sent from the Maven - Users forum at Nabble.com.


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



Re: [m2] Assemby plugin Question

2006-07-20 Thread dcabasson

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
 dependent jars into it and instead of the webapp project creating a
 war file can it create a zip file, that the assembly plugin can unzip
 into the new webapp project. then when the new webapp project.
 

-- 
View this message in context: 
http://www.nabble.com/-m2--Assemby-plugin-Question-tf1966965.html#a5417541
Sent from the Maven - Users forum at Nabble.com.


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



Re: maven site broken under jdk1.4

2006-07-17 Thread dcabasson

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 tran wrote:
 
 Hello every one,
 
 I am not able to generate sql-maven-plugin site under jdk1.4  ( 1.5 is
 fine).
 
 Any suggesstion?
 
 
 -Dan
 
 
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Error during page generation
 
 Embedded error: Error rendering Maven report: Exit code: 1 - javadoc:
 Error
 fetc
 hing URL: http://jakarta.apache.org/commons/logging/api/package-list
 C:/dev/mojo/mojo-sandbox/sql-maven-plugin/src/main/java/org/codehaus/mojo/sql/De
 limiterType.java:60: warning - Tag @link: reference not found:
 org.apache.tools.
 ant.IntrospectionHelper IntrospectionHelper
 C:/dev/mojo/mojo-sandbox/sql-maven-plugin/src/main/java/org/codehaus/mojo/sql/De
 limiterType.java:60: warning - Tag @link: reference not found:
 org.apache.tools.
 ant.IntrospectionHelper IntrospectionHelper
 C:/dev/mojo/mojo-sandbox/sql-maven-plugin/src/main/java/org/codehaus/mojo/sql/De
 limiterType.java:60: warning - Tag @link: reference not found:
 org.apache.tools.
 ant.IntrospectionHelper IntrospectionHelper
 C:/dev/mojo/mojo-sandbox/sql-maven-plugin/src/main/java/org/codehaus/mojo/sql/Sq
 lExecMojo.java:53: warning - @goal is an unknown tag.
 C:/dev/mojo/mojo-sandbox/sql-maven-plugin/src/main/java/org/codehaus/mojo/sql/Sq
 lExecMojo.java:53: warning - @description is an unknown tag.
 
 

-- 
View this message in context: 
http://www.nabble.com/maven-site-broken-under-jdk1.4-tf1950989.html#a5357785
Sent from the Maven - Users forum at Nabble.com.


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



Re: Building multi modules individually and Copying artifacts

2006-07-17 Thread dcabasson

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 Cargo plugin:
http://cargo.codehaus.org/Maven2+plugin

You just have to bind it to your lifecycle phase (most probably install or
deploy, or integration-test, depending on what you want to do), and it will
deploy the war to your Tomcat Container.

As for being able to build independly each module, you can always do that,
but what's the point in doing so?
-- 
View this message in context: 
http://www.nabble.com/Building-multi-modules-individually-and-Copying-artifacts-tf1953804.html#a5358382
Sent from the Maven - Users forum at Nabble.com.


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



Re: how to copy resources while building war

2006-07-17 Thread dcabasson

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 doesn't relate to a single module, storing them inside
your webapp module would sound more consistent.

So maybe if you could precise why you want these property files within each
of your modules, and then stored in your WEB-INF folder, we could find
another solution...

Denis.

AK-8 wrote:
 
 Hi, I have a multimodule project, all modules' config properties are  
 stored within each module's directory. For example, kernel module has its  
 props in kernel/config folder.
 I have a web module, which uses all other modules, and all their  
 properties must be stored within web-inf folder as this web module  
 references them. If I make kernel/config a resource folder, config will be  
 put inside kernel.jar, and won't be available for web app. So I have to  
 copy the configs manually, which is annoying.
 

-- 
View this message in context: 
http://www.nabble.com/how-to-copy-resources-while-building-war-tf1954353.html#a5360138
Sent from the Maven - Users forum at Nabble.com.


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



Re: Is maven seeing another jar?

2006-07-17 Thread dcabasson

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
 
 
 Settings\mutonhj\.m2\repository\za\co\mycompany\eportal\eportal-domain\1.0.0\eportal-domain-1.0.0.jar
 

-- 
View this message in context: 
http://www.nabble.com/Is-maven-seeing-another-jar--tf1954355.html#a5360234
Sent from the Maven - Users forum at Nabble.com.


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



Re: Is maven seeing another jar?

2006-07-17 Thread dcabasson


-- 
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 commands, e-mail: [EMAIL PROTECTED]



Re: Is maven seeing another jar?

2006-07-17 Thread dcabasson

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 to use the top package name as groupId for the
artifact. Which could lead to a typo error in your case.

But it seems it's not the case and the names are different on purpose
(whatever this purpose is).

So, safe from a typo, I don't really see why this wouldn't work


Jeff Mutonho wrote:
 
 I don't understand how my package names inside the class can/should
 relate to groupIds
 

-- 
View this message in context: 
http://www.nabble.com/Is-maven-seeing-another-jar--tf1954355.html#a5360715
Sent from the Maven - Users forum at Nabble.com.


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



Re: extracting zip file?

2006-07-17 Thread dcabasson

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 this message in context: 
http://www.nabble.com/extracting-zip-file--tf1954718.html#a5361204
Sent from the Maven - Users forum at Nabble.com.


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



RE: extracting zip file?

2006-07-17 Thread dcabasson

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 war file in the tomcat webapps
 directory.
 
 Regards,
 Kapil
 

-- 
View this message in context: 
http://www.nabble.com/extracting-zip-file--tf1954718.html#a5361232
Sent from the Maven - Users forum at Nabble.com.


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



Re: Package war without web.xml

2006-07-17 Thread dcabasson

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: 
http://www.nabble.com/Package-war-without-web.xml-tf1954723.html#a5361278
Sent from the Maven - Users forum at Nabble.com.


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