Re: Bug: offline build not running, when having SNAPSHOT dependencies

2007-12-07 Thread Matthias Wessendorf
ok, did this: http://jira.codehaus.org/browse/MNG-3314 On Dec 6, 2007 5:47 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: and... for some reasons, sometimes, it just downloads a new SNAPSHOT. That is a pain, when you are maintaining the same snapshot on your box, but the build just goes

Re: [m2] eclipse plugin and WTP generating warnings in Europa

2007-12-07 Thread Yeagle
I created the JIRA issue: http://jira.codehaus.org/browse/MECLIPSE-361 let me know if you need more... Yann. Arnaud HERITIER wrote: Ok, thanks a lot for your feedback. I'll try to fix it before the release of the 2.5 Arnaud On Dec 5, 2007 8:51 PM, Yann Albou [EMAIL PROTECTED] wrote:

Re: Forcing inclusion of jars

2007-12-07 Thread Founaboui Haman
Wendy Smoak schrieb: On Nov 30, 2007 3:48 AM, Founaboui Haman [EMAIL PROTECTED] wrote: Hi all, how can i force maven to includes the jars specified in the dependencies to be included in my project jar? late say in a lib directory. I am using maven 2.0.7 under jdk15 on eclipe 3.3.

Re: Bug: offline build not running, when having SNAPSHOT dependencies

2007-12-07 Thread Bruno Aranda
And does it happen too with 2.0.8? Cheers, Bruno On 07/12/2007, Matthias Wessendorf [EMAIL PROTECTED] wrote: ok, did this: http://jira.codehaus.org/browse/MNG-3314 On Dec 6, 2007 5:47 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: and... for some reasons, sometimes, it just downloads

Re: Bug: offline build not running, when having SNAPSHOT dependencies

2007-12-07 Thread Matthias Wessendorf
Yes [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.myfaces.trinidad:trinidad-build:jar:1.2.4-SNAPSHOT Try downloading the file manually from the project website. Which I

Launch a plugin after a site:stage call

2007-12-07 Thread greinhart
Hi, I generate my report site by the maven-site-plugin ( mvn site:stage -DstagingDirectory=...), I would like to launch a plugin after this call. How can i do It ? This configuration do not work because site is a plugin and not a phase: ... plugin

cvs tag -F

2007-12-07 Thread Benoit Decherf
Hi, In our cvs server a tag cannot be moved. This is useful to ensure that there is only one version of a component with a same tag. Now, i wan't to integrate all our components to continuum and use it to create releases. The problem is that the scm try to tag the release using cvs tag -F

Re: Launch a plugin after a site:stage call

2007-12-07 Thread Wendy Smoak
On Dec 7, 2007 7:56 AM, greinhart [EMAIL PROTECTED] wrote: I generate my report site by the maven-site-plugin ( mvn site:stage -DstagingDirectory=...), I would like to launch a plugin after this call. How can i do It ? This configuration do not work because site is a plugin and not a phase:

Re: Maven 2 JNLP

2007-12-07 Thread Jerome Lacoste
On Dec 7, 2007 8:57 AM, Ahmet Aytekin [EMAIL PROTECTED] wrote: Hi what is the right plugin for jnlp. I have tried maven-webstart-plugin with no luck. I also saw the maven 2 plugin list that there is maven- jnlp-plugin but I couldn't find any documentation. Appreciate any help. The plugin

TEST Please ignore

2007-12-07 Thread Ahmet Aytekin
TEST - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Questions about Continuum

2007-12-07 Thread Emmanuel Venisse
Hi, I'd like to use Continuum for my project. But I have some requirements I am not sure Continuum matches. The version I have installed is 1.1 final. a) Is it possible for Ant or Batch projects to add dependencies. I'd like to set the prerequisites for execution. (like the 'depends' in

Re: Bootstrapping problem with parent POM

2007-12-07 Thread Mark Eramo
Dirk, I define the repositories in the *settings.xml *file, which lives in the */.m2 *folder and it seems to work fine. I also have a parent pom that lives in the repository and is referenced in all my child poms. When I build a single child project, it finds the parent pom in the

Maven 2.0.8 test resource loading

2007-12-07 Thread DI Kurt Edegger
Hi! I've read about the class path order changes in Maven 2.0.8 compared to earlier releases and this is causing some issues in my builds so I wonder if there is a best approach to this topic. I've a class needing a resource file loaded from the class path. This file must be a different one

Re: Bootstrapping problem with parent POM

2007-12-07 Thread Dirk Olmes
Siegmann Daniel, NY schrieb: I unhappily stumbled across a bootstrapping problem. My project's parent POM defines the internal repository - the same repository where the parent POM is located. So there is no way for Maven to get the parent POM. Is there any way to specify a repository URL on

Re: Launch a plugin after a site:stage call

2007-12-07 Thread Wendy Smoak
On Dec 7, 2007 8:22 AM, Wendy Smoak [EMAIL PROTECTED] wrote: This configuration do not work because site is a plugin and not a phase: There is also a site lifecycle with phases pre-site, site, post-site, and site-deploy. Try binding your execution to the site-deploy phase, and it should

[ANN] Maven JSTools Plugin 0.4

2007-12-07 Thread Manos Batsis
About: The Maven JSTools Plugin provides a Maven interface to a set of JavaScript reporting and documentation tools like JSDoc Toolkit and JSLint, along a simple approach for building JS artifacts and use them as dependencies in your Maven-based projects. New in this release: The

Re: The specified resource isn't a file or the protocol used isn't allowed.

2007-12-07 Thread roan
I too am experiencing similar problems: * Also get The specified resource isn't a file or the protocol used isn't allowed. when try to add a maven2 project * Also using SVN over https. * Multi-module project. * The urls in SCM section in the pom are pointing to the folder that contains the

Re: Building Eclipse plugins with Maven 2

2007-12-07 Thread Sebastien ARBOGAST
I definitely miss something here, that is how to create a product configuration from an existing source-plugin module (that builds fine by the way). I don't know enough about Eclipse RCP and product configuration to be able to adapt the process to this particular maven setup. Has anyone already

Re: Optional Proxy Configuration

2007-12-07 Thread Heinrich Nirschl
On Dec 8, 2007 8:13 AM, Marco Bakera [EMAIL PROTECTED] wrote: Hello everybody. At work I need a proxy for maven to work while I don't need one at home. So I have to change my settings.xml back and forth during work at home and and at work. So is it possible to simply turn off the proxy

Optional Proxy Configuration

2007-12-07 Thread Marco Bakera
Hello everybody. At work I need a proxy for maven to work while I don't need one at home. So I have to change my settings.xml back and forth during work at home and and at work. So is it possible to simply turn off the proxy server configuration with a command line option? Thanks for help.

RE: deploy goal not copying resources to deployment repository

2007-12-07 Thread Brian E. Fox
You should use the assembly plugin to zip these templates up and deploy them and then use the dependency:unpack to take them from the repo and drop them in your local build as needed. You can also use the remote-resources plugin in a similar way. -Original Message- From: jeeads

RE: Add third parties libraries as dependencies

2007-12-07 Thread Brian E. Fox
You need to create a minimal pom for these jars for maven to be able to use them. If you use install:install-file or better deploy:deploy-file, it can create the minimal pom for you. -Original Message- From: Claudio Di Vita [mailto:[EMAIL PROTECTED] Sent: Friday, December 07, 2007 4:13

RE: I can't run ant

2007-12-07 Thread Brian E. Fox
When you want to run a plugin directly from the command line as you specified below, the configuration element must be outside the executions block. Executions are used to bind the goal to a lifecycle phase for execution during a build. -Original Message- From: Arthur Rodrigues Stilben

[m2] How do I change the schema location of application.xml

2007-12-07 Thread Mick Knutson
I want to use Maven to generate my application.xml, but need to have a different schema location. Is this possible? Or do I have to just create my own and force maven to use mine? application xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee

Re: deploy goal not copying resources to deployment repository

2007-12-07 Thread jeeads
When I read about the maven-resources-plugin outputDirectory it stated that it allows you to set this to whatever your needs are. The extra resource files under the templates directory are to be used globally by our developers to over ride the hibernate templates and spring templates in the

Re: Add third parties libraries as dependencies

2007-12-07 Thread Claudio Di Vita
Both of you, thanks so much. But I'm wondering why Maven works like that. We're agree that system scoped dependencies are dangerous, but they represents a clean solution for these situations. - .not everything that counts can be counted -- View this message in context:

Re: I can't run ant

2007-12-07 Thread Wayne Fay
Try mvn -X to get more debugging information out of Maven while it executes. Wayne On 12/7/07, Arthur Rodrigues Stilben [EMAIL PROTECTED] wrote: Hi, I have an ant script with no errors and I tried to run it using a POM file. I made a POM archive like this: project

Re: Maven 2.0.8 test resource loading

2007-12-07 Thread Paul Benedict
In my opinion, the dependency on surefire 2.3.1+ is a required dependency since unit testing is broken when reading from the classpath. Can a Maven committer please add such notes to the 2.0.8 releases notes under Changes that may affect existing builds? Unfortunately referencing MNG-3118 is just

localRepository property prepends backslash on Windows

2007-12-07 Thread Brewster, Richard
I am using the maven-antrun-plugin to execute a simple copy task that configures my JBoss instance prior to running integration-test with Cargo. I want to include the JDBC driver jar, which is installed into my local maven repository. I've relocated the repository in settings.xml as follows:

I can't run ant

2007-12-07 Thread Arthur Rodrigues Stilben
Hi, I have an ant script with no errors and I tried to run it using a POM file. I made a POM archive like this: project modelVersion4.0.0/modelVersion groupIdcom.teste/groupId artifactIdmy-project/artifactId version1.0/version build

deploy goal not copying resources to deployment repository

2007-12-07 Thread jeeads
I have a very basic pom ?xml version=1.0 encoding=UTF-8? project modelVersion4.0.0/modelVersion groupIdenterra/groupId artifactIdenterra-templates/artifactId version0.0.1-SNAPSHOT/version nameEnterra Templates/name description Coerced templates for the hibernate and

Re: Run ant archive

2007-12-07 Thread Wayne Fay
http://maven.apache.org/plugins/maven-antrun-plugin/ Wayne On 12/7/07, Arthur Rodrigues Stilben [EMAIL PROTECTED] wrote: How can I run an ant archive (build.xml) using maven? Arthur Rodrigues Stilben - To unsubscribe,

RE: Add third parties libraries as dependencies

2007-12-07 Thread Blue.Thomas
I've run into this as well. If you depend on an artifact that in turn has system scoped dependencies, the build fails during validation (mvn -X gives you more info). Either the intention is to keep system scoped dependencies defined in the pom of the project you're building (and keep them out of

Re: Maven 2.0.8 test resource loading

2007-12-07 Thread Wayne Fay
The problem seems to be within surefire. A new release 2.3.1 is being cut soon to address this issue. This is discussed in a few JIRAs: http://jira.codehaus.org/browse/MNG-3118 http://jira.codehaus.org/browse/SUREFIRE-61 http://jira.codehaus.org/browse/MNG-2365 Wayne On 12/7/07, Paul Benedict

Add third parties libraries as dependencies

2007-12-07 Thread Claudio Di Vita
I'm persuading my Team Leader to use Maven as build tool, but I have to demonstrate him that with Maven we'll handle our project dependencies effortless. I've obtained good results, but I have some problems with some jar libraries provided, through a quite complex installation process, by a

Re: Maven 2.0.8 test resource loading

2007-12-07 Thread Paul Benedict
The problem might be within the SureFire plugin? Maybe it requires an update to select the correct classpath for testing. Paul On Dec 7, 2007 2:36 PM, NicholasHall [EMAIL PROTECTED] wrote: I too have had this problem since upgrading to 2.0.8. I actually regressed to 2.0.7 until I can come

Re: Maven 2.0.8 test resource loading

2007-12-07 Thread NicholasHall
I too have had this problem since upgrading to 2.0.8. I actually regressed to 2.0.7 until I can come up with a solution. In my case, I'm using a different hibernate.cfg.xml file in test than in main. In main, I'm expecting a JNDI datasource from the container, but my test version is configured

How can I Override plexus component descriptor?

2007-12-07 Thread Bashar Jawad
I hope this is the right forum to ask this question. When writing a maven Mojo the maven @component annotation allows you to inject a plexus component. My question is how can I configure this plexus component to use a custom components.xml instead of the default components.xml in the

Re: dashboard and site plugin

2007-12-07 Thread emerson cargnin
Yes I will do it soon. Meanwhile, i can't use it anymore as there is no snapshot jar at: http://snapshots.repository.codehaus.org/org/codehaus/mojo/dashboard-maven-plugin/1.0-SNAPSHOT/ On 06/12/2007, dvicente [EMAIL PROTECTED] wrote: Hi, could you post a http://jira.codehaus.org/browse/MOJO

Re: deploy goal not copying resources to deployment repository

2007-12-07 Thread Wendy Smoak
On Dec 7, 2007 2:45 PM, jeeads [EMAIL PROTECTED] wrote: outputDirectory ${env.M2_REPO}/${pom.groupId}/${pom.artifactId}/${pom.version} /outputDirectory This is unusual. Normally the output directory is target/classes and only the artifact and pom are installed

Re: Add third parties libraries as dependencies

2007-12-07 Thread Wayne Fay
System-scoped dependencies are just a generally bad idea for a lot of reasons. Check these jars into your repo (mvn install:install-file ...) and use the proper scoping (which may be provided, or compile etc), as suggested below. Wayne On 12/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Run ant archive

2007-12-07 Thread Arthur Rodrigues Stilben
How can I run an ant archive (build.xml) using maven? Arthur Rodrigues Stilben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]