Re: Create dependencies between Maven 2 and JBoss, JBoss-Seam

2009-05-06 Thread Anders Hammar
Hi, What exactly is your problem? Is it that you can't find the artifacts (that you depend on) on any repo? /Anders On Tue, May 5, 2009 at 23:36, bpmfouka bpmfo...@yahoo.fr wrote: Hi, I am working on EJB3 with JBoss and also to spread that JBoss-Seam, I am searching solution to solve this

Re: [PLEASE TEST] Maven 2.2.0-RC2

2009-05-06 Thread Jörg Schaible
John Casey wrote at Dienstag, 5. Mai 2009 02:02: Hi again, After finding and cleaning up some code that seems to be tainted during some of our efforts at generifying the codebase, we've respun a new release candidate. If you have time, please give it a whirl:

Re: [PLEASE TEST] Maven 2.2.0-RC2

2009-05-06 Thread Mark Derricutt
Looks good with projects that had issues with profiles under 2.1.0 (sub projects not resolving profiles problem when built from the master). Mark -- Discouragement is a dissatisfaction with the past, a distaste for the present, and a distrust of the future - Maree De Jong, Life NZ.

Downloading from a secure repository

2009-05-06 Thread Ramon Turnes Perez
Hi, we have set up an internal maven repository with Artifactory and disable anonymous access so clients should authenticate themselves not only for publishing to the repository but also for downloading. The set up works for publishing, that is, maven client responds to server authentication

Re: Downloading from a secure repository

2009-05-06 Thread Anders Hammar
Possibly you should define credentials for the repo id artifactory in your settings.xml? As that's the id of the mirror being used. /Anders On Wed, May 6, 2009 at 10:03, Ramon Turnes Perez ramon.turnes-pe...@hermes-softlab.com wrote: Hi, we have set up an internal maven repository with

RE: Downloading from a secure repository

2009-05-06 Thread Ramon Turnes Perez
Thanks for your answer. I have tried it but it does not work. Regards. Ramon. -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: 6. maj 2009 10:30 To: Maven Users List Subject: Re: Downloading from a secure repository

RE: Downloading from a secure repository

2009-05-06 Thread Ramon Turnes Perez
Hi again, Anders, you were right, putting repo id artifactory solves the problem. It did not work because I entered the wrong credentials. Regards. Ramon. -Original Message- From: Ramon Turnes Perez [mailto:ramon.turnes-pe...@hermes-softlab.com] Sent: 6. maj 2009 10:33 To: Maven

Re: mvn classpath weirdness with eclipse plugin

2009-05-06 Thread Heinrich Nirschl
On Wed, May 6, 2009 at 12:29 AM, Davis Ford davisf...@zenoconsulting.biz wrote: I am at a loss.  We have no exclusions in the pom.  Where should I look next? Hello Davis, I remember, that this has popped up on the mailing list before. If I am not mistaken the suggested fix was to set the

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-06 Thread Nick Stolwijk
When I run your example with mvn dependency:tree this is what I get: [INFO] [dependency:tree] [INFO] foo.bar:foo-bar-parent:pom:0.0.1-SNAPSHOT [INFO] \- org.apache.velocity:velocity:jar:1.6.2:test [INFO]+- commons-collections:commons-collections:jar:3.2.1:test [INFO]+-

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-06 Thread Nick Stolwijk
When I run mvn dependency:resolve the output explains something more. (Ran it with debug on) [INFO] [INFO] Building Unnamed - foo.bar:b:war:0.0.1-SNAPSHOT [INFO]task-segment: [dependency:resolve] [INFO]

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-06 Thread Stevo Slavić
Thanks Nick for quick reply! Shouldn't broader scope win over narrower one, at least in this specific scenario? Regards, Stevo. On Wed, May 6, 2009 at 11:40 AM, Nick Stolwijk nick.stolw...@gmail.comwrote: When I run mvn dependency:resolve the output explains something more. (Ran it with

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-06 Thread Stevo Slavić
Warning (dependency:resolve printed) that broader scope has been overridden doesn't even print when one packages project... Regards, Stevo. 2009/5/6 Stevo Slavić ssla...@gmail.com Thanks Nick for quick reply! Shouldn't broader scope win over narrower one, at least in this specific scenario?

Re: Downloading from a secure repository

2009-05-06 Thread Anders Hammar
Ok, great. I was kind of hoping it was a mistake on your side, as I would be clueless otherwise. :-) /Anders On Wed, May 6, 2009 at 11:04, Ramon Turnes Perez ramon.turnes-pe...@hermes-softlab.com wrote: Hi again, Anders, you were right, putting repo id artifactory solves the problem. It did

Re: Maven2 - Where to put script files?

2009-05-06 Thread Blackbird
I guess I'll have to write my own plugin.. Nick Stolwijk-4 wrote: To put the files in src/main/scripts is the convention. It is then up to the plugins to do something with them. Which plugin did you expect to take your files? Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus

automatically calling install target for projects which are not in the repository

2009-05-06 Thread Blackbird
Hi, I have an application composed of 10 Eclipse projects, which depend on each other. One of them is a webapp and it depends on several Eclipse projects, and some of these Eclipse projects depend on others, so the dependency tree is quite complex. In good-old Eclipse build, I don't have to

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-06 Thread Stevo Slavić
Greater problem here is that tests would run fine (except functional tests, if there are any, that would actually deploy/run war), and one could discover dependency is missing only at runtime... Regards, Stevo. 2009/5/6 Stevo Slavić ssla...@gmail.com Warning (dependency:resolve printed) that

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-06 Thread Mark Hobson
After inheritance, the war dependency tree looks like this: foo.bar:b:war:0.0.1-SNAPSHOT +- org.apache.velocity:velocity:jar:1.6.2:test \- foo.bar:a:jar:0.0.1-SNAPSHOT:compile +- org.apache.velocity:velocity:jar:1.6.2:test \- org.apache.velocity:velocity:jar:1.6.2:compile So the resolved

Re: Maven2 - Where to put script files?

2009-05-06 Thread Nick Stolwijk
It all depends what you want to do with them. Deliver them with your application? Use the assembly plugin to create a bundle. Add them to the jar file? Configure the resource plugin to include the src/main/scripts directory. If it is any specific functionality, then you could write your own

Re: automatically calling install target for projects which are not in the repository

2009-05-06 Thread Nick Stolwijk
You can create a pom in a higher directory to include them as modules, or use a combination of a ci server and an artifact repository to make sure they are already build and waiting in the artifact repository. Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem

Re: [PLEASE TEST] Maven 2.2.0-RC2

2009-05-06 Thread Dominic Mitchell
On 5 May 2009, at 01:02, John Casey wrote: After finding and cleaning up some code that seems to be tainted during some of our efforts at generifying the codebase, we've respun a new release candidate. If you have time, please give it a whirl:

Re: unable to deploy site with webdav

2009-05-06 Thread rossputin
Hi Michael, I switched to use scp and all is good :-) Sorry I can not help you with the webdav thing, - Ross Michael K. wrote: Hello Ross, I have the same problem as you had. Did you get resolve the problem? I would appreciate your help. Kind regards, Michael rossputin

RE: automatically calling install target for projects which are not in the repository

2009-05-06 Thread Andrei Solntsev
Hi Blackbird, I am also interested how to make Maven automatically build dependencies. In our company, we created a proxy-scm provider for that purpose. I created Jira ticket http://jira.codehaus.org/browse/SCM-367, but it seems that community is not interested. Andrei Solntsev, Software

Re: unable to deploy site with webdav

2009-05-06 Thread Michael K.
I already use Maven 2.1.0. The error.log contains: Digest: client used wrong authentication scheme `Basic': Cannot create collection; intermediate collection does not exist. [409, #0] How do I get maven to use wagon-webdav-jackrabbit 1.0- beta-5 ? Thanks for help, Michael brettporter

generate ddl for my dbunti hiber4nqate configration

2009-05-06 Thread tubin gen
My project uses spring , hibernate,dbunit for orm dao unit testing. I am using maven to build my project. The dbunit testing I use hsqldb with hibernate configration prop key=hibernate.hbm2ddl.autocreate-drop/prop, this creates tables in hsqldb and excutes all test, I am wondering If I can save

Configuring a standalone EJB3 client

2009-05-06 Thread N G
Hi, I am trying to set up a maven configuration for the very first exercise in the O'reilly's EJB3 book. They use ANT to build the classpath, execute, etc. 1) I was able to find a generic persistence-api-1.0.jar in the repo1, but can't find a generic EJB3 api... does that exist? I had to specify

System scope dependency can't find class in rt.jar?

2009-05-06 Thread Charles McCallum
I need to reference WSBindingProvider, a class in the standard rt.jar: package edu.upenn.library.itadd.dla.fedora; ... import com.sun.xml.internal.ws.developer.WSBindingProvider; ... WSBindingProvider bp = (WSBindingProvider)port; ... This builds fine in Eclipse (without maven),

How to access the plugin class path in ant based mojo

2009-05-06 Thread gbremer
Hi, I'm new to maven plugin development. I'm writing an ant based maven plugin. The ant script contains a java task which requires the classpath of the plugin, i.e. the dependencies in the plugin pom. How can I construct the-plugin-classpath? myplugin.build.xml: java … classpath

Re: filtering web.xml

2009-05-06 Thread the_tfulton
Hi, Just to build on this a bit, the maven plugin definitely supports the filtering of resources (outside of WEB-INF/classes). Here is a full build config which filters web.xml (*.xml, actually) and places it in the WEB-INF directory: build plugins !-- the below

perform 'site' with 'package'

2009-05-06 Thread REMIJAN, MICHAEL J [AG/1000]
When 'mvn package' is run, is there a way to also automatically run 'site' too? Is this something which can be configured?? - This e-mail message may contain privileged and/or confidential

Re: perform 'site' with 'package'

2009-05-06 Thread Wendy Smoak
On Wed, May 6, 2009 at 10:28 AM, REMIJAN, MICHAEL J [AG/1000] michael.j.remi...@monsanto.com wrote: When 'mvn package' is run, is there a way to also automatically run 'site' too?  Is this something which can be configured?? To get the same effect, you could look at the goals that are bound

Re: resolve dependencyManagement dependencies from a bill of materials (bom) pom

2009-05-06 Thread Thejaswi Narayana
I guess the Maven dependency plugin goals do that. Do not remember which ones. Jim Sellers wrote: Hi all. For the company that I work at we've got a bill of materials (bom) pom that contains dependencies that we know will work together. Projects will use the import scope to pull this

How to check the versions of BOM pom entries and the dependent artifact versions entries

2009-05-06 Thread Thejaswi Narayana
I am working on creation of a Bill of Materails (BOM) POM which would have some of the common components used by other applications. Some of the components in the BOM pom are interdependent. We are looking at a way to find out that the versions in the component poms matches with the versions in

Re: [PLEASE TEST] Maven 2.2.0-RC2

2009-05-06 Thread Brian Fox
Check what command the release plugin is invoking during the perform goal. It's checking out the code to target/checkout and then forks another maven execution in that folder. This is the one that's failing for you. On Wed, May 6, 2009 at 3:18 AM, Mark Derricutt m...@talios.com wrote: Looks

Re: resolve dependencyManagement dependencies from a bill of materials (bom) pom

2009-05-06 Thread Jim Sellers
No goals in the dependency do this as far as I know. Just for fun I tried to run all the goals to see if one of them would do it, but they don't. There is a ticket open for having a tree for the dep management section, and I believe that would work for me.

How to get sub-assembly when creating root assembly?

2009-05-06 Thread chudak
I have a multi-module project. One of my submodules creates an assembly (zip) of a set of files that I need to distribute. At the root of my project, I want to create a 'distribution' that includes this assembly as well as several of the artifacts from other submodules (e.g. WAR's RAR's). For

include jars from a folder

2009-05-06 Thread tubin gen
I have some of the jar files modified and kept them under folder ext-lib, there jars files are needed by my application, can I tell maven to include jars from this folder into the war file ? my pom right now uses scope system and systempath , I donot want to install them becasue we don't have

maven 2.3.0 Cannot find lifecycle mapping for packaging: 'zip'.

2009-05-06 Thread Fernando Wermus
I got 'maven 2.3.0 Cannot find lifecycle mapping for packaging: 'zip'.' message running mvn install I am a bit confuse because I haven't changed anything since las time I use it. This is my setup and I tested it with maven 2.0.9. Is It a matter of versions? Apache Maven 2.1.0 (r755702;

Re: include jars from a folder

2009-05-06 Thread Wendy Smoak
On Wed, May 6, 2009 at 1:00 PM, tubin gen fachh...@gmail.com wrote: I have some of the jar files modified and kept them under folder ext-lib, there jars files are needed  by my application, can I tell maven to include jars from this folder   into the war file ? my pom right now uses scope

Re: maven 2.3.0 Cannot find lifecycle mapping for packaging: 'zip'.

2009-05-06 Thread Wendy Smoak
On Wed, May 6, 2009 at 1:15 PM, Fernando Wermus fernando.wer...@gmail.com wrote: I got 'maven 2.3.0 Cannot find lifecycle mapping for packaging: 'zip'.' message running mvn install I am a bit confuse because I haven't changed anything since las time I use it. This is my setup and I tested it

dependencyManagement

2009-05-06 Thread EJ Ciramella
I have a quick question about dependencyManagement - if moduleA has a dependencyManagement tag that pulls in a pom that has a bunch of dependencies. ModuleB depends on moduleA. During a build of ModuleB, I can see it trying to get at the pom specified in the dependencyManagement section of

Re: dependencyManagement

2009-05-06 Thread Jörg Schaible
EJ Ciramella wrote: I have a quick question about dependencyManagement - if moduleA has a dependencyManagement tag that pulls in a pom that has a bunch of dependencies. ModuleB depends on moduleA. During a build of ModuleB, I can see it trying to get at the pom specified in the

RE: Re: dependencyManagement

2009-05-06 Thread EJ Ciramella
Nice - thanks for the quick reply. Can I have that hour of my life back now :-) We are using 2.0.9 and it's not a trivial thing to get people and our environments updated. Is this truly fixed in 2.0.something beyond what I'm using? Or 2.2.0? -Original Message- From: news

Re: System scope dependency can't find class in rt.jar?

2009-05-06 Thread Brett Randall
Long shot - I know that newest in /usr/lib/jvm/newest/jdk/jre/lib/rt.jar suggests it is a JDK6 JDK, but might be worth double-checking on the build machine, in case a JDK5 slipped in unnoticed (which won't have this class). I see you've extracted the classes from the JAR, but maybe you did this

hi, can i run java argument ub command line

2009-05-06 Thread shrimpywu
when we run a java problem, we can do java Program arg1 arg2 when i do mvn exec:exec can i specify argument ?? i saw there was a article(http://mojo.codehaus.org/exec-maven-plugin/usage.html ) from maven, it said we can do this mvn exec:java -Dexec.mainClass=com.example.Main

hi, how to specify java_opts in maven

2009-05-06 Thread shrimpywu
Before i run my program like this plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions execution goals goalexec/goal