quesiton about maven 2 projects with modules

2005-11-09 Thread Frank Zhao

It seems for each modules, Continuum creates a seperate project for it. Is 
there a way to disable this feature since I only need one continuum project 
which can build very modules defined in the POM.

Thanks,

Frank


Re: JarJar missing...

2005-11-09 Thread Guillaume Laforge
Hello Carlos,

On 08/11/05, Carlos Sanchez [EMAIL PROTECTED] wrote:
 Done. All versions however are under the groupId com.tonicsystems

Thanks a lot!

--
Guillaume Laforge
Groovy Project Manager
http://glaforge.free.fr/blog/groovy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven SVG Plugin

2005-11-09 Thread Jorg Heymans

Martin van den Bemt wrote:
 Never seen it before, but the project is quite recent compared to mine.
 It's a lot more up-to-date with dependencies though :)

ok so it's sort of like the command line batik renderer, cool !

Jorg


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: M2 Getting started guide

2005-11-09 Thread Stephen Cowx

Hi

I found the Getting Started guide in SVN and looked through the commit 
history but I couldn't a version which had the multi project info in 
it.  Admittedly I looked at the first and last entries and about 10 
random entries in between before I figured that it might never have been 
in there anyway.  If it was somewhere else in the source tree then there 
is almost no chance I will be able to find it.


If there is anyone on this list who can provide a very quick bullet list 
of how to implement multi projects in maven 2.0 it would help me a great 
deal.  I am familiar with Maven 1 so it can be fairly direct and to the 
point.


regards

Stephen

Brett Porter wrote:


Isn't the old guide still around somewhere?

- Brett

On 11/9/05, Jason van Zyl [EMAIL PROTECTED] wrote:
 


On Tue, 2005-11-08 at 08:51 -0700, [EMAIL PROTECTED] wrote:
   


Hi All

I am also looking for this information and I cannot find any guidance on the
correct structure for multiple projects.  This would be an extremely useful
guide.
 


It's in JIRA, you can vote on it:

http://jira.codehaus.org/browse/MNG-1366

It's pretty high on the list.

   


regards

Stephen

Quoting Mordo, Aviran (EXP N-NANNATEK) [EMAIL PROTECTED]:

 


I have just started to evaluate Maven  myself, and was looking for this
information of how to setup multiple projects.

Aviran
http://www.aviransplace.com

-Original Message-
From: Pete [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 7:23 AM
To: Maven Users List
Subject: M2 Getting started guide

The M2 getting starting guide used to go on to explain how to set up a
parent project and child projects with a simple example (parent etc) ,
this seems to have gone completely from the guide.

I have this working myself, but was pointing others in the this
direction for information.

The mini guides have nothing on multi project.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


   




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 


--
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

First, the taking in of scattered particulars under one Idea,
so that everyone understands what is being talked about ... Second,
the separation of the Idea into parts, by dividing it at the joints,
as nature directs, not breaking any limb in half as a bad carver might.

 -- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




 





Re: M2 Getting started guide

2005-11-09 Thread Brett Porter
The old one is:

http://maven.apache.org/maven2/getting-started.html

- Brett

On 11/9/05, Stephen Cowx [EMAIL PROTECTED] wrote:
 Hi

 I found the Getting Started guide in SVN and looked through the commit
 history but I couldn't a version which had the multi project info in
 it.  Admittedly I looked at the first and last entries and about 10
 random entries in between before I figured that it might never have been
 in there anyway.  If it was somewhere else in the source tree then there
 is almost no chance I will be able to find it.

 If there is anyone on this list who can provide a very quick bullet list
 of how to implement multi projects in maven 2.0 it would help me a great
 deal.  I am familiar with Maven 1 so it can be fairly direct and to the
 point.

 regards

 Stephen

 Brett Porter wrote:

 Isn't the old guide still around somewhere?
 
 - Brett
 
 On 11/9/05, Jason van Zyl [EMAIL PROTECTED] wrote:
 
 
 On Tue, 2005-11-08 at 08:51 -0700, [EMAIL PROTECTED] wrote:
 
 
 Hi All
 
 I am also looking for this information and I cannot find any guidance on 
 the
 correct structure for multiple projects.  This would be an extremely useful
 guide.
 
 
 It's in JIRA, you can vote on it:
 
 http://jira.codehaus.org/browse/MNG-1366
 
 It's pretty high on the list.
 
 
 
 regards
 
 Stephen
 
 Quoting Mordo, Aviran (EXP N-NANNATEK) [EMAIL PROTECTED]:
 
 
 
 I have just started to evaluate Maven  myself, and was looking for this
 information of how to setup multiple projects.
 
 Aviran
 http://www.aviransplace.com
 
 -Original Message-
 From: Pete [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 08, 2005 7:23 AM
 To: Maven Users List
 Subject: M2 Getting started guide
 
 The M2 getting starting guide used to go on to explain how to set up a
 parent project and child projects with a simple example (parent etc) ,
 this seems to have gone completely from the guide.
 
 I have this working myself, but was pointing others in the this
 direction for information.
 
 The mini guides have nothing on multi project.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 --
 jvz.
 
 Jason van Zyl
 jason at maven.org
 http://maven.apache.org
 
 First, the taking in of scattered particulars under one Idea,
 so that everyone understands what is being talked about ... Second,
 the separation of the Idea into parts, by dividing it at the joints,
 as nature directs, not breaking any limb in half as a bad carver might.
 
   -- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander)
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Assembly dependency set includes

2005-11-09 Thread Nitko2

Created.

http://jira.codehaus.org/browse/MNG-1473




Jason van Zyl wrote:

On Tue, 2005-11-08 at 10:24 +0100, Nitko2 wrote:


Can I use wildcards in dependency set includes inside assembly descriptor?

assembly
  idmy-assembly/id
  formats
formatjar/format
  /formats
  includeBaseDirectoryfalse/includeBaseDirectory
  fileSets
fileSet
  directorytarget/classes/directory
  outputDirectory//outputDirectory
/fileSet
  /fileSets
  dependencySets
dependencySet
  outputDirectory//outputDirectory
  unpacktrue/unpack
  scoperuntime/scope
  includes
includegroupId:artifactId/include
  /includes
/dependencySet
  /dependencySets
/assembly

I would like to use something like includegroupId:*/include


If not, is it planned?



Doesn't appear to be, can you create an JIRA issue:

http://jira.codehaus.org/secure/IssueNavigator.jspa?
reset=truemode=hidepid=10500sorter/order=DESCsorter/field=priorityresolution=-1component=11804









-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Can't use maven2 (offline)

2005-11-09 Thread Jörg Schaible
Brett Porter wrote on Wednesday, November 09, 2005 12:55 AM:

 If you are overriding the ibiblio repositories, set the id of
 both to central. You may also need to use file:///mypath.
 
 A plugin repository is where a plugin is searched for, a
 normal repository is for all other dependencies and extensions.

Won't be a single mirror entry with mirrorOf set to central in the settings.xml 
enough?

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Can't use maven2 (offline)

2005-11-09 Thread Brett Porter
Yes, that should work actually.

- Brett

On 11/9/05, Jörg Schaible [EMAIL PROTECTED] wrote:
 Brett Porter wrote on Wednesday, November 09, 2005 12:55 AM:

  If you are overriding the ibiblio repositories, set the id of
  both to central. You may also need to use file:///mypath.
 
  A plugin repository is where a plugin is searched for, a
  normal repository is for all other dependencies and extensions.

 Won't be a single mirror entry with mirrorOf set to central in the 
 settings.xml enough?

 - Jörg

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: M2 Getting started guide

2005-11-09 Thread Stephen Cowx
Thank you Brett :) 


Having read the old guide, I now know I was going nowhere fast without it.

regards

Stephen

Brett Porter wrote:


The old one is:

http://maven.apache.org/maven2/getting-started.html

- Brett

On 11/9/05, Stephen Cowx [EMAIL PROTECTED] wrote:
 


Hi

I found the Getting Started guide in SVN and looked through the commit
history but I couldn't a version which had the multi project info in
it.  Admittedly I looked at the first and last entries and about 10
random entries in between before I figured that it might never have been
in there anyway.  If it was somewhere else in the source tree then there
is almost no chance I will be able to find it.

If there is anyone on this list who can provide a very quick bullet list
of how to implement multi projects in maven 2.0 it would help me a great
deal.  I am familiar with Maven 1 so it can be fairly direct and to the
point.

regards

Stephen

Brett Porter wrote:

   


Isn't the old guide still around somewhere?

- Brett

On 11/9/05, Jason van Zyl [EMAIL PROTECTED] wrote:


 


On Tue, 2005-11-08 at 08:51 -0700, [EMAIL PROTECTED] wrote:


   


Hi All

I am also looking for this information and I cannot find any guidance on the
correct structure for multiple projects.  This would be an extremely useful
guide.


 


It's in JIRA, you can vote on it:

http://jira.codehaus.org/browse/MNG-1366

It's pretty high on the list.



   


regards

Stephen

Quoting Mordo, Aviran (EXP N-NANNATEK) [EMAIL PROTECTED]:



 


I have just started to evaluate Maven  myself, and was looking for this
information of how to setup multiple projects.

Aviran
http://www.aviransplace.com

-Original Message-
From: Pete [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 7:23 AM
To: Maven Users List
Subject: M2 Getting started guide

The M2 getting starting guide used to go on to explain how to set up a
parent project and child projects with a simple example (parent etc) ,
this seems to have gone completely from the guide.

I have this working myself, but was pointing others in the this
direction for information.

The mini guides have nothing on multi project.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




 


--
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

First, the taking in of scattered particulars under one Idea,
so that everyone understands what is being talked about ... Second,
the separation of the Idea into parts, by dividing it at the joints,
as nature directs, not breaking any limb in half as a bad carver might.

-- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






 



   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




 





[M2] Repository definition

2005-11-09 Thread Jörg Schaible
Hi folks,

the reference guide defines the release and snapshot tags as children of the 
repository or pluginRepository tags. If I define them in my settings.xml, Maven 
claims that they are not recognized:

[1] [EMAIL PROTECTED] ~/Elsag/buildsystem/sample-maven-project
$ mvn projecthelp:active-profiles
Error reading settings.xml: Unrecognised tag: 'release' (position: START_TAG 
seen ...repository\r\nrelease... @23:30) 
  Line:   23
  Column: 30

[1] [EMAIL PROTECTED] ~/Elsag/buildsystem/sample-maven-project
$ mvn projecthelp:active-profiles
Error reading settings.xml: Unrecognised tag: 'snapshot' (position: START_TAG 
seen .../release --\r\nsnapshot... @27:31) 
  Line:   27
  Column: 31

How do I define different repos for snapshot/release artifacts?

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [M2] Problem using scm with cvs

2005-11-09 Thread Tony Steele
Raised as bug : http://jira.codehaus.org/browse/MNG-1474


 From: Brett Porter [mailto:[EMAIL PROTECTED] 
 Sent: 09 November 2005 00:03
 This looks like a bug...
 
 On 11/9/05, Tony Steele [EMAIL PROTECTED] wrote:
  I am trying to use cvs as the scm with the cvs user name 
 etc specified 
  in the local settings.xml. However the profile properties do not 
  appear to be substituted in the scm connection string.
 
  Anybody got any ideas?
 
  I have the following:
 
  Pom:
  scm
connection
 
  
 scm:cvs:pserver:[EMAIL PROTECTED]:/data/cvsroot:applications/D
  IS
  Repository/components/DISRepositoryManager
/connection
  /scm
 
  Settings:
 
  profiles
profile
  iddefault/id
properties
  cvs.userxx/cvs.user
  cvs.serveramlnx04.tv.bbc.co.uk/cvs.server
/properties
/profile
  /profiles
  activeProfiles
activeProfiledefault/activeProfile
  /activeProfiles
 
  Error:
 
  [INFO] Generate changelog report.
  [INFO] Generating changed sets xml to: 
  D:\Project\DISRepositoryManager\target\changelog.xml
  [ERROR] Didn't find password for CVSROOT 
  ':pserver:[EMAIL PROTECTED]:/data/cvsroot'.
  [ERROR] Error processing command
  org.netbeans.lib.cvsclient.connection.AuthenticationException: I/O 
  error while connecting to host ${cvs.server}.
  at 
  
 org.netbeans.lib.cvsclient.connection.PServerConnection.openConnection
  (P
  ServerConnection.java:237)
  at
  
 org.netbeans.lib.cvsclient.connection.PServerConnection.open(P
 ServerConn
  ection.java:298)
 
  Tony
 
  http://www.bbc.co.uk/
 
  This e-mail (and any attachments) is confidential and may contain 
  personal views which are not the views of the BBC unless 
 specifically 
  stated. If you have received it in error, please delete it 
 from your 
  system. Do not use, copy or disclose the information in any way nor 
  act in reliance on it and notify the sender immediately. 
 Please note 
  that the BBC monitors e-mails sent or received.
  Further communication will signify your consent to this.
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. 
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received. 
Further communication will signify your consent to this.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [M2] Repository definition

2005-11-09 Thread Brett Porter
snapshots and releases (there is an error in the documenter that
is stripping plurals on non-lists).

- Brett

On 11/9/05, Jörg Schaible [EMAIL PROTECTED] wrote:
 Hi folks,

 the reference guide defines the release and snapshot tags as children of the 
 repository or pluginRepository tags. If I define them in my settings.xml, 
 Maven claims that they are not recognized:

 [1] [EMAIL PROTECTED] ~/Elsag/buildsystem/sample-maven-project
 $ mvn projecthelp:active-profiles
 Error reading settings.xml: Unrecognised tag: 'release' (position: START_TAG 
 seen ...repository\r\nrelease... @23:30)
   Line:   23
   Column: 30

 [1] [EMAIL PROTECTED] ~/Elsag/buildsystem/sample-maven-project
 $ mvn projecthelp:active-profiles
 Error reading settings.xml: Unrecognised tag: 'snapshot' (position: START_TAG 
 seen .../release --\r\nsnapshot... @27:31)
   Line:   27
   Column: 31

 How do I define different repos for snapshot/release artifacts?

 - Jörg

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-09 Thread David H. DeWolf
Is there a reason why that would work for ArtifactFactory but not for 
ArtifactResolver?


Brett Porter wrote:

The @component tag is in 2.0. The other form is deprecated.

/**
 * @component
 */
private ArtifactFactory factory;

(role is only necessary for a list of components or if it differs from the type)

- Brett

On 11/9/05, David H. DeWolf [EMAIL PROTECTED] wrote:


Jason van Zyl wrote:


On Tue, 2005-11-08 at 22:08 -0500, David H. DeWolf wrote:



I'm developing a plugin which requires an ArtifactFactory and
ArtifactResolver and am attempting to get them injected.  I have tried
two approaches:

@component role=org.apache.maven.artifact.resolver.ArtifactResolver
@component role=org.apache.maven.artifact.factory.ArtifactFactory



What are you trying to do exactly?


I'm attempting to create a plugin which will automate the installation
of the Pluto Portalinto an app server.  My requirements go beyond simply
deploying the war as Pluto requires some configuration, integration with
other webapps, and the deployment of shared and endorsed artifacts into
the app server.

I currently have a version of the plugin that will complete this task
when executed from within a utilities subproject (using the just
created artifacts).  I'd like to modify the plugin so that the
installation can use artifacts in the repository so that users don't
have to check out the source code first.  I'd also prefer not to have
the artifacts embeded within the plugin.


Thanks,

David





and

@parameter
expression=${component.org.apache.maven.artifact.resolver.ArtifactResolver}

@parameter
expression=${component.org.apache.maven.artifact.factory.ArtifactFactory}

It appears the later approach is appropriate for 2.0 and the former is
appropriate for the current trunk, however, I've tried both and am
having no luck with either approach.

Both approaches result in a NullPointerException which is hidden by a
previously fixed bug in DiagnosisUtils (patch applied against the trunk)
in which a secondary NullPointer is thrown if an exception message is null.

Any ideas?

Thanks,

David


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-09 Thread Brett Porter
No - it should work for both.

- Brett

On 11/9/05, David H. DeWolf [EMAIL PROTECTED] wrote:
 Is there a reason why that would work for ArtifactFactory but not for
 ArtifactResolver?

 Brett Porter wrote:
  The @component tag is in 2.0. The other form is deprecated.
 
  /**
   * @component
   */
  private ArtifactFactory factory;
 
  (role is only necessary for a list of components or if it differs from the 
  type)
 
  - Brett
 
  On 11/9/05, David H. DeWolf [EMAIL PROTECTED] wrote:
 
 Jason van Zyl wrote:
 
 On Tue, 2005-11-08 at 22:08 -0500, David H. DeWolf wrote:
 
 
 I'm developing a plugin which requires an ArtifactFactory and
 ArtifactResolver and am attempting to get them injected.  I have tried
 two approaches:
 
 @component role=org.apache.maven.artifact.resolver.ArtifactResolver
 @component role=org.apache.maven.artifact.factory.ArtifactFactory
 
 
 What are you trying to do exactly?
 
 I'm attempting to create a plugin which will automate the installation
 of the Pluto Portalinto an app server.  My requirements go beyond simply
 deploying the war as Pluto requires some configuration, integration with
 other webapps, and the deployment of shared and endorsed artifacts into
 the app server.
 
 I currently have a version of the plugin that will complete this task
 when executed from within a utilities subproject (using the just
 created artifacts).  I'd like to modify the plugin so that the
 installation can use artifacts in the repository so that users don't
 have to check out the source code first.  I'd also prefer not to have
 the artifacts embeded within the plugin.
 
 
 Thanks,
 
 David
 
 
 
 and
 
 @parameter
 expression=${component.org.apache.maven.artifact.resolver.ArtifactResolver}
 
 @parameter
 expression=${component.org.apache.maven.artifact.factory.ArtifactFactory}
 
 It appears the later approach is appropriate for 2.0 and the former is
 appropriate for the current trunk, however, I've tried both and am
 having no luck with either approach.
 
 Both approaches result in a NullPointerException which is hidden by a
 previously fixed bug in DiagnosisUtils (patch applied against the trunk)
 in which a secondary NullPointer is thrown if an exception message is 
 null.
 
 Any ideas?
 
 Thanks,
 
 David
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [m2] How do you use maven2 inside a corporate firewall?

2005-11-09 Thread Pilgrim, Peter
I deleted the entire contents of the local cache repository folder 
`${user.home}/.m2/repository'.
 
I checked the proxy firewall definitions in `${user.home}/.m2/settings.xml' .
 
Spell checked the filename is actually settings.xml not setting.xml
 
Run with mvn -X compile or just mvn -X, the output should say reading 
settings.xml
 
Caveat Emptor: I believe the NTLM is not implemented. So if you are using NTLM
you may be out of options for now.
 
 
HTH
 
 
PS: I wish someone would answer my question javadoc:javadoc and if it
is possible download the Maven source code as a zip like you can for Struts or 
MyFaces.



--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


-Original Message-
From: Himanshu Airon [mailto:[EMAIL PROTECTED]
Sent: 09 November 2005 05:03
To: [EMAIL PROTECTED]
Subject: [m2] How do you use maven2 inside a corporate firewall?



Hi Peter,

 

I'm trying maven2 and getting the same error. Were you able to solve the 
problem? I'm still struggling with it. 

 

Thanks in advance.

 

Himanshu


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


[m2] using hibernate plugin

2005-11-09 Thread Rico (privat)

Hi,

I downloaded the soures of the actual hibernate 3 plugins from

http://svn.codehaus.org/trunk/mojo/mojo-sandbox/hibernate3-maven-plugin/?root=mojo

1. Compiled that sources: mvn compile
2. Make a package: mvn package
3. Install it on my local repository: mvn install -DupdateReleaseInfo=true

All was running fine. But if I want to used it in my own project it 
fails with:


[INFO] Scanning for projects...
[INFO] 


[ERROR] FATAL ERROR
[INFO] 


[INFO] null
[INFO] 


[INFO] Trace
java.lang.NullPointerException
   at 
org.apache.maven.plugin.descriptor.PluginDescriptor.getMojo(PluginDescriptor.java:261)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1363)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:376)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:132)

   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:585)
   at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Before that I prepared my project pom.xml as described on documentation 
to maven-hibernate3-plugin:


 build
   extensions
 extension
 groupIdorg.firebirdsql/groupId
 artifactIdjaybird/artifactId
 version1.5.6/version
 /extension
   /extensions
   plugins
   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-hibernate3-plugin/artifactId
   configuration
   config/src/main/resources/hibernate.cfg.xml/config
   /configuration
   /plugin
   /plugins
   /build

The command line was following:

mvn hibernate3:hbm2dll

After getting that error first time I found a short message on

http://www.hiberforum.org/2005/09/#09

which gives a solution to find inofficial plugins also with:

mvn org.codehaus.mojo:hibernate3-maven-plugin:hbm2dll

but the error keep the same. The plugin couldn't find or some thing else.

Any help or ideas?

Thanks in forward
Rico


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Version number on the generated web [M1]

2005-11-09 Thread Bahaa Nasrallah
Hi,
When generating the web site of the project, the version that would be shown
is the one specified in the project.xml file by the currentVersion tag.
The problem with this is that the version should be fixed statically before
the build is executed. Is there any way to retreive the version dynamically?
In my case i have a customized goal that retreives the old version and
increment it by 1 to have the new version of the current build.
Is there anyway to set the currentVerion with that value dynamically?
 Thanks,
Bahaa


MNG-1398: How to obtain an updated version of the maven-javadoc-plugin

2005-11-09 Thread Jochen Wiedmann


Hi,

sorry for asking the stupid question: I am one of the users who stumbled 
over


MNG-1398: site report generates an 'empty'
  target/site/apidocs/index.html

I see that a fixed version of the plugin will be available in Maven 
2.0.1. Very nice. But do I actually have to wait for that version? Or, 
do I have to rebuild Maven from SVN?


Regards,

Jochen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



MEV: How to update local repository when a pom has been updated on central repo?

2005-11-09 Thread fabrice . belingard




Hi guys,

when the POM of a project has been updated on ibiblio thx to Maven
Evangelism, how do I tell Maven to update it in my local repository? Do I
have to delete it manually so that Maven downloads the updated POM? Or does
Maven have a mechanism for that purpose?
I though -U could be used, but I figured out this is only for plugin
update.

Thanks for your answer!

Best Regards / Cordialement,
Fabrice BELLINGARD
DINQ/DSIN/INSI/EATE/IDVS/AIDV
(+33) (01 61) 45 15 91  -  [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



testing webapp with surefire

2005-11-09 Thread Pablo

Hi there

I'm trying to perform several tests (StrutsTestCase) on my web 
application using M2.

The StrutsTestCase requires /WEB-INF/web.xml to be in the classpath.
When tests are run in a default way m2 says: The /WEB-INF/web.xml was 
not found.
I've found one configuration parameter called |classpathElements| to 
be helpful (as its name suggests).

However when I add this to the configuration:
plugin
 configuration
   ..
 classpathElements
   classpathElementsrc/webapp/classpathElement
 /classpathElements
   ..
 /configuration
/plugin
M2 writes the following message:

[INFO] Error configuring: 
org.apache.maven.plugins:maven-surefire-plugin. Reason: ERROR: Cannot 
override read-only parameter: classpathElements in goal: surefire:test


Therefore I have a question. What should I set in pom.xml file to make 
StrutsTestCase's tests work?


Thanks in advance
Cheers
Pablo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[m2] How to exclude goal from a phase of the standard life-cycle ?

2005-11-09 Thread Christophe DENEUX


Hi friends,

When starting the package lifecycle (mvn package), the goal test of 
the plugin surefire is run.


Is it possible to exclude this goal from the lifecycle ?
How to customize the lifecycle excluding plugins goals ?

Thanks,
Christophe


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] How to exclude goal from a phase of the standard life-cycle ?

2005-11-09 Thread Pablo

Christophe DENEUX wrote:



Hi friends,

When starting the package lifecycle (mvn package), the goal test 
of the plugin surefire is run.


Is it possible to exclude this goal from the lifecycle ?
H


http://maven.apache.org/maven2/plugins/maven-surefire-plugin/test-mojo.html
Use skip configuration parameter.

Cheers
Pablo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: MNG-1398: How to obtain an updated version of the maven-javadoc-plugin

2005-11-09 Thread Wim Deblauwe
What I have found that works is: mvn -U javadoc:javadoc, that will give you
the latest released version. For bleeding edge, you will need to build from
SVN (never done that myself).

On a related note: Where do I need to register to be notified of a newly
released plugin? I see sometimes announcements on this list, but certainly
not for all plugins (e.g. surefire has had a new version and I never saw it
annouced on this list, but there are probably others as well).

regards,

Wim

2005/11/9, Jochen Wiedmann [EMAIL PROTECTED]:


 Hi,

 sorry for asking the stupid question: I am one of the users who stumbled
 over

 MNG-1398: site report generates an 'empty'
 target/site/apidocs/index.html

 I see that a fixed version of the plugin will be available in Maven
 2.0.1. Very nice. But do I actually have to wait for that version? Or,
 do I have to rebuild Maven from SVN?

 Regards,

 Jochen


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: [m2] How to exclude goal from a phase of the standard life-cycle ?

2005-11-09 Thread Emmanuel Venisse
you can't exclude a goal from a phase, but you can disable test compilation and execution 
(it isn't a best practice)


mvn -Dmaven.test.skip=true package
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html

Emmanuel

Christophe DENEUX a écrit :


Hi friends,

When starting the package lifecycle (mvn package), the goal test of 
the plugin surefire is run.


Is it possible to exclude this goal from the lifecycle ?
How to customize the lifecycle excluding plugins goals ?

Thanks,
Christophe


This message contains information that may be privileged or confidential 
and is the property of the Capgemini Group. It is intended only for the 
person to whom it is addressed. If you are not the intended recipient,  
you are not authorized to read, print, retain, copy, disseminate,  
distribute, or use this message or any part thereof. If you receive 
this  message in error, please notify the sender immediately and delete 
all  copies of this message.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] aspectj

2005-11-09 Thread Kaare Nilsen
how do you build and compile a plexus compiler ?

On 07/11/05, stéphane bouchet [EMAIL PROTECTED] wrote:
 Hi,

 In my case, i will not upgrade to maven2 unless an aspectj plugin.
 I am like the majority of users, because my project uses java 1.4 and i cannot
 change that prereq.

 So for the moment I will wait for a plugin before migrate to maven2.

 And if there wil not be a plugin, i will try to write one ;)


 Regards,


 Stéphane

 Kaare Nilsen a écrit :
  You should not rely on the number of people that asks for priority.
  The persons that asks are the one who already have a motivation of
  using maven, the wast majority i would suspect checks if maven have a
  plugin for it, if not they would use something else.
 
  I for sure would not use maven if i was not on a java 1.5 project due
  to the fact of the missing aspectJ plugin. But luckily using aspectJ 5
  and java 1.5 i don't need a special compiler.
 
  With all that said. Maven2 really has made my building way more easy,
  and if you could use java 1.5 and aspectJ 5 that is a working
  combination
 
  /Kaare Nilsen
 
  On 07/11/05, Brett Porter [EMAIL PROTECTED] wrote:
 
 I don't believe this is currently working.
 
 You're probably the 3rd person that has asked all year - so that
 probably justifies the priority :) That's possibly just a matter of it
 not being there though - I'm sure if it was started more would come
 out of the woodwork.
 
 There has been some discussion on this list in the past about possible
 ways to implement it - if you are interested in searching for that,
 revieweing, and reviving the discussion, we'd really appreciate
 anything you are able to contribute.
 
 For myself, I'm not an aspectj user.
 
 Cheers,
 Brett
 
 On 11/5/05, Eduardo Rocha [EMAIL PROTECTED] wrote:
 
 I have seen in Maven Plugin Matrix that AspectJ Plugin for Maven 2 is
 considered Low Priority (!) and it is yet to be done. However, I was
 googling around and found some Maven2 compilers besides javac
 (eclipse, aspectj), called plexus-SOMENAME-compiler. I saw in this
 mail list as well someone trying to use csharp compiler as well.
 
 Does anyone already has AspectJ + Maven 2 working?
 Does anyone know how to properly use these plexus compilers?
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: M2 Getting started guide

2005-11-09 Thread Jason van Zyl
On Wed, 2005-11-09 at 08:54 +, Stephen Cowx wrote:
 Hi
 
 I found the Getting Started guide in SVN and looked through the commit 
 history but I couldn't a version which had the multi project info in 
 it.  Admittedly I looked at the first and last entries and about 10 
 random entries in between before I figured that it might never have been 
 in there anyway.  If it was somewhere else in the source tree then there 
 is almost no chance I will be able to find it.
 
 If there is anyone on this list who can provide a very quick bullet list 
 of how to implement multi projects in maven 2.0 it would help me a great 
 deal.  I am familiar with Maven 1 so it can be fairly direct and to the 
 point.

It is specifically not in there until some issues regarding best
practices are resolved 

http://docs.codehaus.org/pages/viewpage.action?pageId=36790

Jesse also has some thoughts:

http://docs.codehaus.org/pages/viewpage.action?pageId=36796

What's there in the old guide will get you going and I can pop something
into the doco but things like version management and directory
structuring in multi project (really multi module) builds will crop up
as the first questions when setting up your own project so I was trying
to get some of these issues resolved before writing the guide for multi
project builds.

-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [M2] Repository definition

2005-11-09 Thread Jason van Zyl
On Wed, 2005-11-09 at 10:31 +0100, Jörg Schaible wrote:
 Hi folks,
 
 the reference guide defines the release and snapshot tags as children of the 
 repository or pluginRepository tags. If I define them in my settings.xml, 
 Maven claims that they are not recognized:

Can you point me at which reference guide so I can fix it, or better yet
put it in JIRA.

 [1] [EMAIL PROTECTED] ~/Elsag/buildsystem/sample-maven-project
 $ mvn projecthelp:active-profiles
 Error reading settings.xml: Unrecognised tag: 'release' (position: START_TAG 
 seen ...repository\r\nrelease... @23:30) 
   Line:   23
   Column: 30
 
 [1] [EMAIL PROTECTED] ~/Elsag/buildsystem/sample-maven-project
 $ mvn projecthelp:active-profiles
 Error reading settings.xml: Unrecognised tag: 'snapshot' (position: START_TAG 
 seen .../release --\r\nsnapshot... @27:31) 
   Line:   27
   Column: 31
 
 How do I define different repos for snapshot/release artifacts?

You can currently look at Maven's parent POM for an example:

http://svn.apache.org/viewcvs.cgi/*checkout*/maven/components/trunk/pom.xml?rev=329741

 - Jörg
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

believe nothing, no matter where you read it,
or who has said it,
not even if i have said it,
unless it agrees with your own reason
and your own common sense.

 -- Buddha


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [M2] How to designate what classes go in the ejb client jar

2005-11-09 Thread Ballard, Ken
Done. It's http://jira.codehaus.org/browse/MNG-1477. Thanks, Brett.

Ken 

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 08, 2005 8:39 PM
To: Maven Users List
Subject: Re: [M2] How to designate what classes go in the ejb client jar

It seems the excludes weren't made configurable as they should have been.
Can you file a request in JIRA?

- Brett

On 11/9/05, Ballard, Ken [EMAIL PROTECTED] wrote:
 In M1.0.2, I put this:

 maven.ejb.client.base.excludes=**/*EJB.class,**/*Bean.class,**/*CMP.cl
 ass,** /*Session.class,**/*LocalHome.class,**/*Local.class

 in my project.properties. Does anyone know how to achieve this in M2?

 Thanks,
 Ken

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-09 Thread Jason van Zyl
On Tue, 2005-11-08 at 22:36 -0500, David H. DeWolf wrote:
 
  What are you trying to do exactly?
 
 I'm attempting to create a plugin which will automate the installation 
 of the Pluto Portalinto an app server.  My requirements go beyond simply 
 deploying the war as Pluto requires some configuration, integration with 
 other webapps, and the deployment of shared and endorsed artifacts into 
 the app server.
 
 I currently have a version of the plugin that will complete this task 
 when executed from within a utilities subproject (using the just 
 created artifacts).  I'd like to modify the plugin so that the 
 installation can use artifacts in the repository so that users don't 
 have to check out the source code first.  I'd also prefer not to have 
 the artifacts embeded within the plugin.

Are you strictly interested in creating a plug-in or are you interested
in making a tool that you could use from a different environment, say an
Eclipse plug-in? If you are then I would suggest taking a look at the
embedder. You could create something with the embedder and then wrap the
resulting tool you create in a mojo to make it work within Maven 2.x.

http://maven.apache.org/guides/mini/guide-embedding-m2.html

Inside a mojo you would then use the @component tag to pull in the
embedder but that's the only component you would need as the embedder is
really a facade over all the features of Maven we would like to expose
to tool integrators.

-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

We know what we are, but know not what we may be.

  -- Shakespeare


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [m2] doc suggestions (was Guide to creating archetypes)

2005-11-09 Thread Jason van Zyl
On Tue, 2005-11-08 at 22:01 -0600, Jeff Jensen wrote:
 Besides the multi-module doc, my experience wishes for the POM entry
 descriptions - some are too vague.  More detail (what is it for/why would
 you use it, how to use it), examples, valid values, etc. would help a lot.
 
 I think the project descriptor has big potential as a solid reference
 vehicle, with the added info.  I would value that more than many of the
 guides.
 
 For a simple example, the packaging element doesn't describe valid values,
 so a search begins to learn them.  Viewing the schema doesn't help, as the
 packaging type is string.  Additionally, I think the phrase type of
 artifact is not intuitive to newbies, so listing the valid values would
 bring contextual explanation, as well as their definition.

Good idea, can you capture this in JIRA please.

 HTH, and thanks for asking.
 
 
 -Original Message-
 From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, November 08, 2005 9:10 AM
 To: Maven Users List
 Subject: RE: [m2] Guide to creating archetypes
 
 [snip]
 
 Anything in particular that's missing from the guides or introductory
 material? Also check the JIRA components for documentation as I know there
 are guides like the multi-project guide that are in demand and it's noted in
 JIRA. You can also vote on issues which lets us know what you guys want most
 which lets us focus our time better on writing what's most desired.
 
 [snip]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



optional/ vs scopeprovided/scope

2005-11-09 Thread Jorg Heymans
Hi,


At excalibur, we have a library that can use different parser
implementations. It needs both saxon6 and saxon7 (minor revision not
important) for compilation, but we expect the user to provide the chosen
parser version himself.

Is this library optional, or provided ? Can someone explain me the
difference between the two ?


Thanks,
Jorg


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: M2 Getting started guide

2005-11-09 Thread Stephen Cowx

Hi Jason

I got the URL of the original guide from Brett this morning.  Using 
that, I have set up my project as a multi module build.


It is early days for me on my project so all I really needed was
1) A single point from where I can kick off a complete system wide build
2) A means of logically linking my artifacts into a coherent unit.
3) Project inheritance

It works and I am really pleased with the result.  I am liking M2

I know that you will have to sort out various best practices issues 
before writing documentation in some detail but I would like to suggest 
that you do at least publish a How to of some kind so that while you 
decide what the best practices are, people can still go ahead and use 
the feature in whatever way they think best for now.  The old docs were 
quite enough to get me going.


I did read yours and Jesse's comments in your links.  Without getting 
into too much detail, I think that I agree wholeheartedly with Jesse 
that a flat structure comprised of a set of artifacts of equal standing 
is a great way to do this. 


regards

Stephen

Following

Jason van Zyl wrote:


On Wed, 2005-11-09 at 08:54 +, Stephen Cowx wrote:
 


Hi

I found the Getting Started guide in SVN and looked through the commit 
history but I couldn't a version which had the multi project info in 
it.  Admittedly I looked at the first and last entries and about 10 
random entries in between before I figured that it might never have been 
in there anyway.  If it was somewhere else in the source tree then there 
is almost no chance I will be able to find it.


If there is anyone on this list who can provide a very quick bullet list 
of how to implement multi projects in maven 2.0 it would help me a great 
deal.  I am familiar with Maven 1 so it can be fairly direct and to the 
point.
   



It is specifically not in there until some issues regarding best
practices are resolved 


http://docs.codehaus.org/pages/viewpage.action?pageId=36790

Jesse also has some thoughts:

http://docs.codehaus.org/pages/viewpage.action?pageId=36796

What's there in the old guide will get you going and I can pop something
into the doco but things like version management and directory
structuring in multi project (really multi module) builds will crop up
as the first questions when setting up your own project so I was trying
to get some of these issues resolved before writing the guide for multi
project builds.

 



CheckStyle html report contains no source link

2005-11-09 Thread Rik Bosman
Hi,
 I want to use maven2 to generate some reports (e.g. mvn site) to check code
produced by a company working for us in India. Generating the reports for
pmd and checkstyle goes pretty straightforward, but the html links (the
mentioned line should be a link) are missing. I saw this feature in some
examples which I found on the Internet.
How could this be done?
 Currenty I only have a simple pom.xml with only 2 plugins. Do I need
another plugin to generate the (xref?) sources? Where can this plugin be
found?
 Thanks a lot.
 Rik


Re: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-09 Thread David H. DeWolf
Hmmm. Definately a possibility. Thanks for the hint!

David

On 11/9/05, Jason van Zyl [EMAIL PROTECTED] wrote:

 On Tue, 2005-11-08 at 22:36 -0500, David H. DeWolf wrote:

   What are you trying to do exactly?
 
  I'm attempting to create a plugin which will automate the installation
  of the Pluto Portalinto an app server. My requirements go beyond simply
  deploying the war as Pluto requires some configuration, integration with
  other webapps, and the deployment of shared and endorsed artifacts into
  the app server.
 
  I currently have a version of the plugin that will complete this task
  when executed from within a utilities subproject (using the just
  created artifacts). I'd like to modify the plugin so that the
  installation can use artifacts in the repository so that users don't
  have to check out the source code first. I'd also prefer not to have
  the artifacts embeded within the plugin.

 Are you strictly interested in creating a plug-in or are you interested
 in making a tool that you could use from a different environment, say an
 Eclipse plug-in? If you are then I would suggest taking a look at the
 embedder. You could create something with the embedder and then wrap the
 resulting tool you create in a mojo to make it work within Maven 2.x.

 http://maven.apache.org/guides/mini/guide-embedding-m2.html

 Inside a mojo you would then use the @component tag to pull in the
 embedder but that's the only component you would need as the embedder is
 really a facade over all the features of Maven we would like to expose
 to tool integrators.

 --
 jvz.

 Jason van Zyl
 jason at maven.org http://maven.org
 http://maven.apache.org

 We know what we are, but know not what we may be.

 -- Shakespeare


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-09 Thread Jason van Zyl
On Wed, 2005-11-09 at 09:54 -0500, David H. DeWolf wrote:
 Hmmm. Definately a possibility. Thanks for the hint!

If you think you might eventually want tooling then you definitely want
to go the route of the embedder.

 David
 
 On 11/9/05, Jason van Zyl [EMAIL PROTECTED] wrote:
 
  On Tue, 2005-11-08 at 22:36 -0500, David H. DeWolf wrote:
 
What are you trying to do exactly?
  
   I'm attempting to create a plugin which will automate the installation
   of the Pluto Portalinto an app server. My requirements go beyond simply
   deploying the war as Pluto requires some configuration, integration with
   other webapps, and the deployment of shared and endorsed artifacts into
   the app server.
  
   I currently have a version of the plugin that will complete this task
   when executed from within a utilities subproject (using the just
   created artifacts). I'd like to modify the plugin so that the
   installation can use artifacts in the repository so that users don't
   have to check out the source code first. I'd also prefer not to have
   the artifacts embeded within the plugin.
 
  Are you strictly interested in creating a plug-in or are you interested
  in making a tool that you could use from a different environment, say an
  Eclipse plug-in? If you are then I would suggest taking a look at the
  embedder. You could create something with the embedder and then wrap the
  resulting tool you create in a mojo to make it work within Maven 2.x.
 
  http://maven.apache.org/guides/mini/guide-embedding-m2.html
 
  Inside a mojo you would then use the @component tag to pull in the
  embedder but that's the only component you would need as the embedder is
  really a facade over all the features of Maven we would like to expose
  to tool integrators.
 
  --
  jvz.
 
  Jason van Zyl
  jason at maven.org http://maven.org
  http://maven.apache.org
 
  We know what we are, but know not what we may be.
 
  -- Shakespeare
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

the course of true love never did run smooth ...

 -- Shakespeare


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [M2] Repository definition

2005-11-09 Thread Jörg Schaible
Jason van Zyl wrote on Wednesday, November 09, 2005 4:10 PM:

 On Wed, 2005-11-09 at 10:31 +0100, Jörg Schaible wrote:
 Hi folks,
 
 the reference guide defines the release and snapshot tags as children
 of the repository or pluginRepository tags. If I define them in my
 settings.xml, Maven claims that they are not recognized:
 
 Can you point me at which reference guide so I can fix it

It's the reference for pom.xml and settings.xml:
http://maven.apache.org/maven-model/maven.html
http://maven.apache.org/maven-settings/settings.html

As Brett said, there are some tags that misses an 's' at the end of their name:

/settings/profiles/profile/activation/os
/settings/profiles/profile/repositories/repository/releases
/settings/profiles/profile/repositories/repository/snapshots
/settings/profiles/profile/pluginRepositories/pluginRepository/releases
/settings/profiles/profile/pluginRepositories/pluginRepository/snapshots
/project/profiles/profile/activation/os
/project/profiles/profile/repositories/repository/releases
/project/profiles/profile/repositories/repository/snapshots
/project/profiles/profile/pluginRepositories/pluginRepository/releases
/project/profiles/profile/pluginRepositories/pluginRepository/snapshots
/project/repositories/repository/releases
/project/repositories/repository/snapshots
/project/pluginRepositories/pluginRepository/releases
/project/pluginRepositories/pluginRepository/snapshots

Not sure, how these two guides are generated tough.

 or better yet put it in JIRA.

http://jira.codehaus.org/browse/MNG-1478

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] How to exclude goal from a phase of the standard life-cycle ?

2005-11-09 Thread Christophe DENEUX


If I can't exclude a goal from a phase, is it possible to use a specific plugin 
configuration for a phase ?

I have try the following configuration in the pom.xml of my module, but it does 
not work:
project
...
build
...
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
executions
execution
phasepackage/phase
configuration
skiptrue/skip
/configuration
goals
goaltest/goal
/goals
/execution
/executions
/plugin
/plugins
/build
...
/project


I have also try to use profile in my super pom.xml as follwing, but it does 
not seem to work:
project
...
profiles
profile
iddailybuild-profile/id
activation
property
nameperformDailyBuild/name  

/property
/activation
build
plugins
plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-surefire-plugin/artifactId
executions
execution

phasepackage/phase
configuration

skiptrue/skip
/configuration
goals

goaltest/goal
/goals
/execution
/executions
/plugin
/plugins
/build
/profile
/profiles
...
/project


Is it possible to create new lifecycle ? If yes, how ?

Christophe



you can't exclude a goal from a phase, but you can disable test compilation and execution 
(it isn't a best practice)


mvn -Dmaven.test.skip=true package
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html

Emmanuel

Christophe DENEUX a �crit :
 
 Hi friends,
 
 When starting the package lifecycle (mvn package), the goal test of 
 the plugin surefire is run.
 
 Is it possible to exclude this goal from the lifecycle ?

 How to customize the lifecycle excluding plugins goals ?
 
 Thanks,

 Christophe
 
 
 This message contains information that may be privileged or confidential 
 and is the property of the Capgemini Group. It is intended only for the 
 person to whom it is addressed. If you are not the intended recipient,  
 you are not authorized to read, print, retain, copy, disseminate,  
 distribute, or use this message or any part thereof. If you receive 
 this  message in error, please notify the sender immediately and delete 
 all  copies of this message.
 
 
 
 
 -

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For 

system.out/err while testing

2005-11-09 Thread Michał Stochmiałek

After switching to m2 and surefire, all system output (sysout and syserr) goes 
to console while building. Could you tell me how suppress this output? 

best regards,
--
Michal Stochmialek
IT Department, Technology Division
Euro Bank S.A.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-09 Thread David Jackman
Whoa.  What form is deprecated?   @parameter
expression=${someExpression}?
That's what the Mojo API Specification doc says to use.  There's nothing
about @component on that page at all.


-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 08, 2005 10:15 PM
To: Maven Users List
Subject: Re: [M2] Injecting ArtifactFactory and ArtifactResolver into
Plugin

The @component tag is in 2.0. The other form is deprecated.

/**
 * @component
 */
private ArtifactFactory factory;

(role is only necessary for a list of components or if it differs from
the type)

- Brett

On 11/9/05, David H. DeWolf [EMAIL PROTECTED] wrote:
 Jason van Zyl wrote:
  On Tue, 2005-11-08 at 22:08 -0500, David H. DeWolf wrote:
 
 I'm developing a plugin which requires an ArtifactFactory and 
 ArtifactResolver and am attempting to get them injected.  I have 
 tried two approaches:
 
 @component
role=org.apache.maven.artifact.resolver.ArtifactResolver
 @component role=org.apache.maven.artifact.factory.ArtifactFactory
 
 
  What are you trying to do exactly?

 I'm attempting to create a plugin which will automate the installation

 of the Pluto Portalinto an app server.  My requirements go beyond 
 simply deploying the war as Pluto requires some configuration, 
 integration with other webapps, and the deployment of shared and 
 endorsed artifacts into the app server.

 I currently have a version of the plugin that will complete this task 
 when executed from within a utilities subproject (using the just 
 created artifacts).  I'd like to modify the plugin so that the 
 installation can use artifacts in the repository so that users don't 
 have to check out the source code first.  I'd also prefer not to have 
 the artifacts embeded within the plugin.


 Thanks,

 David

 
 
 and
 
 @parameter

expression=${component.org.apache.maven.artifact.resolver.ArtifactRes
olver}
 
 @parameter

expression=${component.org.apache.maven.artifact.factory.ArtifactFact
ory}
 
 It appears the later approach is appropriate for 2.0 and the former 
 is appropriate for the current trunk, however, I've tried both and 
 am having no luck with either approach.
 
 Both approaches result in a NullPointerException which is hidden by 
 a previously fixed bug in DiagnosisUtils (patch applied against the 
 trunk) in which a secondary NullPointer is thrown if an exception
message is null.
 
 Any ideas?
 
 Thanks,
 
 David
 
 
 
 - To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Properties in resource directory

2005-11-09 Thread Nitko2

I have pom.xml with following snippet:

build
   sourceDirectorysrc\JavaSource/sourceDirectory
   resources
   resource
  directorysrc\JavaSource/directory


and it works.
If I use property like this

build
   sourceDirectorysrc\JavaSource/sourceDirectory
   resources
   resource
  directory${project.build.sourceDirectory}/directory


it doesn't work. Is it bug in code or in my head?


If it is a code bug where can I report it (meaning in which maven2 component)?

Thanks,
Filip


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [m2] doc suggestions (was Guide to creating archetypes)

2005-11-09 Thread Jeff Jensen
http://jira.codehaus.org/browse/MNG-1479

Thanks Jason.


Quoting Jason van Zyl [EMAIL PROTECTED]:

 On Tue, 2005-11-08 at 22:01 -0600, Jeff Jensen wrote:
  Besides the multi-module doc, my experience wishes for the POM entry
  descriptions - some are too vague.  More detail (what is it for/why would
  you use it, how to use it), examples, valid values, etc. would help a lot.
 
  I think the project descriptor has big potential as a solid reference
  vehicle, with the added info.  I would value that more than many of the
  guides.
 
  For a simple example, the packaging element doesn't describe valid
 values,
  so a search begins to learn them.  Viewing the schema doesn't help, as the
  packaging type is string.  Additionally, I think the phrase type of
  artifact is not intuitive to newbies, so listing the valid values would
  bring contextual explanation, as well as their definition.

 Good idea, can you capture this in JIRA please.

  HTH, and thanks for asking.
 
 
  -Original Message-
  From: Jason van Zyl [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, November 08, 2005 9:10 AM
  To: Maven Users List
  Subject: RE: [m2] Guide to creating archetypes
 
  [snip]
 
  Anything in particular that's missing from the guides or introductory
  material? Also check the JIRA components for documentation as I know there
  are guides like the multi-project guide that are in demand and it's noted
 in
  JIRA. You can also vote on issues which lets us know what you guys want
 most
  which lets us focus our time better on writing what's most desired.
 
  [snip]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 --
 jvz.

 Jason van Zyl
 jason at maven.org
 http://maven.apache.org



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [m2] Custom artifact types (and the handlers who love them)

2005-11-09 Thread David Jackman
So, if I understand correctly, I want to put a components.xml file in my
plugin's src/main/resources/META-INF/plexus directory?  And that should
look like the components.xml file in that place in the maven-artifact
project (except that it defines only the artifact handler for my new
artifact type)?  That didn't seem to work.

Where would the docs for this go?  Into the Guide for Developing
Plugins?
When I get it all to work for me, I'll add my knowledge to the docs for
future generations.

..David..
 

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 08, 2005 6:44 PM
To: Maven Users List
Subject: Re: [m2] Custom artifact types (and the handlers who love them)

Yes, while the docs are lacking in this area it is very similar to the
build lifecycle which is documented.

- add components.xml with handler reference (see maven-artifact for
examples)
- when using the plugin, set extensionstrue/extensions to make the
type available.

On 11/9/05, David Jackman [EMAIL PROTECTED] wrote:
 I've created a Mojo that generates a Javadoc-like documentation set, 
 and my plugin does things similar to the javadoc plugin in that it 
 archives all of the docs into a jar file and attaches the artifact to
the list.
 In looking at the artifact code, however, it looks like it's trying to

 find an artifact handler for my custom artifact type so it knows how 
 to work with it (specifically, I'm trying to dictate what the file 
 extension should be).  How do I create and register an artifact 
 handler for my artifact type?  I assuem that my plugin would take care

 of this sort of thing?

 ..David..




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[m2] building non-jar projects

2005-11-09 Thread Wim Deblauwe
Hi,

we are currently using Maven 1 to build c(++) projects and InstallShield
projects. I have written custom goals in my maven.xml to accomplish this.
Nobody would ever call jar:deploy on such a project but the custom defined
goals.

How would I do this in Maven 2. I want to avoid that the java compiler runs
and the jarring happens, but something of my own (a little piece of ant)
runs. For instance, a bit of ant that calls the c compiler or InstallShield
compiler and then a bit of ant that zips the result and puts it on the local
or remote repository.

How would I do this?

regards,

Wim


RE: [m2] Custom artifact types (and the handlers who love them)

2005-11-09 Thread David Jackman
Oh, my bad.  I forgot the part about extensionstrue/extensions when
using the plugin.  It seems to work now.
That is unfortunate that I have to add that.  Why isn't the default to
use any extensions provided by the plugin?  Maybe I'm not clear on what
the extensions tag means (it's not documented at all).

..David.. 

-Original Message-
From: David Jackman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 09, 2005 9:42 AM
To: Maven Users List
Subject: RE: [m2] Custom artifact types (and the handlers who love them)

So, if I understand correctly, I want to put a components.xml file in my
plugin's src/main/resources/META-INF/plexus directory?  And that should
look like the components.xml file in that place in the maven-artifact
project (except that it defines only the artifact handler for my new
artifact type)?  That didn't seem to work.

Where would the docs for this go?  Into the Guide for Developing
Plugins?
When I get it all to work for me, I'll add my knowledge to the docs for
future generations.

..David..
 

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 6:44 PM
To: Maven Users List
Subject: Re: [m2] Custom artifact types (and the handlers who love them)

Yes, while the docs are lacking in this area it is very similar to the
build lifecycle which is documented.

- add components.xml with handler reference (see maven-artifact for
examples)
- when using the plugin, set extensionstrue/extensions to make the
type available.

On 11/9/05, David Jackman [EMAIL PROTECTED] wrote:
 I've created a Mojo that generates a Javadoc-like documentation set, 
 and my plugin does things similar to the javadoc plugin in that it 
 archives all of the docs into a jar file and attaches the artifact to
the list.
 In looking at the artifact code, however, it looks like it's trying to

 find an artifact handler for my custom artifact type so it knows how 
 to work with it (specifically, I'm trying to dictate what the file 
 extension should be).  How do I create and register an artifact 
 handler for my artifact type?  I assuem that my plugin would take care

 of this sort of thing?

 ..David..




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



m2 notifier configuration

2005-11-09 Thread Richard Wallace

Hello again,

Right now I have my maven 2 project ciManagement notification setup with:

   ciManagement
   systemcontinuum/system
   notifiers
   notifier
   configuration
   address[EMAIL PROTECTED]/address
   /configuration
   /notifier
   /notifiers
   /ciManagement

That sends all messages to the same address.  What I want to know is how 
to specific different addresses for results, i.e., send success messages 
to [EMAIL PROTECTED] and failure messages to [EMAIL PROTECTED]  I 
also tried doing this from the project management page in continuum by 
adding another mail notification but it doesn't let you specify what 
events to send the email on.


Any ideas?

Thanks,
Rich


How to make self contained database dependant unit tests in maven 2?

2005-11-09 Thread Brian E. Fox
We currently have a system that uses JDO (Kodo implementation) for our
persistence layer. In order to test these persistent classes, I need to
have a JDBC driver and compliant database running. I would really like
to make the process completely self contained like the Maven Wagon
builds. ie download a jar from somewhere that gives me an ultra light db
implementation and jdbc driver and run my tests on it. 
 
Does anyone know if such a thing exists and where I might find it?
Alternatively, does anyone know of any decent file based jdbc drivers
that are open source?
 
Thanks.


Re: m2 notifier configuration

2005-11-09 Thread Emmanuel Venisse

http://maven.apache.org/maven-model/maven.html#class_notifier

set sendOn* to false in your pom

Emmanuel

Richard Wallace a écrit :

Hello again,

Right now I have my maven 2 project ciManagement notification setup with:

   ciManagement
   systemcontinuum/system
   notifiers
   notifier
   configuration
   address[EMAIL PROTECTED]/address
   /configuration
   /notifier
   /notifiers
   /ciManagement

That sends all messages to the same address.  What I want to know is how 
to specific different addresses for results, i.e., send success messages 
to [EMAIL PROTECTED] and failure messages to [EMAIL PROTECTED]  I 
also tried doing this from the project management page in continuum by 
adding another mail notification but it doesn't let you specify what 
events to send the email on.


Any ideas?

Thanks,
Rich







Re: MEV: How to update local repository when a pom has been updated on central repo?

2005-11-09 Thread Carlos Sanchez
For now you have to do it manually. Next versions will have an option.

On 11/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:




 Hi guys,

 when the POM of a project has been updated on ibiblio thx to Maven
 Evangelism, how do I tell Maven to update it in my local repository? Do I
 have to delete it manually so that Maven downloads the updated POM? Or does
 Maven have a mechanism for that purpose?
 I though -U could be used, but I figured out this is only for plugin
 update.

 Thanks for your answer!

 Best Regards / Cordialement,
 Fabrice BELLINGARD
 DINQ/DSIN/INSI/EATE/IDVS/AIDV
 (+33) (01 61) 45 15 91  -  [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



build artifact finalName - when to use ?

2005-11-09 Thread Pete
Is it a good idea to use

build
  finalNamemyEjb.jar/finalName

in an EAR's pom.xml

so that when this ejb jar is included in an EAR, it already has the
simple name (without the SNAPSHOT... suffix), without resorting to
bundleFileName entries in the EAR's pom.xml

I believe this will still install the ejb jar with SNAPSHOT... suffix
in the repository

So is this the best practice ?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[m2] J2EE and EJB3

2005-11-09 Thread Richard Wallace
I want to start playing with JBoss and EJB3 and I'm trying to decide on 
the best way to structure the project.  Based on what I've read about it 
I think the following is what seems to make the most sense to me and I'm 
wondering what everyone else's opinions are.


With EJB3 you have a .ear file that is composed of a .par file, a .ejb3 
file, and a .war file.  So, I'm thinking of doing a multi-module project 
with a module for each of those, so the structure would look like:


myj2eeapp/
   myj2eeapp-par/
   myj2eeapp-ejb3/
   myj2eeapp-war/
   myj2eeapp-ear/

The myj2eeapp would just be packaged as a pom.

myj2eeapp-par would create the par artifact, which is just a jar with a 
persistence.xml file in the META-INF directory. 

myj2eeapp-ejb3 would create the ejb3 file, which is just a renamed jar 
file - nothing special is added to them.  I see that there is an ejb 
plugin for maven already, could this be used for ejb3 as well?


myj2eeapp-war would of course be packaged as a war, so that's simple enough.

myj2eeapp-ear would create and deploy the ear artifact, so it would have 
dependencies on the other 3 modules of the project.


Are there plugins for building pars and ejb3 artifacts?  Does this seem 
reasonable or is there a better way of structuring the project? 


Thanks,
Rich


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to make self contained database dependant unit tests in maven 2?

2005-11-09 Thread Eric Pugh
Take a look at some of the in memory Java databases.  We use  
Hibernate with Hypersonic in test, and then switch to MSSQLServer in  
production very successfully.


Eric

On Nov 9, 2005, at 5:21 PM, Brian E. Fox wrote:


We currently have a system that uses JDO (Kodo implementation) for our
persistence layer. In order to test these persistent classes, I  
need to

have a JDBC driver and compliant database running. I would really like
to make the process completely self contained like the Maven Wagon
builds. ie download a jar from somewhere that gives me an ultra  
light db

implementation and jdbc driver and run my tests on it.

Does anyone know if such a thing exists and where I might find it?
Alternatively, does anyone know of any decent file based jdbc drivers
that are open source?

Thanks.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: m2 notifier configuration

2005-11-09 Thread Wim Deblauwe
Cool. Did not see that before either. But what do the error and warning
really mean? Do they indicate a problem with the build process itself and do
failure and success talk about the jar or whatever that is being build?

regards,

Wim

2005/11/9, Emmanuel Venisse [EMAIL PROTECTED]:

 http://maven.apache.org/maven-model/maven.html#class_notifier

 set sendOn* to false in your pom

 Emmanuel

 Richard Wallace a écrit :
  Hello again,
 
  Right now I have my maven 2 project ciManagement notification setup
 with:
 
  ciManagement
  systemcontinuum/system
  notifiers
  notifier
  configuration
  address[EMAIL PROTECTED]/address
  /configuration
  /notifier
  /notifiers
  /ciManagement
 
  That sends all messages to the same address. What I want to know is how
  to specific different addresses for results, i.e., send success messages
  to [EMAIL PROTECTED] and failure messages to [EMAIL PROTECTED] I
  also tried doing this from the project management page in continuum by
  adding another mail notification but it doesn't let you specify what
  events to send the email on.
 
  Any ideas?
 
  Thanks,
  Rich
 
 
 




Re: [m2] How dependency versions are resolved with transitivity?

2005-11-09 Thread Roger Hoover
Thanks, Brett. I think this is the document you're refering to.

http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution

On 11/8/05, Brett Porter [EMAIL PROTECTED] wrote:

 The default in Maven 2.0 is to use soft versions, ie if you say
 2.0.2, you are recommending, but not enforcing, that version.

 You can instead give a range such as [1.0,2.0) - this is a hard
 requirement. To force a specific version, you can say [2.0.2,2.0.2].

 If two dependencies have mutually exclusive ranges, the resolution
 fails with an error.

 Once all ranges are taken into account, the conflict resolver comes
 into play. In Maven 2.0, the only resolver is nearest - so the soft
 version in the pom nearest in the graph is used. If there is no soft
 version in any of the dependencies (ie, they are all ranges), the
 newest (ie, highest upper bound) is used.

 In Maven 2.1, we plan to add new conflict resolvers. This only missed
 2.0 by the narrowest of margins - which was a shame as it is almost
 there and newest resolution was in fact the default in an earlier
 alpha but caused much confusion. So other resolvers would be to use
 the newest, oldest, nearest (like now), or just fail if there is more
 than one recommendation.

 While the documentation is still pending, there is a design document
 on docs.codehaus.org http://docs.codehaus.org that explains the range
 syntax.

 Hope this helps,
 Brett

 On 11/9/05, Roger Hoover [EMAIL PROTECTED] wrote:
  My understanding is that Maven 2 supports a syntax for specifying a
 range of
  versions in a dependency. What is the syntax for this? I searched the
 Maven
  site and found only a link saying documentation was needed for it (
  http://maven.apache.org/maven2/docs-required.html).
 
  Will transitive dependencies with incompatible version ranges resolve
  successfully or cause an error? I assume an error would result as
 expected
  in the following scenario where A depends on both B and C, which have
  incompatible range dependencies on D.
 
  A - B - (D  3.0)
  - C - (D  2.0)
 
  Correct me if I'm wrong in my assumptions about how Maven 2 works. My
  understanding is based off of reading this thread. If I understand
 correctly
  then I find the dependency resolution strategy unintuitive for the
 following
  reasons:
 
  1) The non-range dependency syntax requires an explicit version to be
  specified but treats it like a range when it's involved in transitive
  resolution. In Fabrice's example, his framework POM declared an explicit
  dependency on commons-lang 2.0 but Maven treated that dependency like a
  range specification (the range of all versions) such that any version
 would
  satisfy that dependency without error. Here we have an explicit version
  syntax with the semantics of the range of all versions. IMO, Fabrice's
  example should have caused an error b/c these explicit dependency
 versions
  are incompatible. In general, how can you be sure that any version of a
  package will do when the author of the POM specified a particular
 version?
 
  2) If transitive resolution behaves the way you'd expect for version
 ranges
  and gives an error in the example I gave above, then you would expect
  explicit version dependencies to just be special cases of ranges (they
 are
  range sets of size one). Therefore, you would expect an error in
 Fabrice's
  example again b/c his framework has a range dependency on commons-lang
  2.0where the range happens to include only one version. Likewise, the
  other lib
  that uses commons-lang has a range dependency on 1.0.1. These are
  non-overlapping ranges.
 
  I may be misunderstanding the current Maven 2 behavior but if not then I
  think Maven needs a more intuitive syntax. There needs to be a clear way
 of
  expressing the following statements
  * A depends on any version of B
  * A depends on this specific version of B and only this version (B ==
 1.1.4)
  * A depends on this range of versions of B (say B = 1.0  B  2.0)
 
  Thanks in advance for any feedback.
 
  Roger
 
  On 11/8/05, Mark Hobson [EMAIL PROTECTED] wrote:
  
   Hi Fabrice,
  
   On 08/11/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
   wrote:
Hi Mark,
   
Thank you for your answer! :)
  
   No probs.
  
Then I have another question: when 2 different dependency versions
 are
   at
the same level in the dependency tree, which one wins? Because in my
   case,
I have version 2.0 and version 1.0.1 of commons-lang at the same
 level,
   and
1.0.1 wins.
  
   Not sure, I know I have had problems with this before. I currently
   fix these uncertainties with an overriding dependency version in my
   top-level pom, but agree that's nasty. Have a look through the
   DefaultArtifactCollector code (see the link in my previous reply) and
   see if you can deduce what it does.
  
The highest-win strategy would be interesting, I agree.
  
   I would like to look into implementing this before 2.1 if I can find
   the time (probably 

Re: How to make self contained database dependant unit tests in maven 2?

2005-11-09 Thread Chris Richardson
I use HSQL DB (http://hsqldb.org/) for testing with both Kodo JDO and
Hibernate.
It works well and is very fast.
This is what I have in my pom.xml

dependency
  groupIdhsqldb/groupId
  artifactIdhsqldb/artifactId
  version1.7.2.2 http://1.7.2.2/version
  scopetest/scope
 /dependency

Chris


--
Enterprise POJO consulting - http://www.chrisrichardson.net
Author, POJOs in Action - http://www.manning.com/crichardson
Enterprise POJOs blog - http://chris-richardson.blog-city.com

On 11/9/05, Brian E. Fox [EMAIL PROTECTED] wrote:

 We currently have a system that uses JDO (Kodo implementation) for our
 persistence layer. In order to test these persistent classes, I need to
 have a JDBC driver and compliant database running. I would really like
 to make the process completely self contained like the Maven Wagon
 builds. ie download a jar from somewhere that gives me an ultra light db
 implementation and jdbc driver and run my tests on it.

 Does anyone know if such a thing exists and where I might find it?
 Alternatively, does anyone know of any decent file based jdbc drivers
 that are open source?

 Thanks.




RE: How to make self contained database dependant unit tests in maven 2?

2005-11-09 Thread Brian E. Fox
Funny you should mention that. I just stumbled upon this myself. Do you
need to execute anything before hand to setup the hsqldb or do you just
point the jdbc connection at it? 

-Original Message-
From: Chris Richardson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 09, 2005 2:06 PM
To: Maven Users List
Subject: Re: How to make self contained database dependant unit tests in
maven 2?

I use HSQL DB (http://hsqldb.org/) for testing with both Kodo JDO and
Hibernate.
It works well and is very fast.
This is what I have in my pom.xml

dependency
  groupIdhsqldb/groupId
  artifactIdhsqldb/artifactId
  version1.7.2.2 http://1.7.2.2/version
  scopetest/scope
 /dependency

Chris


--
Enterprise POJO consulting - http://www.chrisrichardson.net Author,
POJOs in Action - http://www.manning.com/crichardson
Enterprise POJOs blog - http://chris-richardson.blog-city.com

On 11/9/05, Brian E. Fox [EMAIL PROTECTED] wrote:

 We currently have a system that uses JDO (Kodo implementation) for our

 persistence layer. In order to test these persistent classes, I need 
 to have a JDBC driver and compliant database running. I would really 
 like to make the process completely self contained like the Maven 
 Wagon builds. ie download a jar from somewhere that gives me an ultra 
 light db implementation and jdbc driver and run my tests on it.

 Does anyone know if such a thing exists and where I might find it?
 Alternatively, does anyone know of any decent file based jdbc drivers 
 that are open source?

 Thanks.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to make self contained database dependant unit tests in maven 2?

2005-11-09 Thread Eduardo Rocha
Testing with another DB than the production one has its disadvantages
too. There is a nice discussion about it here:

http://www.theserverside.com/tss?service=direct/0/NewsThread/threadViewer.markNoisy.linksp=l33215sp=l165443

2005/11/9, Brian E. Fox [EMAIL PROTECTED]:
 Funny you should mention that. I just stumbled upon this myself. Do you
 need to execute anything before hand to setup the hsqldb or do you just
 point the jdbc connection at it?

 -Original Message-
 From: Chris Richardson [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 09, 2005 2:06 PM
 To: Maven Users List
 Subject: Re: How to make self contained database dependant unit tests in
 maven 2?

 I use HSQL DB (http://hsqldb.org/) for testing with both Kodo JDO and
 Hibernate.
 It works well and is very fast.
 This is what I have in my pom.xml

 dependency
   groupIdhsqldb/groupId
   artifactIdhsqldb/artifactId
   version1.7.2.2 http://1.7.2.2/version
   scopetest/scope
  /dependency

 Chris


 --
 Enterprise POJO consulting - http://www.chrisrichardson.net Author,
 POJOs in Action - http://www.manning.com/crichardson
 Enterprise POJOs blog - http://chris-richardson.blog-city.com

 On 11/9/05, Brian E. Fox [EMAIL PROTECTED] wrote:
 
  We currently have a system that uses JDO (Kodo implementation) for our

  persistence layer. In order to test these persistent classes, I need
  to have a JDBC driver and compliant database running. I would really
  like to make the process completely self contained like the Maven
  Wagon builds. ie download a jar from somewhere that gives me an ultra
  light db implementation and jdbc driver and run my tests on it.
 
  Does anyone know if such a thing exists and where I might find it?
  Alternatively, does anyone know of any decent file based jdbc drivers
  that are open source?
 
  Thanks.
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to make self contained database dependant unit tests in maven 2?

2005-11-09 Thread Brian E. Fox
Agreed. The intent for my team is to be able to build and run automatic
tests even if a db isn't installed. (or if it is, but maybe we don't
want to wipe the data everybuild) When we build for a test environment,
we would use a production db. 

-Original Message-
From: Eduardo Rocha [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 09, 2005 2:27 PM
To: Maven Users List
Subject: Re: How to make self contained database dependant unit tests in
maven 2?

Testing with another DB than the production one has its disadvantages
too. There is a nice discussion about it here:

http://www.theserverside.com/tss?service=direct/0/NewsThread/threadViewe
r.markNoisy.linksp=l33215sp=l165443

2005/11/9, Brian E. Fox [EMAIL PROTECTED]:
 Funny you should mention that. I just stumbled upon this myself. Do 
 you need to execute anything before hand to setup the hsqldb or do you

 just point the jdbc connection at it?

 -Original Message-
 From: Chris Richardson [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 09, 2005 2:06 PM
 To: Maven Users List
 Subject: Re: How to make self contained database dependant unit tests 
 in maven 2?

 I use HSQL DB (http://hsqldb.org/) for testing with both Kodo JDO and 
 Hibernate.
 It works well and is very fast.
 This is what I have in my pom.xml

 dependency
   groupIdhsqldb/groupId
   artifactIdhsqldb/artifactId
   version1.7.2.2 http://1.7.2.2/version
   scopetest/scope
  /dependency

 Chris


 --
 Enterprise POJO consulting - http://www.chrisrichardson.net Author, 
 POJOs in Action - http://www.manning.com/crichardson
 Enterprise POJOs blog - http://chris-richardson.blog-city.com

 On 11/9/05, Brian E. Fox [EMAIL PROTECTED] wrote:
 
  We currently have a system that uses JDO (Kodo implementation) for 
  our

  persistence layer. In order to test these persistent classes, I need

  to have a JDBC driver and compliant database running. I would really

  like to make the process completely self contained like the Maven 
  Wagon builds. ie download a jar from somewhere that gives me an 
  ultra light db implementation and jdbc driver and run my tests on
it.
 
  Does anyone know if such a thing exists and where I might find it?
  Alternatively, does anyone know of any decent file based jdbc 
  drivers that are open source?
 
  Thanks.
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to obtain an updated version of the maven-javadoc-plugin

2005-11-09 Thread Jochen Wiedmann

Wim Deblauwe [EMAIL PROTECTED] wrote:


What I have found that works is: mvn -U javadoc:javadoc, that will give you
the latest released version. For bleeding edge, you will need to build from
SVN (never done that myself).


Well, it turned out to be easy:

- Extracted the sources (see


http://maven.apache.org/plugins/maven-javadoc-plugin/source-repository.html

- Did mvn install

Result: Works like a charm. :-)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] J2EE and EJB3

2005-11-09 Thread Stephane Nicoll
On 11/9/05, Richard Wallace [EMAIL PROTECTED] wrote:

Are there plugins for building pars and ejb3 artifacts?



Yes, in the sandbox. Watch out MNG-699.

Cheers,
Stéphane


Line-breaks in project description and the jar plugin

2005-11-09 Thread Alexander Hars

Hi,

Are there any special requirements for the description tag of the pom? 
I have tried using a description consisting of several lines but this 
leads to a conflict with the jar plugin: When trying to launch the jar 
(i.e. on windows by double-clicking), java reports a corrupt jar file 
because it can't read the manifest (the line-breaks of the description 
violate the property=value structure).


Should I separate different lines of the description with \n or br or 
is this just a small bug?


Thanks for your help.

-Alexander

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: m2 notifier configuration

2005-11-09 Thread Emmanuel Venisse

success = Build successful
fail = Build failed
warning = not use for now
error = internal continuum error

Emmanuel

Wim Deblauwe a écrit :

Cool. Did not see that before either. But what do the error and warning
really mean? Do they indicate a problem with the build process itself and do
failure and success talk about the jar or whatever that is being build?

regards,

Wim

2005/11/9, Emmanuel Venisse [EMAIL PROTECTED]:


http://maven.apache.org/maven-model/maven.html#class_notifier

set sendOn* to false in your pom

Emmanuel

Richard Wallace a écrit :


Hello again,

Right now I have my maven 2 project ciManagement notification setup


with:


ciManagement
systemcontinuum/system
notifiers
notifier
configuration
address[EMAIL PROTECTED]/address
/configuration
/notifier
/notifiers
/ciManagement

That sends all messages to the same address. What I want to know is how
to specific different addresses for results, i.e., send success messages
to [EMAIL PROTECTED] and failure messages to [EMAIL PROTECTED] I
also tried doing this from the project management page in continuum by
adding another mail notification but it doesn't let you specify what
events to send the email on.

Any ideas?

Thanks,
Rich












[m2] Calling a single goal twice with different configuration

2005-11-09 Thread David Jackman
One of my projects needs to create two different Javadoc artifacts, each
one using different configuration parameters.  Two questions:  1) Does
Maven allow me to list a plugin to be called twice with different
parameters?  2) Would the Javadoc let me do this and have the resulting
artifact have a different name (essentially a different classifier)?
 
..David..


Re: How to make self contained database dependant unit tests in maven 2?

2005-11-09 Thread Chris Richardson
On 11/9/05, Brian E. Fox [EMAIL PROTECTED] wrote:

 Funny you should mention that. I just stumbled upon this myself. Do you
 need to execute anything before hand to setup the hsqldb or do you just
 point the jdbc connection at it?



You configure Hibernate/Kodo JDO to create the schema on startup and point
the DataSource at hsqldb.
Use the org.hsqldb.jdbcDriver with this URL: jdbc:hsqldb:mem:testdb - this
connects to an in-memory database.

Chris

--
Enterprise POJO consulting - http://www.chrisrichardson.net
Author, POJOs in Action - http://www.manning.com/crichardson
Enterprise POJOs blog - http://chris-richardson.blog-city.com

-Original Message-
 From: Chris Richardson [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 09, 2005 2:06 PM
 To: Maven Users List
 Subject: Re: How to make self contained database dependant unit tests in
 maven 2?

 I use HSQL DB (http://hsqldb.org/) for testing with both Kodo JDO and
 Hibernate.
 It works well and is very fast.
 This is what I have in my pom.xml

 dependency
 groupIdhsqldb/groupId
 artifactIdhsqldb/artifactId
 version1.7.2.2 http://1.7.2.2 http://1.7.2.2/version
 scopetest/scope
 /dependency

 Chris


 --
 Enterprise POJO consulting - http://www.chrisrichardson.net Author,
 POJOs in Action - http://www.manning.com/crichardson
 Enterprise POJOs blog - http://chris-richardson.blog-city.com

 On 11/9/05, Brian E. Fox [EMAIL PROTECTED] wrote:
 
  We currently have a system that uses JDO (Kodo implementation) for our

  persistence layer. In order to test these persistent classes, I need
  to have a JDBC driver and compliant database running. I would really
  like to make the process completely self contained like the Maven
  Wagon builds. ie download a jar from somewhere that gives me an ultra
  light db implementation and jdbc driver and run my tests on it.
 
  Does anyone know if such a thing exists and where I might find it?
  Alternatively, does anyone know of any decent file based jdbc drivers
  that are open source?
 
  Thanks.
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Maven2 Website rolled back?

2005-11-09 Thread Alexander Hars

Hi,

Thanks for releasing the latest version of the Maven2 website (version 
dated: November 8).


Unfortunately, for some reason, after less than 12 hours of being up, 
the Maven2 web site has now reverted to the old October 21 version again.

Is that intentional?

- Alexander

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven2 Website rolled back?

2005-11-09 Thread Rik Bosman
Alexander;
 The URL maven.apache.org/maven2 http://maven.apache.org/maven2 is dated
oct 21st.
The URL maven.apache.org http://maven.apache.org is dated nov. 9th.
 Hope this helps.

 2005/11/9, Alexander Hars [EMAIL PROTECTED]:

 Hi,

 Thanks for releasing the latest version of the Maven2 website (version
 dated: November 8).

 Unfortunately, for some reason, after less than 12 hours of being up,
 the Maven2 web site has now reverted to the old October 21 version again.
 Is that intentional?

 - Alexander

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: Maven2 Website rolled back?

2005-11-09 Thread Alexander Hars

Rik,

sorry, I should have been more precise, I meant the Maven2  website. 
Yesterday it was dated Oct 21, last night it was updated (then dated Nov. 8)

But now it is back to Oct 21 again. I don't understand why.

This means that all updates to the documentation that have occurred 
since Oct 21 are again not available on the site.


- Alexander


Rik Bosman wrote:


Alexander;
The URL maven.apache.org/maven2 http://maven.apache.org/maven2 is dated
oct 21st.
The URL maven.apache.org http://maven.apache.org is dated nov. 9th.
Hope this helps.

2005/11/9, Alexander Hars [EMAIL PROTECTED]:
 


Hi,

Thanks for releasing the latest version of the Maven2 website (version
dated: November 8).

Unfortunately, for some reason, after less than 12 hours of being up,
the Maven2 web site has now reverted to the old October 21 version again.
Is that intentional?

- Alexander

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


   



 



Re: [m2] J2EE and EJB3

2005-11-09 Thread Richard Wallace
Just to be sure I'm understanding what I'm reading.  The plugins for 
ejb3 and par artifacts are in the maven sandbox.  To use them maven 
needs to support packaging types of ejb3 and par.  Also, the ear plugin 
has to support artifacts of that type, which looks like it has been done 
in MNG-1264.


Has the new lifecycle been committed in maven-core for par and ejb3?  If 
I were to use a nightly build of m2 and grab the plugins from the 
sandbox would I be up and running?


Thanks,
Rich

Stephane Nicoll wrote:

On 11/9/05, Richard Wallace [EMAIL PROTECTED] wrote:

Are there plugins for building pars and ejb3 artifacts?



Yes, in the sandbox. Watch out MNG-699.

Cheers,
Stéphane

  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Sanity Check Regarding Launching External Tools

2005-11-09 Thread Allison, Bob
I just wanted to make sure that I am doing things correctly before I go
too far on the RPM plugin...


1)  To build the RPM, I need to run the command rpmbuild.  Based on
what I saw in the release plugin, I am using classes in package
org.codehaus.plexus.util.cli (in org.codehaus.plexus:plexus-utils) to
run the command and forward the command output to the build log.  Is
this the best practice for a Mojo to run command-line tools?


2)  I am going to use a plexus archiver component (DirectoryArchiver) to
do the copying of files into the RPM work area.  To get this reference,
I have the following (adapted from other plugins):
   /**
* @component role=org.codehaus.plexus.archiver.Archiver
*roleHint=dir
*/
   private DirectoryArchiver dirarchiver;

This provides a reference, as intended, but I wanted to make sure that
this was the best way of doing things.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



What's the status on the Corbertura Plugin for Maven 2?

2005-11-09 Thread Brian Bonner
I'd like to use this tool if it's available.  Does someone know where
I can check it out?

Thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] J2EE and EJB3

2005-11-09 Thread Stephane Nicoll
On 11/9/05, Richard Wallace [EMAIL PROTECTED] wrote:

 Just to be sure I'm understanding what I'm reading. The plugins for
 ejb3 and par artifacts are in the maven sandbox. To use them maven
 needs to support packaging types of ejb3 and par. Also, the ear plugin
 has to support artifacts of that type, which looks like it has been done
 in MNG-1264.


Yes, it has been done (ear plugin needs to be rebuild though).


Has the new lifecycle been committed in maven-core for par and ejb3?


No. I still need to request this. I don't have commit rights in this module.
As I said, stay tuned on MNG-699, I will add info as soon as things get
done. You can apply the lifecycle to a local copy and bootstrap if necessary

Cheers,
Stéphane


 Stephane Nicoll wrote:
  On 11/9/05, Richard Wallace [EMAIL PROTECTED] wrote:
 
  Are there plugins for building pars and ejb3 artifacts?
 
 
 
  Yes, in the sandbox. Watch out MNG-699.
 
  Cheers,
  Stéphane
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
.::You're welcome ::.


Re: build artifact finalName - when to use ?

2005-11-09 Thread Stephane Nicoll
I don't get the in an EAR's pom. Do you mean with an EAR packaging?

Stéphane.

On 11/9/05, Pete [EMAIL PROTECTED] wrote:

 Is it a good idea to use

 build
 finalNamemyEjb.jar/finalName

 in an EAR's pom.xml

 so that when this ejb jar is included in an EAR, it already has the
 simple name (without the SNAPSHOT... suffix), without resorting to
 bundleFileName entries in the EAR's pom.xml

 I believe this will still install the ejb jar with SNAPSHOT... suffix
 in the repository

 So is this the best practice ?

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
.::You're welcome ::.


Re: What's the status on the Corbertura Plugin for Maven 2?

2005-11-09 Thread Carlos Sanchez
I believe nobody is actively developing it
It's at svn://svn.codehaus.org/mojo/scm/trunk/

On 11/9/05, Brian Bonner [EMAIL PROTECTED] wrote:
 I'd like to use this tool if it's available.  Does someone know where
 I can check it out?

 Thanks

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: What's the status on the Corbertura Plugin for Maven 2?

2005-11-09 Thread Brian Bonner
Thanks.  From the list, I thought Will Gwaltney working on it.  I'll
check it out.
Brian
On 11/9/05, Carlos Sanchez [EMAIL PROTECTED] wrote:
 I believe nobody is actively developing it
 It's at svn://svn.codehaus.org/mojo/scm/trunk/

 On 11/9/05, Brian Bonner [EMAIL PROTECTED] wrote:
  I'd like to use this tool if it's available.  Does someone know where
  I can check it out?
 
  Thanks
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to make self contained database dependant unit tests in maven 2?

2005-11-09 Thread Michael Heuer

 Chris Richardson wrote:

 On 11/9/05, Brian E. Fox [EMAIL PROTECTED] wrote:
 
  Funny you should mention that. I just stumbled upon this myself. Do you
  need to execute anything before hand to setup the hsqldb or do you just
  point the jdbc connection at it?

 You configure Hibernate/Kodo JDO to create the schema on startup and point
 the DataSource at hsqldb.
 Use the org.hsqldb.jdbcDriver with this URL: jdbc:hsqldb:mem:testdb - this
 connects to an in-memory database.

A related but list-off-topic question, would you know how to create the
schema as part of the test if one is not using Hibernate/Kodo JDO, if one
just has the DDL as a SQL script?

   michael


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: What's the status on the Corbertura Plugin for Maven 2?

2005-11-09 Thread Brian Bonner
Carlos, just checkout out  svn://svn.codehaus.org/mojo/scm/trunk/

But I couldn't find a corbertura plugin.  I could only find jcoverage.
 Is this what you meant was in mojo?  Are the plugins the same?

Brian


On 11/9/05, Brian Bonner [EMAIL PROTECTED] wrote:
 Thanks.  From the list, I thought Will Gwaltney working on it.  I'll
 check it out.
 Brian
 On 11/9/05, Carlos Sanchez [EMAIL PROTECTED] wrote:
  I believe nobody is actively developing it
  It's at svn://svn.codehaus.org/mojo/scm/trunk/
 
  On 11/9/05, Brian Bonner [EMAIL PROTECTED] wrote:
   I'd like to use this tool if it's available.  Does someone know where
   I can check it out?
  
   Thanks
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: What's the status on the Corbertura Plugin for Maven 2?

2005-11-09 Thread Brian Bonner
Wow, look at the treasure trove of stuff in there :).  Thanks.  I'll
take a look.
On 11/9/05, Carlos Sanchez [EMAIL PROTECTED] wrote:
 inside mojo-sandbox

 On 11/9/05, Brian Bonner [EMAIL PROTECTED] wrote:
  I guess I should spell it right: Cobertura not Corbertura ;)
 
  On 11/9/05, Brian Bonner [EMAIL PROTECTED] wrote:
   Carlos, just checkout out  svn://svn.codehaus.org/mojo/scm/trunk/
  
   But I couldn't find a corbertura plugin.  I could only find jcoverage.
Is this what you meant was in mojo?  Are the plugins the same?
  
   Brian
  
  
   On 11/9/05, Brian Bonner [EMAIL PROTECTED] wrote:
Thanks.  From the list, I thought Will Gwaltney working on it.  I'll
check it out.
Brian
On 11/9/05, Carlos Sanchez [EMAIL PROTECTED] wrote:
 I believe nobody is actively developing it
 It's at svn://svn.codehaus.org/mojo/scm/trunk/

 On 11/9/05, Brian Bonner [EMAIL PROTECTED] wrote:
  I'd like to use this tool if it's available.  Does someone know 
  where
  I can check it out?
 
  Thanks
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


   
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: optional/ vs scopeprovided/scope

2005-11-09 Thread Brett Porter
provided is equivalent to compile + optional.

provided affects your build, optional effects the transitive
dependency mechanism.

- Brett

On 11/10/05, Jorg Heymans [EMAIL PROTECTED] wrote:
 Hi,


 At excalibur, we have a library that can use different parser
 implementations. It needs both saxon6 and saxon7 (minor revision not
 important) for compilation, but we expect the user to provide the chosen
 parser version himself.

 Is this library optional, or provided ? Can someone explain me the
 difference between the two ?


 Thanks,
 Jorg


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: MNG-1398: How to obtain an updated version of the maven-javadoc-plugin

2005-11-09 Thread Brett Porter
It absolutely should be announced on this list.

We have a request in to create a separate announcements list as well.

- Brett

On 11/10/05, Wim Deblauwe [EMAIL PROTECTED] wrote:
 What I have found that works is: mvn -U javadoc:javadoc, that will give you
 the latest released version. For bleeding edge, you will need to build from
 SVN (never done that myself).

 On a related note: Where do I need to register to be notified of a newly
 released plugin? I see sometimes announcements on this list, but certainly
 not for all plugins (e.g. surefire has had a new version and I never saw it
 annouced on this list, but there are probably others as well).

 regards,

 Wim

 2005/11/9, Jochen Wiedmann [EMAIL PROTECTED]:
 
 
  Hi,
 
  sorry for asking the stupid question: I am one of the users who stumbled
  over
 
  MNG-1398: site report generates an 'empty'
  target/site/apidocs/index.html
 
  I see that a fixed version of the plugin will be available in Maven
  2.0.1. Very nice. But do I actually have to wait for that version? Or,
  do I have to rebuild Maven from SVN?
 
  Regards,
 
  Jochen
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[m2] Add build date to manifest?

2005-11-09 Thread Richard Allen

I there a property I can use to add the build date to the manifest, like:

project
 ...
 build
   plugins
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-jar-plugin/artifactId
   configuration
 archive
   manifestEntries
 Build-Date${build.date}/Build-Date
   /manifestEntries
 /archive
   /configuration
 /plugin
   /plugins
 /build
 ...
/project


Also, I see here:
http://people.apache.org/~jvanzyl/maven2/guides/mini/guide-manifest.html
these entries appear to be added the to Manifest:

Specification-Vendor: MyCompany Inc
Implementation-Vendor: MyCompany Inc

however, they aren't added to my JARs by Maven 2. Is this a patch to the 
archiver that is generating these entries.


Thanks,
Richard Allen



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to make self contained database dependant unit tests in maven 2?

2005-11-09 Thread Brian E. Fox
You would probably have to create the full schema. Fortunately with
Kodo, it can create the classes as needed so we have a little control. 
 

-Original Message-
From: Michael Heuer [mailto:[EMAIL PROTECTED] On Behalf Of
Michael Heuer
Sent: Wednesday, November 09, 2005 4:47 PM
To: Maven Users List
Subject: Re: How to make self contained database dependant unit tests in
maven 2?


 Chris Richardson wrote:

 On 11/9/05, Brian E. Fox [EMAIL PROTECTED] wrote:
 
  Funny you should mention that. I just stumbled upon this myself. Do 
  you need to execute anything before hand to setup the hsqldb or do 
  you just point the jdbc connection at it?

 You configure Hibernate/Kodo JDO to create the schema on startup and 
 point the DataSource at hsqldb.
 Use the org.hsqldb.jdbcDriver with this URL: jdbc:hsqldb:mem:testdb - 
 this connects to an in-memory database.

A related but list-off-topic question, would you know how to create the
schema as part of the test if one is not using Hibernate/Kodo JDO, if
one just has the DDL as a SQL script?

   michael


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Weblogic plugin for Maven 2 ?

2005-11-09 Thread Arun . P . Ilangovan

Would anybody here happen to know the status of the Weblogic plugin for M2
? The plugin matrix page lists this as In Progress, but since it is
hosted at sourceforge, could not get more information on where to check it
out.

Thanks,
Arun Ilangovan
Staff Programmer/Analyst
ITG Membership
818-676-7114



This  message,together  with  any  attachments, is
intended only for the use of the individual or entity
to which it is addressed. It may contain information
that is confidential and prohibited from disclosure.
If you are not the intended recipient, you are hereby
notified that  any dissemination  or copying of this
message or any attachment is strictly prohibited. If
you have received this message in error, please notify
the  original  sender immediately by telephone or by
return e-mail and delete this message, along with any
attachments, from your computer.  Thank you.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [M2] - maven-release-plugin cannot load SCM provider

2005-11-09 Thread Jason van Zyl
On Thu, 2005-11-10 at 00:20 +, Trent Rosenbaum wrote:
 I would be more than happy to help out with any documentation.
 What is the process for improving documents?  Write something then attach it 
 to
 a jira issue to it can be picked up?

Yes, there are several components for documentation.

 Trent
 
 On 08/11/05, Brett Porter [EMAIL PROTECTED] wrote:
  No problem. Perhaps you could help reword the docs to make it clearer
  what tagBase does/is?
 
  - Brett
 
  On 11/9/05, Trent Rosenbaum [EMAIL PROTECTED] wrote:
   Brett thanks for taking the time to look into my issues with the
   maven-release plugin.
   I was able to deploy a release locally.  I just thought that because
   their was a jira issue with the tagBase property for the plugin I
   should be putting the whole URL with the prexfix because the URL
   specified int he developerConnection is being used to construct the
   tag  URL.
  
   Trent
  
   On 08/11/05, Brett Porter [EMAIL PROTECTED] wrote:
Ah, sorry for the confusion.
   
nulike the connections, tagBase is just the SVN URL (omit scm:svn) as
it is an SVN specific property.
   
- Brett
   
On 11/8/05, Trent Rosenbaum [EMAIL PROTECTED] wrote:
 This is the feedback I got from running mvn release:prepare

 [INFO] [release:prepare]
 [INFO] What tag name should be used?
 0.1.2
 [INFO] Tagging release with the label 0.1.2.
 Provider message:
 The svn tag command failed.
 Command output:
 svn: Error resolving case of 
 'scm:svn:file:\d:\subversion-1.2.0_data\repositorie
 s\my_repo\bug-control-model\tags\0.1.2'

 [INFO] 
 -
 ---
 [ERROR] BUILD ERROR
 [INFO] 
 -
 ---
 [INFO] An error is occurred in the tag process.


 The URL for the tagBase is identical to the URL supplied within the
 developerConnection element but tags replaces trunk.

 Trent


 On 08/11/05, Brett Porter [EMAIL PROTECTED] wrote:
  The bug is for the default of ../tags when used instead of a tagbase
  as you have, so it is different.
 
  Above that exception, there should have been output from the svn
  command. Does that reveal anything?
 
  - Brett
 
  On 11/8/05, Trent Rosenbaum [EMAIL PROTECTED] wrote:
   I did not have this pom.xml checked  into SVN and so it was 
   trying to
   work with the previous revision of my file and this did not have 
   a SCM
   URL defined.  I have been able to get the plugin to prompt me for
   input regarding the tags, but I am falling over in the tagging 
   process
   with the following exception:
  
   Is this the same exception that has lead to the creation of the
   following issue in jira?
  
   http://jira.codehaus.org/browse/MNG-883
  
  
   org.apache.maven.lifecycle.LifecycleExecutionException: An error 
   is occurred in
   the tag process.
  
   Caused by: org.apache.maven.plugin.MojoExecutionException: An 
   error is occurred
   in the tag process.
   at 
   org.apache.maven.plugins.release.PrepareReleaseMojo.tagRelease(Prepar
   eReleaseMojo.java:1414)
   at 
   org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareRe
   leaseMojo.java:246)
  
  
   thanks for taking to time to look into this.
   Trent
  
   On 07/11/05, Brett Porter [EMAIL PROTECTED] wrote:
I thought I had used windows paths in the SCM URL before without
issues, but its worth trying:
   
scm|svn|file:///d:/subversion...
   
hth,
Brett
   
On 11/8/05, Trent Rosenbaum [EMAIL PROTECTED] wrote:
 This is the SCM URL for the project:

 scm
 developerConnectionscm:svn:file:///D:/subversion-1.2.0_data/repositories/my_repo/bug-control-model/trunk/developerConnection
 /scm

 and the plugin is configured with the following tagbase 
 element:

 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-release-plugin/artifactId
 version2.0-beta-3/version
 configuration
 tagBasescm:svn:file:///D:/subversion-1.2.0_data/repositories/my_repo/bug-control-model/tags/tagBase
 /configuration
 /plugin


 On 07/11/05, Brett Porter [EMAIL PROTECTED] wrote:
  They both use the same library - so the release plugin is 
  for
  automating release related tasks, the scm plugin for 
  development
  related tasks.
 
  Can you please repost the full SCM URL that gave you this 
  error -
  there is still something wrong with it.
 
  - Brett
 
   

Re: testing webapp with surefire

2005-11-09 Thread Brett Porter
I think it is necessary to:
a) file a request for an additionalClasspathElements field for the
plugin, and/or,
b) copy the file(s) to target/test-classes

- Brett

On 11/9/05, Pablo [EMAIL PROTECTED] wrote:
 Hi there

 I'm trying to perform several tests (StrutsTestCase) on my web
 application using M2.
 The StrutsTestCase requires /WEB-INF/web.xml to be in the classpath.
 When tests are run in a default way m2 says: The /WEB-INF/web.xml was
 not found.
 I've found one configuration parameter called |classpathElements| to
 be helpful (as its name suggests).
 However when I add this to the configuration:
 plugin
   configuration
 ..
   classpathElements
 classpathElementsrc/webapp/classpathElement
   /classpathElements
 ..
   /configuration
 /plugin
 M2 writes the following message:

 [INFO] Error configuring:
 org.apache.maven.plugins:maven-surefire-plugin. Reason: ERROR: Cannot
 override read-only parameter: classpathElements in goal: surefire:test

 Therefore I have a question. What should I set in pom.xml file to make
 StrutsTestCase's tests work?

 Thanks in advance
 Cheers
 Pablo

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: CheckStyle html report contains no source link

2005-11-09 Thread Brett Porter
groupId = org.codehaus.mojo
artifactId = jxr-maven-plugin

it is still in beta.

On 11/10/05, Rik Bosman [EMAIL PROTECTED] wrote:
 Hi,
  I want to use maven2 to generate some reports (e.g. mvn site) to check code
 produced by a company working for us in India. Generating the reports for
 pmd and checkstyle goes pretty straightforward, but the html links (the
 mentioned line should be a link) are missing. I saw this feature in some
 examples which I found on the Internet.
 How could this be done?
  Currenty I only have a simple pom.xml with only 2 plugins. Do I need
 another plugin to generate the (xref?) sources? Where can this plugin be
 found?
  Thanks a lot.
  Rik



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Windows input line too long

2005-11-09 Thread Brett Porter
Are the JAR files those dumped in your previous mail? They are not on
the command line, so it shouldn't be an issue. The surefire tests are
not forking right now so no external java process is executed.

What is the NPE you get?

- Brett

On 11/10/05, Michael McCrann [EMAIL PROTECTED] wrote:
 Brett,

 Thanks for your reply.

 I think that the underlying issue is that the Windows input line is too
 long when Maven attempts to execute the Surefire tests.

 When I run:

 mvn -X verify

 I get the NullPointerException that is masking the real Exception and I
 also get a list of  the jar files that are in the classpath.

 From this list, I have created a java command:

 java someClass -cp the jars from classpath above

 When I run run the java command from the Windows command line, I get:

 The input line is too long.

 Have you seen this before? Is there a work-around?
 From my dim and distant past I seem to remember that there is some way
 to increase the Windows input line size.

 Michael


 _
 Fixed in SVN.

 (There is another problem it is trying to report, but the cause was
 unknown).

 - Brett
  _
  From: Michael McCrann
  Sent: Tuesday, 8 November 2005 4:14 PM
  To:   'users@maven.apache.org'
  Subject:  [m2] NullPointerException running maven package
 
  Hi,
 
  Has anyone seen the NullPointerException, below, before?
 
  I have searched for it in Nabble, but I can't find any references to
  it.
 
  Michael McCrann
 
  [INFO] [surefire:test]
  [INFO] Setting reports dir:
  c:\maven_projects\myhome\target\checkout\target/surefire-reports
  [INFO]
  --
  --
  [ERROR] BUILD ERROR
  [INFO]
  --
  --
  ---
  constituent[0]:
  file:/c:/applications/maven-2.0/lib/commons-cli-1.0.jar
  constituent[1]:
  file:/c:/applications/maven-2.0/lib/doxia-sink-api-1.0-alpha-4.jar
  constituent[2]: file:/c:/applications/maven-2.0/lib/jsch-0.1.23.jar
  constituent[3]:
  file:/c:/applications/maven-2.0/lib/maven-artifact-2.0-1.jar
  constituent[4]:
  file:/c:/applications/maven-2.0/lib/maven-artifact-manager-2.0-1.jar
  constituent[5]: file:/c:/applications/maven-2.0/lib/maven-core-2.0.jar
  constituent[6]:
  file:/c:/applications/maven-2.0/lib/maven-error-diagnostics-2.0.jar
  constituent[7]:
  file:/c:/applications/maven-2.0/lib/maven-model-2.0.jar
  constituent[8]:
  file:/c:/applications/maven-2.0/lib/maven-monitor-2.0.jar
  constituent[9]:
  file:/c:/applications/maven-2.0/lib/maven-plugin-api-2.0.jar
  constituent[10]:
  file:/c:/applications/maven-2.0/lib/maven-plugin-descriptor-2.0.jar
  constituent[11]:
  file:/c:/applications/maven-2.0/lib/maven-plugin-parameter-documenter-
  2.0.jar
  constituent[12]:
  file:/c:/applications/maven-2.0/lib/maven-plugin-registry-2.0.jar
  constituent[13]:
  file:/c:/applications/maven-2.0/lib/maven-profile-2.0.jar
  constituent[14]:
  file:/c:/applications/maven-2.0/lib/maven-project-2.0-1.jar
  constituent[15]:
  file:/c:/applications/maven-2.0/lib/maven-reporting-api-2.0.jar
  constituent[16]:
  file:/c:/applications/maven-2.0/lib/maven-repository-metadata-2.0.jar
  constituent[17]:
  file:/c:/applications/maven-2.0/lib/maven-settings-2.0.jar
  constituent[18]:
  file:/c:/applications/maven-2.0/lib/plexus-interactivity-api-1.0-alpha
  -4.jar
  constituent[19]:
  file:/c:/applications/maven-2.0/lib/wagon-file-1.0-alpha-5.jar
  constituent[20]:
  file:/c:/applications/maven-2.0/lib/wagon-http-lightweight-1.0-alpha-5
  .jar
  constituent[21]:
  file:/c:/applications/maven-2.0/lib/wagon-provider-api-1.0-alpha-5.jar
  constituent[22]:
  file:/c:/applications/maven-2.0/lib/wagon-ssh-1.0-alpha-5.jar
  ---
  java.lang.NullPointerException
  at
  org.apache.maven.usability.diagnostics.DiagnosisUtils.appendRootCauseI
  fPresentAndUnique(DiagnosisUtils.java:8
  9)
  at
  org.apache.maven.usability.MojoExecutionExceptionDiagnoser.diagnose(Mo
  joExecutionExceptionDiagnoser.java:66)
  at
  org.apache.maven.usability.diagnostics.ErrorDiagnostics.diagnose(Error
  Diagnostics.java:81)
  at
  org.apache.maven.DefaultMaven.logDiagnostics(DefaultMaven.java:693)
  at
  org.apache.maven.DefaultMaven.logError(DefaultMaven.java:640)
  at
  org.apache.maven.DefaultMaven.execute(DefaultMaven.java:119)
  at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
  ava:39)
  at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
  orImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at
  

RE: [m2] Windows input line too long

2005-11-09 Thread Michael McCrann
Brett,

Here is the full output:

/c/maven_projects/myhome mvn -X verify
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
and Settings\mmccrann\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'c:\applications\maven-2.0\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO]


[INFO] Building MyHome
[INFO]task-segment: [verify]
[INFO]


[DEBUG] maven-resources-plugin: resolved to version 2.1-SNAPSHOT from
local repository
[DEBUG] Skipping disabled repository central
[DEBUG] maven-resources-plugin: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-resources-plugin:maven-plugin:2.1-SNAPSHOT
[DEBUG] maven-resources-plugin: using locally installed snapshot
[DEBUG] maven-compiler-plugin: resolved to version 2.0.1-SNAPSHOT from
local repository
[DEBUG] Skipping disabled repository central
[DEBUG] maven-compiler-plugin: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-compiler-plugin:maven-plugin:2.0.1-SNAPSHOT
[DEBUG] maven-compiler-plugin: using locally installed snapshot
[DEBUG] maven-resources-plugin: using locally installed snapshot
[DEBUG] maven-compiler-plugin: using locally installed snapshot
[DEBUG] maven-surefire-plugin: resolved to version 2.0-beta-2-SNAPSHOT
from local repository
[DEBUG] Skipping disabled repository central
[DEBUG] maven-surefire-plugin: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-surefire-plugin:maven-plugin:2.0-beta-2-SNAPSH
OT
[DEBUG] maven-surefire-plugin: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-war-plugin:maven-plugin:2.0-beta-1
[DEBUG] maven-resources-plugin: using locally installed snapshot
[DEBUG] maven-compiler-plugin: using locally installed snapshot
[DEBUG] maven-surefire-plugin: using locally installed snapshot
[DEBUG]
org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.1-SNAPSHO
T (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-model:jar:2.0
[DEBUG]   org.apache.maven:maven-model:jar:2.0 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for
runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-project:jar:2.0
[DEBUG]   org.apache.maven:maven-project:jar:2.0 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for
runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
(selected for runtime)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for
runtime)
[DEBUG]   classworlds:classworlds:jar:1.1-alpha-2 (selected for
runtime)
[DEBUG]   junit:junit:jar:3.8.1 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-artifact:jar:2.0
[DEBUG] org.apache.maven:maven-artifact:jar:2.0 (selected for
runtime)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for
runtime)
[DEBUG] org.apache.maven:maven-model:jar:2.0 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-artifact-manager:jar:2.0
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0 (selected
for runtime)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for
runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 (selected
for runtime)
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0 (selected for
runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-repository-metadata:jar:2.0
[DEBUG]   org.apache.maven:maven-repository-metadata:jar:2.0
(selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for
runtime)
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
(selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for
runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-profile:jar:2.0
[DEBUG] org.apache.maven:maven-profile:jar:2.0 (selected for
runtime)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for
runtime)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 (selected
for runtime)
[DEBUG]   org.apache.maven:maven-model:jar:2.0 (selected for
runtime)
[DEBUG]   commons-io:commons-io:jar:1.0 (selected for runtime)
[DEBUG] junit:junit:jar:3.8.1 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG]   

Re: [m2] Windows input line too long

2005-11-09 Thread Brett Porter
Unfortunately that is the same error. The only solution I can propose
at the moment is to build a replacement for maven-error-diagnostics
from SVN, and install it in $M2_HOME/lib.

- Brett

On 11/10/05, Michael McCrann [EMAIL PROTECTED] wrote:
 Brett,

 Here is the full output:


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-09 Thread Brett Porter
expressions are fine, component expressions are deprecated. It's true
that it needs to be updated on the site.

- Brett

On 11/10/05, David Jackman [EMAIL PROTECTED] wrote:
 Whoa.  What form is deprecated?   @parameter
 expression=${someExpression}?
 That's what the Mojo API Specification doc says to use.  There's nothing
 about @component on that page at all.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Sanity Check Regarding Launching External Tools

2005-11-09 Thread Brett Porter
Yep, these sound fine.

- Brett

On 11/10/05, Allison, Bob [EMAIL PROTECTED] wrote:
 I just wanted to make sure that I am doing things correctly before I go
 too far on the RPM plugin...


 1)  To build the RPM, I need to run the command rpmbuild.  Based on
 what I saw in the release plugin, I am using classes in package
 org.codehaus.plexus.util.cli (in org.codehaus.plexus:plexus-utils) to
 run the command and forward the command output to the build log.  Is
 this the best practice for a Mojo to run command-line tools?


 2)  I am going to use a plexus archiver component (DirectoryArchiver) to
 do the copying of files into the RPM work area.  To get this reference,
 I have the following (adapted from other plugins):
/**
 * @component role=org.codehaus.plexus.archiver.Archiver
 *roleHint=dir
 */
private DirectoryArchiver dirarchiver;

 This provides a reference, as intended, but I wanted to make sure that
 this was the best way of doing things.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [m2] Windows input line too long

2005-11-09 Thread Michael McCrann
Brett,

I have rebuilt the maven-error-diagnostic.jar and installed it into
M2_HOME/lib. This is the output now:

[ERROR] BUILD ERROR
[INFO]


[INFO] Error executing surefire

tried to access method junit.framework.TestCase.init()V from class
org.codehaus.surefire.battery.assertion.BatteryAsse
rt
[INFO]


[INFO] For more information, run Maven with the -e switch
[INFO]

 

Michael
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 10 November 2005 1:28 PM
To: Maven Users List
Subject: Re: [m2] Windows input line too long

Unfortunately that is the same error. The only solution I can propose at
the moment is to build a replacement for maven-error-diagnostics from
SVN, and install it in $M2_HOME/lib.

- Brett

On 11/10/05, Michael McCrann [EMAIL PROTECTED] wrote:
 Brett,

 Here is the full output:


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



NOTICE
This e-mail and any attachments are confidential and may contain copyright 
material of Macquarie Bank or third parties. If you are not the intended 
recipient of this email you should not read, print, re-transmit, store or act 
in reliance on this e-mail or any attachments, and should destroy all copies of 
them. Macquarie Bank does not guarantee the integrity of any emails or any 
attached files. The views or opinions expressed are the author's own and may 
not reflect the views or opinions of Macquarie Bank.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Windows input line too long

2005-11-09 Thread Chad Brandon

Michael,

The same thing happened to me; what fixed it for me was adding junit as 
a dependency even though I had no tests (I would think that surefire 
would handle it if it doesn't have the dependency, but it seems to not 
be the case).  Its strange; the error only seems to happen when some 
dependencies are in my pom.xml, but doesn't happen with other 
dependencies (for example it started occuring when I added 
commons-beanutils, but went away when I removed it), but with the junit 
dependency it never happens.


Chad

Michael McCrann wrote:

Brett,

I have rebuilt the maven-error-diagnostic.jar and installed it into
M2_HOME/lib. This is the output now:

[ERROR] BUILD ERROR
[INFO]


[INFO] Error executing surefire

tried to access method junit.framework.TestCase.init()V from class
org.codehaus.surefire.battery.assertion.BatteryAsse
rt
[INFO]


[INFO] For more information, run Maven with the -e switch
[INFO]

 


Michael
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 10 November 2005 1:28 PM

To: Maven Users List
Subject: Re: [m2] Windows input line too long

Unfortunately that is the same error. The only solution I can propose at
the moment is to build a replacement for maven-error-diagnostics from
SVN, and install it in $M2_HOME/lib.

- Brett

On 11/10/05, Michael McCrann [EMAIL PROTECTED] wrote:
  

Brett,

Here is the full output:




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



NOTICE
This e-mail and any attachments are confidential and may contain copyright 
material of Macquarie Bank or third parties. If you are not the intended 
recipient of this email you should not read, print, re-transmit, store or act 
in reliance on this e-mail or any attachments, and should destroy all copies of 
them. Macquarie Bank does not guarantee the integrity of any emails or any 
attached files. The views or opinions expressed are the author's own and may 
not reflect the views or opinions of Macquarie Bank.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Custom artifact types (and the handlers who love them)

2005-11-09 Thread Brett Porter
The extensions element is mostly an optimisation - we'd have to
initialise all plugins up front otherwise which is quite annoying (eg,
when you run clean and have to download things).

In the future, dynamic maps in the plexus container will make the
extensions element redundant.

Thanks for volunteering to improve the documentation - the plugin
guide sounds like the right place to put it. There is some similar
docs in the lifecycle guide that perhaps should be put into the same
section (plugins that provide extensions to maven).

- Brett

On 11/10/05, David Jackman [EMAIL PROTECTED] wrote:
 Oh, my bad.  I forgot the part about extensionstrue/extensions when
 using the plugin.  It seems to work now.
 That is unfortunate that I have to add that.  Why isn't the default to
 use any extensions provided by the plugin?  Maybe I'm not clear on what
 the extensions tag means (it's not documented at all).

 ..David..

 -Original Message-
 From: David Jackman [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 09, 2005 9:42 AM
 To: Maven Users List
 Subject: RE: [m2] Custom artifact types (and the handlers who love them)

 So, if I understand correctly, I want to put a components.xml file in my
 plugin's src/main/resources/META-INF/plexus directory?  And that should
 look like the components.xml file in that place in the maven-artifact
 project (except that it defines only the artifact handler for my new
 artifact type)?  That didn't seem to work.

 Where would the docs for this go?  Into the Guide for Developing
 Plugins?
 When I get it all to work for me, I'll add my knowledge to the docs for
 future generations.

 ..David..


 -Original Message-
 From: Brett Porter [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 08, 2005 6:44 PM
 To: Maven Users List
 Subject: Re: [m2] Custom artifact types (and the handlers who love them)

 Yes, while the docs are lacking in this area it is very similar to the
 build lifecycle which is documented.

 - add components.xml with handler reference (see maven-artifact for
 examples)
 - when using the plugin, set extensionstrue/extensions to make the
 type available.

 On 11/9/05, David Jackman [EMAIL PROTECTED] wrote:
  I've created a Mojo that generates a Javadoc-like documentation set,
  and my plugin does things similar to the javadoc plugin in that it
  archives all of the docs into a jar file and attaches the artifact to
 the list.
  In looking at the artifact code, however, it looks like it's trying to

  find an artifact handler for my custom artifact type so it knows how
  to work with it (specifically, I'm trying to dictate what the file
  extension should be).  How do I create and register an artifact
  handler for my artifact type?  I assuem that my plugin would take care

  of this sort of thing?
 
  ..David..
 
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Windows input line too long

2005-11-09 Thread Brett Porter
It's the result of winding up with a junit 3.7 dependency in your tree
somewhere. Surefire requires junit 3.8 - if you include that in your
pom as described it will fix the issue.

- Brett

On 11/10/05, Chad Brandon [EMAIL PROTECTED] wrote:
 Michael,

 The same thing happened to me; what fixed it for me was adding junit as
 a dependency even though I had no tests (I would think that surefire
 would handle it if it doesn't have the dependency, but it seems to not
 be the case).  Its strange; the error only seems to happen when some
 dependencies are in my pom.xml, but doesn't happen with other
 dependencies (for example it started occuring when I added
 commons-beanutils, but went away when I removed it), but with the junit
 dependency it never happens.

 Chad

 Michael McCrann wrote:
  Brett,
 
  I have rebuilt the maven-error-diagnostic.jar and installed it into
  M2_HOME/lib. This is the output now:
 
  [ERROR] BUILD ERROR
  [INFO]
  
  
  [INFO] Error executing surefire
 
  tried to access method junit.framework.TestCase.init()V from class
  org.codehaus.surefire.battery.assertion.BatteryAsse
  rt
  [INFO]
  
  
  [INFO] For more information, run Maven with the -e switch
  [INFO]
  
  
 
  Michael
  -Original Message-
  From: Brett Porter [mailto:[EMAIL PROTECTED]
  Sent: Thursday, 10 November 2005 1:28 PM
  To: Maven Users List
  Subject: Re: [m2] Windows input line too long
 
  Unfortunately that is the same error. The only solution I can propose at
  the moment is to build a replacement for maven-error-diagnostics from
  SVN, and install it in $M2_HOME/lib.
 
  - Brett
 
  On 11/10/05, Michael McCrann [EMAIL PROTECTED] wrote:
 
  Brett,
 
  Here is the full output:
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  NOTICE
  This e-mail and any attachments are confidential and may contain copyright 
  material of Macquarie Bank or third parties. If you are not the intended 
  recipient of this email you should not read, print, re-transmit, store or 
  act in reliance on this e-mail or any attachments, and should destroy all 
  copies of them. Macquarie Bank does not guarantee the integrity of any 
  emails or any attached files. The views or opinions expressed are the 
  author's own and may not reflect the views or opinions of Macquarie Bank.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] building non-jar projects

2005-11-09 Thread Brett Porter
You would write a plugin that provides an alternative packaging (this
allows you to redefine all of the phases). See the guide to the build
lifecycle for details.

Note that there is collaborative work under way to better support
native compilation from Maven - see the recent threads on this list.

- Brett

On 11/10/05, Wim Deblauwe [EMAIL PROTECTED] wrote:
 Hi,

 we are currently using Maven 1 to build c(++) projects and InstallShield
 projects. I have written custom goals in my maven.xml to accomplish this.
 Nobody would ever call jar:deploy on such a project but the custom defined
 goals.

 How would I do this in Maven 2. I want to avoid that the java compiler runs
 and the jarring happens, but something of my own (a little piece of ant)
 runs. For instance, a bit of ant that calls the c compiler or InstallShield
 compiler and then a bit of ant that zips the result and puts it on the local
 or remote repository.

 How would I do this?

 regards,

 Wim



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Properties in resource directory

2005-11-09 Thread Brett Porter
it looks like a bug - it should be in the maven-project component.

- Brett

On 11/10/05, Nitko2 [EMAIL PROTECTED] wrote:
 I have pom.xml with following snippet:

 build
 sourceDirectorysrc\JavaSource/sourceDirectory
 resources
 resource
   directorysrc\JavaSource/directory


 and it works.
 If I use property like this

 build
 sourceDirectorysrc\JavaSource/sourceDirectory
 resources
 resource
   directory${project.build.sourceDirectory}/directory


 it doesn't work. Is it bug in code or in my head?


 If it is a code bug where can I report it (meaning in which maven2 component)?

 Thanks,
 Filip


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Difference on the central repository of m2

2005-11-09 Thread Blaise Gosselin
Hello,
 
I'm new to m2, and I'm wondering what's the difference between teh two 
followings URLs :
 
 http://www.ibiblio.org/maven2/org/apache/maven/plugins/ 
http://www.ibiblio.org/maven2/org/apache/maven/plugins/
 http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/ 
http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/
 
Indeed, I have no Internet connection here, and I'll have to create my own 
central mirror repository, in order to check the plugins in intern.
So, what are the main packages and files I have to download to make so ?
 
Thanks in advence.
_ _ _ _
bgOnline
 


Re: Difference on the central repository of m2

2005-11-09 Thread Brett Porter
The second one should actually be removed as they are all outdated.

- Brett

On 11/10/05, Blaise Gosselin [EMAIL PROTECTED] wrote:
 Hello,

 I'm new to m2, and I'm wondering what's the difference between teh two 
 followings URLs :

  http://www.ibiblio.org/maven2/org/apache/maven/plugins/ 
 http://www.ibiblio.org/maven2/org/apache/maven/plugins/
  http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/ 
 http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/

 Indeed, I have no Internet connection here, and I'll have to create my own 
 central mirror repository, in order to check the plugins in intern.
 So, what are the main packages and files I have to download to make so ?

 Thanks in advence.
 _ _ _ _
 bgOnline




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven2 Website rolled back?

2005-11-09 Thread Wim Deblauwe
Where can I find the Maven 1 website then? I tried
http://maven.apache.org/maven1/ but that was not it.

regards,

Wim

2005/11/9, Jason van Zyl [EMAIL PROTECTED]:

 On Wed, 2005-11-09 at 21:44 +0100, Alexander Hars wrote:
  Rik,
 
  sorry, I should have been more precise, I meant the Maven2 website.
  Yesterday it was dated Oct 21, last night it was updated (then dated
 Nov. 8)
  But now it is back to Oct 21 again. I don't understand why.

 The maven2 site is http://maven.apache.org. The maven2 content now
 comprises the main site.

  This means that all updates to the documentation that have occurred
  since Oct 21 are again not available on the site.

 No, all the content for maven2 is there.

  - Alexander
 
 
  Rik Bosman wrote:
 
  Alexander;
   The URL maven.apache.org/maven2 http://maven.apache.org/maven2 
 http://maven.apache.org/maven2 is dated
  oct 21st.
  The URL maven.apache.org http://maven.apache.org 
 http://maven.apache.org is dated nov. 9th.
   Hope this helps.
  
   2005/11/9, Alexander Hars [EMAIL PROTECTED]:
  
  
  Hi,
  
  Thanks for releasing the latest version of the Maven2 website (version
  dated: November 8).
  
  Unfortunately, for some reason, after less than 12 hours of being up,
  the Maven2 web site has now reverted to the old October 21 version
 again.
  Is that intentional?
  
  - Alexander
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
  
  
  
 --
 jvz.

 Jason van Zyl
 jason at maven.org http://maven.org
 http://maven.apache.org

 believe nothing, no matter where you read it,
 or who has said it,
 not even if i have said it,
 unless it agrees with your own reason
 and your own common sense.

 -- Buddha


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: Maven2 Website rolled back?

2005-11-09 Thread Brett Porter
its /maven-1x/, there is a link in the top right of the screen.

- Brett

On 11/10/05, Wim Deblauwe [EMAIL PROTECTED] wrote:
 Where can I find the Maven 1 website then? I tried
 http://maven.apache.org/maven1/ but that was not it.

 regards,

 Wim

 2005/11/9, Jason van Zyl [EMAIL PROTECTED]:
 
  On Wed, 2005-11-09 at 21:44 +0100, Alexander Hars wrote:
   Rik,
  
   sorry, I should have been more precise, I meant the Maven2 website.
   Yesterday it was dated Oct 21, last night it was updated (then dated
  Nov. 8)
   But now it is back to Oct 21 again. I don't understand why.
 
  The maven2 site is http://maven.apache.org. The maven2 content now
  comprises the main site.
 
   This means that all updates to the documentation that have occurred
   since Oct 21 are again not available on the site.
 
  No, all the content for maven2 is there.
 
   - Alexander
  
  
   Rik Bosman wrote:
  
   Alexander;
The URL maven.apache.org/maven2 http://maven.apache.org/maven2 
  http://maven.apache.org/maven2 is dated
   oct 21st.
   The URL maven.apache.org http://maven.apache.org 
  http://maven.apache.org is dated nov. 9th.
Hope this helps.
   
2005/11/9, Alexander Hars [EMAIL PROTECTED]:
   
   
   Hi,
   
   Thanks for releasing the latest version of the Maven2 website (version
   dated: November 8).
   
   Unfortunately, for some reason, after less than 12 hours of being up,
   the Maven2 web site has now reverted to the old October 21 version
  again.
   Is that intentional?
   
   - Alexander
   
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   
   
   
   
   
   
   
  --
  jvz.
 
  Jason van Zyl
  jason at maven.org http://maven.org
  http://maven.apache.org
 
  believe nothing, no matter where you read it,
  or who has said it,
  not even if i have said it,
  unless it agrees with your own reason
  and your own common sense.
 
  -- Buddha
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: quesiton about maven 2 projects with modules

2005-11-09 Thread Emmanuel Venisse

you can't disable it.

if you want only one project, you'll can use the shell project in continuum 1.0.1 and 
choose mvn as executable. You can't actually with 1.0


Emmanuel

Frank Zhao a écrit :

It seems for each modules, Continuum creates a seperate project for it. Is 
there a way to disable this feature since I only need one continuum project 
which can build very modules defined in the POM.

Thanks,

Frank




  1   2   >