javadoc problem

2005-10-25 Thread Marcus Eberts

Hi,

when executing
   /mvn javadoc:javadoc /
I get a
   /"Not executing Javadoc as the project is not a Java 
classpath-capable package" /
message and no javadoc html files are created. I also checked the source 
code but there is no comment what a "Java classpath-capable package" 
might look like. Does anybody know how to to solve the problem or at 
least what the reason for this message is?


Thanks
Marcus

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



RE: xdoclet-maven-plugin > maven2

2005-10-25 Thread Kevin McNamee
Hi Raghurajan,

I modified the xdoclet POM in my repository (see attachment).
I have the following section in my pom.xml:




xdoclet-maven-plugin
org.codehaus.mojo
1.0-alpha-1


generate-sources

xdoclet
















Hope this helps,
Kevin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 24 October 2005 18:13
To: Maven Users List
Subject: RE: xdoclet-maven-plugin > maven2

Hi Kevin,

Can you please give a sample how did you make it work... eventhough i 
changed my dependency its still not working for me

i'm getting

org.apache.maven.lifecycle.LifecycleExecutionException: 'xdoclet' was 
specified in an execution, but not found in the plugin
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindExecutionToLifecycle
(DefaultLi 
\
fecycleExecutor.java:1180)  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(De
faultLifec 
\
ycleExecutor.java:1081)  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappin
gs(Default 
\
LifecycleExecutor.java:869)  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecut 
\
or.java:447)  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(Defau





Thanks,
Raghurajan Gurunathan

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

RE: xdoclet-maven-plugin > maven2

2005-10-25 Thread Kevin McNamee
OK here is the modified xdoclet POM:


  
mojo
org.codehaus.mojo
3
  
  4.0.0
  xdoclet-maven-plugin
  maven-plugin
  XDoclet Maven Plugin
  1.0-alpha-1
  
2.0
  
  

  kenney
  Kenney Westerhof
  [EMAIL PROTECTED]
  Neonics
  http://www.neonics.com
  CEST

  
  

  org.apache.maven
  maven-model
  2.0


  org.apache.maven
  maven-project
  2.0


  org.apache.maven.plugins
  maven-antrun-plugin
  1.0


  xdoclet
  xdoclet
  1.2.3
  runtime


  xdoclet
  xjavadoc
  1.1
  runtime


  xdoclet
  xdoclet-xdoclet-module
  1.2.3
  runtime


  commons-collections
  commons-collections
  2.1
  runtime


  commons-logging
  commons-logging
  1.0.4
  runtime


  xdoclet
  xdoclet-apache-module
  1.2.3
  runtime


  xdoclet
  xdoclet-bea-module
  1.2.3
  runtime


  xdoclet
  xdoclet-borland-module
  1.2.3
  runtime


  xdoclet
  xdoclet-caucho-module
  1.2.3
  runtime


  xdoclet
  xdoclet-de-locale
  1.2.3
  runtime


  xdoclet
  xdoclet-ejb-module
  1.2.3
  runtime


  xdoclet
  xdoclet-exolab-module
  1.2.3
  runtime


  xdoclet
  xdoclet-fr_FR-locale
  1.2.3
  runtime


  xdoclet
  xdoclet-hibernate-module
  1.2.3
  runtime


  xdoclet
  xdoclet-hp-module
  1.2.3
  runtime


  xdoclet
  xdoclet-ibm-module
  1.2.3
  runtime


  xdoclet
  xdoclet-java-module
  1.2.3
  runtime


  xdoclet
  xdoclet-jboss-module
  1.2.3
  runtime


  xdoclet
  xdoclet-jdo-module
  1.2.3
  runtime


  xdoclet
  xdoclet-jmx-module
  1.2.3
  runtime


  xdoclet
  xdoclet-jsf-module
  1.2.3
  runtime


  xdoclet
  xdoclet-libelis-module
  1.2.3
  runtime


  xdoclet
  xdoclet-macromedia-module
  1.2.3
  runtime


  xdoclet
  xdoclet-mockobjects-module
  1.2.3
  runtime


  xdoclet
  xdoclet-mvcsoft-module
  1.2.3
  runtime


  xdoclet
  xdoclet-mx4j-module
  1.2.3
  runtime


  xdoclet
  xdoclet-objectweb-module
  1.2.3
  runtime


  xdoclet
  xdoclet-openejb-module
  1.2.3
  runtime


  xdoclet
  xdoclet-oracle-module
  1.2.3
  runtime


  xdoclet
  xdoclet-orion-module
  1.2.3
  runtime


  xdoclet
  xdoclet-portlet-module
  1.2.3
  runtime


  xdoclet
  xdoclet-pramati-module
  1.2.3
  runtime


  xdoclet
  xdoclet-pt_BR-locale
  1.2.3
  runtime


  xdoclet
  xdoclet-solarmetric-module
  1.2.3
  runtime


  xdoclet
  xdoclet-spring-module
  1.2.3
  runtime


  xdoclet
  xdoclet-sun-module
  1.2.3
  runtime


  xdoclet
  xdoclet-sybase-module
  1.2.3
  runtime


  xdoclet
  xdoclet-tjdo-module
  1.2.3
  runtime


  xdoclet
  xdoclet-web-module
  1.2.3
  runtime


  xdoclet
  xdoclet-webwork-module
  1.2.3
  runtime


  xdoclet
  xdoclet-wsee-module
  1.2.3
  runtime


  jboss
  jboss-j2ee
  3.2.1
  runtime


  servletapi
  servletapi
  2.3
  runtime

  
  

  
maven-project-info-reports-plugin
  

  
  
deployed
  



-Original Message-
From: Kevin McNamee [mailto:[EMAIL PROTECTED] 
Sent: 25 October 2005 09:06
To: 'Maven Users List'
Subject: RE: xdoclet-maven-plugin > maven2

Hi Raghurajan,

I modified the xdoclet POM in my repository (see attachment).
I have the following section in my pom.xml:




xdoclet-maven-plugin
org.codehaus.mojo
1.0-alpha-1


generate-sources

xdoclet
















Hope this helps,
Kevin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 24 October 2005 18:13
To: Maven Users List
Subject: RE: xdoclet-maven-plugin > maven2

Hi Kevin,

Can you please give a sample how did you make it work... eventhough i 
changed my dependency its still not working for me

i'm getting

org.apache.maven.lifecycle.LifecycleExecutionException: 'xdoclet' was 
specified in an execution, but not found in the plugin
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindExecutionToLifecycle
(DefaultLi 
\
fecycleExecutor.java:1180)  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(De
faultLifec 
\
ycleExecu

Re: [M2] Docbook support

2005-10-25 Thread Jose Gonzalez Gomez
Brett,

Do you mean docbook support in Doxia or are you talking about anything else?

Jose

2005/10/24, Brett Porter <[EMAIL PROTECTED]>:
> There seem to be a few people working on a the docbook support right
> now. It would be good to see folks collaborating on a solution that
> covers everyone's needs.
>
> - Brett
>
> On 10/24/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote:
> > 2005/10/24, Jason van Zyl <[EMAIL PROTECTED]>:
> > > On Fri, 2005-10-21 at 13:27 +0200, Jose Gonzalez Gomez wrote:
> > >
> > > > Thanks a lot, I'll try to take a look at it as soon as possible.
> > > > Anyway, I've been taking a look at the head revision of
> > > > org.codehaus.doxia.module.docbook.DocBookParser.java, and I doubt that
> > > > this parser is going to generate anything close to useful. I had the
> > > > feeling that this class was copied from some other parser (maybe the
> > > > xdoc parser, as indicated in the header comment): most of the tags
> > > > used there are not part of the Docbook format, and there are some
> > > > commonly used tags missing.
> > >
> > > It's simplified docbook and is definitely geared toward site
> > > documentation, but decent PDFs can be produced.
> > >
> > > If you have existing tools that work with full docbook I would say stick
> > > with them. What's in Doxia is simplified docbook support.
> > >
> > I had a working docbook plugin for maven1 capable of generating HTML
> > output based on standard stylesheets, with resolution of links between
> > docbook documents. I'm thinking about porting it to maven2... I could
> > release it as open source if there's enough interest.
> >
> > Thanks, 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]



[M2] Unable to download the artifact from any repository -- javax.transaction:jta:1.0.1B:jar

2005-10-25 Thread Miks Rozenbergs

Hello!

Here is my POM, with dependency to hibernate. But when doing "mvn 
compile", Maven can't download one of dependencies -- GroupId: 
javax.transaction, ArtifactId: jta, Version: 1.0.1B. See console output 
down bellow. Any ideas why?


===


  4.0.0
  com.exigen.bpm
  runtime
  jar
  1.0-SNAPSHOT
  
src
com.exigen.bpm.runtime
  
  

  org.hibernate
  hibernate
  3.0.5

  

===
c:\workspace\com.exigen.bpm.runtime\mvn compile
[INFO] Scanning for projects...
[INFO] 


[INFO] Building Unnamed - com.exigen.bpm:runtime:jar:1.0-SNAPSHOT
[INFO]task-segment: [compile]
[INFO] 


[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
[INFO] 


[ERROR] BUILD ERROR
[INFO] 


[INFO] Failed to resolve artifact.

GroupId: javax.transaction
ArtifactId: jta
Version: 1.0.1B

Reason: Unable to download the artifact from any repository
  javax.transaction:jta:1.0.1B:jar

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO] 


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


[INFO] Total time: 10 seconds
[INFO] Finished at: Tue Oct 25 10:46:03 EEST 2005
[INFO] Final Memory: 2M/5M
[INFO] 




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



Exclude Report

2005-10-25 Thread Wilfred Springer
All,

Since the dependency report currently breaks my build
(http://jira.codehaus.org/browse/MNG-1316), I'm looking for a way to
exclude this report from the generated site, but I haven't been able to
figure out how to do it.

Any clues?

Thanks,

Wilfred

-- 
_
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: javadoc problem

2005-10-25 Thread Gisbert Amm

What does your  entry in the POM look like?

Regards,
Gisbert Amm

Marcus Eberts wrote:


when executing
   /mvn javadoc:javadoc /
I get a
   /"Not executing Javadoc as the project is not a Java 
classpath-capable package" /
message and no javadoc html files are created. I also checked the source 
code but there is no comment what a "Java classpath-capable package" 
might look like. Does anybody know how to to solve the problem or at 
least what the reason for this message is?


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



Re: [m2] Switching XML Parsers?

2005-10-25 Thread Kenney Westerhof
On Mon, 24 Oct 2005, Wendy Smoak wrote:

This is a jvm thing. You probably have a JDK that has a buggy version of
xerces (or xalan, if you're using stylesheets).

Adding a dependency on xerces (or another xml parser) should fix this.

I personally only had trouble with the Xalan shipped with jdk 1.5.

-- Kenney

> I'm having trouble with some tests failing in Maven 2 when they work fine in
> Ant and Maven 1.0.2.
>
> The problem (SaxParseException and NPE) happens way down in the XML Parser.
> (The test uses Commons Chain which uses Digester which uses...)
>
> >From http://maven.apache.org/faq.html#unit-test-14 I get that 1.0.2 included
> an XML parser (Xerces 2.4.0) but 1.1 doesn't, which I assume is the case
> with 2.0.  I'm seeing org.apache.crimson in the stack trace.
>
> How can I get Maven 2 to use Xerces, so I can tell whether that's the
> problem?  I'm not sure if I'm supposed to set something in Surefire, or
> whether this is a JVM level thing.
>
> Thanks,
> Wendy Smoak
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



Re: [M2] Project structure and Eclipse

2005-10-25 Thread Pete
Thank you that's been really helpful.

I've copied this to the Maven Users list so its there for others to read.

On 24/10/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote:
> See inline...
>
> 2005/10/24, Pete <[EMAIL PROTECTED]>:
> > Thank you Jose, that's a lot clearer now. Just a couple more questions
> > if I may :-
> >
> > 1) So in your pseudo root project e.g.
> >
> > +project
> >pom.xml
> >
> > do you reference the child modules like this ?
> >
> > 
> >   ../modules/domain
> >   ../modules/web
> >   ../applications/j2ee
> > 
> >
>
> You're right
>
> > 2) How do developers check out the project from say CVS, do you put
> > your root e.g yourproject in SCM ?.
> >
> > yourproject
> > +project
> > +modules
> >
> > Then let developers use the Eclipse import from the yourproject root ?
> >
>
> Again you're right, but note that you shouldn't do that first check
> out from within Eclipse. If you do so, Eclipse will create a project
> in the root folder, something you want to avoid (well, you just may
> delete it after doing the first checkout). I usually follow these
> steps:
> 1. Check out project from repository, using a command line tool, or
> maven scm support.
> 2. Change to yourproject/project directory
> 3. Run mvn eclipse:eclipse. That will generate eclipse projects for
> all your modules, including direct project dependencies among between
> modules in the same project
> 4. Import all the generated projects
> 5. Create manually a project for yourproject/project so you're able to
> edit your root pom in case you need it.
>
> HTH, best regards
> Jose
>

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



Re: javadoc problem

2005-10-25 Thread Ralph Pöllath

On 25.10.2005, at 09:05, Marcus Eberts wrote:

Hi,

when executing
   /mvn javadoc:javadoc /
I get a
   /"Not executing Javadoc as the project is not a Java classpath- 
capable package" /
message and no javadoc html files are created. I also checked the  
source code but there is no comment what a "Java classpath-capable  
package" might look like. Does anybody know how to to solve the  
problem or at least what the reason for this message is?


Javadoc is currently not produced for WARs, due to a bug:
http://jira.codehaus.org/browse/MNG-1257

Cheers,
-Ralph.


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



Different XML parsers in Maven 1.0.2 and Maven 1.1

2005-10-25 Thread fenallen

Hi,

This is not a question. Rather a tip for anyone struggling with xml in
Maven as I have recently.
Maven, ant, and the Sun jdk itself all handle the subject of different
xml parsers either poorly or not at all.
Here is a nice solution I have recently stumbled across.  I hope it is
proves of use to someone.

Download the mtxslt-1.5.jar jar file from here
http://mtxslt.sourceforge.net/  and place it in your maven repository.
I use a group called 'shared' for jar files not found in the standard
ibiblio maven repository but you can put it wherever you like if you set
the dependency correctly.

The file is an extension to the standard ant xslt (or style) task which
allows the xml parser to be selected on the fly.

Add the dependency to you root project.xml file including the root
classloader property as here:


 shared
 mtxslt
 mtxslt-1.5.jar
 
   root
 
   

You will also need to do the same for any xml jar files you want to use:

   
 saxon
 saxon
 6.5.2
 
   root
 
   


Whilst it is possible to declare the classes in full each time, it is
easier to set these properties in the project.properties file thus:

#mtxslt helper properties
mtxslt.saxon6=org.xmLP.ant.taskdefs.optional.Saxon6Liaison
mtxslt.saxon7=org.xmLP.ant.taskdefs.optional.Saxon7Liaison
mtxslt.xalan2=org.xmLP.ant.taskdefs.optional.Xalan2Liaison
mtxslt.xdk9=org.xmLP.ant.taskdefs.optional.Oracle9Liaison


And finally declare the ant task in the root maven.xml file like this:




You should now be able to use saxon like this:


If you want to use one of the other parsers you will also need to add
the relevant dependency as per the saxon example above.

This will then allow you to use a different parser only for this
specific task.  This means that Maven can continue to use its default
parser internally and you shouldn't have problems with plugins breaking
down.

There are links to some good ant based examples on the mtxslt web page.

Hope it helps someone, Allen.



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



[ANNOUNCE] plugins to add to the plugins Matrix: webstart, keytool and exec

2005-10-25 Thread jerome lacoste
Here are a small set of m2 plugins I've developped which are missing
in the confluence Plugin Matrix page. Please update the page.

Here's the list
- exec-maven-plugin: to execute programs (with some features for
classpath management)
- keytool-maven-plugin: only generate keystores right now
- webstart-maven-plugin: to generate webstart 'packages' (sign jars,
pack200, generate JNLP files)

All:
- are in the mojo-sandbox.
- are in alpha status but usable

Cheers,

Jerome

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



Re: Exclude Report

2005-10-25 Thread Marcus Eberts

Wilfried,

here is a way to select only certain reports:


 
...
 
   org.apache.maven.plugins
   maven-project-info-reports-plugin
   
 
   
 
 dependencies
 issue-tracking
 
 
 
 project-team
 
   
 
 
...
  


Just comment out the unwanted reports.

Marcus



Wilfred Springer schrieb:


All,

Since the dependency report currently breaks my build
(http://jira.codehaus.org/browse/MNG-1316), I'm looking for a way to
exclude this report from the generated site, but I haven't been able to
figure out how to do it.

Any clues?

Thanks,

Wilfred

 



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



Re: javadoc problem

2005-10-25 Thread Marcus Eberts

 ok, I see.
One of the  tags contains WAR, another project contains EAR. So 
it doesn't work for both cases and only for normal JAR files.
When I test it with the jar-tag the apidocs get generated and all files 
are present. On the documentation website the header and menue are 
displayed but there is no content for the javadoc site. Another bug??


Marcus

Ralph Pöllath schrieb:


On 25.10.2005, at 09:05, Marcus Eberts wrote:


Hi,

when executing
   /mvn javadoc:javadoc /
I get a
   /"Not executing Javadoc as the project is not a Java classpath- 
capable package" /
message and no javadoc html files are created. I also checked the  
source code but there is no comment what a "Java classpath-capable  
package" might look like. Does anybody know how to to solve the  
problem or at least what the reason for this message is?



Javadoc is currently not produced for WARs, due to a bug:
http://jira.codehaus.org/browse/MNG-1257

Cheers,
-Ralph.


-
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] Multiple Project Layout and Eclipse

2005-10-25 Thread Bernd Mau
Hi Pete,

actually I didn't get any satisfying anwsers, but I have followed some
eclipse discussions. I have also read your posting from this morning
(Hamburg, DE) referring to "[M2] Project structure and Eclipse". I think
I'm going to write a Howto, discussing the two approaches on working
with maven and eclipse (multiple project).

1) Following the recommended project layout
2) Flattening the project structure (consider the bug in the
release-plugin: http://jira.codehaus.org/browse/MNG-1263)

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

>>> Pete <[EMAIL PROTECTED]> 24.10.2005 15:26:04 >>>
Hi Bernd,

I've been reading your Maven post re:

"[M2] Multiple Project Layout and Eclipse"

and wondered if you ever reached any conclusions or recommendations as
I'm at the same point.

Apologies I couldn't post a reply as I can only get to your message
via the archives (have only just joined the maven user list)

regards,
Pete

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



velocity-1.4-dev.jar gone from Ibibli, what to do?

2005-10-25 Thread Ruud Wijnands
I just removed my complete maven 1.0.2 repository to perform a full clean
build and download everything fresh.
I ran into the problem that now velocity-1.4-dev.jar cannot be downloaded.
When I look at the ibiblio site this seems correct.

Has this been removed by mistake? How can I fix this? I don't have a local
copy.

Regards,
Ruud Wijnands


RE: [ANN] Maven Project Info Reports Plugin v2.0-beta-3 Released

2005-10-25 Thread Pilgrim, Peter

> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: 24 October 2005 21:43
> To: users@maven.apache.org; Maven Developers List
> Subject: [ANN] Maven Project Info Reports Plugin v2.0-beta-3 Released
> 
> 
> The Project Reporting plugin has been released. This release 
> addresses 
> the issue with running the standard reports under a 
> non-English locale, 
> and adds support for localised Japanese reports.
> 
> To obtain the latest release, include the  in your POM:
> 
>org.apache.maven.plugins
>maven-project-info-reports-plugin
>2.0-beta-3
> 
> 

Is this an upgrade for Maven 2?
I dont understand. In which part of the XML grammar should I 
copy and paste the above section. Should it be

http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
4.0.0


...


...



maven-surefire-plugin

...


 
   





target/site



> If you have omitted the version, you can update to the latest release 
> using the -U flag:
> 
> mvn -U site
> 
> - The Maven Plugins Team

TIA

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


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



[m2] Javadoc index.html incorrect

2005-10-25 Thread Wim Deblauwe
Hi,

testing with Maven 2 (final). I executed mvn site:site with the javadoc
report enabled. This worked fine, however, the site/apidocs/index.html page
is empty. The other pages are created ok. That index page shows the maven
menu on the left but an empty content.

regards,

Wim
PS: I haven't specified a version in my pom so I assume I'm working with the
latest. Is there a way to print the versions of the plugins I'm currently
using?


[m2] What is the Maven 2 equivalent for site logos etc?

2005-10-25 Thread Pilgrim, Peter

In Maven 1.0 you wrote this in your project.xml


CSFB (c) 2005
http://www.csfb.net/
http://www.csfb.net/images/standardmaessig.gif


2005
com.csfb.csar.private.internal.it

http://private-details.internal.foo.csfb.net/images/project_logo.gif

What do you in M2 pom.xml?

TIA

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


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



[m2] resource bundle problem in pmd plugin

2005-10-25 Thread Wim Deblauwe
Hi,

The pmd plugin seems to have the same resource bundle problem:

java.util.MissingResourceException: Can't find bundle for base name
pmd-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.plugin.pmd.PmdReport.getBundle(PmdReport.java:232)
at org.apache.maven.plugin.pmd.PmdReport.getName(PmdReport.java:82)
at org.apache.maven.plugins.site.ReportComparator.compare(
ReportComparator.java:40)
at java.util.Arrays.mergeSort(Arrays.java:1284)
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:240)
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: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)

regards,

Wim


assembly info and archive search

2005-10-25 Thread Kevin Galligan
I have a couple simple questions.  The first is about the assembly 
plugin.  Is there a place to find some more detailed info about the 
descriptor file?  The documentation pages are pretty light at this 
point.  Maybe a mailing list post or bug report?


This leads to the second question.  Is there a way to search the mailing 
list archive?  I can't find anything on this page...


http://mail-archives.apache.org/mod_mbox/maven-users/

Thanks in advance,
-Kevin

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



[m2] Plugins that depend on other plugin goals

2005-10-25 Thread Mark Hobson
Hi there,

I'm trying to realign the tomcat plugin to the recent war plugin
changes and having some trouble specifying my prerequisites.

I basically want the following:

* tomcat:deploy: @execute phase="package"
* tomcat:exploded: @execute goal="war:exploded"
* tomcat:inplace: @execute goal="war:inplace"

But as I've discovered @execute goal can only specify goals within the
same plugin.

I could see tomcat:exploded work by introducing a new pre-package
lifecycle phase (something like 'assemble-package' perhaps) which
war:exploded is bound to, since that is always performed before
packaging the war.  Although this wouldn't work for a war:inplace
prerequisite, since this is normally mutually exclusive to war:war -
so would a forked lifecycle provided by the war plugin be required
here?

Any help appreciated.

Cheers,

Mark

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



Re: [ANN] Maven Project Info Reports Plugin v2.0-beta-3 Released

2005-10-25 Thread Rico (privat)



Is this an upgrade for Maven 2?
I dont understand. In which part of the XML grammar should I 
copy and paste the above section. Should it be


 


Hi Peter,

put it here ...

http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>

 
   
 
   org.apache.maven.plugins
   maven-project-info-reports-plugin
   2.0-beta-3
 
   
 


Rico

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



Re: [m2] What is the Maven 2 equivalent for site logos etc?

2005-10-25 Thread David H. DeWolf
This information now belongs in your site.xml.

See:

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

and specifically the part on creating the site "descriptor".

David

On 10/25/05, Pilgrim, Peter <[EMAIL PROTECTED]> wrote:
>
>
> In Maven 1.0 you wrote this in your project.xml
>
> 
> CSFB (c) 2005
> http://www.csfb.net/
> http://www.csfb.net/images/standardmaessig.gif
> 
> 
> 2005
> com.csfb.csar.private.internal.it
> 
> http://private-details.internal.foo.csfb.net/images/project_logo.gif
> 
>
> What do you in M2 pom.xml?
>
> TIA
>
> --
> 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
>
>
>
> ==
> 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: [m2] ant tasks and SNAPSHOTs

2005-10-25 Thread Dave Brondsema
I deploy with:






The repository's maven-metadata.xml has:

  edu.cornerstone.portal.eforms
  eforms
  1.0-SNAPSHOT
  

  89

20051025124212
  


The local repository of the box that deployed the artifact has the same
contents in maven-metadata-remote.xml

However, when other users download the artifact from the repository
their maven-metadata-remote.xml does not have any  tags.

Thanks,
Dave

Brett Porter wrote:
> How were the snapshots deployed? The mechanism now relies on the
> correct management of maven-metadata.xml.
> 
> - Brett
> 
> On 10/24/05, Dave Brondsema <[EMAIL PROTECTED]> wrote:
> 
>>I have an ant task to download all the jar artifacts but it won't
>>download new SNAPSHOTs if there is already a snapshot in the local user
>>repository.
>>
>>The relavant parts of my ant build file:
>>
>>>layout="default">
>>
>>
>>
>>>filesetId="jar.libs.fileset">
>>
>>
>>
>>
>>
>>
>>
>>
>>And the dependencies that are declared like this:
>>
>>  edu.cornerstone.portal.jsf-utilities
>>  jsf-utilities
>>  1.0-SNAPSHOT
>>
>>
>>
>>According to my apache logs (which serves the repository at
>>${jar.repo.cu.url}) maven never accesses the repository.
>>
>>Am I doing something wrong?
>>
>>--
>>Dave Brondsema
>>Software Developer
>>Cornerstone University
>>
>>
>>
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
Dave Brondsema
Software Developer
Cornerstone University


signature.asc
Description: OpenPGP digital signature


Re: [M2] Unable to download the artifact from any repository -- javax.transaction:jta:1.0.1B:jar

2005-10-25 Thread Dave Brondsema
See http://maven.apache.org/reference/standard-sun-jar-names.html for
general info.  Let us know if that doesn't explain enough.

Miks Rozenbergs wrote:
> Hello!
> 
> Here is my POM, with dependency to hibernate. But when doing "mvn
> compile", Maven can't download one of dependencies -- GroupId:
> javax.transaction, ArtifactId: jta, Version: 1.0.1B. See console output
> down bellow. Any ideas why?
> 
> ===
> 
> 
>   4.0.0
>   com.exigen.bpm
>   runtime
>   jar
>   1.0-SNAPSHOT
>   
> src
> com.exigen.bpm.runtime
>   
>   
> 
>   org.hibernate
>   hibernate
>   3.0.5
> 
>   
> 
> ===
> c:\workspace\com.exigen.bpm.runtime\mvn compile
> [INFO] Scanning for projects...
> [INFO]
> 
> 
> [INFO] Building Unnamed - com.exigen.bpm:runtime:jar:1.0-SNAPSHOT
> [INFO]task-segment: [compile]
> [INFO]
> 
> 
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading:
> http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [INFO]
> 
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> 
> [INFO] Failed to resolve artifact.
> 
> GroupId: javax.transaction
> ArtifactId: jta
> Version: 1.0.1B
> 
> Reason: Unable to download the artifact from any repository
>   javax.transaction:jta:1.0.1B:jar
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> 
> [INFO]
> 
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> 
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Tue Oct 25 10:46:03 EEST 2005
> [INFO] Final Memory: 2M/5M
> [INFO]
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
Dave Brondsema
Software Developer
Cornerstone University


signature.asc
Description: OpenPGP digital signature


Re: using assembly to repackage a war

2005-10-25 Thread Mikael Wikström
jerome lacoste wrote:

>On 10/22/05, Brett Porter <[EMAIL PROTECTED]> wrote:
>  
>
>>If they are never used independantly I'd say merge, otherwise I'd say
>>fix the war plugin, merge the 2 web.xml's, and add that as the
>>resulting one.
>>
>>
>
>OK.
>
>My idea is that there shouldn't be any merging of xml files to do.
>
>The war would just automatically use the WEB-INF as found locally. For
>that I think the plexus WarAchiver needs to be passed the 'update'
>argument, and I need to find out how this can be done.
>
>See http://jira.codehaus.org/browse/MNG-1274.
>
>Cheers,
>
>Jerome
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>
switching to thing thread from my previous email titled "maven2:
repackage/merge war's".

my use case is this:

Suppose I have a maven project with packaging set to war and with war
dependency's. Then I want the install/package goal to do the following.

- unpack war dependency's (not required but...)
- compile the current project with a classpath containing
WEB-INF/classes and WEB-INF/lib from all specified war dependency's.
- assemble a new war containing files from current project and war
dependency's. Possibly merging web.xml or simply failing if more then
one web.xml, or any other file, is found.

I also want to be able to do "maven run-my-init-db-java-class" but this
could be done in a separate maven project depending on the resulting war.

This use case can also be applyed if I want to be able to install my war
into a remote repo without including properties with config data such as
passwords.

/ Mikael


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



Re: [m2] Javadoc index.html incorrect

2005-10-25 Thread Thomas Recloux
Hello all,

I have got exacty the same problem.

2005/10/25, Wim Deblauwe <[EMAIL PROTECTED]>:
> Hi,
>
> testing with Maven 2 (final). I executed mvn site:site with the javadoc
> report enabled. This worked fine, however, the site/apidocs/index.html page
> is empty. The other pages are created ok. That index page shows the maven
> menu on the left but an empty content.
>
> regards,
>
> Wim
> PS: I haven't specified a version in my pom so I assume I'm working with the
> latest. Is there a way to print the versions of the plugins I'm currently
> using?
>
>


--
Thomas Recloux

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



Re: [m2] Javadoc index.html incorrect

2005-10-25 Thread Matthieu
Hi,have the same problem too
There is already a jira on this.

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

Best regards,

Matthieu

2005/10/25, Wim Deblauwe <[EMAIL PROTECTED]>:
>
> Hi,
>
> testing with Maven 2 (final). I executed mvn site:site with the javadoc
> report enabled. This worked fine, however, the site/apidocs/index.html
> page
> is empty. The other pages are created ok. That index page shows the maven
> menu on the left but an empty content.
>
> regards,
>
> Wim
> PS: I haven't specified a version in my pom so I assume I'm working with
> the
> latest. Is there a way to print the versions of the plugins I'm currently
> using?
>
>


--
_
Matthieu


Re: [ANN] Maven Project Info Reports Plugin v2.1 Released

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 08:09 +0200, Wim Deblauwe wrote:
> Does this mail contain the wrong title or the wrong body?

Just plain wrong, I accidentally did the resources and repository plugin
with the wrong title the first time around (cut and paste) so just
ignore the 2nd and 3rd "Maven Project Info Reports" posts. 

> 2005/10/25, Jason van Zyl <[EMAIL PROTECTED]>:
> >
> > Hi,
> >
> > The following issues have been resolve for the resources plugin and it
> > has been released:
> >
> > http://jira.codehaus.org/browse/MNG-1193
> > http://jira.codehaus.org/browse/MNG-1194
> >
> > To obtain the latest release, include the  in your POM:
> > 
> > org.apache.maven.plugins
> > maven-resources-plugin
> > 2.1
> > 
> >
> > If you have omitted the version, you can update to the latest release
> > using the -U flag:
> >
> > mvn -U 
> >
> > - The Maven Plugins Team
> >
> > --
> > 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]
> >
> >
-- 
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] Docbook support

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 09:35 +0200, Jose Gonzalez Gomez wrote:
> Brett,
> 
> Do you mean docbook support in Doxia or are you talking about anything else?

He meant find a general approach that works. If it can be done in Doxia
that's great, otherwise you might need a separate tool.

> Jose
> 
> 2005/10/24, Brett Porter <[EMAIL PROTECTED]>:
> > There seem to be a few people working on a the docbook support right
> > now. It would be good to see folks collaborating on a solution that
> > covers everyone's needs.
> >
> > - Brett
> >
> > On 10/24/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote:
> > > 2005/10/24, Jason van Zyl <[EMAIL PROTECTED]>:
> > > > On Fri, 2005-10-21 at 13:27 +0200, Jose Gonzalez Gomez wrote:
> > > >
> > > > > Thanks a lot, I'll try to take a look at it as soon as possible.
> > > > > Anyway, I've been taking a look at the head revision of
> > > > > org.codehaus.doxia.module.docbook.DocBookParser.java, and I doubt that
> > > > > this parser is going to generate anything close to useful. I had the
> > > > > feeling that this class was copied from some other parser (maybe the
> > > > > xdoc parser, as indicated in the header comment): most of the tags
> > > > > used there are not part of the Docbook format, and there are some
> > > > > commonly used tags missing.
> > > >
> > > > It's simplified docbook and is definitely geared toward site
> > > > documentation, but decent PDFs can be produced.
> > > >
> > > > If you have existing tools that work with full docbook I would say stick
> > > > with them. What's in Doxia is simplified docbook support.
> > > >
> > > I had a working docbook plugin for maven1 capable of generating HTML
> > > output based on standard stylesheets, with resolution of links between
> > > docbook documents. I'm thinking about porting it to maven2... I could
> > > release it as open source if there's enough interest.
> > >
> > > Thanks, 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]
> 
> 
-- 
jvz.

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



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



Re: [M2] Unable to download the artifact from any repository -- javax.transaction:jta:1.0.1B:jar

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 10:53 +0300, Miks Rozenbergs wrote:
> Hello!
> 
> Here is my POM, with dependency to hibernate. But when doing "mvn 
> compile", Maven can't download one of dependencies -- GroupId: 
> javax.transaction, ArtifactId: jta, Version: 1.0.1B. See console output 
> down bellow. Any ideas why?

Good old SUN Jars:

http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

-- 
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] Unable to download the artifact from any repository --javax.transaction:jta:1.0.1B:jar

2005-10-25 Thread Donszelmann, Mark
The current error message leaves the user in doubt if:

1. the jar is actually not available at all
2. the jar is licensed, but can be retrieved elsewhere.

It may be useful if the error message of would actually show the 
value of the downloadUrl, since maven did find the corresponding pom file.

Regards
Mark Donszelmann
 

-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 25, 2005 6:38 AM
To: Maven Users List
Subject: Re: [M2] Unable to download the artifact from any repository 
--javax.transaction:jta:1.0.1B:jar

On Tue, 2005-10-25 at 10:53 +0300, Miks Rozenbergs wrote:
> Hello!
> 
> Here is my POM, with dependency to hibernate. But when doing "mvn 
> compile", Maven can't download one of dependencies -- GroupId:
> javax.transaction, ArtifactId: jta, Version: 1.0.1B. See console 
> output down bellow. Any ideas why?

Good old SUN Jars:

http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

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


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



Re: [M2] Unable to download the artifact from any repository -- javax.transaction:jta:1.0.1B:jar

2005-10-25 Thread Miks Rozenbergs

Dave Brondsema wrote:

See http://maven.apache.org/reference/standard-sun-jar-names.html for
general info.  Let us know if that doesn't explain enough.
It doesn't. Because I'm not referencing Sun jar's. I've only added 
dependency to Hibernate. That javax.transaction.jta is probably required 
by one of the Hibernates transitive dependencies which were pulled from 
central repository. So, I assume there is something wrong with some of 
the POM's in central repository. Here is a log of what happens when I do 
"mvn compile" on the below pom.xml with clean (empty) local repository:


== log starts here =
#mvn -e compile
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] 


[INFO] Building Unnamed - com.exigen.bpm:runtime:jar:1.0-SNAPSHOT
[INFO]task-segment: [compile]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: 
checking for updates from central
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.0/maven-resources-plugin-2.0.pom

888b downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom

6K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.0/maven-resources-plugin-2.0.jar

10K downloaded
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking 
for updates from central
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0/maven-compiler-plugin-2.0.pom

1K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0/maven-compiler-plugin-2.0.jar

13K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom

2K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven/2.0/maven-2.0.pom

8K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom

6K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom

1K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom

7K downloaded
Downloading: 
http://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom

3K downloaded
Downloading: http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom
145b downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0.pom

723b downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0.pom

1K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0.pom

1K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom

4K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0/maven-profile-2.0.pom

1K downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-io/commons-io/1.0/commons-io-1.0.pom

5K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'901893f66d5b9de78c66dc39daebcb756975'; remote = 
'SHA1(commons-io/commons-io/1.0/commons-io-1.0.pom)=' - RETRYING
Downloading: 
http://repo1.maven.org/maven2/commons-io/commons-io/1.0/commons-io-1.0.pom

5K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'901893f66d5b9de78c66dc39daebcb756975'; remote = 
'SHA1(commons-io/commons-io/1.0/commons-io-1.0.pom)=' - IGNORING
[WARNING] POM for: 'commons-io:commons-io:pom:1.0' does not appear to be 
valid. Its will be ignored for artifact resolution.


Reason: Failed to validate POM


Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom

601b downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-io/commons-io/1.0/commons-io-1.0.jar

44K downloaded
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://repo1.maven.org/maven2/org/hibernate/hibernate/3.0.5/hibernate-3.0.5.pom

3K downloaded
Downloading: 
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom

515b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'9fbaf81aba46a55a46fcb8b666568aa0feaf2f32'; remote = 
'SHA1(javax/transaction/jta/1.0.1B/jta-1.0.1B.pom)=' - RETRYING
Downloading: 
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom

515b downloaded
[WARNING] *** CHECKSUM FAILED -

Re: [ANNOUNCE] plugins to add to the plugins Matrix: webstart, keytool and exec

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 10:41 +0200, jerome lacoste wrote:
> Here are a small set of m2 plugins I've developped which are missing
> in the confluence Plugin Matrix page. Please update the page.
> 
> Here's the list
> - exec-maven-plugin: to execute programs (with some features for
> classpath management)

Did you guys sort out which one is going to be used long term? The
execute or exec plugin? We should probably lean toward usings commons-
exec. Is that what you're using?

> - keytool-maven-plugin: only generate keystores right now

Are you aware of the plexus component that brett started for dealing
with keys and keystores?

http://svn.plexus.codehaus.org/trunk/plexus-components/plexus-password-
store/

Might want to take a peek at that first.

> - webstart-maven-plugin: to generate webstart 'packages' (sign jars,
> pack200, generate JNLP files)

I'll add this one later on today. I think the two above there need some
syncing with other code before being added to the matrix. If you've
already chatted with Jesse then just ping me and I'll add whatever is
needed to the matrix. I'm in IRC.

> All:
> - are in the mojo-sandbox.
> - are in alpha status but usable

Ok, cool.

> Cheers,
> 
> Jerome
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

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

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

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


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



Re: [M2] Multiple Project Layout and Eclipse

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 11:14 +0200, Bernd Mau wrote:
> Hi Pete,
> 
> actually I didn't get any satisfying anwsers, but I have followed some
> eclipse discussions. I have also read your posting from this morning
> (Hamburg, DE) referring to "[M2] Project structure and Eclipse". I think
> I'm going to write a Howto, discussing the two approaches on working
> with maven and eclipse (multiple project).
> 
> 1) Following the recommended project layout
> 2) Flattening the project structure (consider the bug in the
> release-plugin: http://jira.codehaus.org/browse/MNG-1263)

Cool, please use the mini guide structure:

http://maven.apache.org/maven2/guides/index.html

I'll incorporate anything you have when you're ready.

> 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]
> ---
> 
> >>> Pete <[EMAIL PROTECTED]> 24.10.2005 15:26:04 >>>
> Hi Bernd,
> 
> I've been reading your Maven post re:
> 
> "[M2] Multiple Project Layout and Eclipse"
> 
> and wondered if you ever reached any conclusions or recommendations as
> I'm at the same point.
> 
> Apologies I couldn't post a reply as I can only get to your message
> via the archives (have only just joined the maven user list)
> 
> regards,
> Pete
> 
> -
> 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

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] What is the Maven 2 equivalent for site logos etc?

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 08:07 -0400, David H. DeWolf wrote:
> This information now belongs in your site.xml.
> 
> See:
> 
> http://maven.apache.org/guides/mini/guide-site.html
> 
> and specifically the part on creating the site "descriptor".

Cool, it's great when users can point other users at solutions. We're
trying to get the doco together but the object is to be able to answer
85-90% of questions on the user list by pointing at existing
documentation and solutions. I'll be taking another pass at the doco
later today. I see lots of questions about site generation so I'll start
with that.

Just keep piling in the JIRA issues in the "documentation" component and
I'll deal with them.

Thanks!

> David
> 
> On 10/25/05, Pilgrim, Peter <[EMAIL PROTECTED]> wrote:
> >
> >
> > In Maven 1.0 you wrote this in your project.xml
> >
> > 
> > CSFB (c) 2005
> > http://www.csfb.net/
> > http://www.csfb.net/images/standardmaessig.gif
> > 
> > 
> > 2005
> > com.csfb.csar.private.internal.it
> > 
> > http://private-details.internal.foo.csfb.net/images/project_logo.gif
> > 
> >
> > What do you in M2 pom.xml?
> >
> > TIA
> >
> > --
> > 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
> >
> >
> >
> > ==
> > 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]
> >
> >
-- 
jvz.

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



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



Re: [m2] resource bundle problem in pmd plugin

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 13:41 +0200, Wim Deblauwe wrote:
> Hi,
> 
> The pmd plugin seems to have the same resource bundle problem:
> 
> java.util.MissingResourceException: Can't find bundle for base name
> pmd-report, locale nl_NL

There is a "pmd-report.properties" in the PMD plugin in SVN. Can you
take a look at the PMD plugin JAR you have installed and see if there is
a "pmd-report.properties" in the top-level directory of the JAR?

-- 
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: assembly info and archive search

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 07:49 -0400, Kevin Galligan wrote:
> I have a couple simple questions.  The first is about the assembly 
> plugin.  Is there a place to find some more detailed info about the 
> descriptor file?  The documentation pages are pretty light at this 
> point.  Maybe a mailing list post or bug report?
> 
> This leads to the second question.  Is there a way to search the mailing 
> list archive?  I can't find anything on this page...
> 
> http://mail-archives.apache.org/mod_mbox/maven-users/

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

If you want to work through something today I can improve the
documentation.

> Thanks in advance,
> -Kevin
> 
> -
> 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

you are never dedicated to something you have complete confidence in.
No one is fanatically shouting that the sun is going to rise tomorrow.
They know it is going to rise tomorrow. When people are fanatically
dedicated to political or religious faiths or any other kind of 
dogmas or goals, it's always because these dogmas or
goals are in doubt.

  -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance


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



Re: [M2] Unable to download the artifact from any repository -- javax.transaction:jta:1.0.1B:jar

2005-10-25 Thread Dave Brondsema
Hiber

Miks Rozenbergs wrote:
> Dave Brondsema wrote:
> 
>> See http://maven.apache.org/reference/standard-sun-jar-names.html for
>> general info.  Let us know if that doesn't explain enough.
> 
> It doesn't. Because I'm not referencing Sun jar's. I've only added
> dependency to Hibernate. That javax.transaction.jta is probably required
> by one of the Hibernates transitive dependencies which were pulled from
> central repository. So, I assume there is something wrong with some of
> the POM's in central repository. Here is a log of what happens when I do
> "mvn compile" on the below pom.xml with clean (empty) local repository:
> 

Hibernate depends on javax.transaction.jta which is a Sun jar.  You need
to download it an install it into your local repository following the
instructions at the bottom of
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html.

An alternative to downloading it from Sun is to download Geronimo's
implementation of the jar from
http://www.ibiblio.org/maven2/geronimo-spec/geronimo-spec-jta/1.0.1B-rc4/geronimo-spec-jta-1.0.1B-rc4.jar
and place it propertly into javax.transaction.jta locally

-- 
Dave Brondsema
Software Developer
Cornerstone University


signature.asc
Description: OpenPGP digital signature


RE: [m2] What is the Maven 2 equivalent for site logos etc?

2005-10-25 Thread Pilgrim, Peter
I just want to change the banner icons. So I have to re-create 
the site.xml with all the XML elements, is that right?

Is there simple configuration. BTW: Surfing to 

http://maven.apache.org/guides/mini/plugins/maven-site-plugin/

The webpage is incomplete: "Page Not Foyund"

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


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf 
> Of David H.
> DeWolf
> Sent: 25 October 2005 13:08
> To: Maven Users List
> Subject: Re: [m2] What is the Maven 2 equivalent for site logos etc?
> 
> 
> This information now belongs in your site.xml.
> 
> See:
> 
> http://maven.apache.org/guides/mini/guide-site.html
> 
> and specifically the part on creating the site "descriptor".
> 
> David
> 
> On 10/25/05, Pilgrim, Peter <[EMAIL PROTECTED]> wrote:
> >
> >
> > In Maven 1.0 you wrote this in your project.xml
> >
> > 
> > CSFB (c) 2005
> > http://www.csfb.net/
> > http://www.csfb.net/images/standardmaessig.gif
> > 
> > 
> > 2005
> > 
> com.csfb.csar.private.internal.it r.private.internal.it>
> > 
> > 
> http://private-details.internal.foo.csfb.net/images/proj
> ect_logo.gif
> > 
> >
> > What do you in M2 pom.xml?
> >
> > TIA
> >
> > --
> > 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
> >
> >
> >
> > 
> ==
> 
> > 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]
> >
> >
> 

==
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: [M2] Unable to download the artifact from any repository --javax.transaction:jta:1.0.1B:jar

2005-10-25 Thread Jon Ekdahl

I've been following the user list for about a month now and
this issue seems to be constantly recurring. This suggests to
me that the site and/or docs are not informative enough about
the issue, maybe something could be done about that (add it
to the FAQ, for example, or maybe improve the error message...).

//Jon

-Ursprungligt meddelande-
From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
Sent: den 25 oktober 2005 15:38
To: Maven Users List
Subject: Re: [M2] Unable to download the artifact from any repository
--javax.transaction:jta:1.0.1B:jar

On Tue, 2005-10-25 at 10:53 +0300, Miks Rozenbergs wrote:
> Hello!
> 
> Here is my POM, with dependency to hibernate. But when doing "mvn 
> compile", Maven can't download one of dependencies -- GroupId: 
> javax.transaction, ArtifactId: jta, Version: 1.0.1B. See console
output 
> down bellow. Any ideas why?

Good old SUN Jars:

http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

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


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



RE: Re: [m2] Project that doesn't create a package

2005-10-25 Thread David Jackman
Well, I'm using "pom" as the packaging value now, but it isn't really
what I want.  I'd rather not install anything to my repository that has
no value.  Just don't want it cluttered up.

Is there a way to do this?  I guess I could create my own plugin that
does this and attach it to a packaging value of "nothing".

..David..
 

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jorg Heymans
Sent: Monday, October 24, 2005 9:32 AM
To: users@maven.apache.org
Subject: Re: [m2] Project that doesn't create a package


David Jackman wrote:
> It's customary to have a root pom also contain module elements 
> indicating the subprojects so one can build them all at once.  I would

> like to separate the two, so I have a root pom that produces only the 
> pom that others will inherit, and a separate project that defines the 
> module elements for building many projects at once.  This "multi"
> project won't need to produce any type of package, or install or 
> deploy anything.  Is this kind of project possible?  What would be the

> value for packaging that I would use?

IIUC, pom should do the trick.

It will always produce "something" in the repository though, why would
this be a problem?

Jorg


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


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



How do I search for an issue in maven mailing list?

2005-10-25 Thread surabhi
Hi ,

There is no search facility in maven mailing list. If I have to look for 
an issue do I have to go in each date wise folder and browse whole content 
?


Regards,
Surabhi Asthana
Team Leader
Spend Data Management
ZYCUS INC. 
Ph : ++ 91 22 5640 7676 Extn. : 7803


Re: How do I search for an issue in maven mailing list?

2005-10-25 Thread Gail Jakubowski

http://marc.theaimsgroup.com/?l=turbine-maven-user

- Original Message - 
From: <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, October 25, 2005 9:51 AM
Subject: How do I search for an issue in maven mailing list?



Hi ,

There is no search facility in maven mailing list. If I have to look for
an issue do I have to go in each date wise folder and browse whole content
?


Regards,
Surabhi Asthana
Team Leader
Spend Data Management
ZYCUS INC.
Ph : ++ 91 22 5640 7676 Extn. : 7803




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



Re: [m2] Project that doesn't create a package

2005-10-25 Thread John Casey

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The part that will be tricky is having a project in the build that
doesn't have anything to deliver in the install process. You'd almost
need to configure the install and deploy plugins within that POM ONLY to
flag them as disabled or something...

Is there any reason (other than the cosmetic) why you don't want the
modules listed in the root POM?

One other option *might* be to write a plugin that attaches to the tail
end of the build, in some late phase, that would surgically remove the
module-specifying POM from the local repository. However, doing the same
thing after a deployment is non-trivial, since you have to re-establish
the network connection to do it.

Its going to be a lot of effort, relatively speaking. At least, under
the current incarnation of Maven 2.

- -john

David Jackman wrote:
| Well, I'm using "pom" as the packaging value now, but it isn't really
| what I want.  I'd rather not install anything to my repository that has
| no value.  Just don't want it cluttered up.
|
| Is there a way to do this?  I guess I could create my own plugin that
| does this and attach it to a packaging value of "nothing".
|
| ..David..
|
|
| -Original Message-
| From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jorg Heymans
| Sent: Monday, October 24, 2005 9:32 AM
| To: users@maven.apache.org
| Subject: Re: [m2] Project that doesn't create a package
|
|
| David Jackman wrote:
|
|>It's customary to have a root pom also contain module elements
|>indicating the subprojects so one can build them all at once.  I would
|
|
|>like to separate the two, so I have a root pom that produces only the
|>pom that others will inherit, and a separate project that defines the
|>module elements for building many projects at once.  This "multi"
|>project won't need to produce any type of package, or install or
|>deploy anything.  Is this kind of project possible?  What would be the
|
|
|>value for packaging that I would use?
|
|
| IIUC, pom should do the trick.
|
| It will always produce "something" in the repository though, why would
| this be a problem?
|
| Jorg
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDXkcEK3h2CZwO/4URAm0sAJ9gB3kKbJiTcgV55GGQ7025XkDj5QCgq59U
2iEBvDaA1j50naV3IOeeIUs=
=QyBI
-END PGP SIGNATURE-

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



RE: How do I search for an issue in maven mailing list?

2005-10-25 Thread Vincent Massol
... or even better:

http://www.nabble.com/Maven-f177.html

-Vincent

> -Original Message-
> From: Gail Jakubowski [mailto:[EMAIL PROTECTED]
> Sent: mardi 25 octobre 2005 16:52
> To: users@maven.apache.org
> Subject: Re: How do I search for an issue in maven mailing list?
> 
> http://marc.theaimsgroup.com/?l=turbine-maven-user
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, October 25, 2005 9:51 AM
> Subject: How do I search for an issue in maven mailing list?
> 
> 
> > Hi ,
> >
> > There is no search facility in maven mailing list. If I have to look for
> > an issue do I have to go in each date wise folder and browse whole
> content
> > ?
> >
> >
> > Regards,
> > Surabhi Asthana
> > Team Leader
> > Spend Data Management
> > ZYCUS INC.
> > Ph : ++ 91 22 5640 7676 Extn. : 7803
> >
> 
> 
> -
> 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-artifact-ant-2.0 fails to set the correct fileset

2005-10-25 Thread Weichsel, Ingo
Hello,

after upgrading to maven-artifact-ant-2.0 the classpath for a dependent
artifact is not set correctly, unless the artifact was installed locally
before running ant.


The ant task and our repository definition:








http://company.de:/repository/";
/>


Definition of the dependency:








"myartifact" depends on one other artifact "departifact".
Both "myartifact" and "departifact" are downloaded, if I delete the loacal
repository. But the artifact "myartifact" is neither included in the
classpath myartifact.classpath nor in the fileset. The artifact, it depends
on, is included.

If I build "myartifact" locally with mvn before running ant,
ant-artifact-maven works correctly.

I noticed a difference in the local repository between downloading via
maven-artifact-ant and installing locally.

My local repository after (deleting it and) running ant:

myartifact-1.0-20051025.085345-4.jar
myartifact-1.0-20051025.085345-4.pom
myartifact-1.0-SNAPSHOT.jar
myartifact-1.0-SNAPSHOT.pom
maven-metadata-remote.xml

My local repository after (deleting it and) installing by calling mvn:

myartifact-1.0-SNAPSHOT.jar
maven-metadata-local.xml
myartifact-1.0-SNAPSHOT.pom

Can anyone help me?

Greetings

Ingo Weichsel

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



RE: [m1.0.2] nested expressions in Jelly

2005-10-25 Thread Marc Attiyeh
Jon -

Thanks for the suggestion.  It worked.  However, it is kind of inelegant to 
have to declare a temporary variable every time I want to use nested 
expressions.  Is there a way to do it in one line?  Thanks.

-marc 

-Original Message-
From: Jon Ekdahl [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 24, 2005 7:06 PM
To: Maven Users List
Subject: SV: [m1.0.2] nested expressions in Jelly

 
'+' in Jelly is most likely implemented as in JSTL expression language,
in which case it represents numeric addition, not string concatenation
(hence the NumericFormatException's, when Jelly tries to convert your strings to
numbers)
 
I could be wrong about that, but you could always try:
 


 
//Jon



Från: Marc Attiyeh [mailto:[EMAIL PROTECTED]
Skickat: ti 2005-10-25 00:25
Till: users@maven.apache.org
Ämne: [m1.0.2] nested expressions in Jelly



All -



I want to do something like this:







unfortunately, maven is kindly telling me this is not possible (via
multiple stack traces).  I searched around and found this:







However, now I get multiple NumberFormatExceptions (maybe something to
do with the plus sign?)



Can anyone tell me how to nest an expression in another one?  Thanks!



-marc






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

2005-10-25 Thread Jose Gonzalez Gomez
2005/10/25, Jason van Zyl <[EMAIL PROTECTED]>:
> On Tue, 2005-10-25 at 09:35 +0200, Jose Gonzalez Gomez wrote:
> > Brett,
> >
> > Do you mean docbook support in Doxia or are you talking about anything else?
>
> He meant find a general approach that works. If it can be done in Doxia
> that's great, otherwise you might need a separate tool.
>

Please, correct me if I'm wrong, as I have made some assumptions from
my little knowledge of the inner operations of Maven and Doxia...

I think the problem here is trying to match two completely different
approaches:

1. In first place, we have Doxia that (I think) was created as a tool
to parse and generate documentation in several formats. I guess
(correct me if I'm wrong) that the original primary purpose of Doxia
was being able to integrate documentation written in several formats
in a Maven site. The problem with such an approach is that you have to
stablish a common group of elements that all those source formats must
share (the Sink interface in Doxia), so if you have a source format
richer than that, you're losing in the process.

2. In second place we have Docbook, a format that was created to write
technical documentation. The real power of Docbook (IMHO) is not the
format itself but the possibility of using almost WYSIWYG editors and
the style sheets available that let you generate documentation in a
lot of formats: HTML, XHTML, PDF, JavaHelp, Eclipse Help,... Here you
have just a source format you use to generate whatever you want, so
you don't have the need to limit your output, as you come from a known
input.

I have the feeling that wahtever you do in Doxia regarding Docbook:
1. You are reinventing the wheel in some sense, as you already have
the Docbook stylesheets, and
2. You are losing a lot of the power and richness of Docbook

So I have the feeling that this is not the right approach... What I
would probably do is drop the docbook support in Doxia (or keep it
deliberately simple), as I see no reason to write a Maven site using
Docbook: APT or HTML/XHTML are much more adequate to do that.

Any way, I think a plugin for managing Docbook files is needed, as I
may want to generate project documentation in PDF format, JavaHelp
files, whatever that doesn't go directly into the Maven site... this
should be included in the build process of the project, as it's just
another deliverable, or artifact in the Maven vocabulary. And this
should be done using the Docbook stylesheets, as there is a lot of
effort put into them, and they're proved and reliable. Also I don't
think writing all this support into Doxia is neither sensible nor
possible.

What do you think about this?

Best regards
Jose

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



RE: [m2] Project that doesn't create a package

2005-10-25 Thread David Jackman
If that's true, then I probably won't bother.  I'll just use a groupId
for the project that isolates it from everything I'm installing that is
important.  Thanks for sparing me the trouble of finding this out
myself.

..David..


-Original Message-
From: John Casey [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 25, 2005 8:54 AM
To: Maven Users List
Subject: Re: [m2] Project that doesn't create a package

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The part that will be tricky is having a project in the build that
doesn't have anything to deliver in the install process. You'd almost
need to configure the install and deploy plugins within that POM ONLY to
flag them as disabled or something...

Is there any reason (other than the cosmetic) why you don't want the
modules listed in the root POM?

One other option *might* be to write a plugin that attaches to the tail
end of the build, in some late phase, that would surgically remove the
module-specifying POM from the local repository. However, doing the same
thing after a deployment is non-trivial, since you have to re-establish
the network connection to do it.

Its going to be a lot of effort, relatively speaking. At least, under
the current incarnation of Maven 2.

- -john

David Jackman wrote:
| Well, I'm using "pom" as the packaging value now, but it isn't really 
| what I want.  I'd rather not install anything to my repository that 
| has no value.  Just don't want it cluttered up.
|
| Is there a way to do this?  I guess I could create my own plugin that 
| does this and attach it to a packaging value of "nothing".
|
| ..David..
|
|
| -Original Message-
| From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jorg Heymans
| Sent: Monday, October 24, 2005 9:32 AM
| To: users@maven.apache.org
| Subject: Re: [m2] Project that doesn't create a package
|
|
| David Jackman wrote:
|
|>It's customary to have a root pom also contain module elements 
|>indicating the subprojects so one can build them all at once.  I would
|
|
|>like to separate the two, so I have a root pom that produces only the 
|>pom that others will inherit, and a separate project that defines the 
|>module elements for building many projects at once.  This "multi"
|>project won't need to produce any type of package, or install or 
|>deploy anything.  Is this kind of project possible?  What would be the
|
|
|>value for packaging that I would use?
|
|
| IIUC, pom should do the trick.
|
| It will always produce "something" in the repository though, why would

| this be a problem?
|
| Jorg
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDXkcEK3h2CZwO/4URAm0sAJ9gB3kKbJiTcgV55GGQ7025XkDj5QCgq59U
2iEBvDaA1j50naV3IOeeIUs=
=QyBI
-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: How do I search for an issue in maven mailing list?

2005-10-25 Thread Sridhar Radhakrishnan

... also http://www.mail-archive.com/users@maven.apache.org/

Vincent Massol wrote:


... or even better:

http://www.nabble.com/Maven-f177.html

-Vincent

 


-Original Message-
From: Gail Jakubowski [mailto:[EMAIL PROTECTED]
Sent: mardi 25 octobre 2005 16:52
To: users@maven.apache.org
Subject: Re: How do I search for an issue in maven mailing list?

http://marc.theaimsgroup.com/?l=turbine-maven-user

- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, October 25, 2005 9:51 AM
Subject: How do I search for an issue in maven mailing list?


   


Hi ,

There is no search facility in maven mailing list. If I have to look for
an issue do I have to go in each date wise folder and browse whole
 


content
   


?


Regards,
Surabhi Asthana
Team Leader
Spend Data Management
ZYCUS INC.
Ph : ++ 91 22 5640 7676 Extn. : 7803

 


-
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 Repository Plugin v2.0 Released

2005-10-25 Thread Brian E. Fox
This is weird. I didn't specify anything in my pom and it's looking for
1.0-SNAPSHOT??
 
E:\STC\workspace\sample-project>mvn repository:bundle-create
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Unnamed - sample-project:mavenFull:pom:SNAPSHOT
[INFO]   Maven Quick Start Archetype
[INFO]   Maven Webapp Archetype
[INFO] Searching repository for plugin with prefix: 'repository'.
[INFO] artifact org.apache.maven.plugins:maven-repository-plugin:
checking for updates from central
[INFO]


[ERROR] BUILD ERROR
[INFO]


[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-repository-plugin

Reason: Error getting POM for
'org.apache.maven.plugins:maven-repository-plugin' from the repository:
Failed t
o resolve artifact, possibly due to a repository list that is not
appropriately equipped for this artifact's m
etadata.
  org.apache.maven.plugins:maven-repository-plugin:1.0-SNAPSHOT:pom

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 24, 2005 9:43 PM
To: Maven Users List
Subject: [ANN] Maven Repository Plugin v2.0 Released

Hi,

The first version of the repository plugin has been released in order to
allow users to create upload bundles. To find out more about creating
upload bundles you can look here:

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

To obtain the latest release, include the  in your POM:

   org.apache.maven.plugins
   maven-repository-plugin
   2.0


If you have omitted the version, you can update to the latest release
using the -U flag:

mvn -U repository:bundle-create

--
jvz.

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

Three people can keep a secret provided two of them are dead.

 -- Unknown


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

2005-10-25 Thread Jeff Jensen
I think you are right on.  +1


Quoting Jose Gonzalez Gomez <[EMAIL PROTECTED]>:

> 2005/10/25, Jason van Zyl <[EMAIL PROTECTED]>:
> > On Tue, 2005-10-25 at 09:35 +0200, Jose Gonzalez Gomez wrote:
> > > Brett,
> > >
> > > Do you mean docbook support in Doxia or are you talking about anything
> else?
> >
> > He meant find a general approach that works. If it can be done in Doxia
> > that's great, otherwise you might need a separate tool.
> >
>
> Please, correct me if I'm wrong, as I have made some assumptions from
> my little knowledge of the inner operations of Maven and Doxia...
>
> I think the problem here is trying to match two completely different
> approaches:
>
> 1. In first place, we have Doxia that (I think) was created as a tool
> to parse and generate documentation in several formats. I guess
> (correct me if I'm wrong) that the original primary purpose of Doxia
> was being able to integrate documentation written in several formats
> in a Maven site. The problem with such an approach is that you have to
> stablish a common group of elements that all those source formats must
> share (the Sink interface in Doxia), so if you have a source format
> richer than that, you're losing in the process.
>
> 2. In second place we have Docbook, a format that was created to write
> technical documentation. The real power of Docbook (IMHO) is not the
> format itself but the possibility of using almost WYSIWYG editors and
> the style sheets available that let you generate documentation in a
> lot of formats: HTML, XHTML, PDF, JavaHelp, Eclipse Help,... Here you
> have just a source format you use to generate whatever you want, so
> you don't have the need to limit your output, as you come from a known
> input.
>
> I have the feeling that wahtever you do in Doxia regarding Docbook:
> 1. You are reinventing the wheel in some sense, as you already have
> the Docbook stylesheets, and
> 2. You are losing a lot of the power and richness of Docbook
>
> So I have the feeling that this is not the right approach... What I
> would probably do is drop the docbook support in Doxia (or keep it
> deliberately simple), as I see no reason to write a Maven site using
> Docbook: APT or HTML/XHTML are much more adequate to do that.
>
> Any way, I think a plugin for managing Docbook files is needed, as I
> may want to generate project documentation in PDF format, JavaHelp
> files, whatever that doesn't go directly into the Maven site... this
> should be included in the build process of the project, as it's just
> another deliverable, or artifact in the Maven vocabulary. And this
> should be done using the Docbook stylesheets, as there is a lot of
> effort put into them, and they're proved and reliable. Also I don't
> think writing all this support into Doxia is neither sensible nor
> possible.
>
> What do you think about this?
>
> 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]



Re: [m2] resource bundle problem in pmd plugin

2005-10-25 Thread Wim Deblauwe
There is no plain pmd-report.properties file in my jar (
maven-pmd-plugin-2.0-alpha-2.jar), only the _en and _fr versions

regards,

Wim

2005/10/25, Jason van Zyl <[EMAIL PROTECTED]>:
>
> On Tue, 2005-10-25 at 13:41 +0200, Wim Deblauwe wrote:
> > Hi,
> >
> > The pmd plugin seems to have the same resource bundle problem:
> >
> > java.util.MissingResourceException: Can't find bundle for base name
> > pmd-report, locale nl_NL
>
> There is a "pmd-report.properties" in the PMD plugin in SVN. Can you
> take a look at the PMD plugin JAR you have installed and see if there is
> a "pmd-report.properties" in the top-level directory of the JAR?
>
> --
> 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]
>
>


[m1] Site plugin, width of left column w/ image in non-IE browsers

2005-10-25 Thread Wendy Smoak

I followed the instructions[0] to add an image to the website navigation[1]:


   http://apachecon.com/2005/US";
   img="http://apache.org/images/ac2005us_white_184x80.jpg";
   />
   

Take a look at http://struts.apache.org with Firefox and resize your 
browser... see how the left hand column will resize itself smaller than the 
image, letting the image stick out and overlap the body text?  In IE, it 
works correctly.  (!)


Any advice on how to make the site look right in non-IE browsers? (Firefox, 
at least?)


[0] http://maven.apache.org/maven-1.x/using/site.html
[1] http://svn.apache.org/repos/asf/struts/site/trunk/xdocs/navigation.xml

Thanks,
--
Wendy Smoak 



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



Re: [ANNOUNCE] plugins to add to the plugins Matrix: webstart, keytool and exec

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 10:41 +0200, jerome lacoste wrote:
> Here are a small set of m2 plugins I've developped which are missing
> in the confluence Plugin Matrix page. Please update the page.
> 
> - webstart-maven-plugin: to generate webstart 'packages' (sign jars,
> pack200, generate JNLP files)

I just looked in the matrix and Kris Bravo has started a JNLP plugin.
Have you contacted him already?

> All:
> - are in the mojo-sandbox.
> - are in alpha status but usable
> 
> Cheers,
> 
> Jerome
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

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



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



RE: [m2] What is the Maven 2 equivalent for site logos etc?

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 15:33 +0100, Pilgrim, Peter wrote:
> I just want to change the banner icons. So I have to re-create 
> the site.xml with all the XML elements, is that right?
> 
> Is there simple configuration. BTW: Surfing to 
> 
> http://maven.apache.org/guides/mini/plugins/maven-site-plugin/
> 
> The webpage is incomplete: "Page Not Foyund"

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

> --
> Peter Pilgrim :: J2EE Software Development
> Operations/IT - Credit Suisse First Boston, 
> Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
> Tel: +44-(0)207-883-4497
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf 
> > Of David H.
> > DeWolf
> > Sent: 25 October 2005 13:08
> > To: Maven Users List
> > Subject: Re: [m2] What is the Maven 2 equivalent for site logos etc?
> > 
> > 
> > This information now belongs in your site.xml.
> > 
> > See:
> > 
> > http://maven.apache.org/guides/mini/guide-site.html
> > 
> > and specifically the part on creating the site "descriptor".
> > 
> > David
> > 
> > On 10/25/05, Pilgrim, Peter <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > In Maven 1.0 you wrote this in your project.xml
> > >
> > > 
> > > CSFB (c) 2005
> > > http://www.csfb.net/
> > > http://www.csfb.net/images/standardmaessig.gif
> > > 
> > > 
> > > 2005
> > > 
> > com.csfb.csar.private.internal.it > r.private.internal.it>
> > > 
> > > 
> > http://private-details.internal.foo.csfb.net/images/proj
> > ect_logo.gif
> > > 
> > >
> > > What do you in M2 pom.xml?
> > >
> > > TIA
> > >
> > > --
> > > 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
> > >
> > >
> > >
> > > 
> > ==
> > 
> > > 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]
> > >
> > >
> > 
> 
> ==
> 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]
> 
> 
-- 
jvz.

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

you are never dedicated to something you have complete confidence in.
No one is fanatically shouting that the sun is going to rise tomorrow.
They know it is going to rise tomorrow. When people are fanatically
dedicated to political or religious faiths or any other kind of 
dogmas or goals, it's always because these dogmas or
goals are in doubt.

  -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance


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



Re: How do I search for an issue in maven mailing list?

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 19:21 +0530, [EMAIL PROTECTED] wrote:
> Hi ,
> 
> There is no search facility in maven mailing list. If I have to look for 
> an issue do I have to go in each date wise folder and browse whole content 
> ?

Nabble works well:

http://www.nabble.com/Maven---Users-f178.html

You can also search JIRA:

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

> 
> Regards,
> Surabhi Asthana
> Team Leader
> Spend Data Management
> ZYCUS INC. 
> Ph : ++ 91 22 5640 7676 Extn. : 7803
-- 
jvz.

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



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



Re: [M2] Unable to download the artifact from any repository --javax.transaction:jta:1.0.1B:jar

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 16:36 +0200, Jon Ekdahl wrote:
> I've been following the user list for about a month now and
> this issue seems to be constantly recurring. This suggests to
> me that the site and/or docs are not informative enough about
> the issue, maybe something could be done about that (add it
> to the FAQ, for example, or maybe improve the error message...).

What we can do is link the error message from m2 to the page that
describes how to deal with missing JARs. In general if the POM has
enough information it will point you to where you can find the required
artifact.

> //Jon
> 
> -Ursprungligt meddelande-
> From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
> Sent: den 25 oktober 2005 15:38
> To: Maven Users List
> Subject: Re: [M2] Unable to download the artifact from any repository
> --javax.transaction:jta:1.0.1B:jar
> 
> On Tue, 2005-10-25 at 10:53 +0300, Miks Rozenbergs wrote:
> > Hello!
> > 
> > Here is my POM, with dependency to hibernate. But when doing "mvn 
> > compile", Maven can't download one of dependencies -- GroupId: 
> > javax.transaction, ArtifactId: jta, Version: 1.0.1B. See console
> output 
> > down bellow. Any ideas why?
> 
> Good old SUN Jars:
> 
> http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
> 
-- 
jvz.

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

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

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


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



RE: [ANN] Maven Repository Plugin v2.0 Released

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 11:22 -0400, Brian E. Fox wrote:
> This is weird. I didn't specify anything in my pom and it's looking for
> 1.0-SNAPSHOT??

I will take a look shortly.
 
-- 
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] What is the Maven 2 equivalent for site logos etc?

2005-10-25 Thread Pilgrim, Peter

> -Original Message-
> From: Jason van Zyl [mailto:[EMAIL PROTECTED]
> Sent: 25 October 2005 16:07
> To: Maven Users List
> Subject: RE: [m2] What is the Maven 2 equivalent for site logos etc?
> 
> 
> On Tue, 2005-10-25 at 15:33 +0100, Pilgrim, Peter wrote:
> > I just want to change the banner icons. So I have to re-create 
> > the site.xml with all the XML elements, is that right?
> > 
> > Is there simple configuration. BTW: Surfing to 
> > 
> > http://maven.apache.org/guides/mini/plugins/maven-site-plugin/
> > 
> > The webpage is incomplete: "Page Not Foyund"

No! 

You cannot read the MAVEN SITE PLUG IN PROPERTIES
as the navigation link 
http://maven.apache.org/guides/mini/plugins/maven-site-plugin/
which is on the page

> 
> http://maven.apache.org/maven2/guides/mini/guide-site.html


--
Peter Pilgrim
Organiser / Founder   http://developers.sun.com/jugs/display/europe/gbr/london
 
   ( ( (  (   (  
   (   )\(   (   )\)\))(   '   (  )\ )   
   )_)(  )\  )_)( ((_)()\ ))\(()/(   
  ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_ 
 _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
| || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
 \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___|
=

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



[M2] Multi project documentation

2005-10-25 Thread Pilgrim, Peter
Hi

Is there any documentation available that explains how to create
a multi-project under Maven2?

"Guide to creating a multi module build" is empty page.  ;-(
http://maven.apache.org/guides/mini/guide-multi-module.html

--
Peter Pilgrim
Organiser / Founder   ( JAVAWUG  
http://developers.sun.com/jugs/display/europe/gbr/london )
 
   ( ( (  (   (  
   (   )\(   (   )\)\))(   '   (  )\ )   
   )_)(  )\  )_)( ((_)()\ ))\(()/(   
  ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_ 
 _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
| || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
 \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___|
=


==
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: [M2] Docbook support

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 17:12 +0200, Jose Gonzalez Gomez wrote:

> So I have the feeling that this is not the right approach... What I
> would probably do is drop the docbook support in Doxia (or keep it
> deliberately simple), as I see no reason to write a Maven site using
> Docbook: APT or HTML/XHTML are much more adequate to do that.

I think keeping the simple format would be fine.

> Any way, I think a plugin for managing Docbook files is needed, as I
> may want to generate project documentation in PDF format, JavaHelp
> files, whatever that doesn't go directly into the Maven site... this
> should be included in the build process of the project, as it's just
> another deliverable, or artifact in the Maven vocabulary. And this
> should be done using the Docbook stylesheets, as there is a lot of
> effort put into them, and they're proved and reliable. Also I don't
> think writing all this support into Doxia is neither sensible nor
> possible.
>
> What do you think about this?

If you want full blown docbook support then I think you are right in
that a separate plug-in would probably make more sense. I think we'd be
happy to host a docbook plug-in at the Mojo project:

http://mojo.codehaus.org

> 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



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



Re: [M2] Multi project documentation

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 17:21 +0100, Pilgrim, Peter wrote:
> Hi
> 
> Is there any documentation available that explains how to create
> a multi-project under Maven2?
> 
> "Guide to creating a multi module build" is empty page.  ;-(
>   http://maven.apache.org/guides/mini/guide-multi-module.html

It's in the queue, there's only so much we can do. But the multi module
doco is high on the list. I'll try to get to a full guide tomorrow.

> --
> Peter Pilgrim
> Organiser / Founder   ( JAVAWUG  
> http://developers.sun.com/jugs/display/europe/gbr/london )
>  
>( ( (  (   (  
>(   )\(   (   )\)\))(   '   (  )\ )   
>)_)(  )\  )_)( ((_)()\ ))\(()/(   
>   ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_ 
>  _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
> | || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
>  \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___|
> =
> 
> 
> ==
> 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]
> 
> 
-- 
jvz.

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



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



Re: m2 eclipse plugin wtpmodules dependencies to artifacts

2005-10-25 Thread Brian Bonner
Looking for the same thing :)  II looked at the maven-eclipse-plugin
source and it looks like it should pull these artifacts (check out the
addDependency() method).

Anyone have a suggestion on this?
On 10/24/05, Franck de Bruijn <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I'm trying out maven 2 and the eclipse plugin in combination with Eclipse
> WTP.
>
>
>
> Everything works fine, although I do not manage to generate the 'dependent
> modules' section in the .wtpmodules file, like below:
>
>
>
> 
>
> handle="module:/classpath/var/M2_REPO/struts/struts/1.2.4/struts-1.2.4.jar">
>
>   uses
>
> 
>
>
>
> The 'wb-resource' sections are generated successfully like below:
>
>
>
> 
>   source-path="src/main/java" />
>
>
>
> The struts jar-file is appended to the .classpath file, so I presume that I
> have configured my dependencies correctly.
>
>
>
> I checked the source code of the eclipse plugin, but I can't figure out what
> I'm doing wrong.
>
>
>
> Can anyone offer some help?
>
> Thanks,
>
> Franck
>
>
>

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



RE: [m2] Defining Custom Compiler in POM

2005-10-25 Thread Stevenson, Chris
Brett, 

Thanks for this reply. I've got a bit further but have reached another
sticking point. What I'm trying to do is: get the dotnet compiler working
for ms csc and mono msc, also I'm writing plugins to wrap NUnit and NDoc so
that there can be a roughly similar dotnet build as the java build.

In the Dotnet Compiler components.xml I have:


  
  

  org.codehaus.plexus.compiler.Compiler
  csharp
 
org.codehaus.plexus.compiler.csharp.CSharpCompiler

  
  
org.apache.maven.lifecycle.mapping.LifecycleMapping
dotnet-assembly
 
org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping

  
resources:resources
compiler:compile
 
resources:testResources
compiler:testCompile
surefire:test

install:install
deploy:deploy
  

  
  
   
 org.apache.maven.artifact.handler.ArtifactHandler 
 dotnet-assembly 
 
org.apache.maven.artifact.handler.DefaultArtifactHandler 
   
 dotnet-assembly 
 dll 
 native
  

  

  


I've managed to get this to build and install in my local cache.

Then I've created a test project with this as the pom:



4.0.0
engn-maven-csharp-test
engn-maven-csharp
Engine CSharp Test
0.1
dotnet-assembly


target
target/dotnet-assemblies

target/test-dotnetassemblies

src/main/csharp

src/test/csharp


src/main/resources




src/test/resources






maven-compiler-plugin
1.5.1

csharp




org.codehaus.plexus

plexus-compiler-csharp

1.6-SNAPSHOT









ant
ant-nodeps
1.6.5


ant
ant
1.6.5


org.codehaus.plexus
plexus-utils
1.0.4




I'm then trying to execute the goal like so on this test project (is this
the correct syntax?):

C:\Work\Eclipse\Workspace\trunk\Dev.Maven.CSharpTestProject>mvn
org.codehaus.plexus:plexus-compiler-csharp:compile 
-Duser.home=C:\Work\SCM\CVS\CPDS\trunk\m2.user.home -e -X

And I get this exception:

C:\Work\Eclipse\Workspace\trunk\Dev.Maven.CSharpTestProject>mvn
org.codehaus.plexus:plexus-compiler-csharp:compile
-Duser.home=C:\Work\SCM\CVS\CPDS\trunk\m2.user.home -e -X
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from:
'C:\Work\SCM\CVS\CPDS\trunk\m2.user.home\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'C:\Program
Files\Apache Software Foundation\Maven 2\maven-2.0\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] plexus-compiler-csharp: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
latest version
  org.codehaus.plexus:plexus-compiler-csharp:LATEST:pom


[DEBUG] Using defaults for missing POM
org.codehaus.plexus:plexus-compiler-csharp:pom:LATEST
[DEBUG] plexus-compiler-csharp: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
release version
  org.codehaus.plexus:plexus-compiler-csharp:RELEASE:pom


[DEBUG] Using defaults for missing POM
org.codehaus.plexus:plexus-compiler-csharp:pom:RELEASE
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.codehaus.plexus:plexus-compiler-csharp' does not
exist or no valid version could be found
[INFO]

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.codehaus.plexus:plexus-compiler-csharp' does not exist or no valid
version cou
ld be found
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLife
cycleExecutor.java:1124)
at
org.apache.maven.

Re: m2 eclipse plugin wtpmodules dependencies to artifacts

2005-10-25 Thread Brian Bonner
I should have added:

of EclipseWtpmodulesWriter.

On 10/25/05, Brian Bonner <[EMAIL PROTECTED]> wrote:
> Looking for the same thing :)  II looked at the maven-eclipse-plugin
> source and it looks like it should pull these artifacts (check out the
> addDependency() method).
>
> Anyone have a suggestion on this?
> On 10/24/05, Franck de Bruijn <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> >
> >
> > I'm trying out maven 2 and the eclipse plugin in combination with Eclipse
> > WTP.
> >
> >
> >
> > Everything works fine, although I do not manage to generate the 'dependent
> > modules' section in the .wtpmodules file, like below:
> >
> >
> >
> >  >
> >
> > handle="module:/classpath/var/M2_REPO/struts/struts/1.2.4/struts-1.2.4.jar">
> >
> >   uses
> >
> > 
> >
> >
> >
> > The 'wb-resource' sections are generated successfully like below:
> >
> >
> >
> >  >
> >   source-path="src/main/java" />
> >
> >
> >
> > The struts jar-file is appended to the .classpath file, so I presume that I
> > have configured my dependencies correctly.
> >
> >
> >
> > I checked the source code of the eclipse plugin, but I can't figure out what
> > I'm doing wrong.
> >
> >
> >
> > Can anyone offer some help?
> >
> > Thanks,
> >
> > Franck
> >
> >
> >
>

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



Re: maven-artifact-ant-2.0 fails to set the correct fileset

2005-10-25 Thread Spencer Portee
I've had this issue before too. 


Weichsel, Ingo wrote:


Hello,

after upgrading to maven-artifact-ant-2.0 the classpath for a dependent
artifact is not set correctly, unless the artifact was installed locally
before running ant.


The ant task and our repository definition:








			id="central" 
		url="http://company.de:/repository/";

/>


Definition of the dependency:



version="1.0-SNAPSHOT" />





"myartifact" depends on one other artifact "departifact".
Both "myartifact" and "departifact" are downloaded, if I delete the loacal
repository. But the artifact "myartifact" is neither included in the
classpath myartifact.classpath nor in the fileset. The artifact, it depends
on, is included.

If I build "myartifact" locally with mvn before running ant,
ant-artifact-maven works correctly.

I noticed a difference in the local repository between downloading via
maven-artifact-ant and installing locally.

My local repository after (deleting it and) running ant:

myartifact-1.0-20051025.085345-4.jar
myartifact-1.0-20051025.085345-4.pom
myartifact-1.0-SNAPSHOT.jar
myartifact-1.0-SNAPSHOT.pom
maven-metadata-remote.xml

My local repository after (deleting it and) installing by calling mvn:

myartifact-1.0-SNAPSHOT.jar
maven-metadata-local.xml
myartifact-1.0-SNAPSHOT.pom

Can anyone help me?

Greetings

Ingo Weichsel

-
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] How to add Javadoc Report(s) ?

2005-10-25 Thread Christian Schulte

Hi,

I have setup a simple multi module project by looking at the maven 
sources on how it is done in maven itself. Everything is working so far 
and I am quite happy with maven 2. I cannot figure out how to add a 
javadoc "report" to the generated site the right way.  I would like to 
have either one javadoc generated in the root project's site aggregating 
all sources from any module or the javadocs of the different modules 
linked to each other so that they become browseable as one document. Is 
that possible ? Any help highly appreciated.


--
Christian


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



bad pgp signature and checksum on the distributed files.

2005-10-25 Thread Francois Bertel
Hi,

It seems the distributed files of maven have wrong pgp signature and checksum.

I'm running Gentoo Linux on a x86 architecture.

I downloaded maven-1.0.2.tar.bz2 , md5 and asc files from this page:
http://maven.apache.org/maven-1.x/start/download.html

First, I typed:

$ gpg --verify maven-1.0.2.tar.bz2.asc maven-1.0.2.tar.bz2

and I got:

gpg: Signature made Tue Dec  7 06:19:08 2004 EST using DSA key ID 084C9113
gpg: Can't check signature: public key not found

So, I typed:
$ gpg --keyserver pgp.mit.edu --recv-keys 084C9113

and I got:
gpg: requesting key 084C9113 from hkp server pgp.mit.edu
gpg: key 084C9113: duplicated user ID detected - merged
gpg: key 084C9113: public key "Brett Porter <[EMAIL PROTECTED]>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:   imported: 1

Then, I tried again:
$ gpg --verify maven-1.0.2.tar.bz2.asc maven-1.0.2.tar.bz2

and I got:
gpg: Signature made Tue Dec  7 06:19:08 2004 EST using DSA key ID 084C9113
gpg: BAD signature from "Brett Porter <[EMAIL PROTECTED]>"


I also ran md5sum on the file:
$ md5sum maven-1.0.2.tar.bz2
I got:
b8deac945380d76c27e60b1fc4711a8a  maven-1.0.2.tar.bz2
which is different from:
$ cat maven-1.0.2.tar.bz2.md5
81a6b4393e550635efe19e95cea38718


I have the same issue with the .tar.gz file or with maven-2.0.

Any help appreciated.


-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
  | Clifton Park NY 12065, USA

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



Mapping to Lists

2005-10-25 Thread Brian Bonner
It appears this part of the doco is missing:

http://maven.apache.org/guides/mini/guide-configuring-plugins.html

In the eclipse plugin test case:

http://svn.apache.org/viewcvs.cgi/*checkout*/maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/test/projects/project-5/project.xml?rev=280259

They list dependencies as a comma separated list.

However, when I try to use this in my pom.xml, I get:

[ERROR] BUILD ERROR
[INFO] -
---
[INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven
-eclipse-plugin:2.0-beta-3-SNAPSHOT

(found static expression: 'org.eclipse.wst.common.modulecore.ComponentStruct
uralBuilder, org.eclipse.jdt.core.javabuilder, org.eclipse.wst.validation.valida
tionbuilder, org.eclipse.wst.common.modulecore.ComponentStructuralBuilderDepende
ncyResolver,
org.eclipse.wst.common.modulecor
e.DependencyGraphBuilder' which may act as a default value).


Cause: Cannot assign configuration entry 'buildcommands' to 'interface java.util
.List' from 'org.eclipse.wst.common.modulecore.ComponentStructuralBuilder, org.e
clipse.jdt.core.javabuilder, org.eclipse.wst.validation.validationbuilder, org.e
clipse.wst.common.modulecore.ComponentStructuralBuilderDependencyResolver,
org.eclipse.wst.common.modulecor
e.DependencyGraphBuilder', which is of type class java.lang.String
[INFO] -
---
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: org.a
pache.maven.plugins:maven-eclipse-plugin. Reason: Unable to parse the created DO
M for plugin configuration
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:548)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:482)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:452)
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)
Caused by: org.apache.maven.plugin.PluginConfigurationException: Error configuri
ng: org.apache.maven.plugins:maven-eclipse-plugin. Reason: Unable to parse the c
reated DOM for plugin configuration
at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(Def
aultPluginManager.java:1044)
at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
tPluginManager.java:563)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:377)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:519)
... 16 more
Caused by: org.codehaus.plexus.component.configurator.ComponentConfigurationExce
ption: Cannot assign configuration entry 'buildcommands' to 'interface java.util
.List' from 'org.eclipse.wst.common.modulecore.ComponentStructuralBuilder, org.e
clipse.jdt.core.javabuilder, org.eclipse.wst.validation.validationbuilder, org.e
clipse.wst.common.modulecore.ComponentStructuralBuilderDependencyResolver,
org.eclipse.wst.common.modulecor
e.DependencyGraphBuilder', which is of type class java.lang.String
at org.codehaus.plexus.component.configurator.converters.AbstractConfigu
rationConverter.fromExpression(AbstractConfigurationConverter.java:149)
at org.codehaus.plexus.component.configurator.converters.composite.Colle
ctionConverter.fromConfiguration(CollectionConverter.java:63)
at org.codehaus.plexus.component.configurator.converters.ComponentValueS
etter.configure(ComponentValueSetter.java:247)
at org.codehaus.plexus.component.configurator.converters.com

[m2] ant WAR tasks and

2005-10-25 Thread Darren Hartford
Hey all,
Trying to do something pretty simple I thought - use the  task
to create the classpath, then for WAR task (and similar tasks) simply
add the classpath as the  param:

  
  
   








But, that doesn't work - has anyone experienced this that could show a
working example (I've tried quite a few variations and filesets already
without success so please test)?

http://ant.apache.org/manual/CoreTasks/war.html
'lib' section

Thanky, kinda urgent as in a bind as I made a poor assumption this would
be easy :-(
-D


P.s. When using the filesetId, it does not complain but the lib
directory will have three-level subdirs below \lib.

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



Re: velocity-1.4-dev.jar gone from Ibibli, what to do?

2005-10-25 Thread Dennis Geurts
Funny, I just noticed the same !!!
 If you can find it at
http://www.ibiblio.org/maven2/velocity/velocity/1.4-dev/
  I agree it's of course much nicer to be able to automatically download it
after a repo clean...
 as a side note:

It also seems that commons-logging-1.1-dev.jar is also missing...
(also available at maven2 repo)
http://www.ibiblio.org/maven2/commons-logging/commons-logging/1.1-dev/
 both jars are dependencies for various 'important' plugins (e.g. xdoclet
plugin)
Should I post a JIRA issue to request for an update of these plugins to
depend
on jars that are NOT development versions ??
 Dennis
 On 10/25/05, Ruud Wijnands <[EMAIL PROTECTED]> wrote:
>
> I just removed my complete maven 1.0.2 repository to perform a full clean
> build and download everything fresh.
> I ran into the problem that now velocity-1.4-dev.jar cannot be downloaded.
> When I look at the ibiblio site this seems correct.
>
> Has this been removed by mistake? How can I fix this? I don't have a local
> copy.
>
> Regards,
> Ruud Wijnands
>
>


Re: How to use different context.xml files?

2005-10-25 Thread Claus, Janek (NIH/NICHD)

Thank you very much, this helped!

I hadn't even looked at profiles. They solve this problem very elegantly.

Janek


Mark Hobson wrote:

Hi Janek,

Filtering is obviously the best way to achieve this, but we need to
resolve MNG-791 first.

An alternative way which I'm using in the interim is to use profiles.
You'll need to create multiple versions of your context.xml and
configure the war plugin accordingly, e.g.:

  src
  |_ profiles
|_ default
  |_ webapp
|_ META-INF
  |_ context.xml
|_ live
  |_ webapp
|_ META-INF
  |_ context.xml
|_ ...

Then setup your pom with something like:

  
...

  
default

  true


  

  maven-war-plugin
  

profiles/default/webapp

  

  

  
  
live

  

  maven-war-plugin
  

profiles/live/webapp

  

  

  
  ...

...
  

Then just use "mvn -P war" to build your war with the given
profile's context.xml, e.g. "mvn -Plive war" for the 'live' profile,
or just use the default with a "mvn war"

Mark

On 24/10/05, Claus, Janek (NIH/NICHD) <[EMAIL PROTECTED]> wrote:
 > All,
 >
 > One of the possibilities Tomcat 5.5 suggest for the context 
configuration of a web
 > application is a file named "context.xml" in the META-INF of your 
webapp.

 >
 > In my case it declares a datasource, which differs depending on the 
deployment environment.

 >
 > Question: how can I use different context.xml for different 
environments? Filters don't
 > work, because the file is not part of "resources", but 
webapp/META-INF (because, when it's

 > part of resources it gets packaged under WEB-INF/classes).
 >
 > I'm trying to figure out the best way to do this, using context.xml 
or external
 > configuration files (which will need to be deployed and undeployed 
each time the web-app

 > get's deployed or undeployed)
 >
 > Thx for any help!
 >
 > Janek
 >
 > -
 > 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: Logging/tracing conventions

2005-10-25 Thread Jamie Bisotti
On 9/28/05, Orjan Austvold <[EMAIL PROTECTED]> wrote:
>
> Instead of having lots of debug statements in your Mojo, you could
> simply connect a debugger to Maven.
>
> I'm doing this with IDEA simply by running maven with
>
> MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE
> -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005" m2 install
>
>
> Ørjan
>
>
> Gilles Scokart wrote:
> >
> > When writting a Mojo, what are the standard convention to trace/log
> > [debug] messages ?
> >
> >
> > Gilles Scokart
> >
> > _
> > Protégez votre boîte de réception: Phishing : comment l'identifier, le
> > signaler et l'empêcher http://www.fr.msn.be/security/phishing/
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> --
> Ørjan Austvold - Senior Software Architect
> www.colibria.com  - putting the presence into
> messaging
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Using a debugger in place of log statements if a bad idea!

--
Jamie Bisotti


New JIRA project for the Maven 2.x plug-in for Eclipse

2005-10-25 Thread Jason van Zyl
Hi,

I've created a project so that people who are trying out the new Maven
2.x plug-in for Eclipse can raise issues/concerns:

http://jira.codehaus.org/browse/MNGECLIPSE

-- 
jvz.

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



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



Re: [m2] How to add Javadoc Report(s) ?

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 19:16 +0200, Christian Schulte wrote:
> Hi,
> 
> I have setup a simple multi module project by looking at the maven 
> sources on how it is done in maven itself. Everything is working so far 
> and I am quite happy with maven 2. I cannot figure out how to add a 
> javadoc "report" to the generated site the right way.  I would like to 
> have either one javadoc generated in the root project's site aggregating 
> all sources from any module or the javadocs of the different modules 
> linked to each other so that they become browseable as one document. Is 
> that possible ? Any help highly appreciated.

You can generally find info on plugins here:

http://maven.apache.org/plugins/

What you are looking for is here:

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

-- 
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: Mapping to Lists

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 14:06 -0400, Brian Bonner wrote:

Ok, I updated the doco for lists:

http://maven.apache.org/guides/mini/guide-configuring-plugins.html

Works very much like the population of arrays.

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



[ERROR] Nonexistent component: org.apache.maven.wagon.Wagonhttp

2005-10-25 Thread Brian Bonner
Not sure where to send this.  I have been trying to figure out why the
.wtpmodules is not getting included when I run mvn eclipse:eclipse.

I added a test case to the EclipsePluginTest (the dreaded "project-7")
and added a project-7 directory with a pom.xml (renamed to
projects.xml) to /src/test/projects.

I then added the necessary dependent poms/jars to the repository in
/src/test/repository.

I run the tests and all of the prior 6 pass, but testProject7() fails with:

[ERROR] Nonexistent component: org.apache.maven.wagon.Wagonhttp

This error doesn't make much sense to me.  Does anyone have a
suggestion about this?

Brian

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



Re: velocity-1.4-dev.jar gone from Ibibli, what to do?

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 20:17 +0200, Dennis Geurts wrote:
> Funny, I just noticed the same !!!
>  If you can find it at
> http://www.ibiblio.org/maven2/velocity/velocity/1.4-dev/
>   I agree it's of course much nicer to be able to automatically download it
> after a repo clean...
>  as a side note:

We've got a general problem with -dev artifacts it seems. Some conflict
with the classifier code. Can you raise an issue in JIRA?

People seemed to be having the same problem with the jtidy JAR.

-- 
jvz.

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



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



Re: Mapping to Lists

2005-10-25 Thread Brian Bonner
Thanks, Jason.  That's almost how I did it (actually using
java.lang.String in place of the singular), but why does:
http://svn.apache.org/viewcvs.cgi/*checkout*/maven/components/trunk/maven-plugins/maven-eclipse-plugin/src/test/projects/project-5/project.xml?rev=280259
have a comma separated list?  Is this old?

Brian
On 10/25/05, Jason van Zyl <[EMAIL PROTECTED]> wrote:
> On Tue, 2005-10-25 at 14:06 -0400, Brian Bonner wrote:
>
> Ok, I updated the doco for lists:
>
> http://maven.apache.org/guides/mini/guide-configuring-plugins.html
>
> Works very much like the population of arrays.
>
> --
> jvz.
>
> Jason van Zyl
> jason at maven.org
> http://maven.apache.org
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: [ANN] Maven Repository Plugin v2.0 Released

2005-10-25 Thread Alexandre Poitras
I am not able to retrieve it from the repository.I keep getting the
following error :

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'repository'.
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-reposi
tory-plugin/2.0/maven-repository-plugin-2.0.pom
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org
/maven2)
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-reposi
tory-plugin/2.0/maven-repository-plugin-2.0.pom
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org
/maven2)
[INFO]
-

By the way, I am a totally new to maven so maybe I do something wrong.

On 10/24/05, Jason van Zyl <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> The first version of the repository plugin has been released in order to
> allow users to create upload bundles. To find out more about creating
> upload bundles you can look here:
>
> http://maven.apache.org/guides/mini/guide-ibiblio-upload.html
>
> To obtain the latest release, include the  in your POM:
> 
> org.apache.maven.plugins
> maven-repository-plugin
> 2.0
> 
>
> If you have omitted the version, you can update to the latest release
> using the -U flag:
>
> mvn -U repository:bundle-create
>
> --
> jvz.
>
> Jason van Zyl
> jason at maven.org 
> http://maven.apache.org
>
> Three people can keep a secret provided two of them are dead.
>
> -- Unknown
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


[m1.0.2] retrieve goal called

2005-10-25 Thread Marc Attiyeh
Is there a way in Jelly (my maven.xml) to retrieve the name of the goal
the user called?  I want some validation on parameters to only take
place if certain goals are called.  Thanks!

-marc

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



Re: [ANN] Maven Repository Plugin v2.0 Released

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 15:26 -0400, Alexandre Poitras wrote:
> I am not able to retrieve it from the repository.I keep getting the
> following error :

It doesn't appear to be up at ibiblio. I'll find out why. Thanks.

> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'repository'.
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-reposi
> tory-plugin/2.0/maven-repository-plugin-2.0.pom
> [WARNING] Unable to get resource from repository central (
> http://repo1.maven.org
> /maven2)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-reposi
> tory-plugin/2.0/maven-repository-plugin-2.0.pom
> [WARNING] Unable to get resource from repository central (
> http://repo1.maven.org
> /maven2)
> [INFO]
> -
> 
> By the way, I am a totally new to maven so maybe I do something wrong.
> 
> On 10/24/05, Jason van Zyl <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > The first version of the repository plugin has been released in order to
> > allow users to create upload bundles. To find out more about creating
> > upload bundles you can look here:
> >
> > http://maven.apache.org/guides/mini/guide-ibiblio-upload.html
> >
> > To obtain the latest release, include the  in your POM:
> > 
> > org.apache.maven.plugins
> > maven-repository-plugin
> > 2.0
> > 
> >
> > If you have omitted the version, you can update to the latest release
> > using the -U flag:
> >
> > mvn -U repository:bundle-create
> >
> > --
> > jvz.
> >
> > Jason van Zyl
> > jason at maven.org 
> > http://maven.apache.org
> >
> > Three people can keep a secret provided two of them are dead.
> >
> > -- Unknown
> >
> >
> > -
> > 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

Three people can keep a secret provided two of them are dead.

 -- Unknown


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



[solved]Re: bad pgp signature and checksum on the distributed files.

2005-10-25 Thread Francois Bertel
Ok, I solved the issue myself...

I got confused by the name of the link on the download page
http://maven.apache.org/maven-1.x/start/download.html .

I first downloaded the checksum and PGP signatures by right clicking on
"checksum" and "PGP" and they were real files.

So, I did the same for ".tar.bz2 archive" and save the link:
http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-1.0.2.tar.bz2

I didn't catch the "cgi" word at first.

Fortunately, at some point, I left clicked "by mistake" on this link and a
mirror page showed up! So, I could download the right file and everything is
fine now.

It sounds like the joke of the day. :-)

Francois Bertel wrote:
> Hi,
> 
> It seems the distributed files of maven have wrong pgp signature and checksum.
> 
> I'm running Gentoo Linux on a x86 architecture.
> 
> I downloaded maven-1.0.2.tar.bz2 , md5 and asc files from this page:
> http://maven.apache.org/maven-1.x/start/download.html
> 
> First, I typed:
> 
> $ gpg --verify maven-1.0.2.tar.bz2.asc maven-1.0.2.tar.bz2
> 
> and I got:
> 
> gpg: Signature made Tue Dec  7 06:19:08 2004 EST using DSA key ID 084C9113
> gpg: Can't check signature: public key not found
> 
> So, I typed:
> $ gpg --keyserver pgp.mit.edu --recv-keys 084C9113
> 
> and I got:
> gpg: requesting key 084C9113 from hkp server pgp.mit.edu
> gpg: key 084C9113: duplicated user ID detected - merged
> gpg: key 084C9113: public key "Brett Porter <[EMAIL PROTECTED]>" imported
> gpg: no ultimately trusted keys found
> gpg: Total number processed: 1
> gpg:   imported: 1
> 
> Then, I tried again:
> $ gpg --verify maven-1.0.2.tar.bz2.asc maven-1.0.2.tar.bz2
> 
> and I got:
> gpg: Signature made Tue Dec  7 06:19:08 2004 EST using DSA key ID 084C9113
> gpg: BAD signature from "Brett Porter <[EMAIL PROTECTED]>"
> 
> 
> I also ran md5sum on the file:
> $ md5sum maven-1.0.2.tar.bz2
> I got:
> b8deac945380d76c27e60b1fc4711a8a  maven-1.0.2.tar.bz2
> which is different from:
> $ cat maven-1.0.2.tar.bz2.md5
> 81a6b4393e550635efe19e95cea38718
> 
> 
> I have the same issue with the .tar.gz file or with maven-2.0.
> 
> Any help appreciated.
> 
> 


-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
  | Clifton Park NY 12065, USA

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



[M2] How to checkout

2005-10-25 Thread Alexandre Poitras
Hi, here's a newbie question but I can't find any guide on the subject. I
just want to know how to checkout or performs a clean update of a project in
a SCM repository. Do I have to use the goal "scm" like with Maven 1? Any
documentation on this subject?

And I also wanted to know is it possible to use the WebDav protocol with the
"repository" goal instead of FTP or SCP to upload my jar?

Thank for the help! I really appreciate.

Alexandre Poitras


[M2] clearcase

2005-10-25 Thread Erick Dovale

HI,
Can anyone comment on the current status for clearcase support in M2??
I noticed there is some stuff on svn already for it but I am not sure 
how complete it is.


thanks.

erick.

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



OutOfMemoryErrors in Reports

2005-10-25 Thread Christian Goos

Hi 

I get OutOfMemoryErrors with javadoc, checkstyle and surefire reports.
Configure Maven_opts did not help.
What can I do?

Thanks for help

Christian
__
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


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



Re: assembly info and archive search

2005-10-25 Thread Kevin Galligan
That page gives some examples, but I don't know what the sections 
describe or what's possible.  I think this page...


http://maven.apache.org/maven2/plugins/maven-assembly-plugin/assembly.html

with details for each part of the descriptor would help.  There are 
several parts of the xml file that I'm unclear about.


However, the mini guide has some more examples that should help.

Thanks

Jason van Zyl wrote:

On Tue, 2005-10-25 at 07:49 -0400, Kevin Galligan wrote:

I have a couple simple questions.  The first is about the assembly 
plugin.  Is there a place to find some more detailed info about the 
descriptor file?  The documentation pages are pretty light at this 
point.  Maybe a mailing list post or bug report?


This leads to the second question.  Is there a way to search the mailing 
list archive?  I can't find anything on this page...


http://mail-archives.apache.org/mod_mbox/maven-users/



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

If you want to work through something today I can improve the
documentation.



Thanks in advance,
-Kevin

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



Problem after running custom plugin in Maven 1.1-beta-1

2005-10-25 Thread surabhi
Hi ,

I have written a custom plugin and installed it. Once when I run that goal 
which is in that plugin it runs fine.
After that whenever I try to run any other goal in any other folder of the 
project , maven still tries to run same goal(custom plugin goal) which I 
ran before.
Has anyone have any idea what could be the problem ?

Regards,
Surabhi Asthana
Team Leader
Spend Data Management
ZYCUS INC. 
Ph : ++ 91 22 5640 7676 Extn. : 7803


Re: [M2] How to checkout

2005-10-25 Thread Mark Hobson
On 25/10/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> And I also wanted to know is it possible to use the WebDav protocol with the
> "repository" goal instead of FTP or SCP to upload my jar?

Regarding webdav, my colleague has written a webdav wagon provider
(wagon is what m2 uses internally for transport) that uses jakarta
slide.  He should be submitting it soon once he's got to the bottom of
the slide pom sync process..

Mark

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



new sites

2005-10-25 Thread Jason van Zyl
Howdy,

Not a whole lot but a tiny start for the Maven SCM and Maven Wagon
sites. Just enough to make people ask where the real documentation
is :-)

Maven SCM
http://maven.apache.org/scm

Maven Wagon
http://maven.apache.org/wagon

-- 
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] pom.xml syntax

2005-10-25 Thread John Fallows
On 10/5/05, Jason van Zyl <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-10-05 at 18:56 +, John Fallows wrote:
> > Is it possible to customize the syntax of pom.xml without impacting
> > the rest of the Maven2?
>
> In theory yes, but would we want to allow that I don't know. What do you
> want to customize? Is is something generally useful that might be
> incorporated into Maven itself?

Not really - it's more of an intermediate step to aid initial Maven2
adoption for an existing build system. Over time we'll hopefully be able to
consume pom.xml directly. We'll be sure to file any necessary enhancements
or bugs that would otherwise prevent our migration to the standard
pom.xmlsyntax.

> > For example, could one provide a CustomMavenProjectBuilder and then
> > register it as a Plexus MavenProjectBuilder component?
>
> Yes.
>
> > How would Maven2 decide which implementation to use, if both the
> > Default and Custom implementations were registered on the M2
> > classpath?
>
> Plexus allows multiple implementations of a component which you select
> by a component id or role hint as we call it in Plexus. You would make
> your new component and would have to change the components.xml in maven-
> project and it would work but I don't know if that's something I'd like
> to see as a common occurrence.

Agreed 100%.

To get this working, we'd register a custom implementation with the same
, but a different , say
custom-syntax?

Then we would have to directly update META-INF/plexus/components.xml to add
that  to the  section of whatever consumes the
MavenProjectBuilder , right?

Does that mean we'd need to update the following from
maven-core-2.0.jar!/META-INF/plexus/components.xml?


org.apache.maven.Maven
org.apache.maven.DefaultMaven


org.apache.maven.project.MavenProjectBuilder
custom-syntax


org.apache.maven.lifecycle.LifecycleExecutor


org.apache.maven.usability.diagnostics.ErrorDiagnostics


org.apache.maven.execution.RuntimeInformation




I was wondering if it was possible to put this in a different JAR, and leave
maven-core-2.0.jar unchanged. This seems to imply that the 
org.apache.maven.Maven would need it's own  as well. Is
there a convenient way to get Maven2 to use a custom  when
discovering the org.apache.maven.Maven during "mvn" invocation?

Kind Regards,
John Fallows

> > -
> > 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
>
> you are never dedicated to something you have complete confidence in.
> No one is fanatically shouting that the sun is going to rise tomorrow.
> They know it is going to rise tomorrow. When people are fanatically
> dedicated to political or religious faiths or any other kind of
> dogmas or goals, it's always because these dogmas or
> goals are in doubt.
>
> -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: new sites

2005-10-25 Thread Emmanuel Venisse

Thanks Jason

Jason van Zyl a écrit :

Howdy,

Not a whole lot but a tiny start for the Maven SCM and Maven Wagon
sites. Just enough to make people ask where the real documentation
is :-)

Maven SCM
http://maven.apache.org/scm

Maven Wagon
http://maven.apache.org/wagon




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



RE: m2 eclipse plugin wtpmodules dependencies to artifacts

2005-10-25 Thread Franck de Bruijn
Hi,

I digged a little bit deeper and I noticed the following:

* EclipseClassPathWriter and EclipseWtpmodulesWriter are both invoked from
EclipsePlugin
* EclipseClassPathWriter gets invoked with a reference to 'project', while
EcpliseWtpmodulesWriter gets invoked with a reference to 'executedProject'.
* Some debug statements revealed that the latter does not have any artifacts
defined, and thus no dependency modules are written.

I changed 'executedProject' to 'project' and the plugin worked for me.

I am not sure if this is THE solution, since I actually have no clue about
the difference between so-called reactor projects and 'normal' projects.

Cheers,
Franck

-Original Message-
From: Brian Bonner [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 25 oktober 2005 18:41
To: Maven Users List
Subject: Re: m2 eclipse plugin wtpmodules dependencies to artifacts

I should have added:

of EclipseWtpmodulesWriter.

On 10/25/05, Brian Bonner <[EMAIL PROTECTED]> wrote:
> Looking for the same thing :)  II looked at the maven-eclipse-plugin
> source and it looks like it should pull these artifacts (check out the
> addDependency() method).
>
> Anyone have a suggestion on this?
> On 10/24/05, Franck de Bruijn <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> >
> >
> > I'm trying out maven 2 and the eclipse plugin in combination with
Eclipse
> > WTP.
> >
> >
> >
> > Everything works fine, although I do not manage to generate the
'dependent
> > modules' section in the .wtpmodules file, like below:
> >
> >
> >
> >  >
> >
> >
handle="module:/classpath/var/M2_REPO/struts/struts/1.2.4/struts-1.2.4.jar">
> >
> >   uses
> >
> > 
> >
> >
> >
> > The 'wb-resource' sections are generated successfully like below:
> >
> >
> >
> >  >
> >   source-path="src/main/java" />
> >
> >
> >
> > The struts jar-file is appended to the .classpath file, so I presume
that I
> > have configured my dependencies correctly.
> >
> >
> >
> > I checked the source code of the eclipse plugin, but I can't figure out
what
> > I'm doing wrong.
> >
> >
> >
> > Can anyone offer some help?
> >
> > Thanks,
> >
> > Franck
> >
> >
> >
>

-
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] pom.xml syntax

2005-10-25 Thread Jason van Zyl
On Tue, 2005-10-25 at 20:54 +, John Fallows wrote:
> On 10/5/05, Jason van Zyl <[EMAIL PROTECTED]> wrote:
> > On Wed, 2005-10-05 at 18:56 +, John Fallows wrote:
> > > Is it possible to customize the syntax of pom.xml without impacting
> > > the rest of the Maven2?
> >
> > In theory yes, but would we want to allow that I don't know. What do you
> > want to customize? Is is something generally useful that might be
> > incorporated into Maven itself?
> 
> Not really - it's more of an intermediate step to aid initial Maven2
> adoption for an existing build system. Over time we'll hopefully be able to
> consume pom.xml directly. We'll be sure to file any necessary enhancements
> or bugs that would otherwise prevent our migration to the standard
> pom.xmlsyntax.

You have some specific examples?

> To get this working, we'd register a custom implementation with the same
> , but a different , say
> custom-syntax?

Yes, but there the ProjectBuilder is made up of many other components so
we might need to document something for you.

> Then we would have to directly update META-INF/plexus/components.xml to add
> that  to the  section of whatever consumes the
> MavenProjectBuilder , right?

Something we've been planning for a while in plexus is to always use a
role hint because this is one of the cases where we thought we would
only ever have one implementation so all the components that use the
project builder only pull it in by its role. So we would have to change
that everywhere to use a role+role-hint so that you could do what you
need. Or if it's just your implementation then you can just knock out
the default one we provide. Actually that would probably be easier to
start.

> Does that mean we'd need to update the following from
> maven-core-2.0.jar!/META-INF/plexus/components.xml?
> 
> 
> org.apache.maven.Maven
> org.apache.maven.DefaultMaven
> 
> 
> org.apache.maven.project.MavenProjectBuilder
> custom-syntax
> 
> 
> org.apache.maven.lifecycle.LifecycleExecutor
> 
> 
> org.apache.maven.usability.diagnostics.ErrorDiagnostics
> 
> 
> org.apache.maven.execution.RuntimeInformation
> 
> 
> 

If you just moved ours out of the way and named yours the same as ours
you could quickly try your new version. You would simply need to change
the implementation element to point to your class instead of ours. The
rest of the requires elements would remain the same as they point to the
interface.

> I was wondering if it was possible to put this in a different JAR, and leave
> maven-core-2.0.jar unchanged. This seems to imply that the 
> org.apache.maven.Maven would need it's own  as well. Is
> there a convenient way to get Maven2 to use a custom  when
> discovering the org.apache.maven.Maven during "mvn" invocation?

You would need to knock our implementation out. The easiest way to do
this I would think is to put your implementation into maven-project and
rebuild the JAR. We haven't exposed plexus' overriding mechanism in
Maven. This allows a user configuration to override anything in the
component descriptors found inside the JARs. If you want to raise this
issue in JIRA we might be able to look at it. I think someone else asked
about a custom implementation of a component so using plexus' override
mechanism would make this a lot easier.

For anything with multiple implementations you use role hints. But we
are now thinking you'll never know when you will expand so we're moving
toward using role hints all the time and just having a default hint of
"default" in most places to make situations like this easier to deal
with.

Hope that helps. I'm in IRC if you need any more in depth help.

> Kind Regards,
> John Fallows
> 
> > > -
> > > 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
> >
> > you are never dedicated to something you have complete confidence in.
> > No one is fanatically shouting that the sun is going to rise tomorrow.
> > They know it is going to rise tomorrow. When people are fanatically
> > dedicated to political or religious faiths or any other kind of
> > dogmas or goals, it's always because these dogmas or
> > goals are in doubt.
> >
> > -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance
> >
> >
> > -
> > 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]



Deploy artifact and site via FileSystem

2005-10-25 Thread Eric Pugh

Hi all,

Is there a way for me to define the URL for file deployment in my  
settings.xml?  When I mount a directory on OSX, I have /Volumes/ 
bronze/repo directory, but other folks have different paths.  But  
they all point to the same directory!


I tried:

  

  bronze-maven-repo-file
  file:Volumes/maven/repo

  



but no joy!   Do I just have to have some sort of parent pom.xml and  
update that depending on what I need?


Eric

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



Re: [M2] How to checkout

2005-10-25 Thread Edwin Punzalan

To checkout a project using maven 2.x, the command would be:

   mvn scm:checkout -DconnectionUrl=



Alexandre Poitras wrote:


Hi, here's a newbie question but I can't find any guide on the subject. I
just want to know how to checkout or performs a clean update of a project in
a SCM repository. Do I have to use the goal "scm" like with Maven 1? Any
documentation on this subject?

And I also wanted to know is it possible to use the WebDav protocol with the
"repository" goal instead of FTP or SCP to upload my jar?

Thank for the help! I really appreciate.

Alexandre Poitras

 



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



Re: [ERROR] Nonexistent component: org.apache.maven.wagon.Wagonhttp

2005-10-25 Thread Edwin Punzalan

If i'm not mistaken that should be the Wagon Http Provider...

If it is, the error should go away if you put wagon-http in build -> 
extensions of pom.xml



Brian Bonner wrote:


Not sure where to send this.  I have been trying to figure out why the
.wtpmodules is not getting included when I run mvn eclipse:eclipse.

I added a test case to the EclipsePluginTest (the dreaded "project-7")
and added a project-7 directory with a pom.xml (renamed to
projects.xml) to /src/test/projects.

I then added the necessary dependent poms/jars to the repository in
/src/test/repository.

I run the tests and all of the prior 6 pass, but testProject7() fails with:

[ERROR] Nonexistent component: org.apache.maven.wagon.Wagonhttp

This error doesn't make much sense to me.  Does anyone have a
suggestion about this?

Brian

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