RE: [m1] bootstrap build error

2005-08-24 Thread Arnaud HERITIER
Hi Jeff, Yes it was these files ;-( The download of dependencies was broken. I had your problem some days ago, which was the use of a bad release of the maven model in the ejb plugin. But it was fixed :-( Arnaud > -Message d'origine- > De : Jeff Jensen [mailto:[EMAIL PROTECTED] > Env

RE: Introducing Maven to developers

2005-08-24 Thread Jeff Jensen
I agree with the incremental approach. One of the first things I did in introducing Maven to my current client is to just set it up to generate site. I started on my PC and generated site to it, sharing a "file://" URL for others to use the HTML pages. The value of all the reference docs (Javado

Re: [m2] javadocs??

2005-08-24 Thread Edwin Punzalan
There is a javadoc plugin in svn... here: https://svn.codehaus.org/home/projects/mojo/scm/trunk/mojo Checkout maven-javadoc-plugin and "m2 install" so you can use it. Most of the plugins in there have not been officially released. And some are even still in progress. Although I can guaran

RE: [m1] bootstrap build error

2005-08-24 Thread Jeff Jensen
Thanks Arnaud. These are the new files pulled down: C:\devroot\reference\maven>svn co http://svn.apache.org/repos/asf/maven/maven-1/core/trunk maven-1/core/trunk U maven-1\core\trunk\src\java\org\apache\maven\repository\AbstractArtifact.jav a U maven-1\core\trunk\src\bin\maven.bat U maven-1\co

Re: [m1] get current Maven properties

2005-08-24 Thread Brett Porter
On 8/25/05, Mayorgaadame, Alex [IT] <[EMAIL PROTECTED]> wrote: > How should I get the properties that Maven is using in a given moment? depends on which properties, but ${maven.home}, ${maven.home.local}, ${maven.repo.local} are probably the ones you are talking about. > > For a central Maven se

Re: [M2] outdated xsd?

2005-08-24 Thread Allan Ramirez
Hi Erick Try to update your m2 from SVN and bootstrap it. Regards, allan Erick Dovale wrote: I am using maven 2.0 alpha-3. Is there any beta release yet?? In my pom I have: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="htt

Re: [m2] plugin.getDependencyPath

2005-08-24 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Berry wrote: |>One thing we're considering adding to m2 in the very near term is the |>concept of dependencies that are tied directly to a plugin definition. | | | Don't we already have this?? I have dependencies defined for my plugin | and th

RE: [m1] bootstrap build error

2005-08-24 Thread Arnaud HERITIER
I fixed some errors on the core. If you can update it and re-launch the bootstrap. Arnaud > -Message d'origine- > De : Jeff Jensen [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 24 août 2005 14:36 > À : 'Maven Users List' > Objet : [m1] bootstrap build error > > I have been attempting

Re: [m2] plugin.getDependencyPath

2005-08-24 Thread Kenney Westerhof
On Wed, 24 Aug 2005, Chris Berry wrote: > > One thing we're considering adding to m2 in the very near term is the > > concept of dependencies that are tied directly to a plugin definition. > > Don't we already have this?? I have dependencies defined for my plugin > and they are all there when I ca

Modifying releases.jsl

2005-08-24 Thread Jon Strayer
I modified the multi-releases plugin to add a column containing the current version of the product. This makes it easier for me to find dependencies that I might have to release before I release my application. The report now looks something like this: Project nameLatest versionReleased dateN

Re: [m2] plugin.getDependencyPath

2005-08-24 Thread Chris Berry
Comments inline. Thanks, -- Chris On 8/24/05, John Casey <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > One thing we're considering adding to m2 in the very near term is the > concept of dependencies that are tied directly to a plugin definition. Don't we alrea

Re: log4j logging in JUnit tests

2005-08-24 Thread Scott Lamb
On Aug 24, 2005, at 12:08 PM, SainTiss wrote: Forgot to mention that I also tried adding the following to project.properties: #setup for junit testing maven.junit.sysproperties=log4j.configuration log4j.configuration=log4j.properties which didn't help either... Hans log4j is really confusi

[m1] get current Maven properties

2005-08-24 Thread Mayorgaadame, Alex [IT]
How should I get the properties that Maven is using in a given moment? For a central Maven server how can I force the plugins and cache folders to remain in /maven-1.0.2/.maven folder instead of $HOME/.maven Where should the defaults.properties should be located in order to Maven actually read

Re: [m2] project.artifacts & Classpath, etc.

2005-08-24 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Unfortunately, the answer to the question about a master list of parameter expressions is currently "no." I agree that it'd be nice (tending toward crucial for new mojo devs) to have some documentation on parameter expressions. The only excuse I can o

Re: [m2] plugin.getDependencyPath

2005-08-24 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 One thing we're considering adding to m2 in the very near term is the concept of dependencies that are tied directly to a plugin definition. This is important for several use cases, not the least of which being the use of non-core ant task libraries.

Re: log4j logging in JUnit tests

2005-08-24 Thread SainTiss
Forgot to mention that I also tried adding the following to project.properties: #setup for junit testing maven.junit.sysproperties=log4j.configuration log4j.configuration=log4j.properties which didn't help either... Hans On Wednesday 24 August 2005 18:13, SainTiss wrote: > hi, > > I'm trying t

Re: Introducing Maven to developers

2005-08-24 Thread Lothar Märkle
On Wed, Aug 24, 2005 at 06:18:25PM +0200, Colin Chalmers wrote: > 1. By splitting the project up into a number of small sub-projects it's > going to make it more difficult for the developers to work on the code. > Currently everything is in one CVS project which can easily be checked > out using

Re: Resent: [m1.1] JCoverage fails multiproject:site. Some help required.

2005-08-24 Thread Carlos Sanchez
Yes, it sounds like a bug. You should try the cobertura plugin instead (http://maven-plugins.sourceforge.net/maven-cobertura-plugin/), which is the next version of jCoverage. On 8/24/05, Hogeweg, Erwin (GE Infrastructure) <[EMAIL PROTECTED]> wrote: > All, > > Ok, it seems to work for "maven site"

Re: [m2] plugin.getDependencyPath

2005-08-24 Thread Chris Berry
Hi Kenney, I am using your plugin. Thanks. In fact, I've already extended it to allow it to set Ant's message level (so you can see Ant's when you need to). I believe that Ant + Maven is the sweet spot. What I'm trying to discern is the cleanest way to accomplish this. Say you want to use an "ex

Re: Introducing Maven to developers

2005-08-24 Thread eric . starr
Concerning Argument 1: If you can't get them to see the value then you may want to use an incremental approach. This will involve more work on the front end for you though... Instead of changing the structure of their source, you can create a maven/ant script that will download the source and

Re: [M2]: Missing maven-ear-plugin?

2005-08-24 Thread Thomas Van de Velde
That didn't work for me when I tried yesterday ;-( Cheers, Thomas On 8/24/05, Kenney Westerhof <[EMAIL PROTECTED]> wrote: > > On Wed, 24 Aug 2005 [EMAIL PROTECTED] wrote: > > The ear plugin is not officially released yet. It will be part of beta-1. > The fact that there are RELEASE files prese

RE: Introducing Maven to developers

2005-08-24 Thread Litton, Tom - CEPM
We have done both of these with maven 1. 1. We use IDEA and import each sub-project as a module into one big IDEA project. We use the idea maven plugin to generate the module config files. This way the developers only have to import the modules they are interested in seeing. It's more flexi

Re: [M2]: Missing maven-ear-plugin?

2005-08-24 Thread Kenney Westerhof
On Wed, 24 Aug 2005 [EMAIL PROTECTED] wrote: The ear plugin is not officially released yet. It will be part of beta-1. The fact that there are RELEASE files present on ibiblio is (AFAIK) by mistake. -- Kenney PS: If you're in a hacking mood, you could upgrade your m2 installation by boostrapping

Re: [m2] plugin.getDependencyPath

2005-08-24 Thread Kenney Westerhof
On Wed, 24 Aug 2005, Chris Berry wrote: Hi, In m2 you just specify that jar as a dependency in the pom of the plugin. It's then automatically added to the runtime classpath of that plugin's execution environment. Further, you can access the Plugin object and it's properties in a Mojo. Btw, if yo

Re: jar:install-snapshot - deprecated jar:snapshot

2005-08-24 Thread Jamie Bisotti
On 8/24/05, David Jackman <[EMAIL PROTECTED]> wrote: > Is there a "best practices" way of cleaning up these timestamped > deployments? We have a continuous integration tool doing the builds (so > there's lots of builds) and the current version of all projects are set > with SNAPSHOT. So it seems

Introducing Maven to developers

2005-08-24 Thread Colin Chalmers
Hi all, I'm trying to introduce Maven at the client I'm working at, unfortunately I'm meeting some resistance. They currently work with a number of ant scripts which pulls data in from all over the place, I want to change that but some find it hard to see the added value of Maven. The main

RE: jar:install-snapshot - deprecated jar:snapshot

2005-08-24 Thread David Jackman
Is there a "best practices" way of cleaning up these timestamped deployments? We have a continuous integration tool doing the builds (so there's lots of builds) and the current version of all projects are set with SNAPSHOT. So it seems that in a not-too-large amount of time our Maven repository w

log4j logging in JUnit tests

2005-08-24 Thread SainTiss
hi, I'm trying to use log4j logging in my JUnit tests instead of some System.out.println statements I have there... So i did the following: 1) add the following to my test class: private static final Logger logger = Logger.getLogger(StmdsocTest.class); 2) Put this log4j.properties file in the t

RE : installing maven on linux

2005-08-24 Thread Pascal Larin
Karl, Check that your MAVEN_HOME AND your PATH point to your maven 1.1 location. I had the same problem when I've switch form 1.0 to 1.1, my PATH wasn't correctly set. Pascal -Message d'origine- De : Karl Gustav [mailto:[EMAIL PROTECTED] Envoyé : August 24, 2005 11:00 À : users@maven.a

[M2]: Missing maven-ear-plugin?

2005-08-24 Thread eric . starr
Maven version: 2.0-alpha-3 (Just started using Maven a few days ago) I am trying to create an ear file from wars and jars... I noticed that the maven-ear-plugin is missing from: http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/ even though this plugin is still listed in t

[m2] plugin.getDependencyPath

2005-08-24 Thread Chris Berry
Hi, In the bad old days of Jelly, we could type something like:: plugin.getDependendcyPath( 'axis:ant' ); And you got back the full path to a JAR -- so we could use it as:: Is there an equivalent helper function like this for Java?? BTW: FWIW: I have no interest in using Marmalade. I want

installing maven on linux

2005-08-24 Thread Karl Gustav
Hello, Today i tried to use maven(v. 1.1-beta-1) on our linux machine. On windows i had no problems,but on linux i cant get it working. I found out it has nothing: - to do with the java project - to do with the java version, tried some versions between 1.4.0.2 - 1.5.4 I deleted cache and repo

Re: jar:install-snapshot - deprecated jar:snapshot

2005-08-24 Thread Brett Porter
As of the 1.5 release of the Maven Artifact plugin, anything with a SNAPSHOT name will automatically get timestamped. - Brett On 8/25/05, Andreas Guther <[EMAIL PROTECTED]> wrote: > > Hi: > > > With the jar plug-in 1.7 I noticed that the creation of a versioned jar > file seems to be deprecate

RE: Maven and Versionless Jar Files

2005-08-24 Thread Alex Wood
bar.jar works for me on 1.0. Bill Worked like a charm. Thanks! -- Regards, Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Resent: [m1.1] JCoverage fails multiproject:site. Some help required.

2005-08-24 Thread Hogeweg, Erwin \(GE Infrastructure\)
All, Ok, it seems to work for "maven site" but it doesn't seem to work for "maven multiproject:site". Is it supposed to? If the answer is "yes", this might be a bug, if the answer is "no" I hope somebody can tell me how to solve this. BUILD FAILED File.. D:\Documents and Settings\Erwin\.ma

jar:install-snapshot - deprecated jar:snapshot

2005-08-24 Thread Andreas Guther
Hi: With the jar plug-in 1.7 I noticed that the creation of a versioned jar file seems to be deprecated. I was used to get a versioned snapshot file with the jar:install-snapshot goal which seems not to be the case anymore. From what I understand, I still can create a versioned snapshot fil

[m2] javadocs??

2005-08-24 Thread Chris Berry
I suppose the javadocs for maven2 are somewhere on the site -- but I cannot locate them. The old, familiar Project Reports is missing. And I've trolled thru most pages looking. I also tried to run "m2 site:site" on my local SVN checkout (it died). So I'm at a loss... Are there any javadocs availabl

Re[2]: Middlgen (Plugin)

2005-08-24 Thread Dmitry Ochnev
Hello Jan, We see you. Wednesday, August 24, 2005, 6:17:06 PM, you wrote: > Hello again, > and sorry to annoy you. > as this had been my first post to the list, and none answered so far, > I wondered if anybody except me got this question at all. > maybe someone could just post a nifty repl

Re: Middlgen (Plugin)

2005-08-24 Thread Jan Galinski
Hello again, and sorry to annoy you. as this had been my first post to the list, and none answered so far, I wondered if anybody except me got this question at all. maybe someone could just post a nifty reply so I know that at least I#ve been heard? Thanx Jan -

Re: [M2] outdated xsd?

2005-08-24 Thread Erick Dovale
I am using maven 2.0 alpha-3. Is there any beta release yet?? In my pom I have: 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";> Is this the right on

[m1] bootstrap build error

2005-08-24 Thread Jeff Jensen
I have been attempting to build m1 via bootstrap again, and have the following compile errors. I did not find the cause from a quick review, and am wondering if this is a known bootstrap problem before I spend more time with it. I have verified the classes exist, visual inspection found no proble

How can I exclude multiple project.xml files via project.properties to assure not building a null-1.0.jar file?

2005-08-24 Thread Ruud Wijnands
Hi, I am trying to exclude particular project files via project.properties. The reason I want this is that maven otherwise builds a null-1.0.jar file for those directories that have a project.xml file for a maven:multiproject project and that do not contain any source code or tests. I use the fo

Re: How can I use environment variables in project.properties?

2005-08-24 Thread Arnaud HERITIER
don't know if it works but you can try something like : Arnaud On 8/24/05, Ralph Pöllath <[EMAIL PROTECTED]> wrote: > > On 24.08.2005, at 11:55, Ruud Wijnands wrote: > > I would like to know how I can use environment variables in > > project.properties. > > I know about system properties li

Re: Multiproject build

2005-08-24 Thread stéphane bouchet
Hi, i am in the same configuration, but even if i have all my projects depending on my utility project, it is not built in the first place ? So when i do a "multiproject:install", my utility project is not on the top list and the build fails Using maven 1.0.2 and multiproject 1.4.1. Th

Merging dependencies from an external file

2005-08-24 Thread Jewabreh, Ehab
Hallo *, I am using maven for builing a web application. This application depends on an api that is devoloped in an other country. Onces a week i get a new release of this api as a zip file. The zip file includes: 1- file: dependencies.xml isorelax isorela

Re: How can I use environment variables in project.properties?

2005-08-24 Thread Ralph Pöllath
On 24.08.2005, at 11:55, Ruud Wijnands wrote: I would like to know how I can use environment variables in project.properties. I know about system properties like ${user.home}, but I was wondering if I can also use other enviroment variables. AFAIK: You can't. Cheers, -Ralph. --

How can I use environment variables in project.properties?

2005-08-24 Thread Ruud Wijnands
Hi, I would like to know how I can use environment variables in project.properties. I know about system properties like ${user.home}, but I was wondering if I can also use other enviroment variables. Regards, Ruud Wijnands

Change dynamically pom dependencies

2005-08-24 Thread eric . duperrin
hi I have a project with several subprojects. I agragate subproject's sources in order to get clover report. I need to change dynamically pom dependencies of my main project to compile and run aggragated sources. // here i try to set pom dependencie