Re: :ext: CVS connection method

2006-01-17 Thread Emmanuel Venisse
Do you run continuum and cvs command line with the same user? Emmanuel Carlo Bonamico a écrit : Hi, I am trying to configure continuum to import a Maven 1.x project, but Continuum fails to checkout the sources from CVS using the:ext: method. In the project.xml, I specify this SCM URL

Re: :ext: CVS connection method

2006-01-17 Thread Carlo Bonamico
Emmanuel Venisse wrote: Do you run continuum and cvs command line with the same user? yes. I launched continuum in console mode from the user continuum shell, and it does not work. Then as soon as I see the error, I copy the CVS command line from the error log and paste it on the same shell

Re: [m2] required artifacts missing

2006-01-17 Thread softwarearchitekt
Hey, the dependency is definitiv right. yyy:xxx:jar:1.0-SNAPSHOT is my artefact, that i wish to build. And it has dependencies to the mail and activation jar. Fredy Maven Users List users@maven.apache.org schrieb am 17.01.06 00:46:03: Sorry about that. Read the post at the end of the work

Re: [m2] required artifacts missing

2006-01-17 Thread softwarearchitekt
It's like that, i've removed smc, developers... and renamed any tags Fredy project xmlns=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 http://maven.apache.org/maven-v4_0_0.xsd;

With maven 2.0.2 site:deploy doesn't work

2006-01-17 Thread MiSt
error message: (...) [INFO] [site:deploy] file:///home/mist/public_html/myApp - Session: Opened file:///home/mist/public_html/myApp - Session: Disconnecting file:///home/mist/public_html/myApp - Session: Disconnected [INFO]

[m2] Best practices for multi-modules projects

2006-01-17 Thread Romain Rouvoy
Hi, I use Maven for few days now and I find it very powerful but I need some help/feedback from experimented users. Basically, I have a project that is split into several modules. Each module is a simple Java project that contains a piece of the web site and several examples for users.

RE: With maven 2.0.2 site:deploy doesn't work

2006-01-17 Thread Scokart Gilles
Did you have write access on /home/mist/public_html/myApp/ ? If yes, try to run maven with the option -X -e. Gilles -Original Message- From: MiSt [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 10:47 To: Maven Users List Subject: With maven 2.0.2 site:deploy doesn't work error

Re: With maven 2.0.2 site:deploy doesn't work

2006-01-17 Thread MiSt
Scokart Gilles napisał(a): Did you have write access on /home/mist/public_html/myApp/ ? Yes. If I use maven 2.0.1 it works perfect If yes, try to run maven with the option -X -e. Output of mvn -X -e clean site site:deploy : (...) [DEBUG] maven-site-plugin: resolved to version

[M2]Using defaults for missing POM axis:axis-jaxrpc:pom:1.1

2006-01-17 Thread softwarearchitekt
What is the problem? [DEBUG] axis:axis:jar:1.1 (selected for compile) [DEBUG] Trying repository central Downloading: http://repo1.maven.org/maven2/axis/axis-jaxrpc/1.1/axis-jaxrpc-1.1.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [DEBUG] Artifact

RE: With maven 2.0.2 site:deploy doesn't work

2006-01-17 Thread Scokart Gilles
Yes, this is a regression. A change in wagon-file for the 2.0.2 triggered that. I don't know where to create a jira issue. Is it for the wagon product or for the maven-site-plugin product. Anyway, the patch must be performed on wagon-site (but there is no wagon-file product in Jira). Could

Re: [m2] Minimum requirements for a snapshot in a repository?

2006-01-17 Thread Stephen Duncan
Well, you can get the hash files created to if you upload using the new deploy:deploy-file goal: mvn deploy:deploy-file -DgroupId=GROUP_ID -DartifactId=ARTIFACT_ID -Dversion=VERSION_ID -DgeneratePom=true \ -Dpackaging=jar \ -Dfile=PATH/TO/JAR \ -DrepositoryId=YOUR_COMPANYS_REPO_ID \

Re: [m2] Best practices for multi-modules projects

2006-01-17 Thread Robert Taylor
I found no documentation on multi-module projects except this In progress one: http://maven.apache.org/guides/mini/guide-multi-module.html See the Getting Started section: How do I build more than one project at once? http://maven.apache.org/guides/getting-started/index.html Also, maven comes

Re: [m2] Best practices for multi-modules projects

2006-01-17 Thread Romain Rouvoy
Hi, Thank you for the link, I forgot this documentation! But anyway, when I run the mvn site command, Maven creates 3 websites (1/module + 1 for the project) split in the directory tree :- ( ... Does it means that basically, maven can not aggregate module websites in the project

[m2] Ant driven plugins and classpath refid's

2006-01-17 Thread Henrik Mejlgaard
Hi, From the documentation in http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html, I have successfully created the Hello World Ant based plugin. My problem is now to implement a more advanced ant-based mojo. Specifically, I have troubles finding out how to get a ant classpath

provided - not transitive?

2006-01-17 Thread Boden, David
Extract from: http://maven.apache.org/guides/introduction/introduction-to-dependency-m echanism.html provided - this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive. Question: Why are

Re: [m1] [testers needed] SNAPSHOT of the next release of the linkcheck plugin is available.

2006-01-17 Thread Arnaud HERITIER
No idea. I'll investigate. thanks I found also several little problems : - With some proxies the linkcheck plugin didn't works - There was no stop if there's an infinite loop between 2 redirections - Some web servers didn't respond. I'll commit it today and publish a new snapshot. Arnaud On

Re: [m2] Best practices for multi-modules projects

2006-01-17 Thread Geoffrey De Smet
Romain Rouvoy wrote: Hi, Thank you for the link, I forgot this documentation! But anyway, when I run the mvn site command, Maven creates 3 websites (1/module + 1 for the project) split in the directory tree :-( ... Does it means that basically, maven can not aggregate module

Re: [m2] Best practices for multi-modules projects

2006-01-17 Thread andrew cooke
i am very new to this too, so the following may not be the best approach, but what i have done is create some archetypes with poms that have entries like !-- MODULE-INSERT -- and !-- DEPENDENCY-INSERT -- i also have some bash scripts that use these archetypes to let me add sub-projects to my

m2 webstart plugin update

2006-01-17 Thread jerome lacoste
Hi, the webstart plugin (in mojo sandbox), has been updated in the past days. The following main changes have been made: - transitive dependencies are now handled (a filtering - include/exclude - mecanism has been added to give the user some control) - the JNLP file generation is much simpler.

[m2] (Re-)Assembling JAR files

2006-01-17 Thread andrew cooke
Hi, We extend an external product, which is packaged as a JAR file. I have placed our extensions (which compile fine) in a separate project, but once they are compiled I need to generate a JAR that merges all the available classes (ours and the original product) and adds some new metadata

Help!!!

2006-01-17 Thread narayan dhumale
 Hello, I have installed the maven 1.0.2 on my PC after which proper environmental variables also set. I am trying to compile the java clasas in my template(a sample application).Also try to create the junit testcases compile them. All these things are happening properly by executing build by

RE: [m2] (Re-)Assembling JAR files

2006-01-17 Thread Boden, David
Andrew, I've found the Codehaus dependency plugin very useful for this. Check out the documentation for the unpack-dependencies goal. The idea would be that you unpack the dependencies into your target directory before the package phase so that all the classes get packed up.

Maven 2.0.1 not getting installed???

2006-01-17 Thread narayan dhumale
  Hi, I am trying to install maven 2.0.1 on Windows PC.But after Unzipping Setting the HOme Path,the bat file ,mvn is not getting executed. Please help me Regards

RE: [M2] Configuration parameters for my Mojo(s)

2006-01-17 Thread John Wells
Does anyone have any help for me here? The basic problem is that my Mojo is not getting configured from the pom.xml file during the integration-test phase. The details are below. Someone please help!!! John Wells (Aziz) [EMAIL PROTECTED] -Original Message- From: John Wells Sent:

RE: With maven 2.0.2 site:deploy doesn't work

2006-01-17 Thread Scokart Gilles
I created an issue for Wagon project and posted there a patch: http://jira.codehaus.org/browse/WAGON-30 Regards, Gilles -Original Message- From: Scokart Gilles [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 12:21 To: Maven Users List Subject: RE: With maven 2.0.2 site:deploy

Re: [m2] Ant driven plugins and classpath refid's

2006-01-17 Thread Chris Berry
Did you follow this doc; http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html Cheers, -- Chris On 1/17/06, Henrik Mejlgaard [EMAIL PROTECTED] wrote: Hi, From the documentation in http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html, I have successfully

Re: Maven 2.0.1 not getting installed???

2006-01-17 Thread Tim Kettler
Hi, if you do an 'echo %M2_HOME%' does it return the actual path to the directory where you installed maven to (e.g. 'C:\maven')? If M2_HOME is set correctly do an 'echo %PATH%'. In the returned string you should somewhere have a path to your maven bin directory '%M2_HOME%\bin' (of course

RE: [m2] Ant driven plugins and classpath refid's

2006-01-17 Thread Scokart Gilles
If you launch a separated ant script ( using the ant task into the pom), you should not forget the inheritRef attributes. Otherwise, you don't have the reference into your xxx-build.xml. Regards, Gilles -Original Message- From: Chris Berry [mailto:[EMAIL PROTECTED] Sent: 17 January

Re: Help!!!

2006-01-17 Thread Dion Gillard
How are you running the jar? It's not clear from your email... On 17 Jan 2006 13:52:59 -, narayan dhumale [EMAIL PROTECTED] wrote: Hello, I have installed the maven 1.0.2 on my PC after which proper environmental variables also set. I am trying to compile the java clasas in my

Re: [m2] Ant driven plugins and classpath refid's

2006-01-17 Thread Henrik Mejlgaard
Thank you for your answers, but they doesn't help me a lot. I am not using the antrun plugin, but using the strategy documented in http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html where it is outlined how you through a mapping file and a build.xml file is able to wrap ant

Directory Structure

2006-01-17 Thread Lutz Fechner
Hi, I'm new to using Maven and wonder if there are some better documentations about how to configure the directory structures? The FAQ says that it is possible, But the pom.xml description is very poor (http://maven.apache.org/guides/introduction/introduction-to-the-pom.htm l). Bye Lutz

Re: [M2] Configuration parameters for my Mojo(s)

2006-01-17 Thread dan tran
@parameter expression=skip default-value=false would fix the problem. On 1/17/06, John Wells [EMAIL PROTECTED] wrote: Does anyone have any help for me here? The basic problem is that my Mojo is not getting configured from the pom.xml file during the integration-test phase. The details

RE: provided - not transitive?

2006-01-17 Thread Boden, David
I would also be able to model my dependency structure more accurately if I could exclude/ a dependency from the runtime classpath only and keep it in the compile classpath. E.g. dependencies dependency groupIdSalesStation/groupId

jakarta-tomcat zip distribution missing from m2 ibiblio repos

2006-01-17 Thread jerome lacoste
there used to be a zip file of jakarta-tomcat version 5.5.9 on ibiblio under maven2/org/apache/jakarta-tomcat/... it's not there anymore. Was it removed intentionally? If so, what is the policy on ibiblio with regard to stability of published artifacts? If not, can we redeploy it there? Jerome

SV: Help!!!

2006-01-17 Thread Bengt-Erik Fröberg
Why use Maven 1 when there is a Maven 2? Regards, /B-E -Ursprungligt meddelande- Från: Dion Gillard [mailto:[EMAIL PROTECTED] Skickat: den 17 januari 2006 15:21 Till: Maven Users List; narayan dhumale Ämne: Re: Help!!! How are you running the jar? It's not clear from your email...

CLASSPATH?

2006-01-17 Thread Lutz Fechner
Hi together, I managed to tell Maven where my sources reside and where I want to put the compiled files: build sourceDirectorycode/sourceDirectory outputDirectorytarget/WEB-INF/classes/outputDirectory /build but how do I tell the Maven (or the compiler) where too look for

filtering resources resources

2006-01-17 Thread Tom Joad
Hi, I have just installed mvn 2.0.2 on linux mandrake 10 and I follow getting started documentation to refresh my knowledges on maven possibility.I'm on filtering resources paragraph , and try to use java - D parameter . the command line on the documentation does not work. because of the white

RE: Directory Structure

2006-01-17 Thread Osborne, Matthew
Could you please provide a sample directory structure similar to what you'll be using? Matt Osborne -Original Message- From: Lutz Fechner [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 9:32 AM To: users@maven.apache.org Subject: Directory Structure Hi, I'm new to using

Re: Help!!!

2006-01-17 Thread Max Cooper
Shailesh, To make a jar file executable, you need to set the Main-Class attribute in the manifest, see: http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Main% 20Attributes To have Maven 1.0.2 set the Main-Class attribute in the manifest for you, it looks like you can set the

AW: Directory Structure

2006-01-17 Thread Lutz Fechner
Hi, here is it: Sources: /code/de/enteria/enos - This is for java sources. /customer-resources/- This stores some customer specific resources. /server-resources/... - This stores common resources (xml and xsl files). /web-resources/... - Images, Javascripts and a

How to display the compiled files?

2006-01-17 Thread Karthik V
Is there an option in maven-compiler-plugin to list the files being compiled? I'm trying to have an includes set, but the compiler seems to be compiling unwanted files. I'm looking for an equivalent of ANT's javac listfiles=true .

Re: SV: Help!!!

2006-01-17 Thread Kathryn Huxtable
Uh, because half the plugins are alpha and sort of work? Because the documentation is skimpy (no reference manual)? Because some of the links in the online documentation don't work? That said, I'm beginning to use Maven 2. -K On 1/17/06 8:55 AM, Bengt-Erik Fröberg [EMAIL PROTECTED] wrote:

:ext: CVS connection method

2006-01-17 Thread Carlo Bonamico
Hi, I am trying to configure continuum to import a Maven 1.x project, but Continuum fails to checkout the sources from CVS using the:ext: method. In the project.xml, I specify this SCM URL scm:cvs:ext:[EMAIL PROTECTED]:/home/cvs:SANDBOX/sampleTestCVS Please note that continuum is the

Maven2 Question

2006-01-17 Thread hassan . h . sajjad
Is there a built-in property in Maven2 that gives path to the local repository ? Thanks -H

[m2] Repository

2006-01-17 Thread softwarearchitekt
I've some Problems with axis 1.1 Unable to resolve artifact: Unable to get dependency information: Unable to read the metadata file for artifact 'axis:axis-jaxrpc:jar': Error getting POM for 'axis:axis-jaxrpc' from the repository: Error transferring file [artifact:dependencies]

Re: [ANN] Maven 2.0.2 Release

2006-01-17 Thread Lee Meador
The link doesn't work for me: You can find the change log for this release here: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=10500fixfor=12125 -- Lee Meador Sent from gmail. My real email address is [EMAIL PROTECTED]

Ear file doesnt contain war and jar

2006-01-17 Thread Karthik V
I have an ear project that needs to pack 2 other projects artifacts (jar and war). In the ear project pom, I've added dependencies on both. However, the ear file produced doesnt contain these. How do I fix this problem?

Re: How to display the compiled files?

2006-01-17 Thread dan tran
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html has some configurable params. verbose may be the one you are looking for -D On 1/17/06, Karthik V [EMAIL PROTECTED] wrote: Is there an option in maven-compiler-plugin to list the files being compiled? I'm trying to have

RE: [ANN] Maven 2.0.2 Release

2006-01-17 Thread Christopher Cobb
In my email client, the link wraps and part of it is on a second line. You'll have to glue the two pieces together when you paste them into your browser. -Original Message- From: Lee Meador [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 11:03 AM To: Maven Users List

Re: Problem with continuum on solaris zone

2006-01-17 Thread Sean Schofield
Thanks for the suggestions. ./run.sh worked fine on the zone (at least it appeared to.) It would only start as root though. Other users could not start it. Is this how you have it set up for the maven zone? Also, we could use some help with setting it up as a service in the solaris zone.

Problem running test cases with maven/continuum

2006-01-17 Thread Ryan Wynn
I have a problem running a test case for my project with continuum. The test case executes cleanly and succesfully in eclipse. Then when continuum tries to run it continuum hangs. The last log statement I see is RUNNING TEST CASES. If I set -Dmaven.test.skip=true Continuum runs to completion.

Re: How to display the compiled files?

2006-01-17 Thread Karthik V
i had tried verbose bfore sending my mail .. no, that doesnt list the source files ... thanks for the reply anyway. .. On 1/17/06, dan tran [EMAIL PROTECTED] wrote: http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html has some configurable params. verbose may be the one

[m2] Referencing System properties in an archetype pom

2006-01-17 Thread Allan Lewis
Is there a way to include additional system properties on the command line when running an archetype:create? We have an archetype that would need to include a (configurable) dependency. What we'd like to do is something like the following: mvn archetype:create -DarchetypeGroupId=...

Deploying to remote repository

2006-01-17 Thread Kathryn Huxtable
So I'm getting started with Maven and I'm trying Maven 2.0.2, since it's the future direction. I want a repository where my team can deploy projects that we share. Our repository will be on a Red Hat Linux machine. We each need to be able to deploy over snapshots that may have been deployed by

Is it possible?

2006-01-17 Thread Lutz Fechner
Hello together, I hope I got the scope of Maven correct. I want to perform theese 5 tasks or goals with Maven: 1. Get sources and ressources from a subversion repository. 2. Compile the sources. 3. Construct the web application. (Copy ressources and classes to the right place) 4. Build a war

RE: [m2] Repository

2006-01-17 Thread Boden, David
You'd have to get in touch with the chaps at Jakarta and ask them to upload version 1.1. If I were them, I'd probably say no, to be honest. There's no reason why you can't get it to work by installing it to your local repo. Sounds to me like you haven't got axis-jaxrpc-1.1.pom installed at:

[m2] Where to place resources for unit tests?

2006-01-17 Thread david
Hello, I need some config files/resources for unit test, so I place them insrc/test/resources, but I don't want to include them in generated jar. The description of testResource element of pom.xml states thatresources are used to complete the jar or to run unit test. How can use this

Own provider instead of pom.xml

2006-01-17 Thread Marcin Maciukiewicz
Hello! I have own project layout where informations are in separate files. Since switching to pom.xml is not under discussion (development tools etc.) I was wondering if there is way to create own project info provider class for maven 2. As I said, all required informations are kept in project

[m2] Ant driven plugins and classpath refid's

2006-01-17 Thread Henrik Mejlgaard
Hi, From the documentation in http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html, I have successfully created the Hello World Ant based plugin. My problem is now to implement a more advanced ant-based mojo. Specifically, I have troubles finding out how to get a ant classpath

Re: [testng-users] TestNG from a custom Maven2 MOJO/plugin

2006-01-17 Thread Cédric Beust ♔
Okay, so I suspect that Maven is interfering with the class loaders in a way that is making ReflectFactory choke... Maybe a Mavenite could help us out with this? I disassembled that class with Jad but it didn't work very well, will have to try with another decompiler... -- Cedric On 1/16/06,

RE: :ext: CVS connection method

2006-01-17 Thread Mayorgaadame, Alex
Carlo, If your CVS user doesn't uses a password. Try this in the SCM URL it may help. scm:cvs:ext:continuum:@server:/home/cvs:SANDBOX/sampleTestCVS Regards, Alex -Original Message- From: Carlo Bonamico [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 10:37 AM To:

Re: Is it possible?

2006-01-17 Thread Wilfred Springer
Yes, you can use Maven for all of the tasks that you mentioned. In fact, it doesn't really require a lot, as long as you set the packaging entry in your pom.xml file to 'war', and as long as you have the sources and resources in the appropriate locations. (If you don't, then you simply add some

Re: Ear file doesnt contain war and jar

2006-01-17 Thread Karthik V
when someone answers this question, please give a general answer to this question - how do I copy a jar file specified as dependency into the final artifact, inside the folder I want? On 1/17/06, Karthik V [EMAIL PROTECTED] wrote: I have an ear project that needs to pack 2 other projects

Problem With Maven 2.0.2

2006-01-17 Thread Allison, Bob
I upgraded to Maven 2.0.2 this morning, and started getting the problem with the CheckStyle plugin and Jdk14Logger class (MCHECKSTYLE-24), so I adjusted things to be able to use CheckStyle 2.0-beta-2-SNAPSHOT (added the snapshot repository, updated the CheckStyle plugin version, etc.). Now I get

Re: filtering resources resources

2006-01-17 Thread Alexandre Poitras
/home/maven/maki # mvn -e -X process-resources -Dcommand.line.prop=Hi man should be /home/maven/maki # mvn -e -X process-resources -Dcommand.line.prop=Hi man On 1/17/06, Tom Joad [EMAIL PROTECTED] wrote: Hi, I have just installed mvn 2.0.2 on linux mandrake 10 and I follow getting started

RE: Is it possible?

2006-01-17 Thread Boden, David
Absolutely. 1. scm plugin. 2 - 4. Very standard, check the documentation. 5. deploy plugin. This is bread and butter for Maven 2. -Original Message- From: Lutz Fechner [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 4:52 PM To: Maven Users List Subject: Is it possible? Hello

RE: Own provider instead of pom.xml

2006-01-17 Thread Boden, David
In my humble opinion, if you don't want to adopt Maven 2's pom.xml format then I'd stick with your current custom build. You'll end up doing more work to tie in with Maven 2 than you would maintaining your own build. -Original Message- From: Marcin Maciukiewicz [mailto:[EMAIL PROTECTED]

unit test classpath issue / java.lang.LinkageError

2006-01-17 Thread Tim Morrow
Hello, I'm new to maven and Java 5 and I just started a project using Maven 2. So far everything has been great except for the following issue. I'm currently having a problem getting a particular unit test to run successfully. I'm using java 1.5.0_04 and was trying to validate some XML against

Re: Problem running test cases with maven/continuum

2006-01-17 Thread Ryan Wynn
On 1/17/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: You can look at your test report in target/surefire-reports directory Emmanuel Thanks. That showed the source of the error.

Re: Ear file doesnt contain war and jar

2006-01-17 Thread Max Cooper
Note: this is for Maven 1 (1.0.2, 1.1-beta-2, I don't know if anything has changed for Maven 2) In the ear project where you specify the dependencies, you specify properties to tell the ear plugin what to do with your jars and wars. Here's an example: !-- ejb jar -- dependency

Re: Ear file doesnt contain war and jar

2006-01-17 Thread Karthik V
looks like things have changed :( ... the properties tag is not being recognized. On 1/17/06, Max Cooper [EMAIL PROTECTED] wrote: Note: this is for Maven 1 (1.0.2, 1.1-beta-2, I don't know if anything has changed for Maven 2) In the ear project where you specify the dependencies, you

Using extension tag

2006-01-17 Thread Dixit, Sandeep (ProSource Solutions)
I am trying to use an existing task installEar as below. However I get artifact not found message when I do mvn install. I did verify that the artifact is installed in the local repository. What am I doing wrong? build extensions extension

Artifact[commons-collections:commons-collections:jar] is not a dependency of the project.

2006-01-17 Thread Karthik V
I have an ear project, and the pom contains the following lines - plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId configuration modules javaModule groupIdcommons-collections/groupId

Parsing dependency POMs with variable interpolation

2006-01-17 Thread Michael Böckling
Hello, I have a question regarding the development of a Maven plugin. What I'm trying to do is this: - get the dependencies of the current project - locate their POMs - read those POMs, so I have a Model object - check if the URL element is set Now I've got that far by using the Maven embedder

RE: Problem With Maven 2.0.2

2006-01-17 Thread Mike Perham
Bob, I got the same problem when I used a local snapshot of the site plugin. Deleting maven-site-plugin in my local repo so it used the latest release solved the problem. -Original Message- From: Allison, Bob [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 12:27 PM To: Maven

Re: Maven2 Question

2006-01-17 Thread ZhiQiang He
In your conf directory of Maven 2 installation,see settings.xml file, !-- localRepository | The path to the local repository maven will use to store artifacts. | | Default: ~/.m2/repository

Re: Problem With Maven 2.0.2

2006-01-17 Thread Arnd Brusdeilins
i got the same problem and defined a skin in my site.xml like project ... skin groupIdorg.apache.maven.skins/groupId artifactIdmaven-stylus-skin/artifactId version1.0-SNAPSHOT/version /skin ... /project now it works Allison, Bob wrote: I upgraded to Maven 2.0.2 this morning, and started

RE: Problem With Maven 2.0.2

2006-01-17 Thread Allison, Bob
Already tried this. Also tried building and installing the default skin from SVN; still no help. -Original Message- From: Mike Perham [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 14:22 To: Maven Users List Subject: RE: Problem With Maven 2.0.2 Bob, I got the same problem

RE: Problem With Maven 2.0.2

2006-01-17 Thread Allison, Bob
Since the skin tag does not appear in the documentation yet, where does it belong? I tried adding it after the reporting section, but it complained that skin is an unrecognized tag. Also, is the model still 4.0.0? -Original Message- From: Arnd Brusdeilins [mailto:[EMAIL PROTECTED]

RE: Problem With Maven 2.0.2

2006-01-17 Thread Mike Perham
Note he said site.xml, not pom.xml. -Original Message- From: Allison, Bob [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 1:47 PM To: Maven Users List Subject: RE: Problem With Maven 2.0.2 Since the skin tag does not appear in the documentation yet, where does it belong? I

Re: Problem With Maven 2.0.2

2006-01-17 Thread Arnd Brusdeilins
i found the skin tag in the trunk (http://svn.apache.org/repos/asf/maven/site/trunk/src/site/site.xml) did you put it in your site.xml (sounds like you put it in the pom.xml) ?! Allison, Bob wrote: Since the skin tag does not appear in the documentation yet, where does it belong? I tried

RE: Problem With Maven 2.0.2

2006-01-17 Thread Allison, Bob
Missed that. My bad. With the stuff in the site.xml, things seem to be working correctly now. Thanks for your help! -Original Message- From: Mike Perham [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 14:55 To: Maven Users List Subject: RE: Problem With Maven 2.0.2 Note he

Re: Parsing dependency POMs with variable interpolation

2006-01-17 Thread Stephen Duncan
I think, actually, that that's just a broken example. I get http://jakarta.apache.org/commons/${pom.artifactId.substring(8)}/ as the URL in my dependencies report using the default project-info-reports plugin. Probably an invalid expression that can't be evaluated, but I don't know for sure...

Re: Download Javadoc into Eclipse with Maven2

2006-01-17 Thread Fabrizio Giustina
What i think would be nice would be a way to make Maven download the Javadoc and making it available to Eclipse. The current revision in svn of the eclipse plugin (which is expected to be released as soon as an usable wtp 1.0.1 build will be out) has support for javadoc attachements, as an

2.0.2 ant lib is missing ant classes

2006-01-17 Thread Rollo, Dan
I found this bug report: [jira] Created: (MNG-1970) maven-artifact-ant-2.0.2-dep.jar missing antlib.xml http://www.nabble.com/-jira-Created%3A-%28MNG-1970%29-maven-artifact-ant -2.0.2-dep.jar-missing-antlib.xml-t936588.html#a2426214 Does anyone know a way around this? I was trying to test some

RE: [testng-users] TestNG from a custom Maven2 MOJO/plugin

2006-01-17 Thread Michael Fiedler
Sorry that I have not tried this yet. I have been in and out of meetings all day. I will let you know the results after I run it. Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 1:43 AM To: Michael Fiedler Cc: [EMAIL

[m2] Dependencies declaration: .dll / .so files howto?

2006-01-17 Thread Loïc Lefèvre
Hi, It's me again, I'm currently trying to add LWJGL as a dependency to my project. However, I wonder how one can add the required native librairies (.dll, .so...) to the dependencies for example for test purposes. Do someone know? Thanks in advance! Loic

Re: [m2] Dependencies declaration: .dll / .so files howto?

2006-01-17 Thread Valerio Schiavoni
this is interesting also to me, have to solve the same problem for a project using swt graphical libraries, and need some platform-dependant .so libraries to be accessible. this is easy within eclipse, but don't know how to configure it via maven. 2006/1/17, Loïc Lefèvre [EMAIL PROTECTED]: Hi,

Re: CLASSPATH?

2006-01-17 Thread Henry Isidro
Hi Lutz, Check out dependencies. Any artifacts declared as dependencies are placed on the classplath depending on the specified scope. This is placed in the build section of your pom.xml. dependencies dependency groupId/ artifactId/

Re: [m2] Where to place resources for unit tests?

2006-01-17 Thread Henry Isidro
Hi David, Try excluding them: testResources testResource ... excludes/ /testResource /testResources HTH, Henry [EMAIL PROTECTED] wrote: Hello, I need some config files/resources for unit test, so I place them

Re: Ear file doesnt contain war and jar

2006-01-17 Thread Henry Isidro
Hi Karthik V, The properties tag for dependencies are no longer suppported. Can you post your pom so that we can see what you are actually doing? Regards, Henry Karthik V wrote: looks like things have changed :( ... the properties tag is not being recognized. On 1/17/06, Max Cooper

RE: Error in adding more source for compile

2006-01-17 Thread Brian E. Fox
It isn't released yet. You can either build from the sources, or use a snapshot. You'll need to add the snapshots repo, see http://mojo.codehaus.org for instructions. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 6:59 PM To: Maven

Re: [m2] Dependencies declaration: .dll / .so files howto?

2006-01-17 Thread Napoleon Esmundo Ramirez
Hello, Native libraries are treated just like any other dependency in the repository. What's important is, it has to have a properly defined pom in the repository containing something like: project modelVersion4.0.0/modelVersion groupIdswt/groupId artifactIdswt/artifactId

Re: [m2] required artifacts missing

2006-01-17 Thread Napoleon Esmundo Ramirez
Hello, I tried your pom.xml and it worked fine with me. Please confirm if the required artifacts were installed properly. Cheers! Nap On 1/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: It's like that, i've removed smc, developers... and renamed any tags Fredy project

[m1] svn and maven plugin trunk

2006-01-17 Thread Anthony Kong
Hi, all, When I tried to use svn to check out the latest plugin sources, I got this error: $ svn co http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk maven-1/plugins/trunk svn: REPORT request failed on '/repos/asf/!svn/vcc/default' svn: REPORT of '/repos/asf/!svn/vcc/default': 400

RE: [M2] Repository

2006-01-17 Thread Treloar, Barrie (SAPOL)
3. snapshot repository We do not store snapshots with released artifacts anymore. A snapshot repository is a remote repository specifically for housing non-release code. 4. local repository The directory structure on your local machine which stores all the artifacts required by all

Re: [M2] Repository

2006-01-17 Thread Edwin Punzalan
I think distribution repositories are meant for user downloads or for binary/source/javadoc distribution/download. While other repositories are meant for maven or build use. Treloar, Barrie (SAPOL) wrote: 3. snapshot repository We do not store snapshots with released artifacts

RE: [M2] Repository

2006-01-17 Thread Treloar, Barrie (SAPOL)
We are actually trying to encourage users to help in this respect by using the Confluence space that is accessible to anyone: http://docs.codehaus.org/display/MAVENUSER/Home http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+enviro nment I had started writing an apt

How to get superscript symbol in APT Format?

2006-01-17 Thread ZhiQiang He
For example, Java™.

compiler plugin how to capture errors in report (html/xml)

2006-01-17 Thread tony nys
Hi all, how to I telll to Maven compiler plugin to get the javac errors to a nice readable/parsable report ? Now I redirect the compile errors/warnings to an output textfile using -Xstdout plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration

  1   2   >