running jaxb twice with different configs

2008-01-11 Thread lists
Hello, to build my app I compile two differen xsd files to generate O/X mapping. I have duplicated the jaxb-maven-plugin in my pom. When I run the build from eclipse both xsds are compiled, when i run from the command lineonly one xsd is compiled. Is my solution at fault or is the maven failing?

Packaging HTML/JavaScript files into WAR from outside project

2008-01-11 Thread David Harkness
Greetings all, I've used Maven on a couple projects -- just enough to get by and build a webapp -- and I've got an issue I can't find a solution to. I have a non-maven project (Shindig in Apache incubator) that contains implementations in various languages (Java and PHP so far). They all share com

Re: Cargo issues

2008-01-11 Thread Wayne Fay
I don't really use Cargo so I guess I'm not following what you're talking about entirely... I just saw o.a.m.p when I know o.c.c is correct for the groupId. What exactly are you experiencing -- what is "this issue"? And why is this conversation occuring on the Maven list rather than the Cargo list

Re: Remote repository with self signed cert

2008-01-11 Thread Todd Nine
But that's the wagon that works. Its when maven attempts to download the dependencies via an https:// (non-dav) connection it pukes. On Jan 11, 2008 5:06 PM, Jeff MAURY <[EMAIL PROTECTED]> wrote: > Which Wagon provider do you use ? If you use WebDAV, see this page : > http://maven.apache.org/wag

Re: Cargo issues

2008-01-11 Thread Robert Morse
I wish you were correct. If you check the archive, you'll see this issue posted on this list as well as codehaus. I can get it to work by specifically naming the groupid, artifactid, and version on the command line. On Jan 11, 2008, at 1:18 PM, Wayne Fay wrote: It seems you didn't copy Ma

Re: Remote repository with self signed cert

2008-01-11 Thread Jeff MAURY
Which Wagon provider do you use ? If you use WebDAV, see this page : http://maven.apache.org/wagon/wagon-providers/wagon-webdav/ Jeff On Jan 11, 2008 10:56 PM, Todd Nine <[EMAIL PROTECTED]> wrote: > Unfortunately the stack trace I sent was with -X. Not very helpful is it > :)? What I don't un

Setting up Blacklist for Maven1 repo

2008-01-11 Thread Zach Legein
I am trying to setup a black list of a remote repository. I currently have this remote repo configured: Maven 1 Central Repository Identifier m1-central NameMaven 1 Central Repository URL http://repo1.maven.org/maven/ TypeMaven 1.x Repository With this proxy connectory setup to

Re: Remote repository with self signed cert

2008-01-11 Thread Todd Nine
Unfortunately the stack trace I sent was with -X. Not very helpful is it :)? What I don't understand, is if the dav deploy works with the self signed cert in my kestore, why does the build process not trust the certificate as well? On Jan 11, 2008 4:15 PM, Jeff MAURY <[EMAIL PROTECTED]> wrote:

Re: Continuum: what does default mean?

2008-01-11 Thread Olivier Lamy
Hi, In fact, we're not talking about the same field ;-). The default you talk is to say this builddefinition will be used when the user will force a build from the project group menu page. Concerning build definition template this feature is available in 1.1 final (the myfaces continuum instance is

Re: Remote repository with self signed cert

2008-01-11 Thread Jeff MAURY
I suppose wagon has trouble with your self signed certificate. Jeff On Jan 11, 2008 9:45 PM, Todd Nine <[EMAIL PROTECTED]> wrote: > Just an FYI, it does work with http, however we need to use https for > security reasons, so our http repository will be shut off shortly. > > On Jan 11, 2008 3:38

Re: Remote repository with self signed cert

2008-01-11 Thread Todd Nine
Just an FYI, it does work with http, however we need to use https for security reasons, so our http repository will be shut off shortly. On Jan 11, 2008 3:38 PM, Todd Nine <[EMAIL PROTECTED]> wrote: > Hi all, > I have a repository that is DAV compatible. I can upload to it, as well > as downlo

Re: Remote repository with self signed cert

2008-01-11 Thread Wayne Fay
Does running with mvn -X tell you any more details than what we're seeing here? Wayne On 1/11/08, Todd Nine <[EMAIL PROTECTED]> wrote: > Hi all, > I have a repository that is DAV compatible. I can upload to it, as well > as download from an http client. Only the upload requires a password. > H

Re: Cobertura

2008-01-11 Thread Wayne Fay
Modify the Cobertura plugin so it does what you want. ;-) It is open source, after all. http://mojo.codehaus.org/cobertura-maven-plugin/ Wayne On 1/11/08, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: > I'd like to do something like this: > http://www.devx.com/Java/Article/36231 but not with Ant but

Remote repository with self signed cert

2008-01-11 Thread Todd Nine
Hi all, I have a repository that is DAV compatible. I can upload to it, as well as download from an http client. Only the upload requires a password. However whenever I try to perform a build that requires me to download an artifact I receive the following stacktrace. If I go to the repo with

Cobertura

2008-01-11 Thread Hilco Wijbenga
I'd like to do something like this: http://www.devx.com/Java/Article/36231 but not with Ant but with Maven. (In summary, it extracts the line coverage rate from the coverage.xml file created by Cobertura and uses it to make sure future builds can only do better, not worse.) The problem is that the

Re: Cargo issues

2008-01-11 Thread Wayne Fay
It seems you didn't copy Manuel's example "verbatim". There is no o.a.m.p:maven-cargo-plugin. What Maven is telling you is correct -- this does not exist, as you can see here: http://repo1.maven.org/maven2/org/apache/maven/plugins/ Instead you need: org.codehaus.cargo cargo-maven2-plugin

Maven & java2wsdl...

2008-01-11 Thread Fernando da Motta Hildebrand
Hi, I'm using Maven 1.x with Axis 1, here's below my maven.xml Copying server-config.wsdd and context.xml...

Re: Cargo issues

2008-01-11 Thread Robert Morse
This is a late follow-up to this thread, but has anyone solved the issue of why this error comes up: The plugin 'org.apache.maven.plugins:maven-cargo-plugin' does not exist or no valid version could be found For what it's worth, I copied Manuel's example of using this plug-in verbatim.

Re: Continuum: what does default mean?

2008-01-11 Thread Wendy Smoak
On Jan 11, 2008 10:46 AM, simon <[EMAIL PROTECTED]> wrote: > I'm talking specifically about the continuum server at >myfaces.zones.apache.org:8080/continuum > although unfortunately you won't be able to see anything there without a > login account. I made 'guest' a global project user, so the

Re: Continuum: what does default mean?

2008-01-11 Thread simon
Hi Olivier, I think we're talking about the same field, but unfortunately I don't understand your answer. I'll try to be more precise... When looking at an existing "build definition", the columns are: goals arguments build file schedule profile from build fresh default This "def

Maven 2.1 release

2008-01-11 Thread Graham Leggett
Hi all, Is there any expected timeframe for the first stab (an alpha or beta) release of maven 2.1? I found this claiming around December time, is there any update? http://mail-archives.apache.org/mod_mbox/maven-users/200710.mbox/[EMAIL PROTECTED] Regards, Graham -- smime.p7s Description:

Re: regarding creating a project using maven

2008-01-11 Thread Wayne Fay
First I would upgrade to the latest 2.0.8 version of Maven. Then I would read the documentation around configuring an Internet proxy for Maven in settings.xml. It sounds like Maven cannot connect to the Internet to download necessary files. Wayne On 1/11/08, Praphul Chalasani <[EMAIL PROTECTED]>

Re: plug-in vs dependency

2008-01-11 Thread Wayne Fay
A dependency is something your project uses itself internally eg log4j or hibernate. A plugin is something that Maven uses during its build cycle to do something for your project eg the hibernate3 plugin can read your hibernate configuration files and generate some Java classes. Wayne On 1/11/08

Re: How to deploy a non-maven-built WAR to Tomcat with MAVEN2?

2008-01-11 Thread Thomas Chang
I have maven2 and don't want to install ant. Wayne Fay <[EMAIL PROTECTED]> schrieb: Maven is great, but in this particular case, I would think about just using an Ant "deploy to Tomcat" script. Wayne On 1/11/08, Jeff MAURY wrote: > Create a profile in your pom with configuration to your oth

Re: How to deploy a non-maven-built WAR to Tomcat with MAVEN2?

2008-01-11 Thread Wayne Fay
Maven is great, but in this particular case, I would think about just using an Ant "deploy to Tomcat" script. Wayne On 1/11/08, Jeff MAURY <[EMAIL PROTECTED]> wrote: > Create a profile in your pom with configuration to your other war and follow > these instructions: > http://mojo.codehaus.org/tom

Re: Error: Cannot invoke Tomcat manager by running tomcat:deploy

2008-01-11 Thread Thomas Chang
Yes. I can open http://localhost:8080/manager/html. In this page this is a table where there is "/manager". If I click it, I got the error. It seems it will call up the manager app but failed. Jeff MAURY <[EMAIL PROTECTED]> schrieb: What url do you use ? The URL to use is http://localhost:808

RE: Classpath order of dependencies

2008-01-11 Thread Jörg Schaible
Simon Kitching wrote: > Marco Huber <[EMAIL PROTECTED]> schrieb: >> Hello, >> >> I have a little problem with the order of my dependencies. >> Depending on the posistion of one dependency I get an error during >> my tests. >> >> The first pom snippet result in an NoClassDefFoundError: >> >

Re: How to deploy a non-maven-built WAR to Tomcat with MAVEN2?

2008-01-11 Thread Jeff MAURY
Create a profile in your pom with configuration to your other war and follow these instructions: http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html#Deploying%20a%20WAR%20file Jeff On Jan 11, 2008 3:43 PM, Thomas Chang <[EMAIL PROTECTED]> wrote: > Hi all, > > We know we can deploy a ma

How to deploy a non-maven-built WAR to Tomcat with MAVEN2?

2008-01-11 Thread Thomas Chang
Hi all, We know we can deploy a maven-built war to Tomcat using "mvn tomcat:deploy". Now I have a WAR which is not built with maven2. That means it has no pom.xml. Can I even thoug use maven2 to deploy it to Tomcat? Regards Thomas - Heute schon einen

RE: Configure FROM mailbox

2008-01-11 Thread Bernard Brady
Ivan Take a look at this http://www.mail-archive.com/users@maven.apache.org/msg77767.html Should solve your problem. Regards Bernard Brady Senior Software Developer Autometrics 370/374 Upper Newtownards Road Belfast County Antrim BT43EX United Kingdom tel: +44 (0)

Re: Error: Cannot invoke Tomcat manager by running tomcat:deploy

2008-01-11 Thread Jeff MAURY
What url do you use ? The URL to use is http://localhost:8080/manager/html and not *http://localhost:8080/manager* Jeff On Jan 11, 2008 3:04 PM, Thomas Chang <[EMAIL PROTECTED]> wrote: > You are right. I change the "tomcat-users.xml" as you wrote, it runs. > Thank! > > But, if I open the Tomcat

Re: Release plugin for multiple projects with dependencyManagement in parent pom.xml

2008-01-11 Thread Simon Kitching
Simon Kitching <[EMAIL PROTECTED]> schrieb: > I've never really understood why the dependencyManagement section is useful > at all. Just to clarify: I meant using it to define lib versions for child poms, with simple stuff like. .. ... ... Obviously the ability to define

Re: Classpath order of dependencies

2008-01-11 Thread Simon Kitching
Marco Huber <[EMAIL PROTECTED]> schrieb: > Hello, > > I have a little problem with the order of my dependencies. > Depending on the posistion of one dependency I get an error during my tests. > > The first pom snippet result in an NoClassDefFoundError: > > ... > > org.hiber

Re: Error: Cannot invoke Tomcat manager by running tomcat:deploy

2008-01-11 Thread Thomas Chang
You are right. I change the "tomcat-users.xml" as you wrote, it runs. Thank! But, if I open the Tomcat and go into the Manager page. When I click the link "manager", I will get error of "HTTP Status 404 - /manager/". Do you know why? Jeff MAURY <[EMAIL PROTECTED]> schrieb: By default, the tom

Re: Release plugin for multiple projects with dependencyManagement in parent pom.xml

2008-01-11 Thread Simon Kitching
Aleksandras Skrynikovas <[EMAIL PROTECTED]> schrieb: > Hi, I've browsed the mailing list for a solution but there doesn't > seem to be a clear cut answer. > > Problem: in my app many projects depend on a single parent which uses > dependencyManagement to keep > module versions nice and ti

Re: Error: Cannot invoke Tomcat manager by running tomcat:deploy

2008-01-11 Thread Jeff MAURY
By default, the tomcat plugin uses admin as a user name and no password. If you don't specify them in your POM, your use modify your tomcat-users.xmlfile as follows: ** Jeff On Jan 11, 2008 2:36 PM, Thomas Chang <[EMAIL PROTECTED]> wrote: > Now I change the "tomcat-users.xm

Re: - possible maven defect?

2008-01-11 Thread Marshall Schor
William Ferguson wrote: >From what you've said it seems that all your problems are solved by hardcoding the version in the parent. Ie don't use the property. Which is standard practice. I don't know what causes the problem that you are describing, but if it goes away when you stop punishing your

Re: Error: Cannot invoke Tomcat manager by running tomcat:deploy

2008-01-11 Thread Thomas Chang
Now I change the "tomcat-users.xml" as follow, but it's the same. Jeff MAURY <[EMAIL PROTECTED]> schrieb: You must have the manager role so supply tomcat as user and password. Regards Jeff On Jan 11, 2008 2:03 PM, Thomas Chang wrote: > Sure. My "tomcat-users.

Re: Error: Cannot invoke Tomcat manager by running tomcat:deploy

2008-01-11 Thread Jeff MAURY
You must have the manager role so supply tomcat as user and password. Regards Jeff On Jan 11, 2008 2:03 PM, Thomas Chang <[EMAIL PROTECTED]> wrote: > Sure. My "tomcat-users.xml" looks as follow. Is it OK? > > > > > > > > > > > > > > Jeff MAURY <[EMAIL PROTECTED]> schrieb: You m

Re: Error: Cannot invoke Tomcat manager by running tomcat:deploy

2008-01-11 Thread Thomas Chang
Sure. My "tomcat-users.xml" looks as follow. Is it OK? Jeff MAURY <[EMAIL PROTECTED]> schrieb: You must specify user and password because the manager application is protected by default. Jeff On Jan 11, 2008 1:27 PM, Thomas Chang wrote: > Hi all, > > I try to deploy

Re: Error: Cannot invoke Tomcat manager by running tomcat:deploy

2008-01-11 Thread Jeff MAURY
You must specify user and password because the manager application is protected by default. Jeff On Jan 11, 2008 1:27 PM, Thomas Chang <[EMAIL PROTECTED]> wrote: > Hi all, > > I try to deploy a WAR to Tomcat using " > mvn tomcat:deploy -Dmaven.tomcat.url=http://localhost:8585/manager";. But I >

Release plugin for multiple projects with dependencyManagement in parent pom.xml

2008-01-11 Thread Aleksandras Skrynikovas
Hi, I've browsed the mailing list for a solution but there doesn't seem to be a clear cut answer. Problem: in my app many projects depend on a single parent which uses dependencyManagement to keep module versions nice and tidy. When releasing some project with the release plugin, I have to

regarding creating a project using maven

2008-01-11 Thread Praphul Chalasani
When I check for mvn -version ,it has displayed the version(Maven version: 2.0). When I ran the following command , I am getting the error . F:\work2> mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app [INFO] Scanning for projects... [INFO] Searching repository for plug

Error: Cannot invoke Tomcat manager by running tomcat:deploy

2008-01-11 Thread Thomas Chang
Hi all, I try to deploy a WAR to Tomcat using " mvn tomcat:deploy -Dmaven.tomcat.url=http://localhost:8585/manager";. But I got error as follow. What's wrong? [ERROR] BUILD ERROR [INFO] [INFO] Cannot invoke Tomcat manager

Re: Excluding files from JAR

2008-01-11 Thread amit kumar
Hi, Sorry for incomplete information about the problem. I used task , and it is working now. Did not try the snapshot jar plugin yet. Thanks and regards, Amit Kumar On Jan 11, 2008 5:46 AM, Wayne Fay <[EMAIL PROTECTED]> wrote: > I don't think Simon is telling you to use Ant's jar command -- ins

Classpath order of dependencies

2008-01-11 Thread Marco Huber
Hello, I have a little problem with the order of my dependencies. Depending on the posistion of one dependency I get an error during my tests. The first pom snippet result in an NoClassDefFoundError: ... org.hibernate hibernate-validator 3.0.0.ga org.

Re: How to deploy WAR to Tomcat with MAVEN2?

2008-01-11 Thread ben short
Or this one.. http://mojo.codehaus.org/tomcat-maven-plugin/introduction.html 2008/1/11 Jeff MAURY <[EMAIL PROTECTED]>: > You can use the cargo Maven plugin (http://cargo.codehaus.org). > > Jeff > > > > On Jan 11, 2008 9:49 AM, Thomas Chang <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > > I us

Re: How to deploy WAR to Tomcat with MAVEN2?

2008-01-11 Thread Jeff MAURY
You can use the cargo Maven plugin (http://cargo.codehaus.org). Jeff On Jan 11, 2008 9:49 AM, Thomas Chang <[EMAIL PROTECTED]> wrote: > > Hi all, > > I use maven2. I wonder if there is a mvn-command which can > deploy/reploy/delete the war to/from Tomcat? > > Regards > > > > ---

How to deploy WAR to Tomcat with MAVEN2?

2008-01-11 Thread Thomas Chang
Hi all, I use maven2. I wonder if there is a mvn-command which can deploy/reploy/delete the war to/from Tomcat? Regards - Ihr erstes Baby? Holen Sie sich Tipps von anderen Eltern.