Re: examples of assembly descriptor that excludes dependencies

2006-08-22 Thread Barrie Treloar
On 8/22/06, J. Matthew Pryor [EMAIL PROTECTED] wrote: I am trying to exclude dependencies from a dependcySet in an assembly descriptor, but can't find any examples of how to do it. From looking at the code it looks like I should be able to exclude dependencies by groupId/artifactId but I can't

obfusacted jar files

2006-08-22 Thread manoj kaushik
hi everyone can anyone tell me how to create obfuscated jar files through maven 1.0 thanks Manoj Kaushik

Re: examples of assembly descriptor that excludes dependencies

2006-08-22 Thread J. Matthew Pryor
Gee thanks. My google search did much worse, I'll try nabble next time. Now I have to try get my head around classifier/ ;-) jmp Barrie Treloar wrote: On 8/22/06, J. Matthew Pryor [EMAIL PROTECTED] wrote: I am trying to exclude dependencies from a dependcySet in an assembly descriptor, but

RE: [m2] howto run the maven compiler two times ?

2006-08-22 Thread Jörg Schaible
Nicolas De Loof wrote on Monday, August 21, 2006 5:31 PM: Hello, I've a requirement for a utility lib to include both Java1.3 and Java5 code. I don't want to split my lib into two jars, but to split the source three into src/main/java and src/main/tiger. I'm searching for a way to

Re: [m2] howto run the maven compiler two times ?

2006-08-22 Thread Nicolas De Loof
JBoss has a custom maven-jboss-compiler-plugin that seems to do this. I solved this myself by configuring the compiler plugin to run twice, and excluding non Java1.3 classes for default (first) compile. But this require to setup in the POM excludes patterns : plugin

RE: Hibernate3 plugin cannot find resource specified in hibernate.cfg.xml file

2006-08-22 Thread Bryan Woodcox
Lakshman, Thanks for the response. My Category.hbm.xml was not in the src/main/resources directory, but I have moved it there to now avail. I am running mvn clean generate-sources to execute the build. Attempting a mvn clean resources:resources hibernate3:hbm2java yields the same

Re: [m2] howto run the maven compiler two times ?

2006-08-22 Thread Nicolas De Loof
Thanks, this is the solution I'm also using. Works but reuires to update the POM on every new Java5 class added to project... Jörg Schaible a écrit : It has flaws, but it works: http://jira.codehaus.org/browse/MCOMPILER-37 (see my comment) - Jörg

Re: examples of assembly descriptor that excludes dependencies

2006-08-22 Thread Barrie Treloar
On 8/22/06, J. Matthew Pryor [EMAIL PROTECTED] wrote: Gee thanks. My google search did much worse, I'll try nabble next time. Now I have to try get my head around classifier/ ;-) Your welcome. Classifier is easy. For most things it is empty! The assembly plugin uses the classifier to

[m2] release failing on tag because some of the maven modified poms have not been checked in

2006-08-22 Thread Barrie Treloar
[INFO] Checking in modified POMs... [INFO] Executing: cvs -z3 -f -d :pserver:USER@HOST:CVS_ROOT -q commit -R -F C:\TEMP\scm-commit-message188 38.txt pom.xml module1/pom.xml module2/pom.xml module3/pom.xml module4/pom.xml [INFO] Working directory: D:\ide\workspace\working_directory [INFO] Tagging

Re: [m2] release failing on tag because some of the maven modified poms have not been checked in

2006-08-22 Thread Barrie Treloar
[ERROR] BUILD FAILURE came from mvn release:prepare I'm going to delete the module definitions and try again. My parent pom defines the dependencyManagement versions. Which means that I have to hand edit this section first and promote the values out rather than get the release plugin to do

Assembly plugin issues

2006-08-22 Thread Owen Jacobson
Good evening. I'm trying to use my root POM to build an assembly corresponding to what my current final ant build generates, which has all the project JARs as well as source to one module laid out like: foo-1.2.zip: foo-1.2/README foo-1.2/foo-a-1.2.jar foo-1.2/foo-b-1.2.jar

Re: Assembly plugin issues

2006-08-22 Thread Barrie Treloar
foo-1.2/src/com/example/Example.java [del] !-- include example src -- moduleSet includes includecom.example.foo:foo-examples/include /includes sources outputDirectory/src/outputDirectory /sources /moduleSet /moduleSets /assembly I'd

RE: mvn 2: create jar in war

2006-08-22 Thread Zeltner Martin
Vote for http://jira.codehaus.org/browse/MPWAR-30 Cheers, Martin -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Montag, 21. August 2006 22:42 To: Maven Users List Subject: Re: mvn 2: create jar in war On 8/21/06, Attila Mezei-Horvati [EMAIL PROTECTED]

RE: mvn 2: create jar in war

2006-08-22 Thread Jörg Schaible
Zeltner Martin wrote on Tuesday, August 22, 2006 9:26 AM: Vote for http://jira.codehaus.org/browse/MPWAR-30 This will hardly help, since MPWAR refers the Maven 1 plugin, but the OP searches a solution for M2 ... - Jörg - To

Re: Assembly plugin issues

2006-08-22 Thread Owen Jacobson
On 8/22/06, Barrie Treloar [EMAIL PROTECTED] wrote: foo-1.2/src/com/example/Example.java [del] !-- include example src -- moduleSet includes includecom.example.foo:foo-examples/include /includes sources outputDirectory/src/outputDirectory

Maven with cargo plugin

2006-08-22 Thread HUGOT Franck
Hello, With cargo plugin, I would like to know if it's possible in only one goal to deploy a war if it does not exist in a container (example tomcat), and redeploy it if it already exists. I try to use deployer-redeploy or deployer-deploy goals, but it throws an error. Thanks a lot. Franck

Re: Does maven2 eclipse plugin suppor multi-module projects

2006-08-22 Thread Jon SlinnHawkins
Hi, Try running the eclipse:eclipse goal from the parent project. Cheers Jon Barrie Treloar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How are your dependencies declared? A parent pom, since it is just a container project and does not create an artifact, does not

Re: Assembly plugin issues

2006-08-22 Thread Barrie Treloar
No love there. It still duplicates the foo-1.3-SNAPSHOT part of the path* in the sources. Good point about not needing to name a directory 'src' myself, though. At this point I'd be happy if it just put it in as foo-1.3-SNAPSHOT/example/pom.xml etc. * Like this:

Re: Assembly plugin issues

2006-08-22 Thread Owen Jacobson
On 8/22/06, Barrie Treloar [EMAIL PROTECTED] wrote: No love there. It still duplicates the foo-1.3-SNAPSHOT part of the path* in the sources. Good point about not needing to name a directory 'src' myself, though. At this point I'd be happy if it just put it in as

Re: Assembly plugin issues

2006-08-22 Thread Owen Jacobson
However I have one last thing to try: I notice that you have two moduleSet declarations. Can you not collapse them into one? which contains both the source and the binary sections? I suspect that might be the problem. Just for grins I tried this anyways. It still duplicated the

RE: mvn 2: create jar in war

2006-08-22 Thread Zeltner Martin
Sorry. I've yust created a new issue for M2 http://jira.codehaus.org/browse/MWAR-70 BTW, I didn't recognize that the MPWAR is for Maven1. Cheers, Martin -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Dienstag, 22. August 2006 09:30 To: Maven Users List

Re: scm with VSS

2006-08-22 Thread Mathias Brökelmann
ok I don't want to start a flame war ... We are facing the same situation here. But our strategy is to move from vss or cvs to subversion before we start using maven. We need to restructure our projects and this shouldn't be done with vss or cvs. I don't know whats wrong with the vss provider

Re: Cobertura 1.8 pom (on ibiblio) contains errors and is invalid

2006-08-22 Thread Guillaume Bilodeau
Jimisola Laursen wrote: Hi! Not sure who is responsible, but I've been trying to make cobertura-maven-plugin use cobertura 1.8 instead of 1.7 due to problems with AspectJ. In the process of this I get the error below and it looks as if the deployed cobertura 1.8 contains errors. Not

Re: Maven 2.0.4 : wrong changelog reports generated links (svn)

2006-08-22 Thread Rob MavenUser
Posted here : http://jira.codehaus.org/browse/MCHANGELOG-45 -- View this message in context: http://www.nabble.com/Maven-2.0.4-%3A-wrong-changelog-reports-generated-links-%28svn%29-tf2140898.html#a5921539 Sent from the Maven - Users forum at Nabble.com.

Re: [m2] maven.test.skip=true on by default?

2006-08-22 Thread Jon SlinnHawkins
Hi Doug, I have achieved what i wanted. I had to modify the CC source, but it was a very minor change. I have modified the Maven2Builder class to run all the goals in the goal set before failing the build. So i now have schedule interval=600 maven2 mvnscript=mavenExec;

RE: Maven with cargo plugin

2006-08-22 Thread Vincent Massol
Hi Franck, -Original Message- From: HUGOT Franck [mailto:[EMAIL PROTECTED] Sent: mardi 22 août 2006 09:36 To: Maven Users List Subject: Maven with cargo plugin Hello, With cargo plugin, I would like to know if it's possible in only one goal to deploy a war if it does not

Using Cactus with Maven2

2006-08-22 Thread matthias . kraft
Hi! I am looking for a possibility to use Cactus with Maven2. There seems not to exist a Plugin von M2. How can I integrate it. (I am doing container manipulation (WebSphere6) using the exec plugin.) Any help would be gratefully received! Thx, Matthias

Re: [repo manager] first try [solved]

2006-08-22 Thread Nicolas De Loof
Solved : My tomcat server was running as a service and it cannot access smb drives, (my private repo) Is there any plan to make Archiva maven1 compliant ? I'd like to avoid having two repositories, so I'll migrate my maven1 repo to maven2 and use apache RewriteRule (like ibiblio does) +

Re: m2eclipse and Proximity

2006-08-22 Thread Tamás Cservenák
Hi Henrique, it seems to me that this is M2eclipse plugin issue (as you said, Proximity works well with mvn on command line) m2eclipse is still 0.0.9, and I have issues with it too: i cannot force it to use another localRepo instead the default one :( also, the offline switch seems that

Re: I don´t want put jsp in my war!

2006-08-22 Thread Sebastien Cesbron
build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdjspc-maven-plugin/artifactId executions execution idjspc/id configuration inputWebXml${basedir}/src/main/webapp/WEB-INF/web.xml/inputWebXml

Re: I don´t want put jsp in my war!

2006-08-22 Thread Lucas Gonçalves
That´s it! Thanks. On 8/22/06, Sebastien Cesbron [EMAIL PROTECTED] wrote: build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdjspc-maven-plugin/artifactId executions execution idjspc/id configuration

Re: I don´t want put jsp in my war!

2006-08-22 Thread jx
Seb, you are tricker !! I was who told you about this solution ! then the thanks are for me :) Lucas Gonçalves-2 wrote: That´s it! Thanks. On 8/22/06, Sebastien Cesbron [EMAIL PROTECTED] wrote: build plugins plugin groupIdorg.codehaus.mojo/groupId

Re: new using maven., please help me

2006-08-22 Thread Miren
How can i overwrite he default source and webapp drectory? this: my app drectories are: JavaSource for one proyect and java.javs for other (this into the java sorces) and html or WebContent or WebApplication for the web application How can i use maven 2 for using this directories for the

ideauidesigner-maven-plugin failed with JDK1.5

2006-08-22 Thread Olivier Catteau
Hi, I use ideauidesigner-maven-plugin, I don't understand that the compilation of IDEA forms doesn't work when I try to compile with JDK1.5 (it works with JDK1.4). Has anyone had the same problem ? It seems that it comes from the bcel-5.1.jar downloaded from the remote repository. To overcome

Re: new using maven., please help me

2006-08-22 Thread Alex Turner
The point of using maven is to use convention over configuration - if you override the conventions, you loose half the benefit of using maven. Move your source directory rather than configuration maven. Alex. On 8/22/06, Miren [EMAIL PROTECTED] wrote: How can i overwrite he default source

generate web site with maven

2006-08-22 Thread Attila Mezei-Horvati
Hello, I was thinking to try and generate my website using maven. I read the docs and created a src/site/xdoc folder with files in it (index.xdoc, about.xdoc) but they don't show up in the generated target. The target site seems to be just the generic maven site. Is there a way to create a custom

Re: Cobertura 1.8 pom (on ibiblio) contains errors and is invalid

2006-08-22 Thread Wayne Fay
This can only happen with a new cobertura-maven-plugin release, which is up to the owners of the c-m-p plugin. You will probably need to speak with them directly to find out when they plan a new release of this plugin, etc. Wayne On 8/22/06, Guillaume Bilodeau [EMAIL PROTECTED] wrote:

hibernate3-maven-plugin:hbm2doc: IndexOutOfBoundsException

2006-08-22 Thread Kaj Hejer
Hi! When running mvn hibernate3:hbm2doc when using hibernate3-maven-plugin I get the following stacktrace: DEBUG 22.08 11:13:15 (TemplateHelper.java:220) - putInContext docFile=index.html INFO 22.08 11:13:15 (VelocityProducer.java:46) - Writing doc/entities/ index.vm to

Re: [repo manager] first try [solved]

2006-08-22 Thread Brett Porter
It already is (send an m1 URL it's way, it will translate it). - Brett On 22/08/06, Nicolas De Loof [EMAIL PROTECTED] wrote: Solved : My tomcat server was running as a service and it cannot access smb drives, (my private repo) Is there any plan to make Archiva maven1 compliant ? I'd like to

Re: [repo manager] first try [solved]

2006-08-22 Thread Nicolas De Loof
How wonderfull ! I think i'll really love it... Brett Porter a écrit : It already is (send an m1 URL it's way, it will translate it). - Brett On 22/08/06, Nicolas De Loof [EMAIL PROTECTED] wrote: Solved : My tomcat server was running as a service and it cannot access smb drives, (my

Re: m2eclipse and Proximity

2006-08-22 Thread Tamás Cservenák
It seems that this issue was already known: http://jira.codehaus.org/browse/MNGECLIPSE-168 ~t~ On 8/22/06, Tamás Cservenák [EMAIL PROTECTED] wrote: Hi Henrique, it seems to me that this is M2eclipse plugin issue (as you said, Proximity works well with mvn on command line) m2eclipse is

Re: new using maven., please help me

2006-08-22 Thread Valerio Schiavoni
Hi Miren, On 8/22/06, Miren [EMAIL PROTECTED] wrote: How can i overwrite he default source and webapp drectory? something like: build sourceDirectory src/YOUR/DIRECTORY /sourceDirectory ... /build By the way, you should think carefully about adopting maven conventions, which is

Re: generate web site with maven

2006-08-22 Thread Tamás Cservenák
Hi Attila, The created XDOC files should be named as index.xml, about.xml and not .xdoc. ~t~ On 8/22/06, Attila Mezei-Horvati [EMAIL PROTECTED] wrote: Hello, I was thinking to try and generate my website using maven. I read the docs and created a src/site/xdoc folder with files in it

Re: m2eclipse and Proximity

2006-08-22 Thread Henrique Prange
Sorry, I didn't see that... Thanks, Henrique Tamás Cservenák wrote: It seems that this issue was already known: http://jira.codehaus.org/browse/MNGECLIPSE-168 ~t~ On 8/22/06, Tamás Cservenák [EMAIL PROTECTED] wrote: Hi Henrique, it seems to me that this is M2eclipse plugin issue (as you

Re: generate web site with maven

2006-08-22 Thread Tamás Cservenák
Hi again, the xdoc format is specified here: http://maven.apache.org/maven-1.x/plugins/xdoc/ but i don't know is there any XDOC changes in Maven2, since i could not find any info about it ~t~ On 8/22/06, Attila Mezei-Horvati [EMAIL PROTECTED] wrote: Hello, I was thinking to try and

[continuum] ruby xmlrpc client

2006-08-22 Thread Chris Berry
Greetings, Has anyone yet created a Ruby-based xmlrpc client for Continuum that they would be willing to share?? Thanks, -- Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [continuum] ruby xmlrpc client

2006-08-22 Thread Emmanuel Venisse
A very basic script is attached to http://jira.codehaus.org/browse/CONTINUUM-805 It need lot of work. Emmanuel Chris Berry a écrit : Greetings, Has anyone yet created a Ruby-based xmlrpc client for Continuum that they would be willing to share?? Thanks, -- Chris

Re: [m2] maven.test.skip=true on by default?

2006-08-22 Thread Doug Douglass
Nice work Jon, maybe add control of this behavior as an attribute to the maven2 element and submit it as a patch to the CC folks? I could see it coming in handy for others. Cheers. On 8/22/06, Jon SlinnHawkins [EMAIL PROTECTED] wrote: Hi Doug, I have achieved what i wanted. I had to modify

Re: mvn 2: create jar in war

2006-08-22 Thread David Smiley
I've done this off and on simply by doing mvn jar:jar. It'll create the jar in the target directory. I haven't integrated this into an automated build... I only have a need for this once in a rare while. ~ David Smiley Attila Mezei-Horvati wrote: How can I create a jar from the classes

RE: Problem with Maven 2 - AndroMDA team asked me to register it with Maven support

2006-08-22 Thread Naresh Bhatia
The only thing that surprises me is that I never faced this issue with Maven 1. It would either connect to the repository perfectly and download everything in one shot or if it could not connect, it would come to a dead stop - repeated tries never helped. Is Maven 2 different somehow in how it

Re: [repo manager] first try [solved]

2006-08-22 Thread Nicolas De Loof
I still have an issue : I cannot acces my corporate repo using smb filesystem. I've tried URL format that works with maven-proxy (file:/server/shared/path file:/servfichier/Maven_Repository/restricted) with no result. The issue I get is not really to make it work, but to know WHERE

Maven 2.0 - Common resource problem

2006-08-22 Thread David Blain
Hi, I'm having the following problem which I don't know how to handle in Maven: I have some jar projects which are/can being used by different war projects, no problem here. The problem is that is have a jar project (not war), which also has some related common resources (like eg html/jsp

Maven 2.0 - Common resource problem

2006-08-22 Thread David Blain
Hi, I'm having the following problem which I don't know how to handle in Maven: I have some jar projects which are/can being used by different war projects, no problem here. The problem is that is have a jar project (not war), which also has some related common resources (like eg html/jsp

Re: Maven 2.0 - Common resource problem

2006-08-22 Thread Jim Stafford
I had the same issue with schema files. I wanted to find a more elegant solution using zip files or the assembly plugin, but all fell short of what I really wanted. I got the job done with the following, but will be watching this thread for a better solution. I ... a) packaged the reusable

Re: Maven 2.0 - Common resource problem

2006-08-22 Thread Jim Stafford
I had the same issue with schema files. I wanted to find a more elegant solution using zip files or the assembly plugin, but all fell short of what I really wanted. I got the job done with the following, but will be watching this thread for a better solution. I ... a) packaged the reusable

Maven with no web-access

2006-08-22 Thread Daniel Nilsson
Hi! I wonder if anybody have some suggestion on how to solve my problem. I am setting up a Maven-solution on my company. Each user will use Maven just as normal, we will have a local repo etc. We will also have a build-server for continous building. The problem is that the build-server don't have

Use different database for test and package phase

2006-08-22 Thread fagfa
Hi, I have a database specific resource file which needs to copy to classes/META-INF and as a result, package into the jar file, for example, hsql.properties, mysql.properties, etc. I specify this database property in POM, and default value is hsql. The problem is that I only use hsql for my

Re: Use different database for test and package phase

2006-08-22 Thread fagfa
I thought it more, one possible solution is the following: 1) don't copy mysql.properties to classes/META-INF during process-resources phase; 2) copy hsql.properties to classes/META-INF as part of test resources; but how to overwrite the database property in this phase? 3) copy mysql.properties

Re: [repo manager] first try [solved]

2006-08-22 Thread Brett Porter
org.apache.maven.wagon.* I'm aware that the logging needs some clarity, its on the list. Are you interested in helping out fix some issues? We have a list archiva-[dev|[EMAIL PROTECTED] for discussing this now. - Brett On 22/08/06, Nicolas De Loof [EMAIL PROTECTED] wrote: I still have an

RE: Problem with Maven 2 - AndroMDA team asked me to register it with Maven support

2006-08-22 Thread tedh
My problem has been resolved. It had nothing to do with Maven. It was resolved by the AndroMDA team. In the process I have been introduced to Maven and now my interest is very high. Thanks to everybody involved. tedh

Re: [repo manager] first try [solved]

2006-08-22 Thread Nicolas De Loof
I just subscribed and will investigate my issue. I get it when Tomcat is ran as a Service, so it may be a SMB permission failure, but a WARN may be interesting in logs ! Brett Porter a écrit : org.apache.maven.wagon.* I'm aware that the logging needs some clarity, its on the list. Are you

RE: Use System Properties in Settings.xml?

2006-08-22 Thread Douglas Ferguson
Do variables defined in the pom work too? Which xml files can use variables like this? I remember trying a variable inside of a profile.xml and it didn't work. But I think the varaiable was defined in the pom and not and environment variable. -Original Message- From: Sharma, Jaikumar

Re: getting the sources and javadocs

2006-08-22 Thread Arik Kfir
As well as the IDEA plugin, of course ;-) On Mon, 2006-08-21 at 15:57 -0400, Tomislav Stojcevich wrote: The maven-dependency-plugin has a sources goal. http://mojo.codehaus.org/dependency-maven-plugin/introduction.html mvn dependency:sources This is not available in the released 1.0

maven-cobertura-plugin upgraded to cobertura 1.8 - (Was: Re: Cobertura 1.8 pom (on ibiblio) contains errors and is invalid)

2006-08-22 Thread Joakim Erdfelt
Funny that this should come up. I just committed MCOBERTURA-46 (Upgrade to cobertura 1.8) just a minute ago. There is a bug in the datafile location setting ability in cobertura 1.8 I have arranged a patch on the cobertura side, but need help from other interested parties to get it commited

Re: Maven with no web-access

2006-08-22 Thread Tamás Cservenák
Hi, check this out: http://proximity.abstracthorizon.org/chaining-proximity.html Hope this helps, ~t~ On 8/22/06, Daniel Nilsson [EMAIL PROTECTED] wrote: Hi! I wonder if anybody have some suggestion on how to solve my problem. I am setting up a Maven-solution on my company. Each user will

Maven cannot find dependencies classes from WEB-INF/classes

2006-08-22 Thread alexsun
I use this configuration in my pom file ... dependency groupId!-- groupId of the war --/groupId artifactId!-- artifactId of the war --/artifactId version! -- version of the war --/version typewar/type /dependency ... but during build process get error that

ant plugin and javah

2006-08-22 Thread Pierre Parrend
Hello, I'm using maven 2 with the ant plugin. I do not know if there is a specific mailing list, but somebody here can surely tell me. I get the following problem : will compiling a maven project than uses javah, maven cannot find suitable jar file. How is it possible to tell the plugin to

Re: Maven cannot find dependencies classes from WEB-INF/classes

2006-08-22 Thread Matt Raible
I discovered this same thing last week. http://www.nabble.com/Re%3A-Converting-AppFuse-to-a-Maven-2-Project-p5870757.html Seems like a bug to me, but it's probably more of a missing feature. What would it take to add this functionality? Thanks, Matt On 8/22/06, alexsun [EMAIL PROTECTED]

Is there a way to stop executing current project and return to the parent Is there a way to stop executing current project and return to the parent project?

2006-08-22 Thread S . Bloch
Hi I've got a problem. Is there a way to exit child project and getting back to parent project= ?? I'm writing simple plugin that checks if there were any local modificat= ions in files. If there weren't, it should go back to the parent project and check ano= ther child project Any

Is there a way to access MavenSession, PlexusContainer from plugin?

2006-08-22 Thread S . Bloch
Hi, Is there a way to access MavenSession, PlexusContainer or any other object from within pugin, that could give me acces to Lifecycle. I need to create plugin that would stop executing other phases in current project and let it go to the parent project depending on some circumstance. Thanks

Re: Use different database for test and package phase

2006-08-22 Thread Alexandre Russel
On Tuesday 22 August 2006 16:15, fagfa wrote: I had the same problem testing ejb. The unit test where using toplink but package needed to use jboss. You could use mvn test, and then instead of using -Ddb=mysql, use the antrun plugin to copy mysq.properties into /META-INF and maybe delete the

Re: mvn 2: create jar in war

2006-08-22 Thread Tamás Cservenák
Hi, (Maven2) if you need the WAR classes in JAR coz you want it to include in a WAR/lib, the logical path would be to separate your WAR into two Maven modules: one for Java sources only, which is packaging JAR and for WAR with packaging war for resources, jsps, etc which reference the previous

Re: ant plugin and javah

2006-08-22 Thread Dave Syer
How is it possible to tell the plugin to use more libraries ? for instances the ones that are present in $ANT_HOME/lib/ ? I don't know about $ANT_HOME/lib (maven isn't using $ANT_HOME so it probably isn't going to see those jars). Have you tried adding dependencies to the plugin in your build

Re: getting the sources and javadocs

2006-08-22 Thread Denis Cabasson
Just read what Tomislav wrote, this is a feature of the 1.1-SNAPSHOT version Denis Patrick Moore-3 wrote: Hi -- I tried : mvn dependency:sources and the plugin does not know about the sources goal (which is also not reference on the web page given below.) Is it possible

Re: Maven cannot find dependencies classes from WEB-INF/classes

2006-08-22 Thread Denis Cabasson
I guess this functionality isn't present in Maven, as it goes against the best practice Maven is trying to enforce. If an artifact is supposed to be used as both an external dependency and a webapp, it should be bundled in its own jar, and user as a normal dependency in both project. To be more

How to make maven quiet

2006-08-22 Thread EJ Ciramella
We're getting TONS of output when we run things like mvn compile or mvn test - some of is is our test classes but in the case of the compile, it's all maven output. How do we turn this down/off?

Re: Use different database for test and package phase

2006-08-22 Thread fagfa
Thanks. But I do want to use -D to pass database variable since I also package for other databases, such as oracle, db2, psql, etc. Alexandre Russel-2 wrote: On Tuesday 22 August 2006 16:15, fagfa wrote: I had the same problem testing ejb. The unit test where using toplink but package

Re: have to manually build each submodule?

2006-08-22 Thread Wojciech Biela
Denis! Thank you very much for your help... I just couldn't get out of the corner ... You are definitly missing something :) good :) For the eclipse part, you should run eclipse:eclipse from the root project to use project dependency instead of binary dependency (ie a module will directly

Surefire to run a custom testsuite

2006-08-22 Thread Pablo Gutierrez
Hi all, I'm setting up maven for a project and I just get to the point where everything compiles. I'm having troubles running the test lifecycle phase because for our unit tests we use a customized testsuite, so when we run our unit tests with the standard text runner from junit, we pass the

[m204] Help getting Maven to run with JDeveloper 10.x please...???

2006-08-22 Thread Mick Knutson
I am trying to add my maven application to JDeveloper workspace. Can anyone help me? When I import the ear file into JDeveloper, it just does not look the same? --- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson

Maven SQL failure

2006-08-22 Thread NWNaccari
I have a build that performs some sql through an ant script. My problem is this: When the sql fails, I want the build to fail; but I can't figure out how to make it fail. There does not seem to be a way to know the sql has failed and thus make the build fail. Any ideas I can try? The SQL is

Antrun issue

2006-08-22 Thread thiago
Hi, I have a multi-project with severals modules. I was trying to use the assembly plugin to create the final project structure. Unfortunatelly the assembly descriptor does not have all the features that I need to achieve this final structure. So I tried to use the antrun plugin. I could make

Re: Antrun issue

2006-08-22 Thread Mick Knutson
... On 8/22/06, thiago [EMAIL PROTECTED] wrote: Hi, I have a multi-project with severals modules. I was trying to use the assembly plugin to create the final project structure. Unfortunatelly the assembly descriptor does not have all the features that I need to achieve this final structure.

Re: Antrun issue

2006-08-22 Thread thiago
What? Mick Knutson-4 wrote: ... On 8/22/06, thiago [EMAIL PROTECTED] wrote: Hi, I have a multi-project with severals modules. I was trying to use the assembly plugin to create the final project structure. Unfortunatelly the assembly descriptor does not have all the features that I

Re: Antrun issue

2006-08-22 Thread Mick Knutson
Sorry, did not mean to respond. On 8/22/06, thiago [EMAIL PROTECTED] wrote: What? Mick Knutson-4 wrote: ... On 8/22/06, thiago [EMAIL PROTECTED] wrote: Hi, I have a multi-project with severals modules. I was trying to use the assembly plugin to create the final project structure.

[m204] JDevloper plugin not found

2006-08-22 Thread Mick Knutson
The plugin 'org.apache.maven.plugins:maven-jdeveloper-plugin' does not exist or no valid version could be found plugin groupIdmaven/groupId artifactIdmaven-jdeveloper-plugin/artifactId version1.4/version /plugin The plugin is

Re: generate web site with maven

2006-08-22 Thread Arnaud Bailly
Attila Mezei-Horvati [EMAIL PROTECTED] writes: Hello, I was thinking to try and generate my website using maven. I read the docs and created a src/site/xdoc folder with files in it (index.xdoc, about.xdoc) but they don't show up in the generated target. The target site seems to be just the

Re: have to manually build each submodule?

2006-08-22 Thread Arnaud Bailly
Hello, Wojciech Biela [EMAIL PROTECTED] writes: Well, I definitely have something wrong. I thought it though and I think my problem is different. My pom is quite complicated, as is my building process. In the master project I use the dependency-maven-plugin to add binary builds of the

Better builds with Maven book problem

2006-08-22 Thread Sri Sankaran
I am following through with the instructions in the Better Builds with Maven book. In section 5.3.3 it instructs to install the maven-buildinfo-plugin with a mvn install incantation. However it fails with the error Missing: --

How to copy directory to WEB-INF/lib directory fir war file

2006-08-22 Thread Gautham Pamu
Hi Everyone, I want to package a directory in the WEB-INF/lib directory for war file. Is it possible to copy directories to lib using maven war plugin. -- -Gautham Pamu

Jar With Dependencies

2006-08-22 Thread Douglas Ferguson
Does anybody have a suggestion for creating a jar with dependencies that has all the dependencies exploded? We have a module that is a composite of a bunch our other modules, the purpose of this is for our client who are using java integration rather than web integration. If I send them a

exec plugin - how to define more than one?

2006-08-22 Thread iceman
I've been able to successfully define the configuration for a single execution, but I would like to define more than one. IOTW, I have the following: ... plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions execution

[ANN] Proximity RC4 rolled out!

2006-08-22 Thread Tamás Cservenák
Hi All, the Proximity is finally got to RC4. It has three major improvements: aggregated metadata checksum is correctly calculated, emergeGroups that enables proper selective repository aggregation and WS interface publishing using XFire. See:

RE: maven2 / hibernate3- schema-export

2006-08-22 Thread Lakshman Srilakshmanan
Hi Marco The link I provided is for anonymous access as shown below. Happy hunting :) svn co http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/maven-hibernate3/hibernate3-maven-plugin hibernate3-maven-plugin Ahibernate3-maven-plugin/src Ahibernate3-maven-plugin/src/main A

RE: Hibernate3 plugin cannot find resource specified in hibernate.cfg.xml file

2006-08-22 Thread Lakshman Srilakshmanan
Hi Bryan, When you execute mvn clean resources:resources does your hibernate.cfg.xml file get copied into target/classes ? Thanks Lakshman -Original Message- From: Bryan Woodcox [mailto:[EMAIL PROTECTED] Sent: Tuesday, 22 August 2006 2:10 PM To: users@maven.apache.org Subject: RE:

Re: Assembly plugin issues

2006-08-22 Thread Barrie Treloar
On 8/22/06, Owen Jacobson [EMAIL PROTECTED] wrote: However I have one last thing to try: I notice that you have two moduleSet declarations. Can you not collapse them into one? which contains both the source and the binary sections? I suspect that might be the problem. Just for grins I

Suggestions for running Maven on an airgapped network

2006-08-22 Thread Kelly Harward
I am new to Maven and am currently looking at it to help bring order to a handful of related projects that are currently built using Ant. I have been working my way through Better Builds with Maven and trying to digest the information presented there. In section 2.1 (Preparing to Use

Surefire to run a custom testsuite

2006-08-22 Thread Pablo Gutierrez
Hi all, I'm setting up maven for a project and I just get to the point where everything compiles. I'm having troubles running the test lifecycle phase because for our unit tests we use a customized testsuite, so when we run our unit tests with the standard text runner from junit, we pass the

RE: Blame mechanism with SVN

2006-08-22 Thread Brian E. Fox
I was wrong about it being just on 1 commit. It is almost always missing although I have occasionally seen it. I created a jira: http://jira.codehaus.org/browse/CONTINUUM-827 -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Monday, August 21, 2006 5:42 AM To:

Re: Suggestions for running Maven on an airgapped network

2006-08-22 Thread Eric Redmond
It sounds like you could use a proxy. Before Tamás has time to reply, take a look at this ;-) http://proximity.abstracthorizon.org/ Eric On 8/22/06, Kelly Harward [EMAIL PROTECTED] wrote: I am new to Maven and am currently looking at it to help bring order to a handful of related projects

  1   2   >