RE: deploy goal fails

2007-08-28 Thread Ivan Garcia
Hi, we manage to get this working adding an execution goal to the war plugin, as per: http://jira.codehaus.org/browse/MNG-1893#action_77870 Hope it helps you too Regards Ivan Ivan Garcia wrote: > > Hi, > > Did you find a solution for this? > > I'm having the same problem: > Error deplo

Re: environment variable for location of settings.xml?

2007-08-28 Thread Baz
Got it. Just to confirm since i cannot find anything such as "an environment variable". Thanks On 8/28/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > Other than -s, nothing else is "built in". > > Of course, you can easily alter the mvn.bat file for your company and > add other parameters, check for

RE: help regarding MAVEN

2007-08-28 Thread Murugan, Vellaichamy
Hi, May be you forgot to specify the version or it could not able to find the plugin. http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-p lugin/ Resource plugin is available here, different versions are available. You can specify the repository in settings.xml or you can downlo

help regarding MAVEN

2007-08-28 Thread Samavedula, Ravi (GE Healthcare, consultant)
Hi all, iam getting an error while trying to compile the code on eclipse The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found can anyone help me seen iam in a big trouble. Thanks Ravi S

Re: Maven repository

2007-08-28 Thread Wim Deblauwe
You need to say that your repository is a mirror of central, see http://maven.apache.org/guides/mini/guide-mirror-settings.html for more info. regards, Wim (also from Belgium ;)) 2007/8/28, De Vleeschauwer Nele <[EMAIL PROTECTED]>: > > Hi, > > I'm just setting up Maven on a developer's workstati

Re: SCM plugin and non-verbose mode

2007-08-28 Thread Dan Tran
dont think there is a solution for case, please file a request against maven scm. Best if you directly enhance maven-scm's starteam provider to get you going, and then submit a patch -D On 8/28/07, Eric Roberts <[EMAIL PROTECTED]> wrote: > Is there any way to tell an SCM configuration to use 'qu

Re: Manually Install Dependency to Archiva Managed Repository

2007-08-28 Thread Brett Porter
I believe for jta, the zip file is the "jar", so can just be deployed as is (with -Dpackaging=jar). As for the POM - the default created should be fine, or the one you get from the central repo is good too. - Brett On 29/08/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 8/28/07, Cameron Jones <

Re: Community review of the next commons-logging pom

2007-08-28 Thread Carlos Sanchez
You can ping the people from Apache Felix, they create bundles of apache projects for consumption in OSGi with the goal of contributing it back to the projects. They will tell you if it's ready or not for the projects. On 8/27/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > Hi Tom > > I've heard

Maven Ant Tasks 2.0.7

2007-08-28 Thread Hilco Wijbenga
Hi all, I ran into something strange while using the Maven Ant Tasks (2.0.7). My Ant build now includes a POM which refers to a parent POM. If I have the parent POM available in my local repository everything works fine. If not, then the build fails because it can't download the parent POM. (If I

SCM plugin and non-verbose mode

2007-08-28 Thread Eric Roberts
Is there any way to tell an SCM configuration to use 'quiet' or 'non-verbose' mode? I have a scenario where I need to use the checkin goal to checkin files but if there are files that need to be added (e.g. add_test.txt) the maven build stops with the following error: [WARNING] Unknown checkin oup

Re: Community review of the next commons-logging pom

2007-08-28 Thread Michael McCallum
but i want it managed across 75 artifacts in 11 groups with 9 aggregations... using inheritance to manage a change in the version of spring for example is way too time consuming and prone to error. Unless i specify all the deps in the aggregation i can never be sure of what version of any librar

Re: m2 ear plugin and resource filters.

2007-08-28 Thread Jonathan Chen
On Tue, Aug 28, 2007 at 05:32:25PM +0200, Stephane Nicoll wrote: > You're hacking the ear's plugin own resource directory with a standard > resource. This "own resource dir" was a design error in the early > days. > > Anyway, you might be able to configure a custom execution of the > resource plu

Re: Question on maven-buildnumber-plugin

2007-08-28 Thread Dennis Lundberg
There is something like this in the sandbox: https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-property-setting-plugin/ You'll have to build it yourself. I haven't tried it, but the example seems to indicate that it does what you are looking for. Please provide feedback to th

Re: Question on maven-buildnumber-plugin

2007-08-28 Thread Kalle Korhonen
I've been amazed myself by the fact that the plugin (nor any other one) doesn't just provide a straight-up timestamp. buildnumber plugin comes the closest, but if you want to use both svn version number and a timestamp, you are frustratingly out of luck. Looking at buildnumber plugin source, it'd b

Re: maven plugin for ckjm ...

2007-08-28 Thread Wayne Fay
One last thing I forgot... Since the ckjm utility itself does not currently exist in the Central repo, you will need to download it from the site and "mvn install" it with groupId=gr.spinellis, artifactId=ckjm, and version=1.8 so the ckjm-maven-plugin can find it and use it as needed. Wayne On 8

Re: maven plugin for ckjm ...

2007-08-28 Thread Wayne Fay
Finally got around to submitting the code into the Sandbox... Thanks in advance for any feedback. You can find the (rough draft) code for the ckjm-maven-plugin in the Codehaus Sandbox: https://svn.codehaus.org/mojo/trunk/sandbox/ckjm-maven-plugin I also deployed the snapshot and site, so you coul

Re: environment variable for location of settings.xml?

2007-08-28 Thread Wayne Fay
Other than -s, nothing else is "built in". Of course, you can easily alter the mvn.bat file for your company and add other parameters, check for environment variables etc. But then you need to make sure everyone is running your modified mvn.bat file. Wayne On 8/28/07, Baz <[EMAIL PROTECTED]> wro

RE: integration testing

2007-08-28 Thread EJ Ciramella
Ok, this looks like I cleared this up myself, but the NEW question is, what happens when there is ANOTHER module that depends on the assembly of another. So one of our app server artifact has integration tests, but it needs one of these registry type servers up and running. How can I say, "during

Re: environment variable for location of settings.xml?

2007-08-28 Thread Baz
Wayne, Thanks for your reply. If I dont use "-s" then it will only look at /.m2 ? No environment variable will change this behaviour right? B. On 8/28/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > mvn -? > -s,--settings Alternate path for the user settings file > > Wayne > > On 8

Re: Community review of the next commons-logging pom

2007-08-28 Thread Dennis Lundberg
Marcel Schutte wrote: Hi Dennis, I've got two remarks: - You should really make sure that all plugins have a version declared. There are definitely differences between versions, so the reproducibility of your builds can only be guaranteed by using explicit versions. Yes we should, as pointe

integration testing

2007-08-28 Thread EJ Ciramella
I'm kinda dancing around a local solution, but how is the rest of the maven world doing something like integration tests where the tests require a running instance of the code they're trying to test? We have things like registry services that we'd like to integration test, but the tests would req

Re: Community review of the next commons-logging pom

2007-08-28 Thread Tom Huybrechts
This is the OSGi technical whitepaper: http://www.osgi.org/documents/collateral/OSGiTechnicalWhitePaper.pdf . Most relevant here is the Modularity section of the Architecture chapter. To be usable in an OSGi setting, the jar manifest needs to have some entries added. Most important are the name an

Re: Community review of the next commons-logging pom

2007-08-28 Thread Dennis Lundberg
Yes, it is enough, but by adding true we wanted to show that the dependency is also optional. You will only need it if you use certain features of commons-logging. And provided says that it will be provided by the container, if you decide to use those features. Stephane Nicoll wrote: For the

Re: Community review of the next commons-logging pom

2007-08-28 Thread Dennis Lundberg
Michael McCallum wrote: IMO the log4j, logkit, avalon dependencies all need to go... I as I imagine most people do only use one logging implementation in the deployed systems why introduce a dependency on several implementations at the top level? Commons-logging only has one level, the top lev

Re: environment variable for location of settings.xml?

2007-08-28 Thread Wayne Fay
mvn -? -s,--settings Alternate path for the user settings file Wayne On 8/28/07, Baz <[EMAIL PROTECTED]> wrote: > All, > > Does maven 2.x looking at any environment variables for the location of > settings.xml? I know the default location is /.m2 but I want > to be able to change

environment variable for location of settings.xml?

2007-08-28 Thread Baz
All, Does maven 2.x looking at any environment variables for the location of settings.xml? I know the default location is /.m2 but I want to be able to change the default behavior when you type "mvn". Thanks. B.

Re: "targetPath" tag COMPLETELY ignored by Maven......

2007-08-28 Thread Julien Martin
Thanks! That was the problem... Julien. 2007/8/28, Wayne Fay <[EMAIL PROTECTED]>: > > Try bumping your version to 2.0.2 which is apparently the latest > available... > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/ > > Don't know if that will do anything, just an idea. >

Re: "targetPath" tag COMPLETELY ignored by Maven......

2007-08-28 Thread Wayne Fay
Try bumping your version to 2.0.2 which is apparently the latest available... http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/ Don't know if that will do anything, just an idea. Wayne On 8/28/07, Julien Martin <[EMAIL PROTECTED]> wrote: > Hello, > > Apparently the "targe

Re: classifier for maven deploy plugin

2007-08-28 Thread Dan Tran
I am going to assume that you want to deploy artifacts that are not built by maven. You can create a pom and configure build-helper-maven-plugin to attach all your artifacts to maven, and finally call 'maven deploy' -D On 8/28/07, John Coleman <[EMAIL PROTECTED]> wrote: > Hi, > > > > Is there

Can't find settings.xml

2007-08-28 Thread EJ Ciramella
We occasionally have the following error: Error reading settings.xml: Error reading settings file Anyone seen this before? Stinks to have a 90+ min build fail even though this file is there... The solution seems to be to delete it (and let the boot strapping process copy it back in there).

Re: How to get Maven to include "persistence.xml" into a web app??

2007-08-28 Thread Julien Martin
Thank!! 2007/8/28, Tim Kettler <[EMAIL PROTECTED]>: > > Strange, it's working for me with this simple test project: > > > 4.0.0 > my-test-app > my-test-group > 1.0-SNAPSHOT > war > > > > >org.apache.maven.plugins >maven-w

"targetPath" tag COMPLETELY ignored by Maven......

2007-08-28 Thread Julien Martin
Hello, Apparently the "targetPath" tag is COMPLETELY ignored by Maven... The persistence.xml is copied at the root of the war... Can anyone please help? Julien. Here is my POM: code: -- http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSch

Re: How to get Maven to include "persistence.xml" into a web app??

2007-08-28 Thread Tim Kettler
Strange, it's working for me with this simple test project: 4.0.0 my-test-app my-test-group 1.0-SNAPSHOT war org.apache.maven.plugins maven-war-plugin src/conf

Re: Associate a default goal for a plugin and type the plugin name only on cmdln

2007-08-28 Thread Farhan Sarwar
Thanks Remy... On 8/28/07, Rémy Sanlaville <[EMAIL PROTECTED]> wrote: > > not in maven 2. It was only in maven 1. > > In m2 you have to call aPlugin:aGoal > > > Yes, it's not available in maven 2. I ask for a such feature some time ago > and I had this reply that explain why it is not so easy. >

classifier for maven deploy plugin

2007-08-28 Thread John Coleman
Hi, Is there a way to use a classifier with the maven deploy plugin by configuring the plugin in the pom rather that using command line properties? TIA, John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information

Re: Continuum version 103 (maven2)

2007-08-28 Thread Emmanuel Venisse
yes and no. The problem is the same but not the patch to do, This entry is for an old maven version The fixed script for maven 2.0.7 is : https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/maven-core/src/bin/mvn.bat Emmanuel James Clinton a écrit : See http://maven.apache

Re: Continuum version 103 (maven2)

2007-08-28 Thread Emmanuel Venisse
We don't have an entry in the faq about the bug in mvn.bat from maven 2.0.7 (http://jira.codehaus.org/browse/MNG-3084 ) James Clinton a écrit : Opps - should of read my original post!. Anwser is for Windows the mvn.bat file needs to be altered...I didn't read the faq's properly. -Origin

RE: Continuum version 103 (maven2)

2007-08-28 Thread James Clinton
Opps - should of read my original post!. Anwser is for Windows the mvn.bat file needs to be altered...I didn't read the faq's properly. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 28 August 2007 16:48 To: [EMAIL PROTECTED] Subject: Re: Continuum version 103

Re: Maven Multi-Project - Modules are Numbers when checked out --repl y

2007-08-28 Thread Emmanuel Venisse
The problem I have now is when the build fails, say due to a unit test, the status of the build is SUCCESS. Although the log states FAILED. Is there some configuration I am missing here or is the problem related to me setup? It is a known issue in 2.0.7. http://jira.codehaus.org/browse/MNG

RE: Continuum version 103 (maven2)

2007-08-28 Thread James Clinton
Found the problem. Basically CI doesn't work if you have your parent pom at the same level as its child modules because CI creates a temporary directory which breaks the path from the parent to the child. This is true for the stable and 1.1 build. -Original Message- From: Emmanuel Venis

RE: installing a ueber jar

2007-08-28 Thread Domingos Antonio Pereira Creado Júnior
Thanks Wayne!! it worked really fine :-) Now my pom.xml is some like: ... minijar-maven-plugin org.codehaus.mojo package

Re: Continuum version 103 (maven2)

2007-08-28 Thread Emmanuel Venisse
Do you use maven 2.0.7? James Clinton a écrit : Hello, I have a project structure like so: - parent - child - child Parent pom is them loaded into CI and the projects are detected. It builds fine, but if there is a compilation error, the status of the build is still 'success'. I

Re: How do I run a bat file as a build

2007-08-28 Thread Emmanuel Venisse
what is your scm url? Joakim Zetterberg a écrit : How would I set up a project if I would like a bat file to run? Let's say I have the bat file in c:\bat and its called foo.bat. I have tried to enter a local scm url, but I still get errors: Exception: Cannot checkout sources. The module isn't

How do I run a bat file as a build

2007-08-28 Thread Joakim Zetterberg
How would I set up a project if I would like a bat file to run? Let's say I have the bat file in c:\bat and its called foo.bat. I have tried to enter a local scm url, but I still get errors: Exception: Cannot checkout sources. The module isn't a directory. I guess I have missed something in th

Re: m2 ear plugin and resource filters.

2007-08-28 Thread Stephane Nicoll
You're hacking the ear's plugin own resource directory with a standard resource. This "own resource dir" was a design error in the early days. Anyway, you might be able to configure a custom execution of the resource plugin with filtering enabled. But move your files out of src/main/application f

Cyclic dependency problem

2007-08-28 Thread COPPENS, Fabien
Hi all. I have just joined the list, so please forgive me if the exact same question has already been posted. Here is my use case : I have a project CORE_A which exposes a facade in the form of an EJB, which is built in a separate project EJB_A. I have a project CORE_B which exposes a facade in

Re: Skiping module during mvn eclipse:eclipse

2007-08-28 Thread Dan Tran
can you reproduce in a smaller set of projects? On 8/28/07, Marcin Waldowski <[EMAIL PROTECTED]> wrote: > Hello. > > I've returned to this subject :) > > Now I use version 2.4 of maven-eclipse-plugin which gives me a > posibility to use 'skip' parameter. After making 'mvn > help:effective-pom' I

Re: Embedded Tomcat within a Maven Unit Test

2007-08-28 Thread Joshua ChaitinPollak
Hi, I may not have made this clear in my initial post, but I do have all of the tomcat jar's listed as Maven dependancies. That's why I'm confused. Is there any way for maven to handle this, or do I need to pre-compile the jsp's? -Josh On Aug 27, 2007, at 7:36 PM, Joshua ChaitinPollak wr

RE : Re: Cyclic dependency status

2007-08-28 Thread Adrian Gonzalez
Thanks for the answer Fay. Just posted the question cause there's already been some users having the same need (trying to put legacy libraries under maven) - and I think personnally it can be a 'common' need. But no problem, I'll try to cope with that. --- Wayne Fay <[EMAIL PROTECTED]> a écrit :

Re: m2 ear plugin and resource filters.

2007-08-28 Thread Wayne Fay
1. Try ${project.*} instead. 2. Consider writing a geronimo plugin (or patching the existing maven-ear-plugin), and contributing it back. It would be helpful for other people who need to generate these geronimo.xml files. And I think it would be pretty simple. Wayne On 8/28/07, Jonathan Chen <[EM

Re: installing a ueber jar

2007-08-28 Thread Wayne Fay
Use build-helper-m-p and attach your artifact to the build/project. Wayne On 8/28/07, Domingos Antonio Pereira Creado Júnior <[EMAIL PROTECTED]> wrote: > Hi there, > > I´m developing an applet that has many dependencies. To speed-up the load > phase, I´m using the ueber plugin [1]. > The ueber p

RE: deploy goal fails

2007-08-28 Thread Ivan Garcia
Hi, Did you find a solution for this? I'm having the same problem: Error deploying artifact: C:\projects\Portal2\code\workflow\web\target\classes (Access is denied) The point is that it only fails when adding a classifier to the war. mvn install OTOH works fine (I also get the : altDeploymen

installing a ueber jar

2007-08-28 Thread Domingos Antonio Pereira Creado Júnior
Hi there, I´m developing an applet that has many dependencies. To speed-up the load phase, I´m using the ueber plugin [1]. The ueber plugins works fine.. It creates a smaller jar, but with a suffix "-uber" under target directory. The issue that I´m facing is how install this ueber jar under repo

RE: Community review of the next commons-logging pom

2007-08-28 Thread Jörg Schaible
Michael McCallum wrote on Tuesday, August 28, 2007 2:39 PM: >> OK. But this will not help you, if you include another artifact that >> depends transitively on Spring or Hibernate in different versions. >> And therefore we use a company or at least a master POM for a >> project with a dependencyMan

Re: Cyclic dependency status

2007-08-28 Thread Wayne Fay
I can't forsee Maven ever realistically making it possible/easy to introduce cyclical dependencies into your dependency graphs. This goes against the basic principles of the tool. Wayne On 8/28/07, Adrian Gonzalez <[EMAIL PROTECTED]> wrote: > Hello, > > I've read some post and cyclic dependency b

assembly project properties

2007-08-28 Thread Stefano Fornari
Hi All, I am interested to know if there is any documentation that specifies which exact project properties will be filtered when is used. I searched the list and the assembly and resources plugins documentation but I could not find a proper list. I am particularly interested into accessing the de

Re: Debugging Maven in Netbeans

2007-08-28 Thread Milos Kleint
that's in project's popup menu. last item on the list.. Properties.. there in Run tab, you set the main class. Milos On 8/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I have opened few maven project. I use NB6 Ms10 with external maven build > enabled. The maven version I have is

Debugging Maven in Netbeans

2007-08-28 Thread jayaram . x . ganapathy
Hi, I have opened few maven project. I use NB6 Ms10 with external maven build enabled. The maven version I have is 2.0.7. I am able to compile( mvn install) the project. Now when I try to execute the same I get the following message. "In order to run the project, Netbeans needs a custom profil

Re: Problem: TRINIDAD and MAVEN

2007-08-28 Thread Julien Martin
Thank you Tim!!! As a workaround you can just download the pom from central [2] by hand and copy in in your local repository. This worked a charm!!

Re: How to get Maven to include "persistence.xml" into a web app??

2007-08-28 Thread Julien Martin
Thanks Tim for you suggestion. I thought I was getting there but apparently the "targetPath" is COMPLETELY ignored by Maven... Here is where the persistence.xml is copied: the root of the war... Here is my POM for your info. Tis almost identical to your suggestion: http://maven.apache.org/POM/4.0

Re: Problem: TRINIDAD and MAVEN

2007-08-28 Thread Tim Kettler
Weird, see inline for what I read from the log output: Julien Martin schrieb: Hello, I am having problems with Trinidad and Maven. Can anyone please help? Thanks in advance, Julien. I get this from the console: [...] Downloading: http://cvs/repository/org/apache/myfaces/trinidad/trinidad-

Re: Maven Compile error - java.lang.NoSuchMethodError: org.apache.maven.plugin.descriptor.MojoDescriptor.setSince(Ljava/lang/String;

2007-08-28 Thread jayaram . x . ganapathy
Hi, Thanks a lot. I was able to fix the problem. It was my mistake. I setup the maven home to the bin directory of maven. So the tool was trying to execute $MAVEN_HOME/bin/bin/mvn.bat which was not present. The output windows never complained that invalid maven home set etc.. It shows as if it

Re: Community review of the next commons-logging pom

2007-08-28 Thread Michael McCallum
> > OK. But this will not help you, if you include another artifact that > depends transitively on Spring or Hibernate in different versions. And > therefore we use a company or at least a master POM for a project with a > dependencyManagement section. This way you can overwrite the versions of > t

Re: How to get Maven to include "persistence.xml" into a web app??

2007-08-28 Thread Tim Kettler
Hi, this should do what you want: org.apache.maven.plugins maven-war-plugin src/conf META-INF persistence.xml -Tim Julien Martin schrieb: The problem is that I have to use an

RE: Community review of the next commons-logging pom

2007-08-28 Thread Jörg Schaible
Michael McCallum wrote on Tuesday, August 28, 2007 1:56 PM: > http://en.wikipedia.org/wiki/Relation_composition > > group.id.composition.spring 2.0.6 > -> spring-beans 2.0.6 > -> spring-context 2.0.6 > > group.id.composition.spring.persistence 2.0.6 > ->group.id.composition.spring 2.0.6 > ->

Re: Maven Compile error - java.lang.NoSuchMethodError: org.apache.maven.plugin.descriptor.MojoDescriptor.setSince(Ljava/lang/String;

2007-08-28 Thread Milos Kleint
doesn't happen to me, sorry.. I get the output correctly. file a bug at jira.codehaus.org/browse/MEVENIDE there you can attach screenshots, sample projects etc.. Milos On 8/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > The update center URL which you gave was already present. I ca

Re: Community review of the next commons-logging pom

2007-08-28 Thread Michael McCallum
http://en.wikipedia.org/wiki/Object_composition is really just the software equivalent of the first link i sent > [snip] > > You still did not explain, what "composition" means. It's no word used in > standard Maven terminology. Your description does not make it clear what > you *actually* have d

RE: How to get Maven to include "persistence.xml" into a web app??

2007-08-28 Thread Bram de Kruijff
Hi Julien, you can configure aditional resources through the war plugin. http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filteri ng-webresources.html So you need something like this org.apache.maven.plugins maven-war-plugin false

Re: Community review of the next commons-logging pom

2007-08-28 Thread Michael McCallum
http://en.wikipedia.org/wiki/Relation_composition group.id.composition.spring 2.0.6 -> spring-beans 2.0.6 -> spring-context 2.0.6 group.id.composition.spring.persistence 2.0.6 ->group.id.composition.spring 2.0.6 -> hibernate 3.1.3 -> spring-hibernate3 group.id.artifact.a X -> group.id.comp

Re: Maven Compile error - java.lang.NoSuchMethodError: org.apache.maven.plugin.descriptor.MojoDescriptor.setSince(Ljava/lang/String;

2007-08-28 Thread jayaram . x . ganapathy
Hi, The update center URL which you gave was already present. I can't send you a screen shot because the e-mail with screenshots bounced back. I have maven 2.0.7 and I integrated it. I can now trigger external maven build. Now the problem is where can I see the messages of build? Once I start t

Re: How to get Maven to include "persistence.xml" into a web app??

2007-08-28 Thread Julien Martin
The problem is that I have to use an existing path i.e. (MyProject\src\conf\persistence.xml) and cannot change that Is there not a way to modify the POM in order for it to include my persistence.xml?? Sorry I am a real beginner at Maven... Julien. 2007/8/28, ben short <[EMAIL PROTECTED]>: > >

RE: Community review of the next commons-logging pom

2007-08-28 Thread Jörg Schaible
Michael McCallum wrote on Tuesday, August 28, 2007 1:15 PM: >> Why? Only with dependencyManagement you're able to manage transitive >> versions. > In order to keep clean dependency graphs I have used standard > OO principles to > encasulate functionality in this case I will use spring as an exampl

Re: Community review of the next commons-logging pom

2007-08-28 Thread Michael McCallum
> Why? Only with dependencyManagement you're able to manage transitive > versions. In order to keep clean dependency graphs I have used standard OO principles to encasulate functionality in this case I will use spring as an example. Spring provided many artifacts. I have many projects that use d

Re: How to get Maven to include "persistence.xml" into a web app??

2007-08-28 Thread ben short
I think you can just create /src/main/webapp/META-INF and put it in there. On 8/28/07, Julien Martin <[EMAIL PROTECTED]> wrote: > Thanks Ben, > Is there not a way to put it (persistence.xml) into meta-inf instead? > Julien. > > 2007/8/28, ben short <[EMAIL PROTECTED]>: > > > > persistence.xml need

Problem: TRINIDAD and MAVEN

2007-08-28 Thread Julien Martin
Hello, I am having problems with Trinidad and Maven. Can anyone please help? Thanks in advance, Julien. I get this from the console: C:\dev\calyonfinancial\ProtideWeb>mvn -e install + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO]

Re: Community review of the next commons-logging pom

2007-08-28 Thread Michael McCallum
> Why? Only with dependencyManagement you're able to manage transitive > versions. In order to keep clean dependency graphs I have used standard OO principles to encasulate functionality in this case I will use spring as an example. Spring provided many artifacts. I have many projects that use d

Re: Maven Compile error - java.lang.NoSuchMethodError: org.apache.maven.plugin.descriptor.MojoDescriptor.setSince(Ljava/lang/String;

2007-08-28 Thread Milos Kleint
you got the same error because you are building with the same embedded maven instance. you need to setup netbeans to use the command line tool. the help you refer to seems to refer to old method of adding AU center. The new way is this: Open Tools/Plugins dialog Find the Settings tab, there's an

Re: How to get Maven to include "persistence.xml" into a web app??

2007-08-28 Thread Julien Martin
Thanks Ben, Is there not a way to put it (persistence.xml) into meta-inf instead? Julien. 2007/8/28, ben short <[EMAIL PROTECTED]>: > > persistence.xml needs to be on the class path doesn't it? > > Create a directory src/main/java/resources and put it in there. When > maven packages up your war it

Re: Failing to add a POI dependency

2007-08-28 Thread Julien Martin
merci 2007/8/28, Arnaud Jeansen <[EMAIL PROTECTED]>: > > Hi Julien, > > I made a simple test on a maven project I am working on and adding... > > > org.apache.poi > poi > 3.0.1-FINAL > > > ...

RE: Failing to add a POI dependency

2007-08-28 Thread Arnaud Jeansen
Hi Julien, I made a simple test on a maven project I am working on and adding... org.apache.poi poi 3.0.1-FINAL ...downloaded the necessary pom and jar files to my local repository. If I we

RE: shell execution from 1.1-beta-1

2007-08-28 Thread LAMY Olivier
Try to add a link on your machine. I use solaris too and I have the following link : bash-2.05$ ls -lrt /bin/ lrwxrwxrwx 1 root root 9 Sep 22 2005 /bin/ -> ./usr/bin And my bash is there : bash-2.05$ which bash /usr/bin/bash -- Olivier -Message d'origine- De : [EMAIL P

Cyclic dependency status

2007-08-28 Thread Adrian Gonzalez
Hello, I've read some post and cyclic dependency between maven artifacts is not supported for the moment i.e. artifact A depends on artifact B which depends on artifact A. I would like to know if something is planned about cyclic dependency support or will it never be managed by Maven ? My use c

Maven repository

2007-08-28 Thread De Vleeschauwer Nele
Hi, I'm just setting up Maven on a developer's workstation. The developer has no access to the Internet and should therefore always retrieve the latest artifacts from a repository we've set up at our company (which has a connection to the internet). Even when I add the following part to the settin

Re: Why does this POM includes the sun's jsf jars??

2007-08-28 Thread Julien Martin
Thanks Jorg, Your advice was very useful!!! J. 2007/8/28, Jörg Schaible <[EMAIL PROTECTED]>: > > Julien Martin wrote on Tuesday, August 28, 2007 10:23 AM: > > > Hello, > > Why does this POM includes the sun's jsf jars whereas I never asked > > for them?? I only want the Myfaces Jars... > > Can any

RE: shell execution from 1.1-beta-1

2007-08-28 Thread remi . chevalier
Hi! I have the same problem than LJ: Continuum-1.1-beta-2 is calling /bin/bash but my bash command is in another directory: usr/local/bin/bash So, I can't execute any script.sh... Is there a way to change the default command /bin/bash called? (I'm working on Solaris 8) Thanks, Rémi. "LAMY O

Re: How to get Maven to include "persistence.xml" into a web app??

2007-08-28 Thread ben short
persistence.xml needs to be on the class path doesn't it? Create a directory src/main/java/resources and put it in there. When maven packages up your war it will put all files in the resources directory into your war file under the WEB-INF/classes directory. Hope this helps. Ben On 8/28/07, Ju

How to get Maven to include "persistence.xml" into a web app??

2007-08-28 Thread Julien Martin
Hello all, How do I get Maven to include "persistence.xml" into a web app?? Any clue welcome! Julien. Here is my POM: http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.or

Re: Maven Compile error - java.lang.NoSuchMethodError: org.apache.maven.plugin.descriptor.MojoDescriptor.setSince(Ljava/lang/String;

2007-08-28 Thread jayaram . x . ganapathy
Hi, I got the same error in NB6 Milestone 10 also. Using 2 extractors. Applying extractor for language: java [ERROR]FATAL ERROR org.apache.maven.plugin

Re: Skiping module during mvn eclipse:eclipse

2007-08-28 Thread Marcin Waldowski
Hello. I've returned to this subject :) Now I use version 2.4 of maven-eclipse-plugin which gives me a posibility to use 'skip' parameter. After making 'mvn help:effective-pom' I can see for one of my module: maven-eclipse-plugin true ... But when I executed 'mvn e

Re: Community review of the next commons-logging pom

2007-08-28 Thread Marcel Schutte
Hi Dennis, I've got two remarks: - You should really make sure that all plugins have a version declared. There are definitely differences between versions, so the reproducibility of your builds can only be guaranteed by using explicit versions. - The artifacts commons-logging, commons-logging-

RE: Why does this POM includes the sun's jsf jars??

2007-08-28 Thread Jörg Schaible
Julien Martin wrote on Tuesday, August 28, 2007 10:23 AM: > Hello, > Why does this POM includes the sun's jsf jars whereas I never asked > for them?? I only want the Myfaces Jars... > Can anyone help? How do I know which jars are included in a > dependency? Thanks in advance, > Julien Martin. The

m2 ear plugin and resource filters.

2007-08-28 Thread Jonathan Chen
Hi all, I'm running Maven 2.0.7 and I'm trying to get resource filtering working with m2's ear plugin. I have a file which I'm trying to get certain properties replaced on a "mvn package". src/main/application/META-INF/geronimo.xml: http://geronimo.apache.org/xml/ns/j2ee/application-1.2

Why does this POM includes the sun's jsf jars??

2007-08-28 Thread Julien Martin
Hello, Why does this POM includes the sun's jsf jars whereas I never asked for them?? I only want the Myfaces Jars... Can anyone help? How do I know which jars are included in a dependency? Thanks in advance, Julien Martin. http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http://www.w3.org/2001/XM

sorry!

2007-08-28 Thread copernic Jeremy
Hi all, just to appologies for the last email, I accidently sent gmail invitation on the mailing list... sorry again and have a nice day! Jeremy

Re: Maven and macker plugin working??[UPDATES]

2007-08-28 Thread Rémy Sanlaville
Thanks a lot Wayne. We will try to use it as soon as possible (certainly during september) and give you our feedback. Rémy 2007/8/27, Wayne Fay <[EMAIL PROTECTED]>: > > Just FYI... The code is available in the Mojo sandbox SVN and the site > was just deployed: > http://mojo.codehaus.org/macker-ma

Re: Associate a default goal for a plugin and type the plugin name only on cmdln

2007-08-28 Thread Rémy Sanlaville
> not in maven 2. It was only in maven 1. > In m2 you have to call aPlugin:aGoal Yes, it's not available in maven 2. I ask for a such feature some time ago and I had this reply that explain why it is not so easy. http://www.nabble.com/-Proposal--New-profile-activation-tf3240038s177.html#a9031422

copernic Jeremy wants to chat

2007-08-28 Thread copernic Jeremy
--- copernic Jeremy wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-343cfbc0c9-62ea441ab5-75f2453e951bd631 You'll need to c