Re: Newbie: running mvn test problem with configuration files and current directory

2007-04-12 Thread franz see
Good day, In addition to Sudheendra's message, you'd for your test resources project ... build ... testResources testResource directorysrc/test/java/resources/directory /testResource /testResources /build /project Btw, the default resource directories for

Re: Problem when installing Maven 2.0

2007-04-12 Thread franz see
Good day, You can also try mvn resources:resources -X -cpu Note: -X sets the log to debug mode, and -cpu checks for plugin updates. Cheers, Franz Mick Knutson-4 wrote: try this first: mvn compile -e The issue is that you have NOT created your local repository (*/.m2/repository)

Re: Maven users in the industry

2007-04-12 Thread Erez Nahir
Here in Cisco we use Maven2. If you can, when your presentation is ready, please share it, we still have some resistance from old make/ant supporters... Thanks, Erez. Gilles Scokart wrote: Hi, Next week I have to make a presentation to my collegues. I will try to 'sell' maven, and I would

Re: Maven users in the industry

2007-04-12 Thread Barrie Treloar
On 4/12/07, Erez Nahir [EMAIL PROTECTED] wrote: Here in Cisco we use Maven2. If you can, when your presentation is ready, please share it, we still have some resistance from old make/ant supporters... How can there be resistance? Once you get things up and running m2 is so much more simpler to

RE: Multiple artifacts

2007-04-12 Thread Goel, Deepak
Thanks again - I had tried this option before and it didn't work. After looking at the source, the issue seems that Eclipse does the dependency resolution and doesn't look at project.getDependencies() for classpath calculation. When it does the resolution, the packaging comes as .zip and not .jar

Referencing list POM properties

2007-04-12 Thread Kanzlers, Andreas
You can reference all properties defined in the POM xml like project.version, project.build.finalName via ${project.version}, ${project.build.finalName}. But how can I access a list property, for example the version of a specific dependency ? project ... version.../version ...

Re: Missing dependencies if building from parent directory (maven 2.0.5)

2007-04-12 Thread Luciano Resende
Even if I explicitly add the version node for artifactIdtuscany-das-rdb/artifactId, I get the same problem. Any ideas on how I could debug and try to find what's causing the problem ? On 4/10/07, Wayne Fay [EMAIL PROTECTED] wrote: I haven't pulled the code and built etc yet, but I noticed the

RE: [IMPORTANT] Maven 2 Plugin Auto-Versioning Considered Dangerous

2007-04-12 Thread Peter Nilsson
The auto-resolver is a pain when using Maven in a corporate environment when there is a strong requirement to be able to reproduce a build. As mentioned by others one of the problems is to know which plugins are used and thus need to have their version locked down. I would prefer a property

[MAVEN][2.0.6] Add files to META-INF with JAR Plugin

2007-04-12 Thread Ephemeris Lappis
Hello. How can I add files to the META-INF directory of the archive ? I've seen example using META-INF directories in the project, and setting them as resources in the POM. I'd prefer not to use META-INF names in my project directories. Thanks. -- Ephemeris Lappis

Reuse plug-in code

2007-04-12 Thread Goel, Deepak
How can I reuse existing plug-in code in writing my own plug-in? For example, I wanted to reuse the existing install plug-in and tried to extend my plug-in from InstallMojo. Since source code of InstallMojo wasn't present, the generated plugin.xml didn't contain the proper dependencies. So when I

Re: Maven 2 and Cobertura - 100% coverage???

2007-04-12 Thread David Roussel
I reverted back to cobertura-maven-plugin v2.0 to fix the all classes are 100% problem, and it worked fine on individual modules. But the site build fails at the top pom project with http://jira.codehaus.org/browse/MCOBERTURA-38 MCOBERTURA-38 which is fixed in v2.1!!! So I'm a bit stuck

AW: Referencing list POM properties

2007-04-12 Thread Kanzlers, Andreas
I just found that someone posted the same issue. Sorry. This was the reply: ... You cannot do that AFAIK. However, you can do something like this. project ... dependencies dependency ... version${some.var}/version /dependency /dependencies properties some.varput

maven 1.0.2 to 1.1 beta 3

2007-04-12 Thread emerson cargnin
Hi there I'm trying to convert our 1.0.2 project.xml to 1.1 beta 3. i'm getting the following error for the project.xml down below: [exec] Starting the reactor... [exec] BUILD FAILED [exec] File.. file:/C:/Documents and

Problem with snapshot libraries

2007-04-12 Thread Orford, Ian
Hi, I've just noticed a change that must have been introduced in a recent maven update (in the last 2 days). When I assemble my deliverable project, rather than include the snapshot jars named -SNAPSHOT, it is instead including the dated versions. The reason this is causing me a problem is that

RE: Re: Problem when installing Maven 2.0

2007-04-12 Thread Zoheir Ezziane
Hello, I tried both commands and I am still getting the same messages of Build Error Is there any other tips? Thanks Zoheir -Original Message- From: franz see [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 10:05 AM To: [EMAIL PROTECTED] Subject: Spam:Re: Problem when

RE: Re: Problem when installing Maven 2.0

2007-04-12 Thread Ramesh Babu Pokala - TLS, Chennai
I am also getting the same problem. I am working behind proxy... I have chenged proxy setings in Settings.xml too... But still I am getting the same problem. What is the main problem for this? Thanks Regards Ramesh Babu.P -Original Message- From: Zoheir Ezziane

Re: [IMPORTANT] Maven 2 Plugin Auto-Versioning Considered Dangerous

2007-04-12 Thread Thierry Lach
That makes a lot of sense. On 4/12/07, Peter Nilsson [EMAIL PROTECTED] wrote: The auto-resolver is a pain when using Maven in a corporate environment when there is a strong requirement to be able to reproduce a build. As mentioned by others one of the problems is to know which plugins are used

Re: maven 1.0.2 to 1.1 beta 3

2007-04-12 Thread Lukas Theussl
The tag modelVersion4.0.0/modelVersion is for an m2 pom.xml, in m1 you need pomVersion3/pomVersion. HTH, -Lukas emerson cargnin wrote: Hi there I'm trying to convert our 1.0.2 project.xml to 1.1 beta 3. i'm getting the following error for the project.xml down below: [exec] Starting the

Re: maven 1.0.2 to 1.1 beta 3

2007-04-12 Thread Arnaud HERITIER
scopeprovided/scope isn't supported in maven 1 Your pom is for maven 2 ? Arnaud On 12/04/07, Lukas Theussl [EMAIL PROTECTED] wrote: The tag modelVersion4.0.0/modelVersion is for an m2 pom.xml, in m1 you need pomVersion3/pomVersion. HTH, -Lukas emerson cargnin wrote: Hi there I'm trying

ERROR The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist

2007-04-12 Thread Mekonium
Hello everyone, Im a newbie in Maven, i must use this tool in my proiect. Unfortunately im bloked by a problem, i use a proxy that i have already configured, and i think that this configuration works because the command mvn archetype:create ... has terminated correctly. But when i execute mvn

Re: maven 1.0.2 to 1.1 beta 3

2007-04-12 Thread Lukas Theussl
AFAIK, scope is not used in m1, but it is 'supported', and its use is even recommended, also in m1, see eg http://jira.codehaus.org/browse/MPXDOC-191. Cheers, -Lukas Arnaud HERITIER wrote: scopeprovided/scope isn't supported in maven 1 Your pom is for maven 2 ? Arnaud On 12/04/07, Lukas

apidocs continuum broken links

2007-04-12 Thread [list] tibor strausz
hi i use maven2 and continuum 1.0.3 when i generate site from continuum it works fine apart from genereting the correct links in my apidocs. i can find my site here: http://192.168.16.246:8080/continuum/servlet/browse?file=14/target/site/project-reports.html javadocs here:

Re: Maven users in the industry

2007-04-12 Thread Erez Nahir
I assume you did not have the opportunity to convince the old C++/Make guys to change their habits... :-) Erez. Barrie Treloar wrote: On 4/12/07, Erez Nahir [EMAIL PROTECTED] wrote: Here in Cisco we use Maven2. If you can, when your presentation is ready, please share it, we still have some

Re: Maven site-plugin

2007-04-12 Thread Andre.Sudhoff
Hi, at the maven repository is still the version 2.0-beta-5 available only. Where could I get the fixed plugin or when will be the release of 2.0-beta-6 ? Regards Andre Sudhoff [EMAIL PROTECTED] wrote: I looked at the code of the site plugin and it seems this is a bug in maven-site-plugin as

Re: ERROR The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist

2007-04-12 Thread Gregory Kick
try running with -X to see what the problem is specifically On 4/12/07, Mekonium [EMAIL PROTECTED] wrote: Hello everyone, Im a newbie in Maven, i must use this tool in my proiect. Unfortunately im bloked by a problem, i use a proxy that i have already configured, and i think that this

Archiva on WebSphere

2007-04-12 Thread erm31
Hi, Is it possible to run Archiva on a WebSphere server (what are the config files) ? -- View this message in context: http://www.nabble.com/Archiva-on-WebSphere-tf3565003.html#a9957775 Sent from the archiva-users mailing list archive at Nabble.com.

Re: Provider message: No such provider: 'mks'

2007-04-12 Thread Emmanuel Venisse
you need to put it in the continuum lib directory. Do you want to share your scm provider? Emmanuel neo.nirav a écrit : Hi all, I am trying to run the continuum with the MKS (http://www.mks.com) scm, We have developed the maven scm-provider for the mks...and put in to .m2 local repository.

Re: Archiva on WebSphere

2007-04-12 Thread Emmanuel Venisse
I think it's possible but we don't have a websphere to test. You can read the docs for others app servers, with that, you'll probably find what to configure in your websphere. Please update the wiki when you'll know how to do it. Thanks, Emmanuel erm31 a écrit : Hi, Is it possible to run

Re: maven 1.0.2 to 1.1 beta 3

2007-04-12 Thread Arnaud HERITIER
It's properties/scope dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version properties scopetest/scope /properties /dependency Arnaud On 12/04/07, Lukas Theussl [EMAIL PROTECTED] wrote: AFAIK, scope is not used in m1, but it is 'supported', and its use is

Maven 2 ear plugin doesn't pick up resources

2007-04-12 Thread Johan Eltes
I need to build an ear that - in addition to the generated application.xml - adds an existing vendor-specific deployment descriptor to the META-INF directory of the ear. I've tried the standard set-up: projectroot/scr/main/resources/META-INF/ibm-application-bnd.xmi When I invoke mvn

Build error with weblogic-maven-plugin

2007-04-12 Thread Doug Tanner
I am using the 2.9.0-SNAPSHOT. After building my war, I wish to precompile all my JSPs for faster response times. As I understand it, the weblogic-maven-plugin goal weblogic:appc is what I need to use to do this. However, I am getting a no class def found error. From the output of my build I

Re: Reuse plug-in code

2007-04-12 Thread Jerome Lacoste
On 4/12/07, Goel, Deepak [EMAIL PROTECTED] wrote: How can I reuse existing plug-in code in writing my own plug-in? For example, I wanted to reuse the existing install plug-in and tried to extend my plug-in from InstallMojo. Since source code of InstallMojo wasn't present, the generated

mvn site site:deploy problem

2007-04-12 Thread Ionut S
Hi, Not sure if my problem is related to mvn or continuum, so excuse me if I'm wrong.. Anyway, we have a continuum site in place, which works fine in general. There is one abnormal behaviour that made me write to this list though: if the build fails (for any reason), the site gets trashed.

Re: apidocs continuum broken links

2007-04-12 Thread Wendy Smoak
On 4/12/07, [list] tibor strausz [EMAIL PROTECTED] wrote: when i generate site from continuum it works fine apart from genereting the correct links in my apidocs. Set distributionManagementsite and have continuum publish your project site somewhere: mvn site-deploy You're looking at the

Re: Using maven directly from a java application ?

2007-04-12 Thread Thierry Lach
While that will probably work, I don't find that to be an acceptible solution. I don't want to include any repositories in my settings.xml, as I am experimenting with several projects which build with m2 and I don't want to take a chance on running into plugin revision issues. If that

RE: ERROR The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist

2007-04-12 Thread Siegmann Daniel, NY
What proxy are you using? -Original Message- From: Mekonium [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 6:37 AM To: [EMAIL PROTECTED] Subject: ERROR The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist Hello everyone, Im a newbie in Maven, i must

Re: Using maven directly from a java application ?

2007-04-12 Thread nicolas de loof
The snapshot is for the parent POM, so having a repository set in the POM has no effect as maven has to resolve the parent before reading the POM... You can run maven with -DremoteRepositories= http://people.apache.org/maven-snapshot-repository This avoids changing your settings and allow to

Re: Question regarding finalName in maven-assembly-plugin

2007-04-12 Thread John Casey
Traditionally, Maven regards the repository as a database for artifacts. This means that anything in the repository is meant to be reachable by Maven. Having said that, most repositories live on some sort of webserver somewhere, which means the Maven repository is usually just a directory

Adding JARs and DLLs to a repository (RXTX)...

2007-04-12 Thread Arne Styve
Hi, I'm relativly new to maven2, but have set up a company repository to store 3rd party JARs not found (or that I haven't been able to find) in the central repository, as well as our own JAR-files that w use accross projects. This works fine for any 100% Pure Java JARs, but I have some

[site-plugin] remote clean deploy area?

2007-04-12 Thread Wim Deblauwe
Hi, is there a way to clean the deployment area with the site plugin. I have some older files that are still in the deploy (or the staging) area and I would like to clean them. Can the site plugin do this? regards, Wim -- Vigilog - an open source log file viewer:

RE: [site-plugin] remote clean deploy area?

2007-04-12 Thread Phill Moran
I thought mvn clean did that -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: April 12, 2007 10:57 AM To: Maven Users List Subject: [site-plugin] remote clean deploy area? Hi, is there a way to clean the deployment area with the site plugin. I have some older

Multi-module not picking up modules

2007-04-12 Thread lightbulb432
I want to build a multi-module project from the following pom, but I'm not sure if I'm doing it correctly. The POM of the containing project is below: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/axis2/axis2/1.1/axis2-1.1.pom When I do a mvn package in that directly

Re: Build error with weblogic-maven-plugin

2007-04-12 Thread Scott Ryan
Yes that is a bug I am working on. I have some free days over then next week or so and hope to have a solution. There are many jars that need to be included in the APPC and I am trying to find a good way to include them all without forcing you to load all the jars to your repository. I

How to generate manifest ClassPath entries for a web project?

2007-04-12 Thread Johan Eltes
I'd like have all dependent jars of all modules of my enterprise application bundled in the ear - not in WEB-INF/lib directories of my war files. Is this possible with maven 2? I would also like maven to generate the required ClassPath entries in the war manifest file. I've found out how

Re: How to generate manifest ClassPath entries for a web project?

2007-04-12 Thread Jerome Lacoste
On 4/12/07, Johan Eltes [EMAIL PROTECTED] wrote: I'd like have all dependent jars of all modules of my enterprise application bundled in the ear - not in WEB-INF/lib directories of my war files. Is this possible with maven 2? I would also like maven to generate the required ClassPath entries in

RE: Build error with weblogic-maven-plugin

2007-04-12 Thread Doug Tanner
Do you have a list of these jars? I'm looking forward to a fix for this, but in the mean time I need to continue working. Thanks, Doug Tanner -Original Message- From: Scott Ryan [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ryan Sent: Thursday, April 12, 2007 10:03 AM To: Maven

RE: [IMPORTANT] Maven 2 Plugin Auto-Versioning Considered Dangerous

2007-04-12 Thread David Jackman
This has been an interesting discussion to read. I've been thinking about an issue I'm seeing within our development group with versioning of parent POMs. All of our projects reference the same root parent, which has been evolving. Every time any project needs to release, we have to release the

Re: How to generate manifest ClassPath entries for a web project?

2007-04-12 Thread Johan Eltes
Thanks. Now that Maven is generating my manifest ClassPath entry for all my dependencies - how do I avoid having the dependent jars copied into the WEB-INF/lib directory of my war? Johan Eltes Callista Enterprise AB Mobil: +46 (0)708-22 41 86 [EMAIL PROTECTED]

Re: Maven users in the industry

2007-04-12 Thread Kalle Korhonen
I second that. On a large organization, with lesser Java knowledge and only very few strong engineering leads, any change meets resistance. I went through the same converting our project to Maven and there's still resistance. The most common arguments I hear: - We have no expertise on Maven (they

RE: Multiple artifacts

2007-04-12 Thread franz see
Good day, I've just tried creating a simple plugin named maven-my-dep-plugin to add a dependency to my maven project. package personals.samples.plugins; import org.apache.maven.model.Dependency; import org.apache.maven.plugin.AbstractMojo; import

Re: How to generate manifest ClassPath entries for a web project?

2007-04-12 Thread franz see
Good day, If you have a war project and you want some of its dependencies not to be included in your WEB-INF/lib, add project ... dependencies ... dependency ... scopeprovided/scope /dependency /dependencies /project Cheers, Franz Johan Eltes-3 wrote:

Re: Adding JARs and DLLs to a repository (RXTX)...

2007-04-12 Thread Damien Lecan
Hello, Add your dll in repository without pom, as dll type Then, use maven-dependency-plugin to get and copy dll were you want. Exemple : plugin artifactId-maven-dependency-plugin/artifactId executions execution idcopy/id

Re: Multi-module not picking up modules

2007-04-12 Thread franz see
Good day, The modules/ tag actually refers to directories from the ${basedir}. Thus if you have project ... modules ... modulemodules/parent/module modulemodules/java2wsdl/module /modules /project Maven will try to find ${basedir}/modules/parent/pom.xml and

Re: [IMPORTANT] Maven 2 Plugin Auto-Versioning Considered Dangerous

2007-04-12 Thread John Casey
If I'm not mistaken, the dependency-convergence report gives information about the dependency versions used in a [multimodule] project, plus information about the versions that are out there for use...if not dependency-convergence, I know I've seen this somewhere. This is relevant, if it could be

Re: Reuse plug-in code

2007-04-12 Thread franz see
Good day, I'd suggest you checkout the source code of maven-install-plugin [1], change its version to something like 2.2-goel. And then do your changes, and use that by specifying in your pluginManagement the version of maven-install-plugin to use ( this will also solve your problem of using

Re: Maven users in the industry

2007-04-12 Thread Graham Leggett
On Thu, April 12, 2007 5:53 pm, Kalle Korhonen wrote: - We have no expertise on Maven (they want somebody to teach them how to do things rather than assuming the responsibility of their own learning) Hear this a lot as well. At the core is the question what decision can I make that will

Re: Build error with weblogic-maven-plugin

2007-04-12 Thread Scott Ryan
Inside the weblogic.jar is a manifest that describes all the jars required to support the weblogic.jar. I am still going through to get the minimal combination that will work. Let me know if you have any ideas or make any progress. Scott On Apr 12, 2007, at 9:15 AM, Doug Tanner wrote:

Re: [MAVEN][2.0.6] Add files to META-INF with JAR Plugin

2007-04-12 Thread franz see
Good day, Try project ... build resources resource directorysrc/main/resources/archive-files/directory targetPathMETA-INF/targetPath /resource /resources /build /project Wherein src/main/resources/archive-files contains the additional files you want

Re: Problem with snapshot libraries

2007-04-12 Thread franz see
Good day, Is this a regression? If so, you may want to bring this up in the maven dev list :) Cheers, Franz Orford, Ian-3 wrote: Hi, I've just noticed a change that must have been introduced in a recent maven update (in the last 2 days). When I assemble my deliverable project,

Re: Multi-module not picking up modules

2007-04-12 Thread lightbulb432
Thanks for your response. By basedir do you mean the path that directly contains the artifacts? e.g. http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/axis2/ in the case where org.apache.axis2 is the groupId? In this case, is the axis2-1.1.pom wrong, or am I mistaken? Because

Re: How to generate manifest ClassPath entries for a web project?

2007-04-12 Thread Manos Batsis
Johan Eltes wrote: I'd like have all dependent jars of all modules of my enterprise application bundled in the ear - not in WEB-INF/lib directories of my war files. Is this possible with maven 2? I would also like maven to generate the required ClassPath entries in the war manifest file. I've

RE: Re: Problem when installing Maven 2.0

2007-04-12 Thread franz see
Good day, Kindly paste here the build logs of mvn resources:resources -cpu -X Cheers, Franz Ramesh Babu Pokala - TLS, Chennai wrote: I am also getting the same problem. I am working behind proxy... I have chenged proxy setings in Settings.xml too... But still I am getting the

[m2] Xdoclet 1 error parsing file with generics.

2007-04-12 Thread Mick Knutson
I have a java file with this declaration: public CollectionProviderHistorygetProviderHistoryByProviderIdentifier(long providerIdentifier, And when XDoclet runs in Maven, I get this error: [INFO] Executing tasks Apr 12, 2007 9:56:04 AM xdoclet.XDocletMain start INFO: Running hibernate/ Error

Re: Maven site-plugin

2007-04-12 Thread franz see
Good day, No idea when 2.0-beta-6 would be release, but as of today, there are still 6 outstanding issues for 2.0-beta-6 ( seee [1] ). If you can't wait, you can check out its trunk code ( see [2] ). And change the version to something like 2.0-sudhoff and use that instead. [1]

Re: ERROR The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist

2007-04-12 Thread Mekonium
Hello and thanks for your answear as you said i debugged and i got this: ** C:\test\my-appmvn -X compile + Error stacktraces are turned on. Maven version: 2.0.6 [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settin

Re: Re: Problem when installing Maven 2.0

2007-04-12 Thread Wayne Fay
Also, if you ever tried to run mvn before configuring your proxy, you can sometimes end up with bad metadata in your local repo leading to problems like you're seeing. So once you've configured your proxy properly in settings.xml, please delete the ~/.m2 directory and allow Maven to rebuild it

Re: Multiple artifacts

2007-04-12 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I have a project that builds multiple artifacts - a jar, a DLL and others that are shared by the Jar and DLL. For various reasons, we have decided to create a single POM that has plug-ins in right phases to build the DLL. So we

Re: Multi-module not picking up modules

2007-04-12 Thread franz see
Good day, That's because you're looking at the binary repository, and not the source repository :-) checkout the code from its source repository then reasses it again :-) ...as to where it is, I don't know. Try googling for it :-) The basedir is not

RE: ERROR The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist

2007-04-12 Thread Mekonium
I use a proxy that we have in the company.For tha i configured the following file: maven-2.0.6\conf\settings.xml any idea ??? thanks a lot By mekonium -- View this message in context:

Re: Excluding certain modules in a profile

2007-04-12 Thread takai
This seems to work. However i found that putting modules in the profile somehow breaks the dependency mechanism. I use the antrun plugin in an integration module. When i execute with a regular pom or just inside the integration module everything works fine. Once i use the aforementioned module

Re: Maven 2 ear plugin doesn't pick up resources

2007-04-12 Thread franz see
Good day, If you're saying you have something like target/artifactName-version/classes/ibm-application-bnd.xmi Then I guess your resources are configured as follows project ... build ... resources ... resource directorysrc/main/resources/META-INF//directory

Re: Excluding certain modules in a profile

2007-04-12 Thread franz see
Good day, Which project does not include its dependencies...the aggregating or the profile-added module? ..And which classpath? Cheers, Franz takai wrote: This seems to work. However i found that putting modules in the profile somehow breaks the dependency mechanism. I use the antrun

Re: Excluding certain modules in a profile

2007-04-12 Thread takai
Hi Franz, The profile-added module runs the integration tests. Usecase: Developer usually wants to just build the project - not run the entire integration test suite which takes a while. An explicit -P integration call is needed to run them. The real reason i want to add profile specific modules

Maven 2.0.5 errors : unable to execute any command

2007-04-12 Thread Kumar, Santosh
Downloaded maven 2.0.5 and tried with other version also. Is it possible to download all the plugins manually and install without depending on maven to download required libraries and plugins at runtime? In my configuration only mvn -version is working other all commands are failing. So main

Re: How to generate manifest ClassPath entries for a web project?

2007-04-12 Thread Marcel Schutte
See http://jira.codehaus.org/browse/MEAR-60 for a suggested improvement to the 'downside' of this solution. Please vote for this issue if you want it fixed. Regards, Marcel - Original Message From: Manos Batsis [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED] Sent: Thursday,

RE: [MAVEN][2.0.6] Add files to META-INF with JAR Plugin

2007-04-12 Thread Ephemeris Lappis
Hello. Very nice ! I've just added includes to limit the files that must be added to the jar, and it works as expected ! Merci beaucoup ! -- Ephemeris Lappis -Message d'origine- De : franz see [mailto:[EMAIL PROTECTED] Envoyé : jeudi 12 avril 2007 18:53 À : [EMAIL PROTECTED] Objet 

Re: Maven 2.0.5 errors : unable to execute any command

2007-04-12 Thread Wayne Fay
Your web proxy will need to be configured in settings.xml so Maven can connect to the Internet to download plugins etc as needed. There is no way to download all the plugins and install them manually. (It is possible but complicated and involves numerous steps, not a simple download this file

Re: Maven users in the industry

2007-04-12 Thread Erez Nahir
That is a good summary of the difficulties I'm facing, are you sure we are not on same office? :-) . Please see inline for more... Kalle Korhonen wrote: I second that. On a large organization, with lesser Java knowledge and only very few strong engineering leads, any change meets resistance.

RE: Maven users in the industry

2007-04-12 Thread Heck, Joe
This may or may not apply - We've only recently moved to Maven adoption, and while there have been some problems with the move, the reasons for moving were always very clear - concrete delineation of our dependencies (We have a fairly deep dependency tree, with a lot of older code). That was

Re: Did webstart-maven-plugin 1.0-alpha-2-SNAPSHOT change the artifact type?

2007-04-12 Thread Jerome Lacoste
On 4/10/07, Mykel Alvis [EMAIL PROTECTED] wrote: I just updated to 1.0-alpha-2-SNAPSHOT of the webstart mojo. Did the artifact type change? The behavior I see now is similar to pom processing, which makes sense since the artifact type is pom. [Please post issues to the Mojo users list.]

RE: Maven users in the industry

2007-04-12 Thread Sommers, Elizabeth
You say make isn't needed anymore. Does this mean that there is a maven plugin for C++ (I have to come up with some continuous integration system for C++ this month). -Original Message- From: Barrie Treloar [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 2:25 AM To: Maven

Re: ERROR The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist

2007-04-12 Thread Gregory Kick
sometimes when the proxy freaks out in the initial trials, it puts some metadata in my repository that makes it permanently fail. check to see if ~/.m2/repository contains anything for that plugin and delete it. On 4/12/07, Mekonium [EMAIL PROTECTED] wrote: I use a proxy that we have in the

Re: ERROR The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist

2007-04-12 Thread Wayne Fay
Greg is right. This is a known bug in M2. Just delete ~/.m2/ and try again. Wayne On 4/12/07, Gregory Kick [EMAIL PROTECTED] wrote: sometimes when the proxy freaks out in the initial trials, it puts some metadata in my repository that makes it permanently fail. check to see if

Re: Writting mojos in Groovy?

2007-04-12 Thread Dennis Lundberg
James CE Johnson wrote: Thanks Dennis! That's cool and I managed to get hooked up with version 1.0-alpha-2. Is that the latest / correct version? So now I have MyMojo.groovy that is compiling happily. Thank sounds good. However, the plugin plugin generates plugin.xml. I need to either (a)

Re: ERROR The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist

2007-04-12 Thread Wendy Smoak
On 4/12/07, Gregory Kick [EMAIL PROTECTED] wrote: sometimes when the proxy freaks out in the initial trials, it puts some metadata in my repository that makes it permanently fail. check to see if ~/.m2/repository contains anything for that plugin and delete it. The default update policy is

Re: Maven users in the industry

2007-04-12 Thread Erez Nahir
Take a look at: http://sourceforge.net/projects/jade-plugins/ Erez. Sommers, Elizabeth wrote: You say make isn't needed anymore. Does this mean that there is a maven plugin for C++ (I have to come up with some continuous integration system for C++ this month). -Original Message-

Re: ERROR The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist

2007-04-12 Thread Wayne Fay
I didn't know the metadata was deleted with -U. Thanks for that info, Wendy. Wayne On 4/12/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 4/12/07, Gregory Kick [EMAIL PROTECTED] wrote: sometimes when the proxy freaks out in the initial trials, it puts some metadata in my repository that makes

Re: ERROR The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist

2007-04-12 Thread Wendy Smoak
On 4/12/07, Wayne Fay [EMAIL PROTECTED] wrote: I didn't know the metadata was deleted with -U. Thanks for that info, Wendy. No... -U forces an update (and changes the timestamp in the metadata I assume, I haven't looked.) Deleting the metadata is another option to force an update. If it

Re: [site-plugin] remote clean deploy area?

2007-04-12 Thread Wim Deblauwe
I mean cleaning not in your local target directory but on the webserver you deploy to. regards, Wim 2007/4/12, Phill Moran [EMAIL PROTECTED]: I thought mvn clean did that -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: April 12, 2007 10:57 AM To: Maven Users

Re: Writting mojos in Groovy?

2007-04-12 Thread Martin Gilday
Things have improved since I wrote it but I made an article about an earlier version of the plugin and detailed some of its limitations http://www.martingilday.org/articles/Groovy+Maven+Mojos Hope that is some help. Thanks, Martin. - Original message - From: Dennis Lundberg [EMAIL

Re: Writting mojos in Groovy?

2007-04-12 Thread Martin Gilday
I have just noticed that the earlier reply was talking about the groovy-maven-plugin. This is different from the groovy maven tools plugin, in that it is ideal for compiling and running groovy but not for making mojos. There has also been some chat about making mojos in Maven on the Groovy

Error in compiling Struts code...

2007-04-12 Thread Vinit Nayak
Hi, I am getting following compilation error while compiling my code: [INFO] [compiler:compile] [INFO] Compiling 63 source files to C:\weblogic\dlymagsoutput [INFO] [ERROR] BUILD FAILURE [INFO]

Re: Error in compiling Struts code...

2007-04-12 Thread Wayne Fay
Looks like you're missing some dependencies you need to compile your code: package javax.servlet.http does not exist package org.apache.struts.action does not exist package javax.servlet.jsp does not exist package javax.servlet.jsp.tagext does not exist Add dependencies to your pom.xml to

Doc suggestion - deploying 3rd party source jars

2007-04-12 Thread Siegmann Daniel, NY
Just a suggestion for improving the documentation. Please let me know if this should be filed somewhere on JIRA, and I will do so. On the website there is a mini guide for deploying 3rd party jars (using deploy-file): http://maven.apache.org/guides/mini/guide-deploying-3rd-party-jars.html. It

Re: Doc suggestion - deploying 3rd party source jars

2007-04-12 Thread Carlos Sanchez
please file in http://jira.codehaus.org/browse/MNG if you provide a patch it will appreciated On 4/12/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: Just a suggestion for improving the documentation. Please let me know if this should be filed somewhere on JIRA, and I will do so. On the

Re: Maven users in the industry

2007-04-12 Thread jallen
Fujitsu Services Gilles Scokart wrote: Hi, Next week I have to make a presentation to my collegues. I will try to 'sell' maven, and I would like to say something like Look, Maven is now very used in the industry, It's for instance used by Did you know any companies using Maven,

Problem with maven-assembly-plugin 2.2-beta-1

2007-04-12 Thread Lacoste, Dana
With assembly plugin 2.2-beta-1, unpacked packages aren't being handled consistently with how 2.1 worked. Specifically, if I have an assembly which has a dependency which is unpacked, it is unpacked into dependency-name/, as if the dependency had includeBaseDirectory set to true (even though it's

Re: Problem with maven-assembly-plugin 2.2-beta-1

2007-04-12 Thread John Casey
This is reported in MASSEMBLY-179 ( http://jira.codehaus.org/browse/MASSEMBLY-179), and the workaround is to add the following to your dependencySet: outputFileNameMapping/outputFileNameMapping That should fix your problem. -john On 4/12/07, Lacoste, Dana [EMAIL PROTECTED] wrote: With

RE: Problem with maven-assembly-plugin 2.2-beta-1

2007-04-12 Thread Lacoste, Dana
Cool, that fixed it, thanks! It does seem redundant, though, having an outputDirectory and an outputFileNameMapping both (basically) affecting the same thing: where do unpacks go to? Oh well, it works now! -- Dana Lacoste -Original Message- From: John Casey [mailto:[EMAIL PROTECTED]

Re: Writting mojos in Groovy?

2007-04-12 Thread James CE Johnson
Hey guys, thanks for the help! I was able to create a simple groovy plugin with just a little bit of effort. From there it should be possible to crank up the complexity to create something truly useful. It would be cool to see the javalike tools go mainstream! I documented the process in case

  1   2   >