Re: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread Jorg Heymans

Brett Porter wrote:
> We are pleased to announce that Maven 2.0 has been released, and is
> available for download from http://maven.apache.org/maven2/download.html
> 

Congratulations , tremendous effort guys !!


Jorg


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



Re: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread Thomas Van de Velde
Congratulations to all! This is great news.

On 10/20/05, Jorg Heymans <[EMAIL PROTECTED]> wrote:
>
>
> Brett Porter wrote:
> > We are pleased to announce that Maven 2.0 has been released, and is
> > available for download from http://maven.apache.org/maven2/download.html
> >
>
> Congratulations , tremendous effort guys !!
>
>
> Jorg
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [m2] scm:checkout requires a pom.xml to be present

2005-10-20 Thread Miks Rozenbergs

Emmanuel Venisse wrote:

it works for me. Check if you have the correct plugin version.

Emmanuel
Hmm, seems like I do not have the right version -- it's 
maven-scm-plugin-1.0-alpha-2.jar. But that's what I'm getting from 
Central Repository. Should I be downloading, compiling and installing 
that plug-in manually? If yes, then what's the point of Central Repository?


Miks Rozenbergs a écrit :

Hi!

I'm trying to do initial checkout of project from CVS, but receiving 
error. According to http://jira.codehaus.org/browse/MNG-885 this is 
fixed in Beta 3...


c:\temp> m2 scm:checkout -DconnectionUrl=scm:cvs:local:/cvs/src:my-app
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO] 
 


[INFO] Building Maven Default Project
[INFO]task-segment: [scm:checkout]
[INFO] 
 

[INFO] 
 


[INFO] BUILD FAILURE
[INFO] 
 

[INFO] Reason: Cannot execute mojo: checkout. It requires a project, 
but the build is not using one.
[INFO] 
 


[INFO] Total time: < 1 second
[INFO] Finished at: Wed Oct 19 16:33:23 EEST 2005
[INFO] Final Memory: 1M/4M
[INFO] 
 



Regards,
Miks Rozenbergs


-
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: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread David Sag

Fantastic work all round.  well
done everyone involved.  This has come at exactly the right time for
the project I am about to start.

Kind regards,
Dave Sag 




  

Brett Porter <[EMAIL PROTECTED]> wrote on 20/10/2005
12:24:47 AM:

> We are pleased to announce that Maven 2.0 has been released, and is

> available for download from http://maven.apache.org/maven2/download.html
> 
> Maven is a build system that provides software project management
and 
> dependancy comprehension. Based on the concept of a project object
model 
> (POM), Maven manages a project's build, reporting and documentation
from 
> a central place.
> 
> Maven 2.0 is a rewrite of the popular Maven application, designed
to 
> both address previous functional requirements and provide a stable

> platform for extending and enhancing its build management framework.
> 
> This release is significantly faster and smaller than Maven 1.0 and

> includes the following usability and performance improvements:
> 
> * Enhanced Dependency Management - includes dependency closures
>    (transitive dependencies), version ranges, automatic
build
>    numbering, and automatic updating on a configurable interval
> 
> * Defined Build Lifecycle - developers can build any type of project
>    using standard commands such as compile, test and install
> 
> * Unified Project Definition - manages all required build information
in
>    a single POM now, including project information, dependencies
and
>    plugin configuration
> 
> * Extended Plugin Architecture - supports Java and scripting languages
>    such as Beanshell for plugin development
> 
> * Better Repository Support - includes separated snapshot repositories,
>    a new more managable layout and per-project definitions
of new
>    repositories
> 
> * Expanded Reactor Operation - offers built-in support for multiple
>    projects (without the need to perform a full install
cycle to compile
>    all projects) and support for project aggregation
> 
> * New Site Management Tools - supports multiple input and output
>    formats, with input formats including wiki-like APT format
and
>    docbook, while continuing to support traditional Maven
XDoc and FAQ
>    format.
> 
> * New Reporting API - offers a standardised method for producing project
>    information and reports
> 
> * And much more...
> 
> The Maven 2.0 release is considered stable and includes a Maven 1.0

> complete feature set, with additional functionality. The most popular

> Maven 1.0 plugins have been converted for Maven 2.0, and many more
are 
> available in beta.
> See http://docs.codehaus.org/pages/MAVEN/Maven+Plugin+Matrix for more

> information on particular plugins.
> 
> Maven's advanced dependency management features rely on project 
> metadata. If you are interested in improving support for the users
of 
> your project, see http://maven.apache.org/maven2/project-faq.html
> 
> The Maven team would like to express thanks to the user and developer

> community for their beta testing, feedback and contributions that
helped 
> make the release possible!
> 
> To get started with Maven now, see the getting started guide: 
> http://maven.apache.org/maven2/guides/getting-started/index.html
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


Re: [M2.0] Getting started with M2.0 and Eclipse

2005-10-20 Thread Piotr Bzdyl

Hello,

There exists an m2 plug-in for Eclipse and I will probably release it
next week sometime. It supersedes anything in Mevenide as far as m2
goes. It will be a preview but it needs a little work before it's
released.
  
Is it possible to checkout sources of this Eclipse plugin and take a 
look at it before release?


Best regards,
Piotr

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



RE: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread Donszelmann, Mark
Great, keep up the good work.

Regards
Mark Donszelmann 

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 3:25 PM
To: users@maven.apache.org
Cc: dev@maven.apache.org
Subject: [ANN] Maven 2.0 Release Now Available

We are pleased to announce that Maven 2.0 has been released, and is available 
for download from http://maven.apache.org/maven2/download.html

...

-
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] scm:checkout requires a pom.xml to be present

2005-10-20 Thread Emmanuel Venisse

try m2 -U scm:checkout -DconnectionUrl=scm:cvs:local:/cvs/src:my-app
for update scm plugin

Emmanuel

Miks Rozenbergs a écrit :

Emmanuel Venisse wrote:


it works for me. Check if you have the correct plugin version.

Emmanuel


Hmm, seems like I do not have the right version -- it's 
maven-scm-plugin-1.0-alpha-2.jar. But that's what I'm getting from 
Central Repository. Should I be downloading, compiling and installing 
that plug-in manually? If yes, then what's the point of Central Repository?




Miks Rozenbergs a écrit :


Hi!

I'm trying to do initial checkout of project from CVS, but receiving 
error. According to http://jira.codehaus.org/browse/MNG-885 this is 
fixed in Beta 3...


c:\temp> m2 scm:checkout -DconnectionUrl=scm:cvs:local:/cvs/src:my-app
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO] 
 


[INFO] Building Maven Default Project
[INFO]task-segment: [scm:checkout]
[INFO] 
 

[INFO] 
 


[INFO] BUILD FAILURE
[INFO] 
 

[INFO] Reason: Cannot execute mojo: checkout. It requires a project, 
but the build is not using one.
[INFO] 
 


[INFO] Total time: < 1 second
[INFO] Finished at: Wed Oct 19 16:33:23 EEST 2005
[INFO] Final Memory: 1M/4M
[INFO] 
 



Regards,
Miks Rozenbergs


-
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: Remote shared repository in M2

2005-10-20 Thread Pete Thomas
cheers Russell that worked.

It would be good if someone could revise the M2 Guides in
http://maven.apache.org/maven2/guides/introduction/introduction-to-repositories.html

So just to clarify, if in the POM.xml I add :-

 

  my-repo1
  your custom repo
  http://jarsm2.dyndns.dk


  my-repo2
  your custom repo
  http://jarsm2.dyndns.dk

  

like in the 
http://maven.apache.org/maven2/guides/mini/guide-multiple-repositories.html
guide

what does that achieve ? and when is that repository used, as this is
what I tried first.



On 19/10/05, Russell, Mark <[EMAIL PROTECTED]> wrote:
> Someone else may correct me if I'm wrong, but I believe that plugin
> dependencies are retrieved from the "plugin" repository which is a
> different section in the pom. At least this looks like the behavior that
> I have seen.
>
> So you might try specifying a plugin repository as well that points to
> your central repository.  The only hitch to this is that you would have
> to ensure that any plugins you use, and their dependencies are also in
> your central repo
>
>
>
> Mark Russell
>
> -Original Message-
> From: Pete Thomas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 19, 2005 8:38 AM
> To: Maven Users List
> Subject: Re: Remote shared repository in M2
>
> Hi Arik,
>
> I have tried changing the name to 'central' (lowercase) - no
> difference unfortunately.
>
> Even tried a fuller spec, like the super POM entry ?
>
>  
>
>  central
>  Maven Repository Switchboard
>  default
>   file:///central/.m2/repository
>  
>true
>  
>
>  
>
> but it's still trying to connect, output has :-
>
> "From the specified remote repositories:
>  central (http://www.ibiblio.org.maven2)
>  snapshots (http://snapshots.maven.codehaus.org/maven2)"
>
> On 19/10/05, Arik Kfir <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > If you named it "central" then it would override ibiblio.
> >
> > As for sharing it - you can create a shared maven installation, in
> > which the repo is defined (via m2/conf/settings.xml)
> >
> > On 10/19/05, Pete Thomas <[EMAIL PROTECTED]> wrote:
> > > I am trying to use M2 but want to use a shared filesystem repository
> > > where all JARS come from, with no internet access.
> > >
> > > So have read the Maven2
> > >
> http://maven.apache.org/maven2/guides/mini/guide-multiple-repositories.h
> tml
> > > guide I added this to my
> > >
> > > POM.xml
> > >
> > > 
> > >   
> > > team-share-repo
> > > shared m2 repository to avoid needing internet
> access
> > >  file:///central/.m2/repository
> > >  
> > > 
> > >
> > > However it still goes out to the internet to get missing JARs.
> > >
> > > The guides seem to advise not putting this in settings.xml which I
> can
> > > see is more of a user setting.
> > >
> > >
> -
> > > 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: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread fabrice . belingard




We've been so much looking forward to it, congrats!!! :oD

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


   
 Brett Porter  
 <[EMAIL PROTECTED]  
 g>   Pour
   users@maven.apache.org  
 20/10/2005 00:24   cc
   dev@maven.apache.org
 Objet
 Veuillez  [ANN] Maven 2.0 Release Now 
répondre à Available   
 Maven Users List  
 <[EMAIL PROTECTED]  
 che.org>  
   
   
   




We are pleased to announce that Maven 2.0 has been released, and is
available for download from http://maven.apache.org/maven2/download.html

Maven is a build system that provides software project management and
dependancy comprehension. Based on the concept of a project object model
(POM), Maven manages a project's build, reporting and documentation from
a central place.

Maven 2.0 is a rewrite of the popular Maven application, designed to
both address previous functional requirements and provide a stable
platform for extending and enhancing its build management framework.

This release is significantly faster and smaller than Maven 1.0 and
includes the following usability and performance improvements:

* Enhanced Dependency Management - includes dependency closures
   (transitive dependencies), version ranges, automatic build
   numbering, and automatic updating on a configurable interval

* Defined Build Lifecycle - developers can build any type of project
   using standard commands such as compile, test and install

* Unified Project Definition - manages all required build information in
   a single POM now, including project information, dependencies and
   plugin configuration

* Extended Plugin Architecture - supports Java and scripting languages
   such as Beanshell for plugin development

* Better Repository Support - includes separated snapshot repositories,
   a new more managable layout and per-project definitions of new
   repositories

* Expanded Reactor Operation - offers built-in support for multiple
   projects (without the need to perform a full install cycle to compile
   all projects) and support for project aggregation

* New Site Management Tools - supports multiple input and output
   formats, with input formats including wiki-like APT format and
   docbook, while continuing to support traditional Maven XDoc and FAQ
   format.

* New Reporting API - offers a standardised method for producing project
   information and reports

* And much more...

The Maven 2.0 release is considered stable and includes a Maven 1.0
complete feature set, with additional functionality. The most popular
Maven 1.0 plugins have been converted for Maven 2.0, and many more are
available in beta.
See http://docs.codehaus.org/pages/MAVEN/Maven+Plugin+Matrix for more
information on particular plugins.

Maven's advanced dependency management features rely on project
metadata. If you are interested in improving support for the users of
your project, see http://maven.apache.org/maven2/project-faq.html

The Maven team would like to express thanks to the user and developer
community for their beta testing, feedback and contributions that helped
make the release possible!

To get started with Maven now, see the getting started guide:
http://maven.apache.org/maven2/guides/getting-started/index.html


-
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: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread Orjan Nygaard Austvold
Congratulations to all of you!

Best regards,
Ørjan Austvold


Brett Porter wrote:

> We are pleased to announce that Maven 2.0 has been released, and is
> available for download from http://maven.apache.org/maven2/download.html
>
> Maven is a build system that provides software project management and
> dependancy comprehension. Based on the concept of a project object
> model (POM), Maven manages a project's build, reporting and
> documentation from a central place.
>
> Maven 2.0 is a rewrite of the popular Maven application, designed to
> both address previous functional requirements and provide a stable
> platform for extending and enhancing its build management framework.
>
> This release is significantly faster and smaller than Maven 1.0 and
> includes the following usability and performance improvements:
>
> * Enhanced Dependency Management - includes dependency closures
>   (transitive dependencies), version ranges, automatic build
>   numbering, and automatic updating on a configurable interval
>
> * Defined Build Lifecycle - developers can build any type of project
>   using standard commands such as compile, test and install
>
> * Unified Project Definition - manages all required build information in
>   a single POM now, including project information, dependencies and
>   plugin configuration
>
> * Extended Plugin Architecture - supports Java and scripting languages
>   such as Beanshell for plugin development
>
> * Better Repository Support - includes separated snapshot repositories,
>   a new more managable layout and per-project definitions of new
>   repositories
>
> * Expanded Reactor Operation - offers built-in support for multiple
>   projects (without the need to perform a full install cycle to compile
>   all projects) and support for project aggregation
>
> * New Site Management Tools - supports multiple input and output
>   formats, with input formats including wiki-like APT format and
>   docbook, while continuing to support traditional Maven XDoc and FAQ
>   format.
>
> * New Reporting API - offers a standardised method for producing project
>   information and reports
>
> * And much more...
>
> The Maven 2.0 release is considered stable and includes a Maven 1.0
> complete feature set, with additional functionality. The most popular
> Maven 1.0 plugins have been converted for Maven 2.0, and many more are
> available in beta.
> See http://docs.codehaus.org/pages/MAVEN/Maven+Plugin+Matrix for more
> information on particular plugins.
>
> Maven's advanced dependency management features rely on project
> metadata. If you are interested in improving support for the users of
> your project, see http://maven.apache.org/maven2/project-faq.html
>
> The Maven team would like to express thanks to the user and developer
> community for their beta testing, feedback and contributions that
> helped make the release possible!
>
> To get started with Maven now, see the getting started guide:
> http://maven.apache.org/maven2/guides/getting-started/index.html
>
>
> -
> 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] Plugin descriptor generator

2005-10-20 Thread Jan Bartel

Hi,

Using the 2.0-beta-3 release of Maven, I'm trying to create a Java
plugin. I've tried just cutting and pasting the Hello World example
from the website, but I get the same error, which is when I try to
generate the plugin.xml as part of the "m2 install" command, I get:

Exception in thread "main" java.lang.NoSuchMethodError: 
org.apache.maven.plugin.descriptor.PluginDescriptor.setName(Ljava/lang/String;)V
at 
org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:91)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417)

[..snip..]

My project looks like:
  /helloworld
 pom.xml
 /src/main/java/sample/plugin
 GreetingMojo.java

Again, pom.xml and GreetingMojo.java are straight from the website.

If someone could point me in the right direction I'd be grateful.

thanks
Jan Bartel


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



Re: [m2] xdoclet help

2005-10-20 Thread Philippe HUET

Kevin,

I found a workaround for this problem by changing all references to 
2.0-beta-1 to 2.0 in pom xdoclet-maven-plugin-1.0-alpha-1.pom in my 
repository.
Not sure that it's the cleanest solution, but it work for me. The public 
svn repository for xdoclet-maven-plugin is inaccessible so I can't 
rebuild the plugin.


Philippe HUET


Kevin McNamee a écrit :


Hi again,



I am trying to get the xdoclet-plugin to work for Maven 2. Using the example
from:

http://mojo.codehaus.org/xdoclet-maven-plugin/usage.html



I get the following



 


m2 compile
   



[INFO] Scanning for projects...

[INFO]


[INFO] Building Nobill Boot

[INFO]task-segment: [compile]

[INFO]


[INFO]


[ERROR] FATAL ERROR

[INFO]


[INFO] null

[INFO]


[INFO] Trace

java.lang.AbstractMethodError

   at
org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.c
onfigure(ComponentValueSetter.java:247)

   at
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFi
eldsConverter.processConfiguration(ObjectWithFieldsConverter.java:137)

   at
org.codehaus.plexus.component.configurator.BasicComponentConfigurator.config
ureComponent(BasicComponentConfigurator.java:56)

   at
org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPlu
ginManager.java:1038)

   at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPlugin
Manager.java:563)

   at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:377)

   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:519)

   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:469)

   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecutor.java:448)

   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(DefaultLifecycleExecutor.java:301)

   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:268)

   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:137)

   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:324)

   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)

[INFO]


[INFO] Total time: 11 seconds

[INFO] Finished at: Mon Oct 17 17:54:10 MEST 2005

[INFO] Final Memory: 2M/7M

[INFO]






My pom.xml looks like







   

 junit

 junit

 3.8.1

 test

   



   

 log4j

 log4j

 1.2.8

   

  

   

 jboss

 jboss-j2ee

 4.0.2

   

   

 jboss

 jboss-system

 4.0.2

   

   

 jboss

 jboss-common-jdbc-wrapper

 4.0.2

   

   

 oracle

 oracle-jdbc

 1.4

   

   

 xdoclet

 xdoclet-jboss-module

 1.2

   

   

 xdoclet

 xjavadoc

 1.0.2

   



 

   



 xdoclet-maven-plugin

 org.codehaus.mojo

 1.0-alpha-1

 

   

 generate-sources

 

   xdoclet

 

 

   



 



 

   

   

   

 



   

 

   

 



   

 



Any help appreciated,
Kevin


 




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



Re: [m2] scm:checkout requires a pom.xml to be present

2005-10-20 Thread Miks Rozenbergs

Emmanuel Venisse wrote:

try m2 -U scm:checkout -DconnectionUrl=scm:cvs:local:/cvs/src:my-app
for update scm plugin


Nope. No success. I even deleted the whole local repository. Even though 
it did download now version alpha-3 of maven-scm-plugin, the bug is 
still there.
When you are saying that it works for you, are you indeed running it in 
an empty folder? And are you doing CVS checkout? And is it on Windows 
(mine in Windows XP)?


#mvn -U scm:checkout -DconnectionUrl=scm:cvs:local:/cvs/src:my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-scm-plugin: checking for 
updates from central
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-scm-plugin/1.0-alpha-3/maven-scm-plugin-1.0-alpha-3.pom

6K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-scm-plugin/1.0-alpha-3/maven-scm-plugin-1.0-alpha-3.jar

14K downloaded
[INFO] 


[INFO] Building Maven Default Project
[INFO]task-segment: [scm:checkout]
[INFO] 

[INFO] 


[ERROR] BUILD ERROR
[INFO] 

[INFO] Cannot execute mojo: checkout. It requires a project, but the 
build is not using one.
[INFO] 


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


[INFO] Total time: 12 seconds
[INFO] Finished at: Thu Oct 20 11:36:30 EEST 2005
[INFO] Final Memory: 1M/4M
[INFO] 



#



Emmanuel

Miks Rozenbergs a écrit :

Emmanuel Venisse wrote:


it works for me. Check if you have the correct plugin version.

Emmanuel


Hmm, seems like I do not have the right version -- it's 
maven-scm-plugin-1.0-alpha-2.jar. But that's what I'm getting from 
Central Repository. Should I be downloading, compiling and installing 
that plug-in manually? If yes, then what's the point of Central 
Repository?




Miks Rozenbergs a écrit :


Hi!

I'm trying to do initial checkout of project from CVS, but receiving 
error. According to http://jira.codehaus.org/browse/MNG-885 this is 
fixed in Beta 3...


c:\temp> m2 scm:checkout -DconnectionUrl=scm:cvs:local:/cvs/src:my-app
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO] 
 


[INFO] Building Maven Default Project
[INFO]task-segment: [scm:checkout]
[INFO] 
 

[INFO] 
 


[INFO] BUILD FAILURE
[INFO] 
 

[INFO] Reason: Cannot execute mojo: checkout. It requires a project, 
but the build is not using one.
[INFO] 
 


[INFO] Total time: < 1 second
[INFO] Finished at: Wed Oct 19 16:33:23 EEST 2005
[INFO] Final Memory: 1M/4M
[INFO] 
 



Regards,
Miks Rozenbergs


-
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: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread Mark Hobson
Fantastic - thanks for all the great work everyone!

Mark

On 20/10/05, Orjan Nygaard Austvold <[EMAIL PROTECTED]> wrote:
> Congratulations to all of you!
>
> Best regards,
> Ørjan Austvold
>
>
> Brett Porter wrote:
>
> > We are pleased to announce that Maven 2.0 has been released, and is
> > available for download from http://maven.apache.org/maven2/download.html
> >
> > Maven is a build system that provides software project management and
> > dependancy comprehension. Based on the concept of a project object
> > model (POM), Maven manages a project's build, reporting and
> > documentation from a central place.
> >
> > Maven 2.0 is a rewrite of the popular Maven application, designed to
> > both address previous functional requirements and provide a stable
> > platform for extending and enhancing its build management framework.
> >
> > This release is significantly faster and smaller than Maven 1.0 and
> > includes the following usability and performance improvements:
> >
> > * Enhanced Dependency Management - includes dependency closures
> >   (transitive dependencies), version ranges, automatic build
> >   numbering, and automatic updating on a configurable interval
> >
> > * Defined Build Lifecycle - developers can build any type of project
> >   using standard commands such as compile, test and install
> >
> > * Unified Project Definition - manages all required build information in
> >   a single POM now, including project information, dependencies and
> >   plugin configuration
> >
> > * Extended Plugin Architecture - supports Java and scripting languages
> >   such as Beanshell for plugin development
> >
> > * Better Repository Support - includes separated snapshot repositories,
> >   a new more managable layout and per-project definitions of new
> >   repositories
> >
> > * Expanded Reactor Operation - offers built-in support for multiple
> >   projects (without the need to perform a full install cycle to compile
> >   all projects) and support for project aggregation
> >
> > * New Site Management Tools - supports multiple input and output
> >   formats, with input formats including wiki-like APT format and
> >   docbook, while continuing to support traditional Maven XDoc and FAQ
> >   format.
> >
> > * New Reporting API - offers a standardised method for producing project
> >   information and reports
> >
> > * And much more...
> >
> > The Maven 2.0 release is considered stable and includes a Maven 1.0
> > complete feature set, with additional functionality. The most popular
> > Maven 1.0 plugins have been converted for Maven 2.0, and many more are
> > available in beta.
> > See http://docs.codehaus.org/pages/MAVEN/Maven+Plugin+Matrix for more
> > information on particular plugins.
> >
> > Maven's advanced dependency management features rely on project
> > metadata. If you are interested in improving support for the users of
> > your project, see http://maven.apache.org/maven2/project-faq.html
> >
> > The Maven team would like to express thanks to the user and developer
> > community for their beta testing, feedback and contributions that
> > helped make the release possible!
> >
> > To get started with Maven now, see the getting started guide:
> > http://maven.apache.org/maven2/guides/getting-started/index.html
> >
> >
> > -
> > 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.0] Getting started with M2.0 and Eclipse

2005-10-20 Thread Edwin Punzalan

The source is within http://svn.apache.org/repos/asf/maven/components/trunk

look under maven-plugins/maven-eclipse-plugin.



Piotr Bzdyl wrote:


Hello,


There exists an m2 plug-in for Eclipse and I will probably release it
next week sometime. It supersedes anything in Mevenide as far as m2
goes. It will be a preview but it needs a little work before it's
released.
  


Is it possible to checkout sources of this Eclipse plugin and take a 
look at it before release?


Best regards,
Piotr

-
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.0] Getting started with M2.0 and Eclipse

2005-10-20 Thread Piotr Bzdyl

Hello,
The source is within 
http://svn.apache.org/repos/asf/maven/components/trunk


look under maven-plugins/maven-eclipse-plugin.
Just a little misunderstanding. I was talking about plugin for Eclipse 
to execute maven 2 goals from Eclipse IDE and not about maven 2 plugin 
to create .classpath and .project files.


Best regards,
Piotr

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



RE: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread David Pick
Congratulations and a big thank you to all contributors for their hard work.

Kind Regards
Dave 

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: 19 October 2005 23:25
To: users@maven.apache.org
Cc: dev@maven.apache.org
Subject: [ANN] Maven 2.0 Release Now Available

We are pleased to announce that Maven 2.0 has been released, and is available 
for download from http://maven.apache.org/maven2/download.html

Maven is a build system that provides software project management and 
dependancy comprehension. Based on the concept of a project object model (POM), 
Maven manages a project's build, reporting and documentation from a central 
place.

Maven 2.0 is a rewrite of the popular Maven application, designed to both 
address previous functional requirements and provide a stable platform for 
extending and enhancing its build management framework.

This release is significantly faster and smaller than Maven 1.0 and includes 
the following usability and performance improvements:

* Enhanced Dependency Management - includes dependency closures
   (transitive dependencies), version ranges, automatic build
   numbering, and automatic updating on a configurable interval

* Defined Build Lifecycle - developers can build any type of project
   using standard commands such as compile, test and install

* Unified Project Definition - manages all required build information in
   a single POM now, including project information, dependencies and
   plugin configuration

* Extended Plugin Architecture - supports Java and scripting languages
   such as Beanshell for plugin development

* Better Repository Support - includes separated snapshot repositories,
   a new more managable layout and per-project definitions of new
   repositories

* Expanded Reactor Operation - offers built-in support for multiple
   projects (without the need to perform a full install cycle to compile
   all projects) and support for project aggregation

* New Site Management Tools - supports multiple input and output
   formats, with input formats including wiki-like APT format and
   docbook, while continuing to support traditional Maven XDoc and FAQ
   format.

* New Reporting API - offers a standardised method for producing project
   information and reports

* And much more...

The Maven 2.0 release is considered stable and includes a Maven 1.0 complete 
feature set, with additional functionality. The most popular Maven 1.0 plugins 
have been converted for Maven 2.0, and many more are available in beta.
See http://docs.codehaus.org/pages/MAVEN/Maven+Plugin+Matrix for more 
information on particular plugins.

Maven's advanced dependency management features rely on project metadata. If 
you are interested in improving support for the users of your project, see 
http://maven.apache.org/maven2/project-faq.html

The Maven team would like to express thanks to the user and developer community 
for their beta testing, feedback and contributions that helped make the release 
possible!

To get started with Maven now, see the getting started guide: 
http://maven.apache.org/maven2/guides/getting-started/index.html


-
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]



Maven & SQL tasks

2005-10-20 Thread Marco Mistroni
hello all,
 i was curious about one thing.. with ant, you can launch SQL commands to
create a database, for example
 does Maven have same capabilities or do i have to revert to ant:sql in my
maven.xml?
 thanks in advance and regards
  Marco


RE: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread Pilgrim, Peter
> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED]
=====
 
> 
> We are pleased to announce that Maven 2.0 has been released, and is 
> available for download from 
> http://maven.apache.org/maven2/download.html
> 
> Maven is a build system that provides software project management and 
> dependancy comprehension. Based on the concept of a project 
> object model 
> (POM), Maven manages a project's build, reporting and 
> documentation from 
> a central place.
> 

====

Wow! Congratulations to all!

It has taken me awhile to be convinced of the Maven's benefits.
I remember a paper on Maven at TheServerSide.com years ago 
and I just couldn't get it. It was too complicated for me. 
Vincent Massol's and Tim O'Brien book MADF was really ideal.

I have run my first reports, got most of the JUnit test
working successfully. Right now I beginning to create a WAR
and soon a EAR. 

I am still looking at the flaming 1.0.2 release, 
but I will invest now in M2 today. Hopefully creating WARs
and EARs are a lot with M2

Any hints & pointers in moving M1 to M2 greatly received.

--
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


"Your Missus is a Nutter" Goldie Lookin' Chain


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

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

==


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



RE: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread Kevin McNamee
Congrats! Well done!

/Kevin

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: 20 October 2005 00:25
To: users@maven.apache.org
Cc: dev@maven.apache.org
Subject: [ANN] Maven 2.0 Release Now Available

We are pleased to announce that Maven 2.0 has been released, and is 
available for download from http://maven.apache.org/maven2/download.html

Maven is a build system that provides software project management and 
dependancy comprehension. Based on the concept of a project object model 
(POM), Maven manages a project's build, reporting and documentation from 
a central place.

Maven 2.0 is a rewrite of the popular Maven application, designed to 
both address previous functional requirements and provide a stable 
platform for extending and enhancing its build management framework.

This release is significantly faster and smaller than Maven 1.0 and 
includes the following usability and performance improvements:

* Enhanced Dependency Management - includes dependency closures
   (transitive dependencies), version ranges, automatic build
   numbering, and automatic updating on a configurable interval

* Defined Build Lifecycle - developers can build any type of project
   using standard commands such as compile, test and install

* Unified Project Definition - manages all required build information in
   a single POM now, including project information, dependencies and
   plugin configuration

* Extended Plugin Architecture - supports Java and scripting languages
   such as Beanshell for plugin development

* Better Repository Support - includes separated snapshot repositories,
   a new more managable layout and per-project definitions of new
   repositories

* Expanded Reactor Operation - offers built-in support for multiple
   projects (without the need to perform a full install cycle to compile
   all projects) and support for project aggregation

* New Site Management Tools - supports multiple input and output
   formats, with input formats including wiki-like APT format and
   docbook, while continuing to support traditional Maven XDoc and FAQ
   format.

* New Reporting API - offers a standardised method for producing project
   information and reports

* And much more...

The Maven 2.0 release is considered stable and includes a Maven 1.0 
complete feature set, with additional functionality. The most popular 
Maven 1.0 plugins have been converted for Maven 2.0, and many more are 
available in beta.
See http://docs.codehaus.org/pages/MAVEN/Maven+Plugin+Matrix for more 
information on particular plugins.

Maven's advanced dependency management features rely on project 
metadata. If you are interested in improving support for the users of 
your project, see http://maven.apache.org/maven2/project-faq.html

The Maven team would like to express thanks to the user and developer 
community for their beta testing, feedback and contributions that helped 
make the release possible!

To get started with Maven now, see the getting started guide: 
http://maven.apache.org/maven2/guides/getting-started/index.html


-
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: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread Guillaume Laforge
Well done everybody for this great achievement!
I'm looking forward to have (more) fun with Maven 2.0 :-)

Guillaume

On 20/10/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> We are pleased to announce that Maven 2.0 has been released, and is
> available for download from http://maven.apache.org/maven2/download.html
>
> Maven is a build system that provides software project management and
> dependancy comprehension. Based on the concept of a project object model
> (POM), Maven manages a project's build, reporting and documentation from
> a central place.
>
> Maven 2.0 is a rewrite of the popular Maven application, designed to
> both address previous functional requirements and provide a stable
> platform for extending and enhancing its build management framework.
>
> This release is significantly faster and smaller than Maven 1.0 and
> includes the following usability and performance improvements:
>
> * Enhanced Dependency Management - includes dependency closures
>(transitive dependencies), version ranges, automatic build
>numbering, and automatic updating on a configurable interval
>
> * Defined Build Lifecycle - developers can build any type of project
>using standard commands such as compile, test and install
>
> * Unified Project Definition - manages all required build information in
>a single POM now, including project information, dependencies and
>plugin configuration
>
> * Extended Plugin Architecture - supports Java and scripting languages
>such as Beanshell for plugin development
>
> * Better Repository Support - includes separated snapshot repositories,
>a new more managable layout and per-project definitions of new
>repositories
>
> * Expanded Reactor Operation - offers built-in support for multiple
>projects (without the need to perform a full install cycle to compile
>all projects) and support for project aggregation
>
> * New Site Management Tools - supports multiple input and output
>formats, with input formats including wiki-like APT format and
>docbook, while continuing to support traditional Maven XDoc and FAQ
>format.
>
> * New Reporting API - offers a standardised method for producing project
>information and reports
>
> * And much more...
>
> The Maven 2.0 release is considered stable and includes a Maven 1.0
> complete feature set, with additional functionality. The most popular
> Maven 1.0 plugins have been converted for Maven 2.0, and many more are
> available in beta.
> See http://docs.codehaus.org/pages/MAVEN/Maven+Plugin+Matrix for more
> information on particular plugins.
>
> Maven's advanced dependency management features rely on project
> metadata. If you are interested in improving support for the users of
> your project, see http://maven.apache.org/maven2/project-faq.html
>
> The Maven team would like to express thanks to the user and developer
> community for their beta testing, feedback and contributions that helped
> make the release possible!
>
> To get started with Maven now, see the getting started guide:
> http://maven.apache.org/maven2/guides/getting-started/index.html
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

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



Re: [M2.0] Getting started with M2.0 and Eclipse

2005-10-20 Thread Arik Kfir
No, for that you will Mevenide - however, I believe Mevenide does not
support m2 yet.

On 10/20/05, Piotr Bzdyl <[EMAIL PROTECTED]> wrote:
> Hello,
> > The source is within
> > http://svn.apache.org/repos/asf/maven/components/trunk
> >
> > look under maven-plugins/maven-eclipse-plugin.
> Just a little misunderstanding. I was talking about plugin for Eclipse
> to execute maven 2 goals from Eclipse IDE and not about maven 2 plugin
> to create .classpath and .project files.
>
> Best regards,
> Piotr
>
> -
> 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]



Migrating from m1 to m2 (was RE: [ANN] Maven 2.0 Release Now Available)

2005-10-20 Thread Vincent Massol
Hi Peter,

> -Original Message-
> From: Pilgrim, Peter [mailto:[EMAIL PROTECTED]
> Sent: jeudi 20 octobre 2005 11:15
> To: 'Maven Users List'
> Subject: RE: [ANN] Maven 2.0 Release Now Available
> 
> > -Original Message-
> > From: Brett Porter [mailto:[EMAIL PROTECTED]
> =====
> 
> >
> > We are pleased to announce that Maven 2.0 has been released, and is
> > available for download from
> > http://maven.apache.org/maven2/download.html
> >
> > Maven is a build system that provides software project management and
> > dependancy comprehension. Based on the concept of a project
> > object model
> > (POM), Maven manages a project's build, reporting and
> > documentation from
> > a central place.
> >
> 
> ====
> 
> Wow! Congratulations to all!
> 
> It has taken me awhile to be convinced of the Maven's benefits.
> I remember a paper on Maven at TheServerSide.com years ago
> and I just couldn't get it. It was too complicated for me.
> Vincent Massol's and Tim O'Brien book MADF was really ideal.

Glad to hear the book was useful to you! :-)
 
> I have run my first reports, got most of the JUnit test
> working successfully. Right now I beginning to create a WAR
> and soon a EAR.
> 
> I am still looking at the flaming 1.0.2 release,
> but I will invest now in M2 today. Hopefully creating WARs
> and EARs are a lot with M2
> 
> Any hints & pointers in moving M1 to M2 greatly received.

There'll be more docs and some tools coming but in the meantime you could
have a look at slides I have presented at JavaZone 2005 (the topic was "From
m1 to m2"). They won't give you the definitive answer but they can probably
help:

http://blogs.codehaus.org/people/vmassol/archives/001170_javazone_2005.html

-Vincent



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



Re: [m2 & m1]Inject POM values into application

2005-10-20 Thread Geoffrey
There is even second use case besides the releaseDate that the filtering 
can't cut:


Depending on a variable, for example
release.database = mysql
Certain hibernate properties should be set, such as the hibernate 
dialect and the jdbc url, depending on a condition based on the 
release.database value.


With kind regards,
Geoffrey

Vincent Massol wrote:



-Original Message-
From: David Jackman [mailto:[EMAIL PROTECTED]
Sent: mercredi 19 octobre 2005 18:37
To: Maven Users List
Subject: RE: [m2 & m1]Inject POM values into application

In m2, you just turn filtering on for resources in your pom.  Assuming
you've put the files being filtered in the default place
(src/main/resources), you may not have anything about resources in your
pom already, so you'll need to add everything about this resource
directory:

 ...
 
   
 
   src/main/resources
   true
 
   
 

With that, any resource file that contains ${pom.version} will replace
that text with the value from the version element of the pom.  The same
is true for other values in the pom.  I don't think values from
settings.xml are available, however.  Someone else can correct me if I'm
wrong.



Agreed, this would solve one use case.

However imagine the case where you have a SNAPSHOT version. When you release
something you want that version to be resolved to a timestamp. Thus if
you're putting this version on say a web page (hint: continuum's web page)
you'd like to see the resolved timestamp value and not the SNAPSHOT.

Any idea how to do this?

Thanks
-Vincent


--
With kind regards,
Geoffrey De Smet


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



[M2] Docbook support

2005-10-20 Thread Jose Gonzalez Gomez
Hi there,

In the announcement docbook support is mentioned, but I haven't been
able to find anything about it in the docs. I've also found some
thread talking about docbook support in Doxia, but its web says
nothing about it. Finally the plugin matrix mentions a docbook plugin
that seems to be M2 ready... what's the situation?

By the way, congrats for the 2.0 release!!!

Thanks in advance, best regards
Jose

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



Rép. : [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread Antonio PAROLINI
Got it, tried it, great stuff!

Keep up the good job!

antonio

>>> [EMAIL PROTECTED] 10/20 12:24  >>>
We are pleased to announce that Maven 2.0 has been released, and is 
available for download from
http://maven.apache.org/maven2/download.html 

Maven is a build system that provides software project management and 
dependancy comprehension. Based on the concept of a project object
model 
(POM), Maven manages a project's build, reporting and documentation
from 
a central place.

Maven 2.0 is a rewrite of the popular Maven application, designed to 
both address previous functional requirements and provide a stable 
platform for extending and enhancing its build management framework.

This release is significantly faster and smaller than Maven 1.0 and 
includes the following usability and performance improvements:

* Enhanced Dependency Management - includes dependency closures
   (transitive dependencies), version ranges, automatic build
   numbering, and automatic updating on a configurable interval

* Defined Build Lifecycle - developers can build any type of project
   using standard commands such as compile, test and install

* Unified Project Definition - manages all required build information
in
   a single POM now, including project information, dependencies and
   plugin configuration

* Extended Plugin Architecture - supports Java and scripting languages
   such as Beanshell for plugin development

* Better Repository Support - includes separated snapshot
repositories,
   a new more managable layout and per-project definitions of new
   repositories

* Expanded Reactor Operation - offers built-in support for multiple
   projects (without the need to perform a full install cycle to
compile
   all projects) and support for project aggregation

* New Site Management Tools - supports multiple input and output
   formats, with input formats including wiki-like APT format and
   docbook, while continuing to support traditional Maven XDoc and FAQ
   format.

* New Reporting API - offers a standardised method for producing
project
   information and reports

* And much more...

The Maven 2.0 release is considered stable and includes a Maven 1.0 
complete feature set, with additional functionality. The most popular 
Maven 1.0 plugins have been converted for Maven 2.0, and many more are

available in beta.
See http://docs.codehaus.org/pages/MAVEN/Maven+Plugin+Matrix for more 
information on particular plugins.

Maven's advanced dependency management features rely on project 
metadata. If you are interested in improving support for the users of 
your project, see http://maven.apache.org/maven2/project-faq.html 

The Maven team would like to express thanks to the user and developer 
community for their beta testing, feedback and contributions that
helped 
make the release possible!

To get started with Maven now, see the getting started guide: 
http://maven.apache.org/maven2/guides/getting-started/index.html 


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



**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**


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



lifecycle documentation - inherited execution

2005-10-20 Thread jerome lacoste
In 
http://maven.apache.org/maven2/guides/introduction/introduction-to-the-lifecycle.html

"When multiple executions are given that match a particular phase,
they are executed in the order specified in the POM, with inherited
executions running first."

What is this "inherited execution"?

I created a plugin that  extends AbstractWarMojo.

I register it to the 'package' phase in a project with 'war'
packaging. Now the mave-war-plugin always gets executed before my
plugin. I don't want that.

Is this due to this inheritance? Is there a way to change that?

I am trying to add some files to the war directory before the war gets
packaged. If my plugin runs after the war one, it's too late.

Cheers,

Jerome

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



Re: [m2] scm:checkout requires a pom.xml to be present

2005-10-20 Thread Emmanuel Venisse

sorry, this pb was fix in maven-scm-plugin 1.0-alpha-4 that will be release in 
few days.

Emmanuel

Miks Rozenbergs a écrit :

Emmanuel Venisse wrote:


try m2 -U scm:checkout -DconnectionUrl=scm:cvs:local:/cvs/src:my-app
for update scm plugin



Nope. No success. I even deleted the whole local repository. Even though 
it did download now version alpha-3 of maven-scm-plugin, the bug is 
still there.
When you are saying that it works for you, are you indeed running it in 
an empty folder? And are you doing CVS checkout? And is it on Windows 
(mine in Windows XP)?


#mvn -U scm:checkout -DconnectionUrl=scm:cvs:local:/cvs/src:my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-scm-plugin: checking for 
updates from central
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-scm-plugin/1.0-alpha-3/maven-scm-plugin-1.0-alpha-3.pom 


6K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-scm-plugin/1.0-alpha-3/maven-scm-plugin-1.0-alpha-3.jar 


14K downloaded
[INFO] 
 


[INFO] Building Maven Default Project
[INFO]task-segment: [scm:checkout]
[INFO] 
 

[INFO] 
 


[ERROR] BUILD ERROR
[INFO] 
 

[INFO] Cannot execute mojo: checkout. It requires a project, but the 
build is not using one.
[INFO] 
 


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


[INFO] Total time: 12 seconds
[INFO] Finished at: Thu Oct 20 11:36:30 EEST 2005
[INFO] Final Memory: 1M/4M
[INFO] 
 



#



Emmanuel

Miks Rozenbergs a écrit :


Emmanuel Venisse wrote:


it works for me. Check if you have the correct plugin version.

Emmanuel



Hmm, seems like I do not have the right version -- it's 
maven-scm-plugin-1.0-alpha-2.jar. But that's what I'm getting from 
Central Repository. Should I be downloading, compiling and installing 
that plug-in manually? If yes, then what's the point of Central 
Repository?




Miks Rozenbergs a écrit :


Hi!

I'm trying to do initial checkout of project from CVS, but 
receiving error. According to 
http://jira.codehaus.org/browse/MNG-885 this is fixed in Beta 3...


c:\temp> m2 scm:checkout -DconnectionUrl=scm:cvs:local:/cvs/src:my-app
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO] 
 


[INFO] Building Maven Default Project
[INFO]task-segment: [scm:checkout]
[INFO] 
 

[INFO] 
 


[INFO] BUILD FAILURE
[INFO] 
 

[INFO] Reason: Cannot execute mojo: checkout. It requires a 
project, but the build is not using one.
[INFO] 
 


[INFO] Total time: < 1 second
[INFO] Finished at: Wed Oct 19 16:33:23 EEST 2005
[INFO] Final Memory: 1M/4M
[INFO] 
 



Regards,
Miks Rozenbergs


-
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: lifecycle documentation - inherited execution

2005-10-20 Thread jerome lacoste
On 10/20/05, jerome lacoste <[EMAIL PROTECTED]> wrote:
> In 
> http://maven.apache.org/maven2/guides/introduction/introduction-to-the-lifecycle.html
>
> "When multiple executions are given that match a particular phase,
> they are executed in the order specified in the POM, with inherited
> executions running first."
>
> What is this "inherited execution"?



I've found the  tag in pluginExecution. Maybe a link to
http://maven.apache.org/maven2/maven-model/maven.html#class_PluginExecution
would help



> I created a plugin that  extends AbstractWarMojo.
>
> I register it to the 'package' phase in a project with 'war'
> packaging. Now the mave-war-plugin always gets executed before my
> plugin. I don't want that.
>
> Is this due to this inheritance? Is there a way to change that?
>
> I am trying to add some files to the war directory before the war gets
> packaged. If my plugin runs after the war one, it's too late.



I still don't know why my plugin can't run before the war one.

Jerome

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



m2 and J2EE archetype

2005-10-20 Thread HATTAT Jérémie

Hello,

I'm starting with m2, where could i find examples of complete EAR apps?
Is the an ear or J2ee archetype?

Thx

Jeremie

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



RE: [ANN] Maven 2.0 Release Now Available

2005-10-20 Thread Dário Luís Coneglian Oliveros
Wow ! Great job and congrats to all !!!
Looking forward to starting using it.
Regards,
Dário Oliveros

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 19 de outubro de 2005 20:25
To: users@maven.apache.org
Cc: dev@maven.apache.org
Subject: [ANN] Maven 2.0 Release Now Available


We are pleased to announce that Maven 2.0 has been released, and is 
available for download from http://maven.apache.org/maven2/download.html

Maven is a build system that provides software project management and 
dependancy comprehension. Based on the concept of a project object model 
(POM), Maven manages a project's build, reporting and documentation from 
a central place.

Maven 2.0 is a rewrite of the popular Maven application, designed to 
both address previous functional requirements and provide a stable 
platform for extending and enhancing its build management framework.

This release is significantly faster and smaller than Maven 1.0 and 
includes the following usability and performance improvements:

* Enhanced Dependency Management - includes dependency closures
   (transitive dependencies), version ranges, automatic build
   numbering, and automatic updating on a configurable interval

* Defined Build Lifecycle - developers can build any type of project
   using standard commands such as compile, test and install

* Unified Project Definition - manages all required build information in
   a single POM now, including project information, dependencies and
   plugin configuration

* Extended Plugin Architecture - supports Java and scripting languages
   such as Beanshell for plugin development

* Better Repository Support - includes separated snapshot repositories,
   a new more managable layout and per-project definitions of new
   repositories

* Expanded Reactor Operation - offers built-in support for multiple
   projects (without the need to perform a full install cycle to compile
   all projects) and support for project aggregation

* New Site Management Tools - supports multiple input and output
   formats, with input formats including wiki-like APT format and
   docbook, while continuing to support traditional Maven XDoc and FAQ
   format.

* New Reporting API - offers a standardised method for producing project
   information and reports

* And much more...

The Maven 2.0 release is considered stable and includes a Maven 1.0 
complete feature set, with additional functionality. The most popular 
Maven 1.0 plugins have been converted for Maven 2.0, and many more are 
available in beta.
See http://docs.codehaus.org/pages/MAVEN/Maven+Plugin+Matrix for more 
information on particular plugins.

Maven's advanced dependency management features rely on project 
metadata. If you are interested in improving support for the users of 
your project, see http://maven.apache.org/maven2/project-faq.html

The Maven team would like to express thanks to the user and developer 
community for their beta testing, feedback and contributions that helped 
make the release possible!

To get started with Maven now, see the getting started guide: 
http://maven.apache.org/maven2/guides/getting-started/index.html


-
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]



plugin configuration && execution seem to have different parameter values

2005-10-20 Thread jerome lacoste
When I mark the following plugin in phase package, it works OK.
When I mark it in a phase before 'package' (e.g. compile), project
parameter is null while the debug log shows that the configuration was
done properly.

If I add a @required, same thing.

Here's the mojo:

 * @phase package
 * @requiresProject
 */
public class JnlpMojo
extends AbstractWarMojo
{

/**
 * Project.
 *
 * @parameter expression="${project}"
 * @readonly
 */
private MavenProject project;
[...]



Here's the execution


[DEBUG]   (s) project = [EMAIL PROTECTED]
[...]
[DEBUG] -- end configuration --
[INFO] [webstart:jnlp {execution: default}]
[DEBUG] project null
[INFO] 

[ERROR] FATAL ERROR
[INFO] 

[INFO] null
[INFO] 

[DEBUG] Trace
java.lang.NullPointerException
at org.codehaus.mojo.webstart.JnlpMojo.checkInput(JnlpMojo.java:763)
at org.codehaus.mojo.webstart.JnlpMojo.execute(JnlpMojo.java:229)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
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)
[INFO] 

[INFO] Total time: 5 seconds

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



Re: sun jars

2005-10-20 Thread Dalibor Topic
On Wed, Oct 19, 2005 at 04:52:33PM -0700, Jason van Zyl wrote:
> On Thu, 2005-10-20 at 01:40 +0200, Tomasz Pik wrote:
> > On 19/10/05, Marcel Schutte <[EMAIL PROTECTED]> wrote:
> > > Couldn't someone from the maven development team ask Sun for their
> > > explicit permission to publish all these jars? As we say in Holland:
> > > 'Nee heb je, ja kun je krijgen' ('No you've got, yes you can get').
> > 
> > Here's link to story: 
> > http://maven.apache.org/project/sun-licensing-journey.html
> > In case if it disapear, here's the file in SVN repo: 
> > http://tinyurl.com/dxjwy
> 
> Yah, I gave up trying to get them to do anything. Too much of a waste of
> time as SUN didn't appear to have any interest in helping. 
> 

I believe that particular story ended in summer 2005 with Geronimo
writing their own Java Mail implementation from scratch as open
source software and going through the TCK for it. Judging by the news of
Geronimo passing the J2EE certification, it seems to have worked out,
where two years of talking about non-free licenses side-effects have
failed.

That seems to be a more effetive plan in general, than trying to get Sun
Microsytems to relicense their proprietary code base. See Geronimo, and
GNU Classpath projects for examples.

On a side note, any idea whether JSR 277 will be developped in an open
fashion, with an open source RI, like the concurrency JSR was?

cheers,
dalibor topic

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



[m2]scp deploy help!

2005-10-20 Thread Hong Xing
When I deploy my artifact to the remote repository, I got the following 
exception.

Caused by: com.jcraft.jsch.JSchException: reject HostKey: 61.135.154.158
at com.jcraft.jsch.Session.checkHost(Unknown Source)
at com.jcraft.jsch.Session.connect(Unknown Source)
at com.jcraft.jsch.Session.connect(Unknown Source)
at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection(
AbstractSshWagon.java:223)
... 24 more

Is there anything wrong?


Re: [M2.0] Getting started with M2.0 and Eclipse

2005-10-20 Thread Piotr Bzdyl



No, for that you will Mevenide - however, I believe Mevenide does not
support m2 yet.
  

As Jason van Zyl wrote:

"There exists an m2 plug-in for Eclipse and I will probably release it

next week sometime. It supersedes anything in Mevenide as far as m2
goes. It will be a preview but it needs a little work before it's
released."

I am asking about sources of the plugin Jason is writing.

Best regards,
Piotr


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



Re: [m2]scp deploy help!

2005-10-20 Thread jerome lacoste
On 10/20/05, Hong Xing <[EMAIL PROTECTED]> wrote:
> When I deploy my artifact to the remote repository, I got the following 
> exception.
>
> Caused by: com.jcraft.jsch.JSchException: reject HostKey: 61.135.154.158
> at com.jcraft.jsch.Session.checkHost(Unknown Source)
> at com.jcraft.jsch.Session.connect(Unknown Source)
> at com.jcraft.jsch.Session.connect(Unknown Source)
> at 
> org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection(
> AbstractSshWagon.java:223)
> ... 24 more

is this host referred to in your known_hosts file?

Cheers,

Jerome

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



Re: sun jars

2005-10-20 Thread Fabrizio Giustina
Some more thoughts...

The same problem with Sun licenses was recently addressed also by
Eclipse. They implemented a click-through mechanism where the user
must accept the sun license everytime a file is requested from a sun
server (an eclipse window containing a page from the sun website and
an eccept button is displayed). The same could be done for maven.

You will not believe it, but this is also required for standard dtds
and xsds (like the web.xml schema)... according to Sun any xml editor
which reads the xsd declaration in an xml file and tries to download
it for validation without prompting for the license could be
considered illegal?!?

In the other direction, non restributable jars are often included in
other distributions. For example Spring includes in his distribution
all the javax.* files he uses. So it should be illegal if you consider
Spring as a framework you can use to build your own application, while
probably it could be legally done if you consider Spring a final
product which needs these jars to work.
Following the same consideration, maven could be considered as a build
tool and in order to work ( = to be able to compile artifacts) it
needs the sun jars. I think Sun never complaint about projects
redistributing their jars till now.
Maybe somebody would came up with an unofficial repository outside
apache containing the sun jars and the above notice, of course
explaining he will immediately remove them if Sun will complain about
such use not contemplated in their not-so-clear license (emh, not a
suggestion, but maybe...)

fabrizio

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



Problems with maven-project-info-reports-plugin

2005-10-20 Thread Jørgen Solberg
Seems like it's still a problem with the plugin.
  [ERROR] FATAL ERROR
[INFO]
-
---
[INFO] Can't find bundle for base name project-info-report, locale no_NO
[INFO]
-
---
[INFO] Trace
java.util.MissingResourceException: Can't find bundle for base name
project-info
-report, locale no_NO
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
.java:804)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:661)
at org.apache.maven.report.projectinfo.CimReport.getBundle(CimReport.jav
a:260)
at org.apache.maven.report.projectinfo.CimReport.getName(CimReport.java:
80)
at org.apache.maven.plugins.site.ReportComparator.compare(ReportComparat
or.java:40)
at java.util.Arrays.mergeSort(Arrays.java:1278)
at java.util.Arrays.mergeSort(Arrays.java:1289)
at java.util.Arrays.sort(Arrays.java:1219)
at java.util.Collections.sort(Collections.java:155)
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:239)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:399)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:519)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:469)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:448)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:301)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:268)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:137)
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(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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)
[INFO]
-
---
[INFO] Total time: 9 seconds
[INFO] Finished at: Thu Oct 20 12:45:00 CEST 2005
[INFO] Final Memory: 6M/12M
[INFO]
-
---


RE: Problems with maven-project-info-reports-plugin

2005-10-20 Thread Vincent Siveton
Hi,

It is a known bug
http://jira.codehaus.org/browse/MNG-1216
http://jira.codehaus.org/browse/MNG-1239

Corrected in SVN

Cheers,

Vincent

> -Original Message-
> From: Jørgen Solberg [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 20, 2005 7:03 AM
> To: users@maven.apache.org
> Subject: Problems with maven-project-info-reports-plugin
> 
> Seems like it's still a problem with the plugin.
>   [ERROR] FATAL ERROR
> [INFO]
> -
> ---
> [INFO] Can't find bundle for base name project-info-report, locale no_NO
> [INFO]
> -
> ---
> [INFO] Trace
> java.util.MissingResourceException: Can't find bundle for base name
> project-info
> -report, locale no_NO
> at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
> .java:804)
> at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
> at java.util.ResourceBundle.getBundle(ResourceBundle.java:661)
> at org.apache.maven.report.projectinfo.CimReport.getBundle(CimReport.jav
> a:260)
> at org.apache.maven.report.projectinfo.CimReport.getName(CimReport.java:
> 80)
> at org.apache.maven.plugins.site.ReportComparator.compare(ReportComparat
> or.java:40)
> at java.util.Arrays.mergeSort(Arrays.java:1278)
> at java.util.Arrays.mergeSort(Arrays.java:1289)
> at java.util.Arrays.sort(Arrays.java:1219)
> at java.util.Collections.sort(Collections.java:155)
> at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:239)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:399)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:519)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:469)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:448)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:301)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:268)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:137)
> 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(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> 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)
> [INFO]
> -
> ---
> [INFO] Total time: 9 seconds
> [INFO] Finished at: Thu Oct 20 12:45:00 CEST 2005
> [INFO] Final Memory: 6M/12M
> [INFO]
> -
> ---


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



Re: plugin configuration && execution seem to have different parameter values

2005-10-20 Thread jerome lacoste
On 10/20/05, jerome lacoste <[EMAIL PROTECTED]> wrote:
> When I mark the following plugin in phase package, it works OK.
> When I mark it in a phase before 'package' (e.g. compile), project
> parameter is null while the debug log shows that the configuration was
> done properly.
>
> If I add a @required, same thing.
>
> Here's the mojo:
>
>  * @phase package
>  * @requiresProject
>  */
> public class JnlpMojo
> extends AbstractWarMojo
> {
>

I've found a work-around. Althought the abstract base class defines a
project parameter, it isn't visible in my plugin. I thus create a new
parameter, project2 which is now visible.

The following code:

getLog().debug( "project " + this.getProject() ); // from base class
getLog().debug( "project2 " + this.project2 );

will display:

[DEBUG] project null
[DEBUG] project2 [EMAIL PROTECTED]

This loooks like an m2 bug.

I don't understand why, because the WarMojo does exactly the same thing.
Maybe because I have a different package name than the base class?
Why does it work with the package phase?

Cheers,

jerome

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



Re: m2: starting a java class

2005-10-20 Thread Roy van der Kuil
Hi all,

Thanks for you're fast reply, although I have tried to insert the 'plugin'
part into my pom.xml's build properties.
Whenever I start maven, it complains it cannot find the plugin.
Should I add something to my local plugin repository?

Thanks for your help,
-Roy

On 10/19/05, Jason van Zyl <[EMAIL PROTECTED]> wrote:
>
> On Wed, 2005-10-19 at 13:42 +0200, Roy van der Kuil wrote:
> > Hi All,
> >
> > We are currently moving (or at least trying too) from ant to maven.
> Mostly
> > because we'd really like to solve those nasty classpath issues on
> different
> > systems.
> > As for compiling the sources everyting looks very promising (no problems
> so
> > far), but since we are developing rich client applications (swing) I'd
> like
> > to be able to start my java class from my maven project. We used to have
> an
> > 'ant run' command and I'd like to know if there is anything similar for
> > maven (2.0). I have seen a scope 'runtime' for dependancies but I am not
> > quite sure it is used for what I have in mind.
>
> http://mojo.codehaus.org/maven-execute-plugin/
>
> > Thanks for your help,
> > -Roy
> --
> 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]
>
>


[m1.1] Email notification on build failure.

2005-10-20 Thread Hogeweg, Erwin \(GE Infrastructure\)
All,

What is the preferred way to send an email notification to all developers when 
the build failed? I have looked, but can't really find anything on that 
subject. Did I miss something?

Thanks,

Erwin

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



Re: sun jars

2005-10-20 Thread Dalibor Topic
On Wed, Oct 19, 2005 at 07:54:49PM -0400, Brill Pappin wrote:
> Yah, its a bit of a gray area though... I could write a plugin that used
> each of the libs in question in some way and distribute the plugin... the
> user would then have it in the environment.
> 

No, you can't. The license demands that your program adds significant
and primary functionality to the proprietary code. A plugin does not
cut it.

Even if you managed to find a way, the BCL demands that you don't
distribute additional software intended to replace any component of the
proprietary software. The whole point of projects like Geronimo is to
replace proprietary software components. They use Maven repos, too ;)

The non-free licenses on proprietary software distributed by $BIGCORPS
are not there by accident, they are there for a reason, each and every
clause in them. The business model of selling non-free Java technology
is based upon restricting access, use and redistribution of one's
implemntation of said technology in order to get other $BIGCORPS wishing
to employ that technology under better terms to pay up, or to pay for
the right to implement their own compatible version, which they can
license to themselves under better terms. 

The non-free licenses are made with other $BIGCORPS in mind wishing to
sell proprietary software and to bundle other $BIGCORPS
proprietary technology along with their proprietary software. So
naturally, the licenses will be a bad fit for open source projects. But
that's by design, and required for the business model of selling
proprietary Java software.

Sure, the $BIGCORPS could have different terms for other $BIGCORPS and
for open source projects, but why should a $BIGCORP pay cold hard cash
to get the same terms as a random open source project? :)

See, you may be able to find a technical way to work aroudn the license,
but the problem you are trying to solve is a social one, namely 'We make
money selling our intellectual property, and you want us to give that
money up !?'. Even if you found a way around it, the jars would be
pulled, the license would be changed, and that would be the end of that 
technical solution.


And it surely isn't for the lack of people talking to, say, Sun
Microsystems [1]. I've watched a lot of people in the last five years in
various projects boldly proclaim that they'll go talk to $BIGCRP to get
some non-free Java software redistributed under nicer conditions. They
have all failed, afaict by the licenses of most of Java technology not
having changed much in the last five years.

cheers,
dalibor topic

[1] Not wanting to single them out, other $BIGCORPS with proprietary
software windmills have also had their share of folks running against
them.

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



Re: [m2] Exception running site:site

2005-10-20 Thread Kees de Kooter
Sorry Brett,

I just installed maven 2 (congrats with the release!) but the error is
still happening:

[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
[INFO] Generate "Dependencies" report.
[INFO] 

[ERROR] FATAL ERROR
[INFO] 

[INFO] null
[INFO] 

[INFO] Trace
java.lang.ClassCastException
at 
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.mergeMetadata(DefaultRepositoryMetadataManager.java:142)
at 
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetadataManager.java:115)
at 
org.apache.maven.artifact.transform.AbstractVersionTransformation.resolveVersion(AbstractVersionTransformation.java:62)
at 
org.apache.maven.artifact.transform.SnapshotTransformation.transformForResolve(SnapshotTransformation.java:60)
at 
org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.transformForResolve(DefaultArtifactTransformationManager.java:40)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:104)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:380)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:346)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:332)
at 
org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:347)
at 
org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRenderer.renderBody(DependenciesReport.java:232)
at 
org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
at 
org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:147)
at 
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:117)
at 
org.apache.maven.doxia.DoxiaMojo.generateReportsPages(DoxiaMojo.java:807)
at org.apache.maven.doxia.DoxiaMojo.execute(DoxiaMojo.java:321)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:482)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:452)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
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:324)
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)


On 10/13/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> In the next couple of days. We have a release coming up.
>
> - Brett
>

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



Re: [m2] Plugin descriptor generator

2005-10-20 Thread Roy van der Kuil
Hi,

I ran into the same error. You need to update to the latest maven release
(or at least the RC version). There seems to be a method added in this
release which is used by the latest version from the plugin creator plugin.

Good luck,
Roy

On 10/19/05, Jan Bartel <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Using the 2.0-beta-3 release of Maven, I'm trying to create a Java
> plugin. I've tried just cutting and pasting the Hello World example
> from the website, but I get the same error, which is when I try to
> generate the plugin.xml as part of the "m2 install" command, I get:
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.maven.plugin.descriptor.PluginDescriptor.setName
> (Ljava/lang/String;)V
> at
> org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(
> AbstractGeneratorMojo.java:91)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:417)
> [..snip..]
>
> My project looks like:
> /helloworld
> pom.xml
> /src/main/java/sample/plugin
> GreetingMojo.java
>
> Again, pom.xml and GreetingMojo.java are straight from the website.
>
> If someone could point me in the right direction I'd be grateful.
>
> thanks
> Jan Bartel
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


[m2] pom repositories

2005-10-20 Thread stanislav lyahnovich
when I specify repositories element in parent pom.xml and build it's 
 all work fine, maven checks repositories specified in 
pom.xml. But when I fall down to child project that refers to parent 
pom.xml and run build on child pom maven doesn't check repositories 
specified in parent pom.

Is it right?

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



Re: m2 and J2EE archetype

2005-10-20 Thread Jesse McConnell
http://jira.codehaus.org/browse/MNG-743

there is a jar on that issue that ought to get you started ;)

lemme know if you have any questions about it

On 10/20/05, HATTAT Jérémie <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm starting with m2, where could i find examples of complete EAR apps?
> Is the an ear or J2ee archetype?
>
> Thx
>
> Jeremie
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
jesse mcconnell


SCM: cvs user

2005-10-20 Thread Bernd Mau
Hi,

how can I avoid to specify the cvs user in the pom? Now my connection
looks like this:

   
scm:cvs:pserver:@::
 
This works fine, with the .cvspass. But the user is always the same. Is
it possible to specify the user in the settings.xml, like it can be done
for the repository server?

Thanks.
Bernd


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



Re: m2: starting a java class

2005-10-20 Thread Jesse McConnell
that particular plugin isn't available on any mirrors as it is largely a
bastard child plugin that certain developers have given me a hard time for
even spawning...so no release on it...

you can checkout mojo and build it yourself if you want to use it in the
shortterm until the runtime plugin comes out...I ought to have something to
release on the runtime one next week providing I still get my vacation time
:P

mojo.codehaus.org  for the mojo package

jesse

On 10/20/05, Roy van der Kuil <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Thanks for you're fast reply, although I have tried to insert the 'plugin'
> part into my pom.xml's build properties.
> Whenever I start maven, it complains it cannot find the plugin.
> Should I add something to my local plugin repository?
>
> Thanks for your help,
> -Roy
>
> On 10/19/05, Jason van Zyl <[EMAIL PROTECTED]> wrote:
> >
> > On Wed, 2005-10-19 at 13:42 +0200, Roy van der Kuil wrote:
> > > Hi All,
> > >
> > > We are currently moving (or at least trying too) from ant to maven.
> > Mostly
> > > because we'd really like to solve those nasty classpath issues on
> > different
> > > systems.
> > > As for compiling the sources everyting looks very promising (no
> problems
> > so
> > > far), but since we are developing rich client applications (swing) I'd
> > like
> > > to be able to start my java class from my maven project. We used to
> have
> > an
> > > 'ant run' command and I'd like to know if there is anything similar
> for
> > > maven (2.0). I have seen a scope 'runtime' for dependancies but I am
> not
> > > quite sure it is used for what I have in mind.
> >
> > http://mojo.codehaus.org/maven-execute-plugin/
> >
> > > Thanks for your help,
> > > -Roy
> > --
> > 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]
> >
> >
>
>


--
jesse mcconnell


[m2] installation instructions incorrect (windows)

2005-10-20 Thread Wim Deblauwe
Hi,

I just followed the installation instructions on
http://maven.apache.org/maven2/download.html, but they are incorrect. If I
follow then I get an error that M2_HOME is not set properly. It printed:

M2_HOME = C:\Program Files\Apache Software Foundation\maven-
2.0\bin\mvn.bat\..

although I did not set M2_HOME.

I did the following to rectify this:

created env. var. M2_HOME = C:\Program Files\Apache Software
Foundation\maven-2.0

adjusted PATH = ... old path... ;"%M2_HOME%\bin"

regards,

Wim


[m2] typo in docs

2005-10-20 Thread Wim Deblauwe
on the url http://maven.apache.org/maven2/guides/getting-started/index.html,
under the title "How do I filter resource files?"

...file using the syntax ${}. The property...

should be

...file using the syntax ${}. The property...

regards,

Wim


[m2] maintaining your own repository

2005-10-20 Thread Wim Deblauwe
Hi,

currently we use Maven 1 and have our own repository on a windows share.
Whenever a new dependency is needed, I copy it manually from ibiblio to our
share. Our proxy requires autentication, and passwords change often, so it
is easy to get locked out because you forgot to change your password in your
build.properties.
It there a better way to do this (in maven 2 perhaps)?

I would like to be able to specify my proxy settings on my machine, and have
maven copy the needed dependency from ibiblio to my remote repository, so it
is available for the whole team. After that I remove the proxy settings
again to avoid the lockout, and maven uses our own repository happely.

regards,

Wim


Re: sun jars

2005-10-20 Thread Dalibor Topic
On Thu, Oct 20, 2005 at 01:25:31PM +0200, Fabrizio Giustina wrote:
> Some more thoughts...
> 
> The same problem with Sun licenses was recently addressed also by
> Eclipse. They implemented a click-through mechanism where the user
> must accept the sun license everytime a file is requested from a sun
> server (an eclipse window containing a page from the sun website and
> an eccept button is displayed). The same could be done for maven.

No, please.  Don't. That would screw up automated builds. For such a
scheme gone bad, see NetBeans 3 build system, where you have to click
through many licenses to get the IDE built. There was a super secret Sun
internal way of working around that to make automated builds work,
judging by the build scripts. Ugh.

> You will not believe it, but this is also required for standard dtds
> and xsds (like the web.xml schema)... according to Sun any xml editor
> which reads the xsd declaration in an xml file and tries to download
> it for validation without prompting for the license could be
> considered illegal?!?

That's a new one. Got an URL ?

> Maybe somebody would came up with an unofficial repository outside
> apache containing the sun jars and the above notice, of course
> explaining he will immediately remove them if Sun will complain about
> such use not contemplated in their not-so-clear license (emh, not a
> suggestion, but maybe...)

Well, two problems: redistribution without license is copyright
violation, and that, if done for commercial purposes, can carry a few
years of jail time and a hefty monetary penalty per violation in the
USA. Not much fun, really, if you have a family to feed, or just care
about your own future. If you don't care about your future, then
chances are there a more interesting ways to destroy your life, than
by violating other people's copyrights and paying up for it for the
rest of your life. ;)

Such lawsuits are standard procedure in the p2p field. Usually the
$BIGCORPS win, and the people who lose don't like the results they
end up with very much.

The other problem is that if you don't have a license to redistribute
the jars, people getting those jars from you don't have a license
to use them, just like buying a Windows XP Pro CD for 3 USD on a
flea market in Russia does not actually mean you actually have a license
from Microsoft to use that copy of Windows XP Pro. ;)

That can matter if say, a company C downloading the jars from you gets
into a lawsuit with the $BIGCORP that owns the proprietary jars, and
during the discovery process, it turns out that C is using $BIGCORPS's
proprietary technology without license. Such a thing never looks good
in court.

cheers,
dalibor topic

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



[m2] Plugin Documentation

2005-10-20 Thread Tomislav Stojcevich
What happened to the plugin documentation?
  Are they still available somewhere and am I just not finding them?
 There use to be a link that took you to a list of all available plugins and
you could get to the documentation for each of the plugins that showed all
of the parameters. It's kind of painful having to manually create the plugin
sites from the downloaded source and search through each of their site
directories.
 --tom


[m2] css is lost on page not found exception

2005-10-20 Thread Wim Deblauwe
Hi,

try to surf here:
http://maven.apache.org/maven2/guides/plugin/developers/mojo-api-specification.html

It shows a quite ugly page (probably because the css is not found)

regards,

Wim


RE: [m2] Plugin Documentation

2005-10-20 Thread fabrice . belingard




Hi Tomislav,

the plugins doco is still at the same place:
http://maven.apache.org/maven2/plugins/index.html

You can get there by clicking on "Documentation" on the left menu, then go
down the page and you'll find the link "Available Plug-ins".

It's true that some useful links could be directly added to the left menu.


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


   
 Tomislav  
 Stojcevich
 <[EMAIL PROTECTED] Pour
 il.com>   users@maven.apache.org  
cc
 20/10/2005 15:02  
 Objet
   [m2] Plugin Documentation   
 Veuillez  
répondre à 
 Maven Users List  
 <[EMAIL PROTECTED]  
 che.org>  
   
   




What happened to the plugin documentation?
  Are they still available somewhere and am I just not finding them?
 There use to be a link that took you to a list of all available plugins
and
you could get to the documentation for each of the plugins that showed all
of the parameters. It's kind of painful having to manually create the
plugin
sites from the downloaded source and search through each of their site
directories.
 --tom



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



RE: sun jars

2005-10-20 Thread Mike Perham
Is there some reason why people can't use the geronimo-spec jars?  I
discovered these a few months back and never looked back.  I doubt they
have a spec jar for everything under the sun but importing their j2ee
1.4 jar should solve 90% of people's problems...

mike

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



RE: [m2] css is lost on page not found exception

2005-10-20 Thread fabrice . belingard




Actually, this is the case for every page that does not exist on the Maven
site.

And the "Page Not Found" page does not look the same in every case (problem
of relative links I guess):
- http://maven.apache.org/maven2/foo.html : correct
- http://maven.apache.org/maven2/bar/foo.html : CSS is missing
- http://maven.apache.org/maven2/bar/bar2/foo.html : CSS and pictures are
missing


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


   
 Wim Deblauwe  
 <[EMAIL PROTECTED]  
 ail.com> Pour
   Maven Users List
 20/10/2005 15:05  
cc
   
 VeuillezObjet
répondre à [m2] css is lost on page not found
 Maven Users List  exception   
 <[EMAIL PROTECTED]  
 che.org>  
   
   
   
   




Hi,

try to surf here:
http://maven.apache.org/maven2/guides/plugin/developers/mojo-api-specification.html


It shows a quite ugly page (probably because the css is not found)

regards,

Wim



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



CVS Mayhem

2005-10-20 Thread Wilfred Springer
All,

Could anybody give me a clue why this isn't working? (I have been
working with CVS and Maven 2 before, and it never was a problem, until
today. Maven tells me that it's not a valid scm url. But why?)

  
scm:cvs:pserver:[EMAIL 
PROTECTED]:/home/cvs/repository:maven-netbeans-plugin
  

Thanks,

Wilfred

PS Note that there's no detail message, even though the parseScmUrl adds
more detail to the parsing problem, but this data seems to get lost
somewhere.

-- 
_
Wilfred SpringerPhone  : +31 (0)3 3451 5736
Software Architect  Mobile : +31 (0)6 2295 7321
Client SolutionsFax: +31 (0)3 3451 5734
Enterprise Web Services Mail   : [EMAIL PROTECTED]
Sun Microsystems NetherlandsAIM: wilfred springer
http://blogs.sun.com/wilfred/


NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact
the sender by reply email and destroy all copies of the original
message.


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



[m2] checksum failed errors for plexus and commons-logging

2005-10-20 Thread Wim Deblauwe
Hi,

I'm trying the quick start guide and I got this:

[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
plexus/plexus-components/1.0/plexus-components-1.0.pom - IGNORING
Downloading:
http://repo1.maven.org/maven2/plexus/plexus-root/1.0/plexus-root-1.0.pom
4K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'85b910e89465f21c68742e6ab83c92732030d432'; remote =
'01fa51f3159477e87cb42851cb45061c37939290' - RETRYING
Downloading:
http://repo1.maven.org/maven2/plexus/plexus-root/1.0/plexus-root-1.0.pom
4K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'85b910e89465f21c68742e6ab83c92732030d432'; remote =
'01fa51f3159477e87cb42851cb45061c37939290' - IGNORING
Downloading:
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.2/commons-logging-1.0.2.pom
745b downloaded

Something to be worried about?

regards,

Wim


[m2/mvn] CVS Mayhem

2005-10-20 Thread Wilfred Springer
Hmmm, I omitted the obligatory m2 (or should it be mvn from now on?) tag
in the subject:


All,

Could anybody give me a clue why this isn't working? (I have been
working with CVS and Maven 2 before, and it never was a problem, until
today. Maven tells me that it's not a valid scm url. But why?)

  
scm:cvs:pserver:[EMAIL 
PROTECTED]:/home/cvs/repository:maven-netbeans-plugin
  

Thanks,

Wilfred

PS Note that there's no detail message, even though the parseScmUrl adds
more detail to the parsing problem, but this data seems to get lost
somewhere.

-- 
_
Wilfred SpringerPhone  : +31 (0)3 3451 5736
Software Architect  Mobile : +31 (0)6 2295 7321
Client SolutionsFax: +31 (0)3 3451 5734
Enterprise Web Services Mail   : [EMAIL PROTECTED]
Sun Microsystems NetherlandsAIM: wilfred springer
http://blogs.sun.com/wilfred/


NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact
the sender by reply email and destroy all copies of the original
message.


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



Re: [m2] javadoc:javadoc for war projects

2005-10-20 Thread Stephen Duncan
Anybody have any more information on this?  Taking away a feature
without any explanation is a little frustrating...

-Stephen

On 10/19/05, John Mendonca <[EMAIL PROTECTED]> wrote:
> After this new version of maven 2, I can no longer create javadocs for
> my war packaged projects, as they are not 'classpath-capable' packages.
> This does make sense somewhat, I am not making libraries for people to
> use, so why should I need javadocs?  These docs are not for users of my
> code, but rather my team members who will sometime need to understand
> and maintain my code.  Perhaps there is a configuration option for the
> javadoc plugin I do not know of that can turn off this functionality?
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

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



Re: [m2] javadoc:javadoc for war projects

2005-10-20 Thread Stephen Duncan
Also, on jar projects, where javadoc does work, when included as a
site report, it creates the javadocs, but doesn't correctly create the
index.html page, so there is no javadocs on that page.

-Stephen

On 10/20/05, Stephen Duncan <[EMAIL PROTECTED]> wrote:
> Anybody have any more information on this?  Taking away a feature
> without any explanation is a little frustrating...
>
> -Stephen
>
> On 10/19/05, John Mendonca <[EMAIL PROTECTED]> wrote:
> > After this new version of maven 2, I can no longer create javadocs for
> > my war packaged projects, as they are not 'classpath-capable' packages.
> > This does make sense somewhat, I am not making libraries for people to
> > use, so why should I need javadocs?  These docs are not for users of my
> > code, but rather my team members who will sometime need to understand
> > and maintain my code.  Perhaps there is a configuration option for the
> > javadoc plugin I do not know of that can turn off this functionality?
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Stephen Duncan Jr
> www.stephenduncanjr.com
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

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



Re: sun jars

2005-10-20 Thread Fabrizio Giustina
On 10/20/05, Mike Perham <[EMAIL PROTECTED]> wrote:
> Is there some reason why people can't use the geronimo-spec jars?  I
> discovered these a few months back and never looked back.  I doubt they
> have a spec jar for everything under the sun but importing their j2ee
> 1.4 jar should solve 90% of people's problems...

they can work for compilation, but try to include the geronimo
javamail implementation in your application and you will see lots of
NotImplementError thrown...

fabrizio

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



Re: sun jars

2005-10-20 Thread Fabrizio Giustina
On 10/20/05, Dalibor Topic <[EMAIL PROTECTED]> wrote:
> On Thu, Oct 20, 2005 at 01:25:31PM +0200, Fabrizio Giustina wrote:
> > You will not believe it, but this is also required for standard dtds
> > and xsds (like the web.xml schema)... according to Sun any xml editor
> > which reads the xsd declaration in an xml file and tries to download
> > it for validation without prompting for the license could be
> > considered illegal?!?
>
> That's a new one. Got an URL ?

I was referring to Eclipse. Just try using eclipse+webtools to open a
web.xml file and you will see the licence agreement popup (with the
full license, I don't know the actual URL on Sun website).

fabrizio

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



[M2] SCP nightmare in Windows

2005-10-20 Thread Jose Gonzalez Gomez
Hi there,

Is anybody successfully using SCP with public key authentication
deployment under Windows with Maven 2.0? My current problems:

1. Using scp:
  1.1 You either have to put your private key passphrase in the
settings.xml file or have an unprotected private key.
  1.2 Maven cannot stablish the authenticity of the host. No matter
how many times I answer yes, Maven keeps on telling me that it cannot
stablish the authenticity of the host, showing me its RSA key and
asking me if I want to continue connecting. After 20 times I start
getting tired.

2. Using scpexe (well, trying to):
  2.1 I'm using Putty/Plink, but wagon-ssh-external uses by default
ssh/scp as the executables, and I don't know how to tell him to use
plink, although the code seems to be prepared to be configured and
even has some references to plink.

Please, if anybody know the magic incantations needed to make it work
(keeping plink), please, please, share it

Thanks in advance, best regards
Jose

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



Re: [m2] maintaining your own repository

2005-10-20 Thread Jose Gonzalez Gomez
2005/10/20, Wim Deblauwe <[EMAIL PROTECTED]>:
> Hi,
>
> currently we use Maven 1 and have our own repository on a windows share.
> Whenever a new dependency is needed, I copy it manually from ibiblio to our
> share. Our proxy requires autentication, and passwords change often, so it
> is easy to get locked out because you forgot to change your password in your
> build.properties.
> It there a better way to do this (in maven 2 perhaps)?
>
> I would like to be able to specify my proxy settings on my machine, and have
> maven copy the needed dependency from ibiblio to my remote repository, so it
> is available for the whole team. After that I remove the proxy settings
> again to avoid the lockout, and maven uses our own repository happely.
>
> regards,

Maybe what you need is a combination of
http://maven-proxy.codehaus.org/ and setting a proxy in your
settings.xml file...

HTH, best regards
Jose

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



RE: CVS Mayhem

2005-10-20 Thread Bernd Mau
Hi Wilfred,

this looks like my entry. Do you have the problem using the
release-plugin? I had this message and the fault was an invalid entry in
the file release.properties (meanwhile I changed the pom). After
deleting the file everything worked again.

Bernd


---
Bernd Mau

Hamburger Hafen und Logistik AG
- Zentralbereich Informationssysteme -
Bei St. Annen 1
D-20457 Hamburg

Fon: +49 40 - 30 88 - 33 89
Fax: +49 40 - 30 88 - 33 66
Mobil: +49 172 - 594 67 26
E-Mail: [EMAIL PROTECTED]
---

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



[m2] Fatal error trying "mvn site"

2005-10-20 Thread Wim Deblauwe
Hi,

I get the following error trying to build a site:

[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Can't find bundle for base name project-info-report, locale nl_NL
[INFO]

[INFO] Trace
java.util.MissingResourceException: Can't find bundle for base name
project-info-report, locale nl_NL
at java.util.ResourceBundle.throwMissingResourceException(
ResourceBundle.java:837)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:806)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:700)
at org.apache.maven.report.projectinfo.CimReport.getBundle(CimReport.java
:260)
at org.apache.maven.report.projectinfo.CimReport.getName(CimReport.java:80)
at org.apache.maven.plugins.site.ReportComparator.compare(
ReportComparator.java:40)
at java.util.Arrays.mergeSort(Arrays.java:1284)
at java.util.Arrays.mergeSort(Arrays.java:1295)
at java.util.Arrays.sort(Arrays.java:1223)
at java.util.Collections.sort(Collections.java:159)
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:239)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:399)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:519)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:469)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:448)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:301)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:268)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:137)
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)
[INFO]

[INFO] Total time: 2 minutes 21 seconds
[INFO] Finished at: Thu Oct 20 16:17:51 CEST 2005
[INFO] Final Memory: 5M/10M
[INFO]


regards,

Wim


Re: [m2/mvn] CVS Mayhem

2005-10-20 Thread Emmanuel Venisse

what is your command?

Do you have more infos with -e cli parameter?

Emmanuel

Wilfred Springer a écrit :

Hmmm, I omitted the obligatory m2 (or should it be mvn from now on?) tag
in the subject:


All,

Could anybody give me a clue why this isn't working? (I have been
working with CVS and Maven 2 before, and it never was a problem, until
today. Maven tells me that it's not a valid scm url. But why?)

  
scm:cvs:pserver:[EMAIL 
PROTECTED]:/home/cvs/repository:maven-netbeans-plugin
  

Thanks,

Wilfred

PS Note that there's no detail message, even though the parseScmUrl adds
more detail to the parsing problem, but this data seems to get lost
somewhere.




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



Re: [m2] Exception running site:site

2005-10-20 Thread David H. DeWolf
I experienced this issue when I attempted to nest  items. To fix,
change:







to









or something similar.

David

On 10/20/05, Kees de Kooter <[EMAIL PROTECTED]> wrote:
>
> Sorry Brett,
>
> I just installed maven 2 (congrats with the release!) but the error is
> still happening:
>
> [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got
> 0
> [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> [INFO] Generate "Dependencies" report.
> [INFO]
> 
> [ERROR] FATAL ERROR
> [INFO]
> 
> [INFO] null
> [INFO]
> 
> [INFO] Trace
> java.lang.ClassCastException
> at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.mergeMetadata
> (DefaultRepositoryMetadataManager.java:142)
> at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve
> (DefaultRepositoryMetadataManager.java:115)
> at
> org.apache.maven.artifact.transform.AbstractVersionTransformation.resolveVersion
> (AbstractVersionTransformation.java:62)
> at
> org.apache.maven.artifact.transform.SnapshotTransformation.transformForResolve
> (SnapshotTransformation.java:60)
> at
> org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.transformForResolve
> (DefaultArtifactTransformationManager.java:40)
> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
> DefaultArtifactResolver.java:104)
> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
> DefaultArtifactResolver.java:63)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> (DefaultMavenProjectBuilder.java:380)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository
> (DefaultMavenProjectBuilder.java:346)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository
> (DefaultMavenProjectBuilder.java:332)
> at
> org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRenderer.getMavenProjectFromRepository
> (DependenciesReport.java:347)
> at
> org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRenderer.renderBody
> (DependenciesReport.java:232)
> at org.apache.maven.reporting.AbstractMavenReportRenderer.render(
> AbstractMavenReportRenderer.java:65)
> at org.apache.maven.report.projectinfo.DependenciesReport.executeReport(
> DependenciesReport.java:147)
> at org.apache.maven.reporting.AbstractMavenReport.generate(
> AbstractMavenReport.java:117)
> at org.apache.maven.doxia.DoxiaMojo.generateReportsPages(DoxiaMojo.java
> :807)
> at org.apache.maven.doxia.DoxiaMojo.execute(DoxiaMojo.java:321)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:399)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:519)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
> DefaultLifecycleExecutor.java:482)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:452)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:301)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> (DefaultLifecycleExecutor.java:268)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:137)
> 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:324)
> 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)
>
>
> On 10/13/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> > In the next couple of days. We have a release coming up.
> >
> > - Brett
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: archetype xsd ?

2005-10-20 Thread Jason van Zyl
On Tue, 2005-10-18 at 10:01 +0200, Jorg Heymans wrote:
> Jason van Zyl wrote:
> > 
> > Not right now, but I'm going to start using modello at which point I can
> > generate an XSD.
> > 

All right, I've flipped Archetype over to using modello so I can now
generate the XSD.

> ok cool.
> 
> Is is possible to define pom-style resources in archetype.xml eg
> 
> 
>   src/main/webapp/stylesheets
>   
> **/*.xslt
>   
> 

Maybe we can chat in IRC and go over scenarios for Cocoon as I would
like to enhance Archetype deal with 

> I'm getting
> Caused by: java.lang.NullPointerException
> at java.io.File.(File.java:220)
> at org.apache.maven.archetype.DefaultArchetype.processTemplate(DefaultAr
> chetype.java:437)
> at org.apache.maven.archetype.DefaultArchetype.processResources(DefaultA
> rchetype.java:411)
> 

Velocity is trying to process a binary file which won't work very well
so Archetype needs to allow for non-filtered resources. That's easy
enough to fix.

> Also, in archetype speak, what is the difference between the ,
> ,  and  section ?

They all match up with the standard directory layout:

sources = src/main/java
resources = src/main/resources
test-sources = src/test/java
test-resources = src/test/resources
site-resources = src/site

I'm also working on a generator to make creating Archetypes really
simple but there are a couple tricky bits there to figure out.

I'd also like to specify the the parameters that can be used for
interpolation as I want to integrate the Archetype mechanism into IDE so
having some metadata about the parameters would help validate any input
by the user.

> I have a few other questions but i'll post these in separate threads.
> 
> 
> Thanks
> Jorg
> 
> 
> -
> 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: archetypes: prevent resources from being parsed

2005-10-20 Thread Jason van Zyl
On Tue, 2005-10-18 at 10:14 +0200, Jorg Heymans wrote:
> Hi,
> 
> How can I tell m2 that it shouldn't look for variable tags in certain
> archetype resources ?

We'll need to change the archetype model to allow for this. Currently
velocity tries to filter everything in the archetype.

-- 
jvz.

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

A party which is not afraid of letting culture,
business, and welfare go to ruin completely can
be omnipotent for a while.

  -- Jakob Burckhardt


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



Re: [m2] Exception running site:site

2005-10-20 Thread Kees de Kooter
I have not attempted anything to change yet, just run site:site.
Which file are you referring to?

Kees

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



Re: [m2] Exception running site:site

2005-10-20 Thread David H. DeWolf
your descriptor (site.xml) -- probably located at
/src/site/site.xml

David

On 10/20/05, Kees de Kooter <[EMAIL PROTECTED]> wrote:
>
> I have not attempted anything to change yet, just run site:site.
> Which file are you referring to?
>
> Kees
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [M2] SCP nightmare in Windows

2005-10-20 Thread Stephen Duncan
On the RSA key:  Make sure that you have a folder C:\Documents And
Settings\yourusername\.ssh

Potentially make sure you have a known_hosts file in that directory if
it still doesn't work.  The issue is that it's not creating that file,
most likely, so it asks for every attempt to use scp.  At least, that
was my issue with the release candidate, though I thought it was going
to be fixed for 2.0 final...

-Stephen

On 10/20/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> Is anybody successfully using SCP with public key authentication
> deployment under Windows with Maven 2.0? My current problems:
>
> 1. Using scp:
>   1.1 You either have to put your private key passphrase in the
> settings.xml file or have an unprotected private key.
>   1.2 Maven cannot stablish the authenticity of the host. No matter
> how many times I answer yes, Maven keeps on telling me that it cannot
> stablish the authenticity of the host, showing me its RSA key and
> asking me if I want to continue connecting. After 20 times I start
> getting tired.
>
> 2. Using scpexe (well, trying to):
>   2.1 I'm using Putty/Plink, but wagon-ssh-external uses by default
> ssh/scp as the executables, and I don't know how to tell him to use
> plink, although the code seems to be prepared to be configured and
> even has some references to plink.
>
> Please, if anybody know the magic incantations needed to make it work
> (keeping plink), please, please, share it
>
> Thanks in advance, best regards
> Jose
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

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



Re: archetypes: prevent resources from being parsed

2005-10-20 Thread Jorg Heymans

Jason van Zyl wrote:
> 
> We'll need to change the archetype model to allow for this. Currently
> velocity tries to filter everything in the archetype.

How about a per resource flag like eg interpolate-vars="true|false" ,
possibly also configurable on the   etc level ?

That should cover most needs, no idea though how easy it is to implement.


Jorg






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



Re: [m2] Fatal error trying "mvn site"

2005-10-20 Thread Bernd Mau
Hi,

I have got the same problem with the german locale
(java.util.MissingResourceException: Can't find bundle for base name
project-info-report, locale de_DE)

I did not have the problem with m2-beta-1. I tried some configuration
for the plugins:




org.apache.maven.plugins

maven-project-info-reports-plugin


  en





It' s still not working.

Bernd


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



Re: archetype xsd ?

2005-10-20 Thread Jorg Heymans

Jason van Zyl wrote:

> All right, I've flipped Archetype over to using modello so I can now
> generate the XSD.

cool! thanks.

> Maybe we can chat in IRC and go over scenarios for Cocoon as I would
> like to enhance Archetype deal with 

sure. where ?

> I'm also working on a generator to make creating Archetypes really
> simple but there are a couple tricky bits there to figure out.

Yup an archetype.xml generator would be nice to have for bigger
archetypes. Alternatively you could allow resource filtering as said
above, making it easier to add a bunch of files in one go.
What are the tricky bits in your opinion ?

> I'd also like to specify the the parameters that can be used for
> interpolation as I want to integrate the Archetype mechanism into IDE so
> having some metadata about the parameters would help validate any input
> by the user.

Is it possible ATM to allow arbitrary parameters being interpolated ?
Ideally we would like to be able to customize as much as we can for the
archetype, so not only pom metadata. Or is this more suited for a plugin
instead ?

Regards
Jorg


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



Re: [m2] Plugin descriptor generator

2005-10-20 Thread Jason van Zyl
On Wed, 2005-10-19 at 16:31 +0200, Jan Bartel wrote:
> Hi,
> 
> Using the 2.0-beta-3 release of Maven, I'm trying to create a Java
> plugin. I've tried just cutting and pasting the Hello World example
> from the website, but I get the same error, which is when I try to
> generate the plugin.xml as part of the "m2 install" command, I get:
> 
> Exception in thread "main" java.lang.NoSuchMethodError: 
> org.apache.maven.plugin.descriptor.PluginDescriptor.setName(Ljava/lang/String;)V
>  at 
> org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:91)
>  at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417)
> [..snip..]
> 
> My project looks like:
>/helloworld
>   pom.xml
>   /src/main/java/sample/plugin
>   GreetingMojo.java
> 
> Again, pom.xml and GreetingMojo.java are straight from the website.
> 
> If someone could point me in the right direction I'd be grateful.

Do you think you could try the 2.0 release now first before we try to do
any further debugging?

> thanks
> Jan Bartel
> 
> 
> -
> 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] ibiblio upload and pom formatting

2005-10-20 Thread Jason van Zyl
On Thu, 2005-10-20 at 05:41 +0200, jerome lacoste wrote:
> Hi,
> 
> I would like to upload an artifact to ibiblio and I need some guidance
> in the following aspects:
> 
> 0- pom groupid
> 1- pom dependencies
> 2- pom version
> 3- submission to ibiblio
> 
> The code is taken from Mustang. It's a special part of Mustang
> released under the BSD license. See [1] for details.
> 
> jdk6.0-b56/deploy/src/javaws/share/sample/webpad/src/servlet/TxtServlet.java
> 
> 0. I picked com.sun.java.jnlp for groupId. Does that sound correct?

Not sure, the groupId is probably fine but what's the package? You can't
load anything in the "java" package that is external.

> 1. To build this package, one needs to both the javaws.jar and the
> servlet.jar. Both these dependencies should be provided on the
> deployment platform (web). As the first dependency is not in ibiblio
> neither, is it OK if I specify a non existant dependency given that it
> will be marked as "provided".
> 
> 2. I am trying to reflect the fact that although the version of this
> package in ibiblio should have a 1.0 value, it is tied to a particular
> jdk version. In my case: sdk6.0-b56.
>   Is it OK to chose a version like "1.0-6.0-b56". Would 1.0-sdk6.0-b56
> be better?
>   If not what is the advised convention to use to map the vendor

Is this stuff just an independent library you want to use outside
Mustang?

> 3- upload on ibiblio. http://maven.apache.org/repository-upload.html
> doesn't exist anymore. What are the instryctions?

http://maven.apache.org/maven2/guides/mini/guide-ibiblio-upload.html

I just wrote plugin to create the bundle and I'll release it now.

It's in SVN though:

http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-
plugins/maven-repository-plugin/

>I guess the people who are to upload this jar will have to compile
> the jar by themselves, right?

You just need to make an intact bundle and we can take care of the rest.

> 
> My current pom (for early review):
> 
> 
>   4.0.0
>   com.sun.java.jnlp
>   jnlp-servlet
>   JNLP Servlet
>   1.0-6.0-b56
>   JNLP Sample servlet that supports pack200 
> protocol.
>   
> deployed
>   
> 
>   
> 
>   java
>   javaws
>   [1.5,) 
>   provided
> 
> 
>   servletapi
>   servletapi
>   [2.3,) 
>   provided
> 
>   
> 
> 
> 
> 
> 
> [1] http://docs.codehaus.org/display/MOJO/Webstart+Plugin
> 
> -
> 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

People develop abstractions by generalizing from concrete examples.
Every attempt to determine the correct abstraction on paper without
actually developing a running system is doomed to failure. No one
is that smart. A framework is a resuable design, so you develop it by
looking at the things it is supposed to be a design of. The more examples
you look at, the more general your framework will be.

  -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks 


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



Re: any open source projects on M2 for an example ( Cargo ? )

2005-10-20 Thread Jason van Zyl
On Thu, 2005-10-20 at 00:11 -0400, David H. DeWolf wrote:
> pluto 1.1 branch has made the switch and includes some custom plugins as
> well. Check out:
> 
> http://svn.apache.org/repos/asf/portals/pluto/branches/pluto-1.1/

Is this going to be in the main line soon? BTW, I added your article to
the list: http://maven.apache.org/maven2/articles.html
-- 
jvz.

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

Simplex sigillum veri. (Simplicity is the seal of truth.)


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



Re: How to add jtidy as a depency?

2005-10-20 Thread Jason van Zyl
On Wed, 2005-10-19 at 22:42 -0600, Siegfried Heintze wrote:
> Thanks for that last response on license.txt.
> 
> I'm looking at http://www.ibiblio.org/maven/jtidy/jars/. How would I add
> this as a dependency?
> 
> This does not work:
> 
> 
>   jtidy
>   jtidy
>   4aug2000r7-dev
> 

I had that problem yesterday when I used a clean repo. I thought it was
a timeout but that -dev might be causing problems. I'll take a peek.

> Thanks,
> Siegfried
> 
> 
> -
> 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

We all have problems. How we deal with them is a measure of our worth.

 -- Unknown


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



Re: [M2.0] Getting started with M2.0 and Eclipse

2005-10-20 Thread Jason van Zyl
On Thu, 2005-10-20 at 09:32 +0200, Piotr Bzdyl wrote:
> Hello,
> > There exists an m2 plug-in for Eclipse and I will probably release it
> > next week sometime. It supersedes anything in Mevenide as far as m2
> > goes. It will be a preview but it needs a little work before it's
> > released.
> >   
> Is it possible to checkout sources of this Eclipse plugin and take a 
> look at it before release?

Yes, anyone who is interested can send me their contact info and I can
give you a binary of the plugin.

> Best regards,
> Piotr
> 
> -
> 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

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.0] Getting started with M2.0 and Eclipse

2005-10-20 Thread Jason van Zyl
On Thu, 2005-10-20 at 11:23 +0200, Arik Kfir wrote:
> No, for that you will Mevenide - however, I believe Mevenide does not
> support m2 yet.

Mevenide doesn't but something else has been written.

> On 10/20/05, Piotr Bzdyl <[EMAIL PROTECTED]> wrote:
> > Hello,
> > > The source is within
> > > http://svn.apache.org/repos/asf/maven/components/trunk
> > >
> > > look under maven-plugins/maven-eclipse-plugin.
> > Just a little misunderstanding. I was talking about plugin for Eclipse
> > to execute maven 2 goals from Eclipse IDE and not about maven 2 plugin
> > to create .classpath and .project files.
> >
> > Best regards,
> > Piotr
> >
> > -
> > 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

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.

  -- Jacques Ellul, The Technological Society


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



Re: [M2] SCP nightmare in Windows

2005-10-20 Thread Jose Gonzalez Gomez
Just creating the directory made it work, thanks a lot
Jose

2005/10/20, Stephen Duncan <[EMAIL PROTECTED]>:
> On the RSA key:  Make sure that you have a folder C:\Documents And
> Settings\yourusername\.ssh
>
> Potentially make sure you have a known_hosts file in that directory if
> it still doesn't work.  The issue is that it's not creating that file,
> most likely, so it asks for every attempt to use scp.  At least, that
> was my issue with the release candidate, though I thought it was going
> to be fixed for 2.0 final...
>
> -Stephen
>
> On 10/20/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote:
> > Hi there,
> >
> > Is anybody successfully using SCP with public key authentication
> > deployment under Windows with Maven 2.0? My current problems:
> >
> > 1. Using scp:
> >   1.1 You either have to put your private key passphrase in the
> > settings.xml file or have an unprotected private key.
> >   1.2 Maven cannot stablish the authenticity of the host. No matter
> > how many times I answer yes, Maven keeps on telling me that it cannot
> > stablish the authenticity of the host, showing me its RSA key and
> > asking me if I want to continue connecting. After 20 times I start
> > getting tired.
> >
> > 2. Using scpexe (well, trying to):
> >   2.1 I'm using Putty/Plink, but wagon-ssh-external uses by default
> > ssh/scp as the executables, and I don't know how to tell him to use
> > plink, although the code seems to be prepared to be configured and
> > even has some references to plink.
> >
> > Please, if anybody know the magic incantations needed to make it work
> > (keeping plink), please, please, share it
> >
> > Thanks in advance, best regards
> > Jose
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Stephen Duncan Jr
> www.stephenduncanjr.com
>
> -
> 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] Maven project descriptor documentation is wrong

2005-10-20 Thread Craig S . Cottingham

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to , 
the testResources element contains resource elements. According to the 
XSD, they're testResource elements.


Should I file a bug in JIRA? If so, under what?

- --
Craig S. Cottingham
[EMAIL PROTECTED]
OpenPGP key available from:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7977F79C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFDV7khEJLQ3Hl395wRAgwmAJ45yEXJWLxdydwPrOW0uUV/fFoUJwCaA7Yc
Wjm7+wMQycZMr8ecWbkCEIM=
=i/yx
-END PGP SIGNATURE-


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



Re: [M2] SCP nightmare in Windows

2005-10-20 Thread Stephen Duncan
Since it didn't get fixed for 2.0, I created a bug for that problem:
http://jira.codehaus.org/browse/MNG-1255

-Stephen

On 10/20/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote:
> Just creating the directory made it work, thanks a lot
> Jose
>
> 2005/10/20, Stephen Duncan <[EMAIL PROTECTED]>:
> > On the RSA key:  Make sure that you have a folder C:\Documents And
> > Settings\yourusername\.ssh
> >
> > Potentially make sure you have a known_hosts file in that directory if
> > it still doesn't work.  The issue is that it's not creating that file,
> > most likely, so it asks for every attempt to use scp.  At least, that
> > was my issue with the release candidate, though I thought it was going
> > to be fixed for 2.0 final...
> >
> > -Stephen
> >
> > On 10/20/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote:
> > > Hi there,
> > >
> > > Is anybody successfully using SCP with public key authentication
> > > deployment under Windows with Maven 2.0? My current problems:
> > >
> > > 1. Using scp:
> > >   1.1 You either have to put your private key passphrase in the
> > > settings.xml file or have an unprotected private key.
> > >   1.2 Maven cannot stablish the authenticity of the host. No matter
> > > how many times I answer yes, Maven keeps on telling me that it cannot
> > > stablish the authenticity of the host, showing me its RSA key and
> > > asking me if I want to continue connecting. After 20 times I start
> > > getting tired.
> > >
> > > 2. Using scpexe (well, trying to):
> > >   2.1 I'm using Putty/Plink, but wagon-ssh-external uses by default
> > > ssh/scp as the executables, and I don't know how to tell him to use
> > > plink, although the code seems to be prepared to be configured and
> > > even has some references to plink.
> > >
> > > Please, if anybody know the magic incantations needed to make it work
> > > (keeping plink), please, please, share it
> > >
> > > Thanks in advance, best regards
> > > Jose
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Stephen Duncan Jr
> > www.stephenduncanjr.com
> >
> > -
> > 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]
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

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



Re: [m2] Maven project descriptor documentation is wrong

2005-10-20 Thread Vincent Siveton
Hi

That sounds like the MNG-523 issue
http://jira.codehaus.org/browse/MNG-523

Cheers,

Vincent

2005/10/20, Craig S. Cottingham <[EMAIL PROTECTED]>:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> According to ,
> the testResources element contains resource elements. According to the
> XSD, they're testResource elements.
>
> Should I file a bug in JIRA? If so, under what?
>
> - --
> Craig S. Cottingham
> [EMAIL PROTECTED]
> OpenPGP key available from:
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7977F79C
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.4 (Darwin)
>
> iD8DBQFDV7khEJLQ3Hl395wRAgwmAJ45yEXJWLxdydwPrOW0uUV/fFoUJwCaA7Yc
> Wjm7+wMQycZMr8ecWbkCEIM=
> =i/yx
> -END PGP SIGNATURE-
>
>
> -
> 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: any open source projects on M2 for an example ( Cargo ? )

2005-10-20 Thread David H. DeWolf
Yes, moving Pluto 1.1 to trunk is actually up for discussion right now on
the pluto dev list.

Thanks for the plug!

David

On 10/20/05, Jason van Zyl <[EMAIL PROTECTED]> wrote:
>
> On Thu, 2005-10-20 at 00:11 -0400, David H. DeWolf wrote:
> > pluto 1.1 branch has made the switch and includes some custom plugins as
> > well. Check out:
> >
> > http://svn.apache.org/repos/asf/portals/pluto/branches/pluto-1.1/
>
> Is this going to be in the main line soon? BTW, I added your article to
> the list: http://maven.apache.org/maven2/articles.html
> --
> jvz.
>
> Jason van Zyl
> jason at maven.org 
> http://maven.apache.org
>
> Simplex sigillum veri. (Simplicity is the seal of truth.)
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [m2] Plugin descriptor generator

2005-10-20 Thread Jan Bartel

Jason,

Overnight I checked out svn head of Maven and built it and the
plugin generator is now working fine.

Thanks
Jan


Jason van Zyl wrote:

On Wed, 2005-10-19 at 16:31 +0200, Jan Bartel wrote:


Hi,

Using the 2.0-beta-3 release of Maven, I'm trying to create a Java
plugin. I've tried just cutting and pasting the Hello World example
from the website, but I get the same error, which is when I try to
generate the plugin.xml as part of the "m2 install" command, I get:

Exception in thread "main" java.lang.NoSuchMethodError: 
org.apache.maven.plugin.descriptor.PluginDescriptor.setName(Ljava/lang/String;)V
at 
org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:91)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417)

[..snip..]

My project looks like:
  /helloworld
 pom.xml
 /src/main/java/sample/plugin
 GreetingMojo.java

Again, pom.xml and GreetingMojo.java are straight from the website.

If someone could point me in the right direction I'd be grateful.



Do you think you could try the 2.0 release now first before we try to do
any further debugging?



thanks
Jan Bartel


-
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] deployment of Jetty 6

2005-10-20 Thread Greg Wilkins

Hi all (and congrads on the 2.0 release),

we're moving Jetty 6 over to use m2 and I have lots of questions about 
deployment.
As well as questions, I would not mind a sanity check on what we have done.

Firstly naming!   The groupId I'm using is org.mortbay.jetty
In m1 it appears that the group id is just jetty and this has been "moved" to 
the
current m2 repository. Should I stick with jetty as the groupId or continue 
to
use org.mortbay.jetty as per new conventions?


The modules/artifacts that I have are:

   project   - pom - the top level project pom (should this be called 
"jetty" ??)
   javax.servlet - jar - probably could get from elsewhere, but nice to build 
with Jetty... just in case.
   jetty.util- jar - utility classes for Jetty (can be used without the 
Jetty server)
   jetty - jar - the server itself
   start - jar - the jar to start jetty from the command line
   test  - war - a test web application.

Are all these reasonable names?


How are m1 and m2 repositories to be merged?
Will it be sufficient to start publishing only Jetty 6 in a m2 repository or 
will I have
to rename and merge in Jetty 4 and 5 jars to the m2 repository?

Will jars I publish with m2 be available to m1 users?

Who do I talk to about getting the maven2 repository on jetty.mortbay.org 
replicated
to ibiblio?  It is now a sibling directory in the rsync account on that machine.

cheers all



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



RE: [M2.0] Getting started with M2.0 and Eclipse

2005-10-20 Thread Siegfried Heintze
Jason,
Would you mind elaborating on that a bit? Maybe a URL, perhaps?
Sieg

-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 20, 2005 9:28 AM
To: Maven Users List
Subject: Re: [M2.0] Getting started with M2.0 and Eclipse

On Thu, 2005-10-20 at 11:23 +0200, Arik Kfir wrote:
> No, for that you will Mevenide - however, I believe Mevenide does not
> support m2 yet.

Mevenide doesn't but something else has been written.

> On 10/20/05, Piotr Bzdyl <[EMAIL PROTECTED]> wrote:
> > Hello,
> > > The source is within
> > > http://svn.apache.org/repos/asf/maven/components/trunk
> > >
> > > look under maven-plugins/maven-eclipse-plugin.
> > Just a little misunderstanding. I was talking about plugin for Eclipse
> > to execute maven 2 goals from Eclipse IDE and not about maven 2 plugin
> > to create .classpath and .project files.
> >
> > Best regards,
> > Piotr
> >
> > -
> > 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

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.

  -- Jacques Ellul, The Technological Society


-
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]



Multiproject Release: No check in

2005-10-20 Thread Bernd Mau
Hi,

I tried to release a multiproject with 5 modules (on a Branch). Well,
the POMs of all modules are changed and there are some dependencies
which have been updated correctly. But only the master has been checked
in correctly.

I'm changed the recommended layout, to fit in an eclipse workspace. I
have one master at the same level as the other modules.

The module section of the master pom.xml:

  
../hhla.library.pom
../hhla.library.site
../hhla.lang
../hhla.common.log4jx
  

Any ideas out there?

Thank you.
Bernd



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



Re: [M2] Docbook support

2005-10-20 Thread Jason van Zyl
On Thu, 2005-10-20 at 11:28 +0200, Jose Gonzalez Gomez wrote:
> Hi there,
> 
> In the announcement docbook support is mentioned, but I haven't been
> able to find anything about it in the docs. I've also found some
> thread talking about docbook support in Doxia, but its web says
> nothing about it. Finally the plugin matrix mentions a docbook plugin
> that seems to be M2 ready... what's the situation?

Docbook is supported by Doxia but we haven't tested it very thoroughly.
Emm, is docbook working?

The support is in Doxia for sure which is the hard part. If we have to
expose it that would only take 30 minutes.

> By the way, congrats for the 2.0 release!!!
> 
> Thanks in advance, best regards
> Jose
> 
> -
> 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

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: sun jars

2005-10-20 Thread Jason van Zyl
On Thu, 2005-10-20 at 04:10 -0700, Dalibor Topic wrote:

> On a side note, any idea whether JSR 277 will be developped in an open
> fashion, with an open source RI, like the concurrency JSR was?

That's up to the spec lead (Stanley Ho), but we are still designing so
no code has been written yet. I'll definitely try to convince Stanley to
open it up though.

> cheers,
> dalibor topic
> 
> -
> 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

People develop abstractions by generalizing from concrete examples.
Every attempt to determine the correct abstraction on paper without
actually developing a running system is doomed to failure. No one
is that smart. A framework is a resuable design, so you develop it by
looking at the things it is supposed to be a design of. The more examples
you look at, the more general your framework will be.

  -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks 


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



Re: [M2] Docbook support

2005-10-20 Thread Emmanuel Venisse



Jason van Zyl a écrit :

On Thu, 2005-10-20 at 11:28 +0200, Jose Gonzalez Gomez wrote:


Hi there,

In the announcement docbook support is mentioned, but I haven't been
able to find anything about it in the docs. I've also found some
thread talking about docbook support in Doxia, but its web says
nothing about it. Finally the plugin matrix mentions a docbook plugin
that seems to be M2 ready... what's the situation?



Docbook is supported by Doxia but we haven't tested it very thoroughly.
Emm, is docbook working?


I don't know. I never used docbook documents



The support is in Doxia for sure which is the hard part. If we have to
expose it that would only take 30 minutes.



By the way, congrats for the 2.0 release!!!

Thanks in advance, best regards
Jose

-
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]



mvn doesn't work with java-1.4.2-ibm-1.4.2.1 (IBM JDK)

2005-10-20 Thread Sridhar Radhakrishnan
Not sure whether this has been already addressed. Anyway, posting for 
your information. I was using the ibm jdk version 
(java-1.4.2-ibm-1.4.2.1) and trying to build the test project. It 
couldn't compile and fails with the error "Failed to build model from 
file 
'~/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom". 
I was clueless about this error. Then, changing the jdk version to sun's 
jdk 1.5 version did the trick for me. It's building sweet now. BTW, Is 
this already a known issue? The "System Requirements" in the maven home 
page doesn't exactly talk about the type of jdk (Sun, IBM etc).


-Sridhar.


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



RE: [m2] Plugin Documentation

2005-10-20 Thread Jason van Zyl
On Thu, 2005-10-20 at 15:17 +0200, [EMAIL PROTECTED] wrote:
> 
> 
> 
> Hi Tomislav,
> 
> the plugins doco is still at the same place:
> http://maven.apache.org/maven2/plugins/index.html
> 
> You can get there by clicking on "Documentation" on the left menu, then go
> down the page and you'll find the link "Available Plug-ins".
> 
> It's true that some useful links could be directly added to the left menu.

I added a "Quick Link" to the available plugins and I'll republish the
site.

> 
> Best Regards / Cordialement,
> Fabrice BELLINGARD
> DINQ/DSIN/INSI/EATE/IDVS/AIDV
> (+33) (01 61) 45 15 91  -  [EMAIL PROTECTED]
> 
> 
>
>  Tomislav  
>  Stojcevich
>  <[EMAIL PROTECTED] Pour 
>  il.com>   users@maven.apache.org  
> cc 
>  20/10/2005 15:02  
>  Objet 
>[m2] Plugin Documentation   
>  Veuillez  
> répondre à 
>  Maven Users List  
>  <[EMAIL PROTECTED]  
>  che.org>  
>
>
> 
> 
> 
> 
> What happened to the plugin documentation?
>   Are they still available somewhere and am I just not finding them?
>  There use to be a link that took you to a list of all available plugins
> and
> you could get to the documentation for each of the plugins that showed all
> of the parameters. It's kind of painful having to manually create the
> plugin
> sites from the downloaded source and search through each of their site
> directories.
>  --tom
> 
> 
> 
> -
> 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

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.

  -- Jacques Ellul, The Technological Society


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



Re: [M2] Docbook support

2005-10-20 Thread Jose Gonzalez Gomez
2005/10/20, Emmanuel Venisse <[EMAIL PROTECTED]>:
>
>
> Jason van Zyl a écrit :
> > On Thu, 2005-10-20 at 11:28 +0200, Jose Gonzalez Gomez wrote:
> >
> >>Hi there,
> >>
> >>In the announcement docbook support is mentioned, but I haven't been
> >>able to find anything about it in the docs. I've also found some
> >>thread talking about docbook support in Doxia, but its web says
> >>nothing about it. Finally the plugin matrix mentions a docbook plugin
> >>that seems to be M2 ready... what's the situation?
> >
> >
> > Docbook is supported by Doxia but we haven't tested it very thoroughly.
> > Emm, is docbook working?
>
> I don't know. I never used docbook documents
>
> >
> > The support is in Doxia for sure which is the hard part. If we have to
> > expose it that would only take 30 minutes.
> >

I'm very interested in it, so If somebody has those 30 minutes to
expose it I would be willing to test it and share the result.

I would also like the know if there is interest enough in adding this
support, as I had written a simple plugin for M1, and I've been
thinking in porting it to M2, but I wouldn't like to spend time on
reinventing the wheel if there is somebody already working on this.

> >
> >>By the way, congrats for the 2.0 release!!!
> >>
> >>Thanks in advance, best regards
> >>Jose
> >>
> >>-
> >>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]



  1   2   >