Re: RE: Installing third party libraries

2006-09-05 Thread Stefan Magnus Landrø
Have a look here: http://maven.apache.org/plugins/maven-deploy-plugin/usage.html "Lakshman Srilakshmanan" <[EMAIL PROTECTED]> skrev 06.09.2006 08:05:01: > Hi Jochen, > > Is there a -DgenerateCheckSum=true ??? > > Where can I get all the available options ? > > Thanks > Lakshman > > > > ---

RE: Installing third party libraries

2006-09-05 Thread Lakshman Srilakshmanan
Hi Jochen, Is there a -DgenerateCheckSum=true ??? Where can I get all the available options ? Thanks Lakshman > -Original Message- > From: Jochen Wiedmann [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 5 September 2006 10:06 PM > To: Maven Users List > Subject: Re: Installing third party l

Re: Re: Is maven good to small projects

2006-09-05 Thread Stefan Magnus Landrø
I totally disagree with you, Sha! >From my experience, even small projects, with just a few dependencies, benefit from using maven. What are your alternatives? Can any other build system match maven's ability to produce: - a project layout - eclipse project - easy continuous integration - j

Re: not allowed in settings.xml

2006-09-05 Thread Doug Douglass
Another use case for allowing dependencyManagement in (a profile in) settings.xml that I ran into recently is overriding POM remote URLs (e.g., scp) with local ones (e.g., file) for use on a CI server that also houses corporate maven repositories and generated sites. BTW, this cut deploy goal buil

Re: Why would Maven Not look in local repo?

2006-09-05 Thread Rahul Thakur
You can also set up a Maven Proxy on your network. See here: http://maven-proxy.codehaus.org/ HTH, Rahul - Original Message - From: "Lakshman Srilakshmanan" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Wednesday, September 06, 2006 11:51 AM Subject: RE: Why would Maven Not look

Re: [m2] How to exclude resources from src/main/resources in the generated jar

2006-09-05 Thread Allan Ramirez
Hi Elid, try this src/main/resources/scripts **/* if it still doesnt work, try to use the plugin in the snapshot repository -allan Elid OR wrote: Hi all, I use maven 2.0.4. I have a jar project with this directory layout : src/main/ja

Re: Error on compiling a webapp. Strange class is required.

2006-09-05 Thread Max Cooper
I don't know the answer to your question. But I use the JarsBrowser tool a lot to scan for classes in directory trees full of jars: http://cmarton.free.fr/jarsbrowser/ It requires no installation. You can run it from the web page. I setup a "quick launch" style button to run it using this com

Re: ?

2006-09-05 Thread Nick Veys
my-ejb-jar ? On 9/5/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote: What's the point of having the option to specify the ejb jar name using my-ejb-jar when the when "my-ejb-jar-x.y.z" does not end up being installed in the repository? Is there a way of getting around this? --

Re: Where is the maven-embedder 2.1 API documented?

2006-09-05 Thread franz see
Good day to you, Aaron, You can check out the source for maven-embedder at http://svn.apache.org/repos/asf/maven/components/trunk/maven-embedder/ ^_^ Cheers, Franz Aaron Tarter wrote: > > Where are the soruces located? > > On 9/5/06, Milos Kleint <[EMAIL PROTECTED]> wrote: >> >> AFAIK it's

RE: Making a single independent and offline maven build directory

2006-09-05 Thread Lakshman Srilakshmanan
Hi Sepand, What you have done does not explain what you wanted to do. All that you have done is relocate your Local Repo (./m2/repository) to a new location. If that's what you wanted to do, then, what you did is correct. You can also include this in your ~/.m2/setting.xml to avoid the need to d

Re: Error on compiling a webapp. Strange class is required.

2006-09-05 Thread Sha Jiang
I've looking for where would be the class JspIdConsumer.class but without sucess. Why in any IDE it compile? Anyone knows where is the error? Which IDE are you using? I don't find the class with Eclispe and a j2ee.jar in its build path, but I can find other Servelt or JSP classes. You should chec

Re: Making a single independent and offline maven build directory

2006-09-05 Thread Sepand M
Hi, I found the solution: an initial run of: mvn -Dmaven.repo.local= [compile | install | etc.] after that: mvn -Dmaven.repo.local= -o [compile | install | etc.] This should also explain what I'm trying to do =) - Sepand On 9/5/06, Lakshman Srilakshmanan <[EMAIL PROTECTED]> wrote: Hi Sepand,

RE: Making a single independent and offline maven build directory

2006-09-05 Thread Lakshman Srilakshmanan
Hi Sepand, If you don't want access to the internet and no access to ~/.m2/repository where are you going to get your dependencies from ? an internal (company) Repository. If you are going to get it from an internal repository, then just remove ~/.m2/repository and run your build. This will downl

RE: Maven 2.0 Help

2006-09-05 Thread Lakshman Srilakshmanan
Hi Ritchie, Could you please provide a full listing of all the files in your directory including full directory structure. Eg dir /s > out.txt Could you also provide the full stack trace as the one you have provided appears to be missing information. Ref to line 3 below. > create test class 'com

RE: Why would Maven Not look in local repo?

2006-09-05 Thread Lakshman Srilakshmanan
Hi, I know the frustration. :) I was there ... Maven looks for updates "daily" at ibiblio using a reserved repository id "central". Maven is configured to look at this "daily" for updates. Hence, even if you have the plugins/jar file in your Local Repo it looks for new version daily at central an

Maven Respository Question

2006-09-05 Thread Dave M
i'm pretty new to maven (using maven2) and am evaluating its use within our organization. i saw a warning in some of my builds today that said it couldn't find the pom file in the axis - axis-jaxrpc/1.4 directory. so, i browsed around some of the repositories (both our local mavenproxy as wel

m2-proxy 0.3 released

2006-09-05 Thread Lukas Krecan
M2-proxy 0.3 - proxy for Maven repository have been released. It can be used for lowering Maven internet usage and for overcoming problems with web proxy. Version 3.0 contains enhanced standalone support and several bug fixes. You can download it from http://m2-proxy.sourceforge.net/

Re: directory v. outputDirectory

2006-09-05 Thread dan tran
a snapshot of this plugin is at http://people.apache.org/maven-snapshot-repository/ you can build the plugin yourself as well. -D On 9/5/06, Brad Harper <[EMAIL PROTECTED]> wrote: Failed to resolve this artifact org.apache.maven.plugins maven-dependency-plugin 2.0-SNAPSHO

Re: antrun classpaths

2006-09-05 Thread Lee Meador
Here is how I got it to work: In the POM I have this: maven-antrun-plugin generate-sources run ${projec

RE: directory v. outputDirectory

2006-09-05 Thread Brad Harper
Failed to resolve this artifact org.apache.maven.plugins maven-dependency-plugin 2.0-SNAPSHOT Brad > -Original Message- > From: dan tran [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 05, 2006 5:23 PM > To: Maven Users List > Subject: Re: directory v. outputDir

Re: directory v. outputDirectory

2006-09-05 Thread dan tran
please note that depenency-maven-plugin has been accepted into apache. It is now at http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-dependency-plugin/ The more ppl using this new plugin, the more chance we can get it released ;-) -D On 9/5/06, Brad Harper <[EMAIL PROTECTED]> wrote:

RE: directory v. outputDirectory

2006-09-05 Thread Brad Harper
org.codehaus.plugins:dependency-maven-plugin works. Thanks. Brad > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 05, 2006 1:30 PM > To: Maven Users List > Subject: Re: directory v. outputDirectory > > > Brad, you can use a combination

Making a single independent and offline maven build directory

2006-09-05 Thread Sepand M
Hi, I need to make a maven project build with no dependency on the internet. I also need this to be over the network (so no access to ~/.m2) and runnable without write permissions (except for the built files). If you're wondering, I'm hoping to check a copy of this into a source control system.

Why would Maven Not look in local repo?

2006-09-05 Thread NWNaccari
It seems that Maven is looking directly into the Ibiblio repo for items it should be finding in the local repo. They are there right where they were yesterday. Now the builds are failing because it can't find local versions of components when it looks in the central repo. There's nothing in

Re: [Newbie] Where is the better place to put some resources...

2006-09-05 Thread jim stafford
I put my ... * ddl in src/main/resources/ddl * ddl for populating for a test and not for the real product; src/test/resources/ddl * external resources in src/main/site/resources (/images, /whatever/images, /whatever/*.doc, etc) Dudu wrote: Where is the right place to put the ddl.sql of my da

[Newbie] Where is the better place to put some resources...

2006-09-05 Thread Dudu
Where is the right place to put the ddl.sql of my database. I think is the resource path. Am I right? And the reports generated of a UML project developed under another tool? Thanks

RE: M2, AntRun, Multi-Module Project and ant-classpath

2006-09-05 Thread Chris Hilton
Looks like MANTRUN-52. http://jira.codehaus.org/browse/MANTRUN-52 Chris > -Original Message- > From: Alexey Kakunin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 05 September, 2006 14:34 > To: users@maven.apache.org > Subject: M2, AntRun, Multi-Module Project and ant-classpath > > Hello!

M2, AntRun, Multi-Module Project and ant-classpath

2006-09-05 Thread Alexey Kakunin
Hello! I have followed strcuture of the project: masterProject - pom.xml - moduleProject - pom.xml maven-antrun-plugin junit So, I have master project. TYhis master project has no any own settings - just included subprojects as modules, moduleProject u

Maven 2.0 Help

2006-09-05 Thread Ritchie Francis
Hi, Sorry for pasting in a large stack trace but I'm tearing my hair out with Maven at the moment. I'm a newbie with this so please be patient. I downloaded Maven version 2.0 and followed the instructions regarding set up. I unzipped to C:/maven and it set the path as specified, I also have J

Re: Graphical View of Dependencies

2006-09-05 Thread Carlos Sanchez
btw it's not supposed to work correctly, that's why it's in the sandbox. If you just file issues with the errors without patches it won't make it be developed faster at all. On 9/5/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: it's not there yet, it's a sandbox project On 9/5/06, Pin Ngee Koh <

Re: Changes report - maven 2.0.4

2006-09-05 Thread Brill Pappin
Thanks Abhijit, but he's talking about the changes plugin not the chanelog plugin. It's still not released. - Brill Pappin On 8/14/06, Abhijit Diwan <[EMAIL PROTECTED]> wrote: Hi After struggling a lot for the report here is the plugin snippet from my pom.xml which creates change lo

Re: directory v. outputDirectory

2006-09-05 Thread dan tran
Brad, you can use a combination of assembly and dependency plugin to copy final built artfacts into a single directory the way you want it it and have assembly to zip( tgz, etc) them up. Use a separate maven project for that purpose. -Dan On 9/5/06, Douglas Ferguson <[EMAIL PROTECTED]> wrote:

Re: Graphical View of Dependencies

2006-09-05 Thread Carlos Sanchez
it's not there yet, it's a sandbox project On 9/5/06, Pin Ngee Koh <[EMAIL PROTECTED]> wrote: I did not see that maven-grafo-plugin as one of the projects. Am I missing something? On 9/5/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > Can you create a issue under http://jira.codehaus.org/browse

Re: Where is the maven-embedder 2.1 API documented?

2006-09-05 Thread Aaron Tarter
Where are the soruces located? On 9/5/06, Milos Kleint <[EMAIL PROTECTED]> wrote: AFAIK it's not anywhere.. checkout the sources and build it yourself. but to my knowledge the api might change again soon.. Milos On 9/5/06, Aaron Tarter <[EMAIL PROTECTED]> wrote: > I can only find the javadoc

Error on compiling a webapp. Strange class is required.

2006-09-05 Thread Dudu
Sorry, I'm starting with maven and I'm migrating my projects. I added all dependencies but the follow error is ocurring: D:\workspace\proj\src\main\java\br\com\sag\components\grid\AjaxSortableTableTa g.java:[7,7] cannot access javax.servlet.jsp.tagext.JspIdConsumer file javax\servlet\jsp\tagext\J

Property overwriting - resource filtering for sub project

2006-09-05 Thread fagfa
We have a parent project which contains several J2EE subprojects, such as web, ejb, ear, etc.. In the parent POM, a property "db" is defined, whose default is "hsql", for example. Build for various databases can be switched by specifying commandline, "mvn -Ddb=mysql", or changing "db" property dir

Re: Where is the maven-embedder 2.1 API documented?

2006-09-05 Thread Milos Kleint
AFAIK it's not anywhere.. checkout the sources and build it yourself. but to my knowledge the api might change again soon.. Milos On 9/5/06, Aaron Tarter <[EMAIL PROTECTED]> wrote: I can only find the javadoc for the maven-embedder 2.0.4 on maven.apache.org. It seems that the API has changed si

Re: Running offline

2006-09-05 Thread Aaron Tarter
When using the eclipse plugin, click Windows->Preferences->Maven2 and check the"Offline" box. On 9/5/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: Hello there! How can I run my goals offline? Every time I need to create an war for instance, it tries to connect to my repositories, when I alre

Re: [M2] Convert simple Maven 1 Ant task to Maven2

2006-09-05 Thread Erik Husby
Well, I've managed to answer my own question. Did not understand how to use the antrun property . Now I do. --- Erik Husby Senior Software Engineer Broad Institute of MIT and Harvard Rm. 2267, 320 Charles St, Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227 email: [EMAIL PROT

Re: Running offline

2006-09-05 Thread Alexander Sack
LOL! I just asked this yesterday! :D! Yes, Viniicius, try running mvn with a "-o" for offline which will by pass checking your remote repo's. As far as Eclipse, I pass it to mvn via an ant build file I use. I'm not sure how you are executing Maven from within Eclipse (if you are using a plugi

RE: directory v. outputDirectory

2006-09-05 Thread Douglas Ferguson
Can you define multiple source directories? I am guessing that transitive dependencies aren't getting linked in? D- -Original Message- From: Brad Harper Sent: Tuesday, September 05, 2006 12:25 PM To: users Subject: RE: directory v. outputDirectory The libraries will be built as a mixtu

Running offline

2006-09-05 Thread Vinicius Carvalho
Hello there! How can I run my goals offline? Every time I need to create an war for instance, it tries to connect to my repositories, when I already have every dependency on my local repository. Is it possible to turn it off? Also, is this possible to do this with maven-ide for eclipse? Opening my

Where is the maven-embedder 2.1 API documented?

2006-09-05 Thread Aaron Tarter
I can only find the javadoc for the maven-embedder 2.0.4 on maven.apache.org. It seems that the API has changed since then. Can someone point me to the 2.1 javadoc or some source examples? -- Regards, Aaron J Tarter

[M2] Convert simple Maven 1 Ant task to Maven2

2006-09-05 Thread Erik Husby
I am in the process of learning Maven 2. I am converting a simple Maven 1 project to Maven 2 and need help converting a set of Ant commands to Maven 2. I can't seem to find any usable documentation on the maven-antrun-plugin either on-line or in the "Build Builds with Maven" book. I've fi

Re: Graphical View of Dependencies

2006-09-05 Thread Pin Ngee Koh
I did not see that maven-grafo-plugin as one of the projects. Am I missing something? On 9/5/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: Can you create a issue under http://jira.codehaus.org/browse/MNG with your patches? On 9/5/06, Pin Ngee Koh <[EMAIL PROTECTED]> wrote: > I had made some min

NullPointerException when using release:prepare

2006-09-05 Thread Abel Muiño
Hello, I'm seeing a NullPointerException when trying to execute mvn release:prepare. I have seen the subject discussed previously on the list. The solution provided then was to use the -U flag for updating the

RE: directory v. outputDirectory

2006-09-05 Thread Brad Harper
The libraries will be built as a mixture of .lib and .dll files (on Windows) and .a and .so archives (on *nix platforms). Brad > -Original Message- > From: Douglas Ferguson > Sent: Tuesday, September 05, 2006 11:36 AM > To: users > Subject: RE: directory v. outputDirectory > > > What f

Re: Graphical View of Dependencies

2006-09-05 Thread Carlos Sanchez
Can you create a issue under http://jira.codehaus.org/browse/MNG with your patches? On 9/5/06, Pin Ngee Koh <[EMAIL PROTECTED]> wrote: I had made some minor changes: 1. Remove "dummy" note and edge from graph.xml 2. Combine and extract distinct nodes from grafoResolutionListener's nodes and edge

M2, AntRun, Multi-Module Project and ant-classpath

2006-09-05 Thread Alexey Kakunin
Hello! I have followed strcuture of the project: masterProject - pom.xml - moduleProject - pom.xml maven-antrun-plugin junit So, I have master project. TYhis master project has no any own settings - just included subprojects as modules, moduleProject u

Eclipse & target directory

2006-09-05 Thread Douglas Ferguson
When using eclipse on war projects, the target directory will start to collect copies of jsp files, from war:war commands, etc. Is there a way to have eclipse ignore the files when searching and reporting errors? D-

RE: release:perform

2006-09-05 Thread Douglas Ferguson
Does anybody know if this is possible? -Original Message- From: Douglas Ferguson Sent: Monday, September 04, 2006 11:57 AM To: users Subject: RE: release:perform This is the command. mvn release:perform -DconnectionUrl=scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-r

RE: directory v. outputDirectory

2006-09-05 Thread Douglas Ferguson
What format must the archive be in? -Original Message- From: Brad Harper Sent: Tuesday, September 05, 2006 10:02 AM To: users Subject: RE: directory v. outputDirectory Dan: My intent is to have copies of a set of archive libraries collected into a single directory. The libraries are s

Re: [m1.1-rc1] javadoc does not generate anything...

2006-09-05 Thread Lukas Theussl
Do you have an internationalized site? There seems to be an issue with determining the available locales. Please post the output of running maven with the -e parameter. Thanks, -Lukas Benoit Xhenseval wrote: Hi Thanks for your replies, You both were right... the package was incorrect (than

RE: How to load properties files inside plugins for maven v 2.0.4

2006-09-05 Thread Yadavalli, Phani
What will be the root context to refer to a properties file in the plugin jar? Any ideas anyone Thank you, Phani Yadavalli -Original Message- From: Yadavalli, Phani [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 4:45 AM To: users@maven.apache.org Subject: How to load prope

Re: [m1.1-rc1] javadoc does not generate anything...

2006-09-05 Thread Benoit Xhenseval
Hi Thanks for your replies, You both were right... the package was incorrect (thank Arnaud/Jeff). It was pointing to an old package that has been refactored... from net.objectlab.kit.common to net.objectlab.kit.datecalc.common (the error code is a bit cryptic...) I am trtying to use the dis

Re: m2/eclipse/wtp configuration + tapestry

2006-09-05 Thread Sebastien Pennec
Borut, I am using WTP1.5, too. Struts instead of Tapestry, but I don't think it has any implications on the problem. If you find the solution again, let me know :) Thanks, Sébastien Borut Bolc(ina a écrit : I have, but I also had such error message. I don't know the solution from the top of

Re: Maven2 newbee question

2006-09-05 Thread Wayne Fay
Feel free to submit an enhancement request via JIRA and wait for someone else to code it for you, or write the code yourself and donate it to the project if you require this functionality. ;-) Please search before submitting the JIRA issue; I'd expect this might already be posted by someone else

Re: Graphical View of Dependencies

2006-09-05 Thread Pin Ngee Koh
I had made some minor changes: 1. Remove "dummy" note and edge from graph.xml 2. Combine and extract distinct nodes from grafoResolutionListener's nodes and edges to get around the issue of dependency version differences of artifacts. On 8/21/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: On 8/21

RE: directory v. outputDirectory

2006-09-05 Thread Brad Harper
Dan: My intent is to have copies of a set of archive libraries collected into a single directory. The libraries are sibling modules of a parent project. Each library could be copied into the target area as it is built, or the libraries could be copied (from their respective projects) by the paren

Re: [m1.1-rc1] javadoc does not generate anything...

2006-09-05 Thread Jeff Jensen
Did you set the tag? Quoting Benoit Xhenseval <[EMAIL PROTECTED]>: > Hi *, > > Sorry to disturb... I cannot see what is wrong with my project.xml... why is > this not generating any javadoc? > I am using the conventional directory structure: > project > |- projectA > |- src > |- mai

M2, AntRun, Multi-Module Project and ant-classpath.

2006-09-05 Thread Alexey Kakunin
Hello! I have followed strcuture of the project: masterProject - pom.xml - moduleProject - pom.xml maven-antrun-plugin junit So, I have master project. TYhis master project has no any own settings - just included subprojects as modules, moduleProject u

Re: Why "Failed to create database"?

2006-09-05 Thread Emmanuel Venisse
They are false errors. Normally your continuum works with them, isn't it? Emmanuel jiangshachina a écrit : Hi, I'm so sorry. I don't save the log. I repeat my action, but this time, different errors are shown :( [1]ERROR VelocityComponen - ResourceManager.getResource() parse exception: org.apa

Re: [m1.1-rc1] javadoc does not generate anything...

2006-09-05 Thread Arnaud HERITIER
Do you have classes in the package net.objectlab.kit.common ? Can you try to comment the package in the pom ? You can use dist:multiproject-bin to generate a consolidated javadoc for all your projects. I don't know why this feature isn't in the javadoc plugin. Arnaud On 9/5/06, Benoit Xhenseval

Re: m2/eclipse/wtp configuration + tapestry

2006-09-05 Thread Borut Bolčina
I have, but I also had such error message. I don't know the solution from the top of my head, but it works now, as I am doing the development with WTP1.5, Tapestry4, libcopy and Subversion. What was it??? 2006/9/5, Sebastien Pennec <[EMAIL PROTECTED]>: Hello, Let me bring this topic up, si

maven-antrun-plugin executes several times

2006-09-05 Thread aXXa
All! When running the command "mvn install site-deploy" the ANT task defined like this maven-antrun-plugin apa validate run ### R

RE: [m1] Test in sub-project depending on tests in another sub-project..

2006-09-05 Thread Benoitx
Hi Jeff! Thanks for the clear answer. Given the simplicity of the project (http://objectlabkit.sourceforge.net) I think that I'll stick with this but keep your suggestion in mind. Best regards Benoit Jeff Jensen wrote: > > Hi Benoit! > > It works, but requires the exact relative position bet

[m1.1-rc1] javadoc does not generate anything...

2006-09-05 Thread Benoit Xhenseval
Hi *, Sorry to disturb... I cannot see what is wrong with my project.xml... why is this not generating any javadoc? I am using the conventional directory structure: project |- projectA |- src |- main |- java I've run with javadoc 1.8, and I get this: [echo] sourceMod

Re: Is maven good to small projects

2006-09-05 Thread Doug Douglass
Small project, large project, small team, large team, maven is applicable to all. If you've never used maven, creating a parallel build for an existing small project is a great way to learn IMHO. If you like maven and it makes your life easier, then you can deprecate the old system. Think of it a

Re: m2/eclipse/wtp configuration + tapestry

2006-09-05 Thread Sebastien Pennec
Hello, Let me bring this topic up, since it appears that it doesn't do the trick if the project is managed with a VC like svn. By following the instructions, the sync by libcopy doesn't work, because of an error message saying: Errors during build. Errors running builder "LibCopy builder"

Re: Maven2 newbee question

2006-09-05 Thread Alexander Sack
Thanks, this is not ideal but does give me a super fast build! Again, it'd be real nice to have this as a per dependency tunable... -aps On 9/4/06, Wayne Fay <[EMAIL PROTECTED]> wrote: This is normal behavior for Maven -- it searches the repo once a day (more or less, depending on your config

Re: Installing third party libraries

2006-09-05 Thread Jochen Wiedmann
Dudu wrote: When I install a third part library, the poom is not generated automatically. Is right this behavior? -DgeneratePom=true - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: How to override jar-plugin dependencies to use a custom version of maven-archiver?

2006-09-05 Thread Max Bowsher
Jörg Schaible wrote: Hi Max, Max Bowsher wrote on Tuesday, September 05, 2006 10:38 AM: Lakshman Srilakshmanan wrote: Hi Max, Page 58, in Better builds with Maven explains how to achieve this. Essentially you have to do the following. org.codehaus.plexus plexus-contain

Re: Maven Junit Test with Gigaspaces

2006-09-05 Thread mmp
It's definitely not the pom, cause mvn exec:exec (plugin) starts a class which can connect to the space. A very strange thing is, that those tests work fine under unix systems. Maybe it's not even mavens fault. But I cannot understand why mvn exec:exec can find the space, while mvn:test can't? Bu

Re: Installing third party libraries

2006-09-05 Thread Sha Jiang
Hi, I think it's right. In fact, I have the same result. If you install a whole project (or subproject), then the pom.xml will be generated. a cup of Java, cheers! Sha Jiang 2006/9/5, Dudu <[EMAIL PROTECTED]>: When I install a third part library, the poom is not generated automatically. Is rig

Re: Is maven good to small projects

2006-09-05 Thread Sha Jiang
Hello, Maven can adapt various projects. But in my eyes, it's not necessary to use Maven in simply projects. In fact, most projects don't use Maven. Small project may not include many modules, and there are few the developers. Then using Maven makes a bigger complexity and redundancy possibly. a

Re: Is maven good to small projects

2006-09-05 Thread Maria Odea Ching
I agree with Alexander, its not really up to the number of people involved with the project but its on the project itself :-) Alexander Sack wrote: What do you mean? Can you explain why you think it wouldn't be? My biggest draw to Maven right now is the dependency management and inherita

RE: How to override jar-plugin dependencies to use a custom version of maven-archiver?

2006-09-05 Thread Jörg Schaible
Hi Max, Max Bowsher wrote on Tuesday, September 05, 2006 10:38 AM: > Lakshman Srilakshmanan wrote: >> Hi Max, >> >> Page 58, in Better builds with Maven explains how to achieve this. >> Essentially you have to do the following. >> >> >> >> org.codehaus.plexus >> plexus-con

Re: Maven2 newbee question

2006-09-05 Thread Alexander Sack
Nope, I'm using 1.0 for everything, not SNAPSHOT. I really think this parameter should be tunable on a per dependency basis to bypass contacting the repository. Again, my builds are much slower than they need to be because I can't by pass this. I will try the "-o" option from Wayne's email and

Re: Is maven good to small projects

2006-09-05 Thread Alexander Sack
What do you mean? Can you explain why you think it wouldn't be? My biggest draw to Maven right now is the dependency management and inheritance capabilities. Especially in a Java EE centric world where you have the concept of client side jars, runtime dependent libraries, as well as provided/pl

Installing third party libraries

2006-09-05 Thread Dudu
When I install a third part library, the poom is not generated automatically. Is right this behavior? Thanks

JavaServer Faces and maven on eclipse

2006-09-05 Thread Dudu
I have a jsf project and want to open in jsf perspective on eclipse (web tools). My maven project is a webapp, but when I run eclipse:eclipse the project files generated is not for j2ee. What I need to do?

Is maven good to small projects

2006-09-05 Thread Dudu
Is maven good to small teams, like two programmers?

RE: How to load properties files inside plugins

2006-09-05 Thread Yadavalli, Phani
The maven version is 2.0.4 Thank you, Phani Yadavalli -Original Message- From: Yadavalli, Phani [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 4:45 AM To: users@maven.apache.org Subject: How to load properties files inside plugins Hi, I have a file called env.properties

How to load properties files inside plugins

2006-09-05 Thread Yadavalli, Phani
Hi, I have a file called env.properties embedded within the plug-in jar file. When I run the files outside the context of a plug-in, they run fine. But when I try to call the plug-in from another pom.xml I get the following problem [EMAIL PROTECTED] file not found hen

Why "Failed to create database"?

2006-09-05 Thread jiangshachina
Continuum1.0.3 + Windows 2000 I installed a new Continuum, and run bin\win32\run.bat. I got the result SQL Exception: Failed to create database 'D:\continuum\bin\win32\..\..\apps\continuum/database', see the next exception for details. at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknow

[m2] How to exclude resources from src/main/resources in the generated jar

2006-09-05 Thread Elid OR
Hi all, I use maven 2.0.4. I have a jar project with this directory layout : src/main/java src/main/resources/scripts When I call a "mvn package" it generate a jar that contained the "scripts" directory but I don't want to package it in my jar. I try the following issue that I found in an othe

Re: central Repository and mirrorOf

2006-09-05 Thread Arnaud Bailly
"Lakshman Srilakshmanan" <[EMAIL PROTECTED]> writes: > Hi All, > > Could someone please clarify the difference between declaring > > > central - mirrorOf of defines a server as a mirror of another server. - Repository (and pluginRepository) define a nem identified repository that will be

Re: How to override jar-plugin dependencies to use a custom version of maven-archiver?

2006-09-05 Thread Max Bowsher
Lakshman Srilakshmanan wrote: Hi Max, Page 58, in Better builds with Maven explains how to achieve this. Essentially you have to do the following. org.codehaus.plexus plexus-container-default 1.0-alpha-9 org.codehaus.plexus

Re: Clover and additional target/src directory

2006-09-05 Thread Ingo Düppe
Created an issue (MCLOVER-52) for it. - Ingo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

?

2006-09-05 Thread Jeff Mutonho
What's the point of having the option to specify the ejb jar name using my-ejb-jar when the when "my-ejb-jar-x.y.z" does not end up being installed in the repository? Is there a way of getting around this? -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user

RE: central Repository and mirrorOf

2006-09-05 Thread Jörg Schaible
Lakshman Srilakshmanan wrote on Tuesday, September 05, 2006 10:03 AM: > Hi All, > > Could someone please clarify the difference between declaring > > > central > > and > > > central > Internal Mirror of Central Repository > http://my.test/central > > >

central Repository and mirrorOf

2006-09-05 Thread Lakshman Srilakshmanan
Hi All, Could someone please clarify the difference between declaring central and central Internal Mirror of Central Repository http://my.test/central It appears to me that maven will look at to find it's download. So what would be the difference in d

Re: Real world uses for adding peer directories besides main/ in src/ ?

2006-09-05 Thread Nicolas De Loof
The "main" level is used to separate distributed code (compiled and bundled in the artifact) from any other things, like tests, docs (site), but you can also include benchmarks, code samples... Stephen Duncan a écrit : Well, primarily, there's "test" and "site" at the same level as "main"...

Re: Maven2 newbee question

2006-09-05 Thread Geoffrey De Smet
I also believe if you lock down all your plugin versions and never use a version that ends with SNAPSHOT it won't contact the remote repo if everything is downloaded. Wayne Fay wrote, On 2006-09-05 12:40 AM: This is normal behavior for Maven -- it searches the repo once a day (more or less, de

continuum and settings.xml

2006-09-05 Thread Feniks Nator
Hello, I'd like to know how continuum (possibly maven) detect it's settings.xml. As I understand continuum prints out the location of settings.xml. This comes from our log file: INFO | jvm 1| 2006/09/05 08:54:34 | 2006-09-05 08:54:34,033 [WrapperSimpleAppMain] DEBUG MavenSettingsBuilder

Re: Maven+Checkstyle - Configuration file location

2006-09-05 Thread Roy van der Kuil
We do have an internal repository set up, as I would imagine others will too. At our company we have a so called 'library' with call kinds of handy utilities that are used in other projects. So deploying the maven style to that internal repository will see that just as the normal plugin. We also