Re: Query around maven.xml in Maven 2.0

2006-04-25 Thread Clifton Craig
On Tuesday 25 April 2006 4:19 am, Utpal Sen wrote: > Hi, > I am a new to maven. In the documentation that I have I see a reference to > maven.xml and project.properties but in the information posted on > maven.orgit seems like in the new version we don't need to use either > of them and can > perfo

Re: Maven Proxy

2006-04-25 Thread Clifton Craig
Tom, Could you help get me started with Maven proxy? I've been trying to get it working in our office but I've been unsuccessful. It (the proxy) seems to have a problem getting out to the internet through our in office http proxy. I have the following in my Maven-proxy config properties file:

Re: Impossible to start working with Maven

2006-04-25 Thread Clifton Craig
I too faced this problem getting my coworker setup. You may also want to clean out your ${user.home}/.m2 folder of everything and then recreate the settings.xml including the proxy as in the examples previously posted (see below). That seemed to be the only way I could get it to work, though it

Deploying 3rd party artifacts with mvn deploy:deploy-file

2006-04-25 Thread Douglas WF Acheson
Hello, I am (really) new to Maven (using maven 2), and having trouble with a few things regarding deploying 3rd party artifacts to a remote repository (owned by me). I would like to deploy an artifact to my http server (using apache) using the http protocol. Accroding to my understanding I wou

[m2] Javadoc configuration with dependencies in build-tools.jar (ala checkstyle)

2006-04-25 Thread D D
I configured the javadoc report using with a relative file path : org.apache.maven.plugins maven-javadoc-plugin 1.5 http://java

RE: Upgrade to Continuum 1.0.3 from 1.0.2

2006-04-25 Thread Vandermi Joao da Silva
Congratulations for new version! I have the same doubt of Daniel below. How can I do a upgrade. I can't lose my builds. The link with Continuum new version is broken! > Hi, > > How can I upgrade my continuum 1.0.2 installation to 1.0.3? > I have several projects in 1.0.2 already and didn't wan

Re: Jetty and Commons logging dependency

2006-04-25 Thread Julien Henry
Hi Jan, Here is currently how it works. I have many JUnit tests. These tests are grouped in a test suite called AllTests.java this way : public class AllTests extends TestSuite { public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(Navigati

Re: Conditional dependencies in M2

2006-04-25 Thread Clifton Craig
On Monday 24 April 2006 3:51 pm, Mike Perham wrote: > test is the closest thing I can think of. Test dependencies > are not transitive so you need to declare them in each module. Right, I saw that but didn't know if the scoped would allow transitive behaviour. I also don't know much of other ava

RE: [M2] : How to resolve package level dependencies

2006-04-25 Thread Sharma, Jaikumar
Thanks Anshuman, I would try it and let you know. Regards, Jaikumar -Original Message- From: Anshuman Srivastava [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 5:42 PM To: Maven Users List Subject: Re: [M2] : How to resolve package level dependencies Hi Jai i think you have to

Re: Maven2 : mvn site nullpointer

2006-04-25 Thread thenew05
I get this error even if I do not install the jar file. Just a simple mvn site, gives me the null error. On 4/24/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > > you need to upgrade the project-info report plugin > > On 4/24/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > This might be related t

Custom Packaging Types

2006-04-25 Thread Marteijn Nouwens
Hello everybody maybe are repost but my subscribing went wrong, I am new to maven 2.0. but experienced 1.0 user. Do i understand correctly that packaging defines the type of product that is being build. If so, can you define more than one and define your own custom types. like installer and appli

No way to add generated sources to the compilation path in Ant MOJO ?

2006-04-25 Thread DELHOSTE Fabrice
Hi, Is it possible to add generated sources to the source compilation in Ant MOJO, kind of in .mojos.xml ? Sorry, still the same question as I had no answer to my previous mails on this topic. Thanks, Fabrice

Re: Including xmls while packaging

2006-04-25 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > I have a project which has few xmls placed along with the java files in a > particular folder. When I package this project only the class files appear > in this folder and the xml files are ommited. But if i place these xml files > with in the s

Re: [M2] : How to resolve package level dependencies

2006-04-25 Thread Anshuman Srivastava
Hi Jai i think you have to make an entry in pom.xml of project C for project D like this-- A.D D 1.0 Try it and let me know. Anshuman On 4/25/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote: > > I have folder structure of the project : > > > |--Project A > | |

Re: documentation for maven-scm-api?

2006-04-25 Thread Emmanuel Venisse
[EMAIL PROTECTED] a écrit : Hi, -Original Message- From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 25 April, 2006 13:13 I've tried to put the password in the pom (in the developerConnection url) and that worked :-) Is there another way? yes :-) You can define them

Re: Problem with Eclipse plugin

2006-04-25 Thread Jose Gonzalez Gomez
You're right, I'm behind a proxy... You mention a plugin to manage the proxy connection in Eclipse, where can I find it? Thanks a lot Jose 2006/4/25, Tom Joad <[EMAIL PROTECTED]>: > > Hi Jose, > It is fixed in version 0.0;5 as i said .Are you under proxy? If it's the > case > > As said Eugene Kul

RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Hi, >-Original Message- >From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] >Sent: 25 April, 2006 13:13 >> I've tried to put the password in the pom (in the >developerConnection url) and that worked :-) Is there another way? > >yes :-) >You can define them in your settings.xml, in p

Including xmls while packaging

2006-04-25 Thread RobJac
I have a project which has few xmls placed along with the java files in a particular folder. When I package this project only the class files appear in this folder and the xml files are ommited. But if i place these xml files with in the same folder path in the resources folder, it appears when i

Re: documentation for maven-scm-api?

2006-04-25 Thread Emmanuel Venisse
[EMAIL PROTECTED] a écrit : Some further own investigations... -Original Message- From: ext [EMAIL PROTECTED] e.org [mailto:[EMAIL PROTECTED] en.apache.org] => How do I create the ~/.cvspass? Maven-SCM create it and add the cvsroot in it if it doesn't exist. If you want to

RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Hi, >-Original Message- >From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] >With username/password define in scm url or in command line parameters The doc (http://maven.apache.org/scm/plugins/status-mojo.html) says that the parameters are only evaluated for svn and starteam protoco

Upgrade to Continuum 1.0.3 from 1.0.2

2006-04-25 Thread Daniel Reghin
Hi, How can I upgrade my continuum 1.0.2 installation to 1.0.3? I have several projects in 1.0.2 already and didn't want to lose them. Daniel - --- - Esta mensagem e s

Re: [m2] - Maven IDEA Plugin

2006-04-25 Thread Trent Rosenbaum
Thanks for the help, I will download the SNAPSHOT and work with that. Trent On 21/04/06, Konstantin Polyzois <[EMAIL PROTECTED]> wrote: > > I can only agree that the snapshot version is much better, don't have a > clue > when it will be relesaed... > > /konstantin > > On 4/20/06, Arik Kfir <[EMAI

RE: Maven Proxy

2006-04-25 Thread Ben Short
Tom, Just tried that out and it works. Many thanks. Ben -Original Message- From: Tom Joad [mailto:[EMAIL PROTECTED] Sent: 25 April 2006 11:21 To: Maven Users List; [EMAIL PROTECTED] Subject: Re: Maven Proxy Maven always go to internal repository which connects to all maven public re

Re: Getting root parent POM artifactid

2006-04-25 Thread javed mandary
${project.artifactId} and ${project.version} just retrieves value for MODULE C not for the root POM unfortunately On 4/25/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote: > > It is ${project.artifactId} and ${project.version}, as far as know. > > -Original Message- > From: javed mandary [ma

Re: documentation for maven-scm-api?

2006-04-25 Thread Emmanuel Venisse
[EMAIL PROTECTED] a écrit : -Original Message- From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] cvsnt is supported by Maven-SCM, but cvsnt doesn't use the cvs standard, it doesn't use .cvspass but windows registry instead and Maven SCM require .cvspass file. So you'll nee

Re: [Ann] Continuum 1.0.3 Released

2006-04-25 Thread Wim Deblauwe
Congrats on the release! Is there a public place with screenshots and/or a live demo of the new webinterface? regards, Wim 2006/4/25, Emmanuel Venisse <[EMAIL PROTECTED]>: > >The Apache Maven team is pleased to announce Continuum 1.0.3. > >Continuum 1.0.3 is available for download from

RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
>-Original Message- >From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] >cvsnt is supported by Maven-SCM, but cvsnt doesn't use the cvs >standard, it doesn't use .cvspass but windows registry instead >and Maven SCM require .cvspass file. So you'll need to run cvs >login manually f

RE: Getting root parent POM artifactid

2006-04-25 Thread Sharma, Jaikumar
It is ${project.artifactId} and ${project.version}, as far as know. -Original Message- From: javed mandary [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 4:18 PM To: Maven Users List Subject: Getting root parent POM artifactid Hi, is there any properties value that returns

RE: [M2] Compiler plugin 2.0.1 - error

2006-04-25 Thread Sharma, Jaikumar
I used -classpath and problem disappeared! Thanks for your help! Regards, Jaikumar -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 1:24 AM To: Maven Users List Subject: Re: [M2] Compiler plugin 2.0.1 - error Please run maven with the

RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Some further own investigations... >-Original Message- >From: ext >[EMAIL PROTECTED] >e.org >[mailto:[EMAIL PROTECTED] >en.apache.org] >>> => How do I create the ~/.cvspass? >> >>Maven-SCM create it and add the cvsroot in it if it doesn't exist. >>If you want to create it manually, yo

Getting root parent POM artifactid

2006-04-25 Thread javed mandary
Hi, is there any properties value that returns the top Parent POM's artifact id and version number. Say i have a structure as follows: root POM | |--module A POM | |-module B POM | |--module C POM Is th

Re: Alternative for remote deploying an ear

2006-04-25 Thread Johan Vogelzang
mvn clean install 2006/4/24, RobJac <[EMAIL PROTECTED]>: > > > Thanks Johan. Sorry for troubling you again on this, but what is the > command > you ran to execute this plugin? i tried running mvn deploy and it was > throwing me an exception. Please find below the exception > > Exception: > > [INFO

Re: documentation for maven-scm-api?

2006-04-25 Thread Emmanuel Venisse
[EMAIL PROTECTED] a écrit : Hi Emmanuel, thanks for the quick feedback. My comments inline below: -Original Message- From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] javadocs isn't available online yet. I'll do it asap. Great :-) I'm using a ssh tunnel, so my server is

RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Hi Emmanuel, thanks for the quick feedback. My comments inline below: >-Original Message- >From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] >javadocs isn't available online yet. I'll do it asap. Great :-) >> I'm using a ssh tunnel, so my server is "localhost", while I assume >> t

[M2] : How to resolve package level dependencies

2006-04-25 Thread Sharma, Jaikumar
I have folder structure of the project : |--Project A | |-sub-project B | | | ||---sub-sub project C | ||---pom.xml | ||--sub-sub project D | ||---pom.xml | |-pom.xml |--pom.xml In this scanari

Re: Maven Proxy

2006-04-25 Thread Tom Joad
Maven always go to internal repository which connects to all maven public repository you declare on your maven proxy configuration file. The order of checking artifact is always local repository -->internal repository --> maven public repositories. Tom. 2006/4/25, Ben Short <[EMAIL PROTECTED]>:

Re: documentation for maven-scm-api?

2006-04-25 Thread Emmanuel Venisse
Hi, [EMAIL PROTECTED] a écrit : Hi, I'd like to interact with our project's cvs repository on java.net from within my own plugin, thus I plan to use the maven-scm-api. Is there any documentation for it available online? Maybe JavaDocs? javadocs isn't available online yet. I'll do it asap.

RE: Use System Environment Variable for JUNIT

2006-04-25 Thread Sharma, Jaikumar
You can use system variables like ${var.name} -- please be sure for the case of variables -- means access in M2 as defined in windows. -Original Message- From: RobJac [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 3:19 PM To: users@maven.apache.org Subject: Use System Environmen

Re: Use System Environment Variable for JUNIT

2006-04-25 Thread Emmanuel Venisse
http://maven.apache.org/plugins/maven-surefire-plugin/howto.html Emmanuel RobJac a écrit : I have Maven project which also runs Junit when i execute install command. The class files which runs Junit has references to few System environment variable. I would like to know if there is any way I ca

RE : Use System Environment Variable for JUNIT

2006-04-25 Thread Olivier Lamy
Read : http://maven.apache.org/plugins/maven-surefire-plugin/howto.html Section called Using System Properties -Olivier -Message d'origine- De : RobJac [mailto:[EMAIL PROTECTED] Envoyé : mardi 25 avril 2006 11:49 À : users@maven.apache.org Objet : Use System Environment Variable for JUN

RE: Maven Proxy

2006-04-25 Thread Ben Short
Tom, Thanks for replying. Will maven then always go to the internal one or only when it cant connect to the internet server? Ben -Original Message- From: Tom Joad [mailto:[EMAIL PROTECTED] Sent: 25 April 2006 11:05 To: Maven Users List; [EMAIL PROTECTED] Subject: Re: Maven Proxy HI, Y

Re: Maven Proxy

2006-04-25 Thread Tom Joad
HI, You configure connexion on settings.xml file with mirrors tag. central Internal Repos http://internalhost: local-proxy Tom. 2006/4/25, Ben Short <[EMAIL PROTECTED]>: > Hi, > > I am trying to setup maven-proxy on my network and make all my

Generating site - outputEncoding=utf-8 doesn't work with menu and links names

2006-04-25 Thread MiSt
My pom.xml: (...) org.apache.maven.plugins maven-site-plugin UTF-8 (...) Site's charset is ok: and content from xdoc is proper UTF-8, but menu name, menu items names and links names have broken encoding. I have in site.xml I am doing something wrong or it is a bug ? maven-site-pl

Maven Proxy

2006-04-25 Thread Ben Short
Hi, I am trying to setup maven-proxy on my network and make all my clients connect to it rather than go to the internet. But when I run mvn complie it always connect to the internet server first. If maven can't find a dependency on the internet server then it tries my maven-proxy. I have added t

Use System Environment Variable for JUNIT

2006-04-25 Thread RobJac
I have Maven project which also runs Junit when i execute install command. The class files which runs Junit has references to few System environment variable. I would like to know if there is any way I can declare System Environment variable in my pom xml so that the Junit can use this when it run

Re: Impossible to start working with Maven

2006-04-25 Thread Anshuman Srivastava
Hi, I faced this problem also in starting.You need to setup the proxi settings in conf\settings.xml. I am writing a sample entry for my proxy.You have to change it according to ur settings. 1001 true http anshumans momentum 192.168.1.2 3128

Re: Impossible to start working with Maven

2006-04-25 Thread Tom Joad
If you are under proxy you must put something like this on your {user.home}/.m2/settings.xml http PORTNUMBER YOURPROXY Tom. 2006/4/25, Gianfranco Oldani <[EMAIL PROTECTED]>: > Hello, > I have done the Maven setup and trying to co

Re: Impossible to start working with Maven

2006-04-25 Thread Tom Joad
Hello, It' s an internet connexion problem. Tom. 2006/4/25, Gianfranco Oldani <[EMAIL PROTECTED]>: > Hello, > I have done the Maven setup and trying to compile my first project I cannot > get out of this error (here is the command and the trace qfter launching > with the -e option): > > Thanks for

Impossible to start working with Maven

2006-04-25 Thread Gianfranco Oldani
Hello, I have done the Maven setup and trying to compile my first project I cannot get out of this error (here is the command and the trace qfter launching with the -e option): Thanks for any help. D:\projects\maven_demo>mvn -e compile + Error stacktraces are turned on. [INFO] Scanning for pr

documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Hi, I'd like to interact with our project's cvs repository on java.net from within my own plugin, thus I plan to use the maven-scm-api. Is there any documentation for it available online? Maybe JavaDocs? Is 1.0-beta-3 the latest version, which is not a snapshot? I'm using a ssh tunnel, so m

Re: Problem with Eclipse plugin

2006-04-25 Thread Tom Joad
Hi Jose, It is fixed in version 0.0;5 as i said .Are you under proxy? If it's the case As said Eugene Kuleshov one of plugin developers Unfortunately there are still no support for settings.xml, including proxy configuration. and i think your proble comes from it. For now you can use system pro

sourceforge issue management and changes report

2006-04-25 Thread Julien Henry
Hi, My project use this configuration : http://sourceforge.net/tracker/?atid=497982&group_id=61302 But with the changes plugin (changes-maven-plugin), the report generated have this kind of link : http://sourceforge.net/tracker/ViewIssue.jspa?key=1064807 I found

Re: [M2] Problem running tests on Windows (white-space in repository?)

2006-04-25 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Bill, > I have a maven build that runs fine on Linux and OSX but fails in Windows. > Part of the test includes starting an RMIRegistry and connecting to it. The > test fails with an java.net.MalformedURLException "no protocol: and". I've > done s

[Ann] Continuum 1.0.3 Released

2006-04-25 Thread Emmanuel Venisse
The Apache Maven team is pleased to announce Continuum 1.0.3. Continuum 1.0.3 is available for download from {{http://maven.apache.org/continuum/download.html}} Continuum is a continous integration server that will ensure the health of your code base. This release includes the followi

Query around maven.xml in Maven 2.0

2006-04-25 Thread Utpal Sen
Hi, I am a new to maven. In the documentation that I have I see a reference to maven.xml and project.properties but in the information posted on maven.orgit seems like in the new version we don't need to use either of them and can perform the tasks through pom.xml only. Can anyone kindly validate t

Re: Problem with Eclipse plugin

2006-04-25 Thread Jose Gonzalez Gomez
I'm using 0.0.5... do you have more information about this issue? Thanks Jose 2006/4/24, Tom Joad <[EMAIL PROTECTED]>: > > Hello, > Which version of the plugin do you use? It is a known issue of version > 0.0.4 resolved > with 0.0.5 . > Tom. > > > > 2006/4/24, Jose Gonzalez Gomez <[EMAIL PROTECTE

[m2] How to generate "Download report" using Maven 2

2006-04-25 Thread Martin Burger
Hello! In Maven 1 it was possible to add a download report to the generated site (maven.xdoc.distributionUrl). I cannot found any information about this feature in the documentation of Maven 2. Is this feature missing? Regards, Martin Burger -- Martin Burger Researcher Software Engineering

Re: [M2] - Third party artifact installation / parse error in POM

2006-04-25 Thread Tim Kettler
Simon Kitching schrieb: On Tue, 2006-04-25 at 08:54 +0200, Sharma, Jaikumar wrote: Thanks Tim for useful tip, I installed the thirdparty artifact, but did not use the option as you mentioned -- (-DgeneratePom=true). I would do this and let you know the results. Note: there are some jars (in pa

RE: [m2][site] Strange behaviour using site:deploy with scp.

2006-04-25 Thread hermod.opstvedt
Hi Try scp://[EMAIL PROTECTED]/homes/maven/public_html/sites/ I scratched my head with exactly this problem for some time a while back. Hermod -Original Message- From: Mikael Andersson [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 6:20 PM To: users@maven.apache.org Subject: [m2

Re: Dependencies Options

2006-04-25 Thread Anshuman Srivastava
If we do not use the "system" dependecies then how can we resolve the dependency on ejb3.0 which is not available on http://www.ibiblio.org/maven2/. This was my problem so i used ejb3 jars distributed by jboss.Is there any other way? pom.xml--- jboss.ejb3 ejb3-persistence 3.0

Re: Dependencies Options

2006-04-25 Thread Simon Kitching
On Mon, 2006-04-24 at 21:25 -0400, Alexandre Poitras wrote: > On 4/24/06, Brandon Goodin <[EMAIL PROTECTED]> wrote: > > "tons of advantages" - please quantify this. > > Well distributing internal corporation dependencies and managing the > version, especially nightly build is way easier using Mave

RE: [M2] - Third party artifact installation / parse error in POM

2006-04-25 Thread Sharma, Jaikumar
Ah. Great, I was wondering to see only poms in some cases on ibiblio repository, and did not know the reasons why only poms are there and no corresponding JARs available for those. Thanks Simon. Regards, Jaikumar -Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Tu

RE: [M2] - Third party artifact installation / parse error in POM

2006-04-25 Thread Simon Kitching
On Tue, 2006-04-25 at 08:54 +0200, Sharma, Jaikumar wrote: > Thanks Tim for useful tip, I installed the thirdparty artifact, but did > not use the option as you mentioned -- (-DgeneratePom=true). I would do > this and let you know the results. Note: there are some jars (in particular, Sun stuff li

<    1   2