Re: the default goal should be specified in the

2005-07-01 Thread dan tran
http://maven.apache.org/reference/project-descriptor.html On 7/1/05, Janos Mucsi <[EMAIL PROTECTED]> wrote: > Hi > I am getting the message below. So far I have been using maven 1.0.2 Now I > am using > Maven 1.1 beta 1 > Can somebody please show me a sample project.xml, etc. ? > > Thanks. >

RE: Maven Validator (maven-xhtml-plugin): Could not start validation: null not found

2005-07-01 Thread Jeff Jensen
FYI Follow up on solution/work around This problem does not occur on JDK 1.5, but does on 1.4, and on multiple of my PCs and another person's. We also found other people reporting similar issues (not related to using Maven), but no resolution on the JDK problem yet. So a workaround for anyone n

Trying to run ANT's JUnit under M(1.0.2)

2005-07-01 Thread Harrison . Curtis
I'm trying to run a Ant Junit task in my plugin. When it executes I get: [ERROR] Could not find org.apache.testlet.engine.TextTestEngine I realize I do not have the class in my dependancy list. What I do not know is where to get the jar so I can run the JUnit in the plugin. The jelly

the default goal should be specified in the

2005-07-01 Thread Janos Mucsi
Hi I am getting the message below. So far I have been using maven 1.0.2 Now I am using Maven 1.1 beta 1 Can somebody please show me a sample project.xml, etc. ? Thanks. Janos DEPRECATED: the default goal should be specified in the section of proje ct.xml instead of maven.xml build:start:

[M2] testResources not working ?

2005-07-01 Thread c_inconnu3
Hi, I have this 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 maven-v4_0_0.xsd"> 4.0.0 mygroup tests 0.20-SNAPSHOT jar junit

Re: Maven, CruiseControl, multiple projects & Best Practices

2005-07-01 Thread Paul Spencer
Jamie, 1) CruiseControl processes project in the order they appear in the configuration file, cruisecontrol.xml. Base on David's example, the project should be present in the following order: common component1 server 2) CruiseControl can build a project when another project has been

RE: Different Java Versions for different sub-projects?

2005-07-01 Thread Aidan Donohoe
Thanks Dennis, We thought about this, but to be on the safe side, we think compiling with a 1.4 JDK would be better if possible. From peoples' experience, is setting these properties to 1.4 a guarantee that the compiles code will run in a 1.4 JRE? Thanks, Aidan -Original Message- From:

Maven IDE and Eclipse 3.1

2005-07-01 Thread Harrison . Curtis
I just installed Eclipse 3.1 and the Maven IDE from (http://mevenide.codehaus.org/update/3.0/site.xml). The Maven IDE appears to be installed correctly, but it doesn't recognize the project.xml. It does recognize the plugin.jelly of the plugins I have written. I have the Maven icon on the plugin

[maven] How to merge security entries into application.xml for EAR

2005-07-01 Thread Mick Knutson
I have some security settings I need to merge into my application.xml and can't find any info about it. Is this possible? Thank You Mick Knutson Sr. Java/J2EE Consultant BASE logic, inc. (415) 648-1804 (S.F., CA) http://www.BASELogic.com HP Consulting Services (Walnut Creek, CA) -

Maven, Eclipse, and chained project builds

2005-07-01 Thread Gregory Gerard
Hello, Longtime listener, first time caller. Seriously, we're getting ready to split our project out into multiple projects. Here's how we'd like to use and build and I believe Maven can support this but I'm not familiar enough to answer authoritatively. 1. Build a

Re: javadoc and jxr generation

2005-07-01 Thread Adrian Herscu
Brett, I think that I have found the problem and I can reproduce it. 1) Download the commons-jelly.1.0.jar from here: http://archive.apache.org/dist/java-repository/commons-jelly/jars/commons-jelly-1.0.jar 2) Copy it into %MAVEN_HOME%/lib 3) Run the site goal And you should get this: maven-j

Re: Different Java Versions for different sub-projects?

2005-07-01 Thread Dennis Geurts
Aidan, I don't know if this'll solve your problem, but isn't is enough to specify the following properties: maven.compile.source=1.4 maven.compile.target=1.4 for the projects that need to compile with jdk1.4 compatibility ?? http://maven.apache.org/reference/plugins/java/properties.html provid

Correct structure to get multiproject:site to work

2005-07-01 Thread Sidart Kurias
All I apologise for the long post. I am struggling to get the multiproject site goal to work. All the other goals work fine, jar:install, compile checkout etc. and haven't been able to find an answer to the problem on the lists .. My project structure is as follows Main Project(Master) | ||Commo

Different Java Versions for different sub-projects?

2005-07-01 Thread Aidan Donohoe
Hi, Does anybody know if there is there is a way to specify different JDKs for different projects? I have two sub projects, one of which must be compiled and ran with JDK 1.5 and another which should be compiled and ran with JDK 1.4. Is there a property which I can change which will point maven

Re: Maven, CruiseControl, multiple projects & Best Practices

2005-07-01 Thread Jamie Bisotti
Paul, can you elaborate on that a bit more? On 7/1/05, Paul Spencer <[EMAIL PROTECTED]> wrote: > David, > Between the order of projects in the cruise control configuration file > and the value of each projects "maven.cruisecontrol.trigger.projects" > property, you can minimize the number of failed

Re: Accessing an internal remote repository via FTP - how to specify username/password

2005-07-01 Thread Thomas Van de Velde
Kanakambaran, Last time I checked (Maven 1.0.2), ftp was simply not implemented. Thomas On 7/1/05, Kanakambaran Nair <[EMAIL PROTECTED]> wrote: > > Some more info on this - here is the output of maven -X > > Attempting to download xyz-1.0.jar. > Getting URL: ftp://n123/xyz/jars/xyz-1.0.jar > u

Re: Maven, CruiseControl, multiple projects & Best Practices

2005-07-01 Thread Paul Spencer
David, Between the order of projects in the cruise control configuration file and the value of each projects "maven.cruisecontrol.trigger.projects" property, you can minimize the number of failed builds as described in #1. Paul Spencer David Jackman wrote: 1. You'll definitely need to jar:i

RE: Maven, CruiseControl, multiple projects & Best Practices

2005-07-01 Thread David Jackman
1. You'll definitely need to jar:install each project at the very least. Otherwise, the later projects won't be able to find their dependencies. You may also discover a problem we've been seeing lately. Someone will make a change to 'common' which also requires a change to 'server'. They check in

RE: Resources not being found by test plugin

2005-07-01 Thread Kenney Westerhof
On Fri, 1 Jul 2005, Erick Dovale wrote: You should remove the targetPath directive. Say you've got a resource source/testSrc/resources/A. This is copied to target/test-classes/resources/A. Your resource is accessible under /resources/A (using ClassLoader.findResource e.a.). Normally you add the

RE: Resources not being found by test plugin

2005-07-01 Thread Erick Dovale
Yes, that is exactly what I told maven and it actually does it. The only problem is that the resources folder is not added to the classpath and therefore no resource into the folder is being found by my testes. The paths don't seem to be wrong as every single resource gets copied to target/classes

multproject

2005-07-01 Thread Ricardo de Souza Moura
Hi guys. Does anybody use some plugin in eclipse with multproject ? I have been using the mevenide and I am not so confortable with the quantity of projects that I have to create. I have to create at least three projects for each application. One to create a war, another to create business objec

where's the output going to?

2005-07-01 Thread WolfgangHäfelinger
Hi, On http://maven.apache.org/reference/scripting.html is a Jelly scripting example named "nighly-build". Here's a modified version: ${goals} Now attaining goal ${goal} So when I run $ maven nightly-build I'm getting: [..] nightl

[M2] ejb project

2005-07-01 Thread Adam Hardy
Just trying to find out the steps to set up an EJB project and I can't find anything in the mailing list or on the website. There is no maven-archetype-ear or maven-archetype-ejb for the quickstart plugin with which I can create a new project, so should I just be creating a plain old jar proje

Re: Accessing an internal remote repository via FTP - how to specify username/password

2005-07-01 Thread Kanakambaran Nair
Some more info on this - here is the output of maven -X Attempting to download xyz-1.0.jar. Getting URL: ftp://n123/xyz/jars/xyz-1.0.jar username is xyz; password hidden Error retrieving artifact from [ftp://n123/xyz/jars/xyz-1.0.jar]: java.net.ProtocolException: Server redirected too many time

Re: Accessing an internal remote repository via FTP - how to specify username/password

2005-07-01 Thread Kanakambaran Nair
Hi, I found out how to specify the username and password as part of the ftp url Now I have specified the remote repository as maven.repo.remote = ftp:///uname:[EMAIL PROTECTED] but I am still getting the same error when I try to build. Error retrieving artifact from [ftp://n123/xyz/jars/xyz-1.

Re: Accessing an internal remote repository via FTP - how to specify username/password

2005-07-01 Thread Kanakambaran Nair
Sorry abt the typo in the line >> I am able to access the ftp site by giving ftp://n6770 I am able to access the site by giving ftp://n6770 but it prompts me to enter the username and password.

Accessing an internal remote repository via FTP - how to specify username/password

2005-07-01 Thread Kanakambaran Nair
Hi, I am using Maven 1.0.2. I have setup an internal repository for our team. I am able to access it via http after running a web server on that machine. But we want to restrict the access to the repository and want everyone to access it via ftp only. I have set the property maven.repo.remo

Re: m2 site plugin property not recognized

2005-07-01 Thread Emmanuel Venisse
In the next release, you'll can deploy in your scm tool (if it's supported by maven-scm) Emmanuel puschteblume wrote: Hi Edwin Thanks for your explanation. I have solved the problem, but it is interesting what you told I haven't thought about. It is of course better to leave things where th

Re: [M2a3] unit-test not working

2005-07-01 Thread Allan Ramirez
Johnny Ruiz wrote: Allan Ramirez wrote: Allan Ramirez wrote: Hi everyone, I have overrided the source and test directories in my pom.xml 4.0.0 com.exist.aqr junit-sample jar 1.0-SNAPSHOT Maven 2 JUnit Sample junit junit 3.8.1 test src/java

Re: Help on Adding Projects in Continuum

2005-07-01 Thread Johnny Ruiz
Yann LE DU wrote: Hi Johnny, AFAIK, you can only add an M2 project using http://, https :// or ftp:// protocol. file:// isn't supported yet due to security issues, but will be in alpha-3 through an uploader. I didn't see anything about svn:// I have the same issue as you, so I put my POMs on a

Re: [M2a3] unit-test not working

2005-07-01 Thread Johnny Ruiz
Allan Ramirez wrote: Allan Ramirez wrote: Hi everyone, I have overrided the source and test directories in my pom.xml 4.0.0 com.exist.aqr junit-sample jar 1.0-SNAPSHOT Maven 2 JUnit Sample junit junit 3.8.1 test src/java src/test h

Re: m2 site plugin property not recognized

2005-07-01 Thread puschteblume
Hi Edwin Thanks for your explanation. I have solved the problem, but it is interesting what you told I haven't thought about. It is of course better to leave things where they are and "deploy" it to the right location. But I have a project that is under source control, and if you can't ssh/sc

Re:Help on Adding Projects in Continuum

2005-07-01 Thread Yann LE DU
Hi Johnny, AFAIK, you can only add an M2 project using http://, https :// or ftp:// protocol. file:// isn't supported yet due to security issues, but will be in alpha-3 through an uploader. I didn't see anything about svn:// I have the same issue as you, so I put my POMs on an Apache server, so I

Re: [M2] Artifacts

2005-07-01 Thread Allan Ramirez
Allan Ramirez wrote: Hi everyone, I am converting a project from M1 to M2 and its dependencies are stored in http://dist.codehaus.org and http://cvs.apache.org/repository. Are there M2 equivalent repositories for these two sites where all corresponding artifacts are converted to M2? Thank

[M2] Artifacts

2005-07-01 Thread Allan Ramirez
Hi everyone, I am converting a project from M1 to M2 and its dependencies are stored in http://dist.codehaus.org and http://cvs.apache.org/repository. Are there M2 equivalent repositories for these two sites where all corresponding artifacts are converted to M2? Thanks, Allan --

Re: m2 site plugin property not recognized

2005-07-01 Thread puschteblume
Hm, this makes sense :) You are completely right. And I am completely stupid. Thanks for your help. Dennis Geurts wrote: Hi Heiko, If I understand correctly, you run 'm2 site:site', and you wonder why the output ends up in 'target/site' instead of in '${basedir}/www'. shouldn't you specify th

Re: m2 site plugin property not recognized

2005-07-01 Thread Edwin Punzalan
Anyway, if you're deploying the site you should use site:deploy. Also, siteDirectory is where your site files are. The files in siteDirectory are zipped into the workingDirectory. So, if you want to deploy your site to ${basedir}/www, you should put that to workingDirectory like so:

Help on Adding Projects in Continuum

2005-07-01 Thread Johnny Ruiz
Hi, i have a sample project in my local filesystem.. i create svn repository in my pc and the address of my pom is .. svn://localhost:3690/svnrepo/junit-sample/pom.xml.. i tried to add this project but the continuum web says its an invalid URL.. Am I missing something? I've tried adding

Re: m2 site plugin property not recognized

2005-07-01 Thread Dennis Geurts
Hi Heiko, If I understand correctly, you run 'm2 site:site', and you wonder why the output ends up in 'target/site' instead of in '${basedir}/www'. shouldn't you specify the 'outputDirectory' property instead ?? Dennis On 7/1/05, puschteblume <[EMAIL PROTECTED]> wrote: > > Hi > > I have fo

Re: m2 site plugin property not recognized

2005-07-01 Thread Edwin Punzalan
What goal did you specify? site:site? or site: deploy? puschteblume wrote: Hi I have following entry in pom.xml: src/main org.apache.maven.plugins maven-site-plugin ${basedir}/www But the site is deployed to /target dir

m2 site plugin property not recognized

2005-07-01 Thread puschteblume
Hi I have following entry in pom.xml: src/main org.apache.maven.plugins maven-site-plugin ${basedir}/www But the site is deployed to /target directory. Do you know if I have missed something? Thanks Heiko -