Re: Maven Webstart Plugin

2006-04-05 Thread jerome lacoste
On 4/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I am using maven-2.0.2
>
> The dependencies are correctly in the repository. I have created the log and
> can send you my pom.xml ... what is your email address? Reply to
> [EMAIL PROTECTED] so I have your email address.

Jeff,

I looked at your pom and log (the log was unfortunately somwhow
truncated), but I think I know what's going on.

You are trying to build a jar and create a jnlp distribution at the same time.

Maven prefers/advocates the "one module one produced artifact" rule of
thumb, so the webstart plugin was written with that in mind. I.e. it
requires you to have your dependencies built and installed in your
local repository when you try to build your jnlp distribution. You
maybe already have the partnership jar in your local repository now,
but I guess that maven doesn't take it into account as you are in a
project that supposedly is going to produce this artifact again.

To make use of the jnlp plugin, please create a second module. You
will end up with something like.

project/pom.xml
project/partnership/pom.xml
project/partnership/...
project/partnership-jnlp/pom.xml
project/partnership-jnlp/...

If you find this limitating, please open an issue in Jira:

http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&mode=hide&pid=11062&sorter/order=DESC&sorter/field=priority&resolution=-1&component=12115

More documentation:

http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/howto.html

Good luck,

Jerome

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



[maven-proxy] How to shutdown?

2006-04-05 Thread Khin, Gerald
Hi!
 
I'm using the standalone maven-proxy. I wonder if there is a way to shutdown 
the maven-proxy other than sending SIGINT at the process level but through a 
http request?
 
Cheers,
Gerald
 


Archetypes

2006-04-05 Thread Christopher Cudennec

Hello everyone,

I try to get to know what I can do by the archetype plugin. The guide to 
creating archetypes is alright for the basics but I would like to know 
how to set more variables by the archetype.xml. The documentation talks 
about setting the source and test-source-directory. But what about the 
target directory? In order to be able to adjust my own archetype to my 
existing project structure I would like to be able to set this one as 
well. I would appreciate any comments or a DTD ;).


Thanks,

Christopher

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



Re: SCM plugin for MKS SI in M2

2006-04-05 Thread Emmanuel Venisse

If you want to start to write a MKS provider for Maven-SCM, you're welcome.
Subscribe to maven scm developer list([EMAIL PROTECTED]) and we'll help you to 
start.

Emmanuel

Sharma, Jaikumar a écrit :

Oops! Typo.
It would be really helpful to lots of people, if somebody can take the
initiative!

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 05, 2006 10:53 AM

To: Maven Users List
Subject: Re: SCM plugin for MKS SI in M2


There was some discussion about implementing MKS maven-scm-provider, but
the implementation has never surfaced.

-D


On 4/4/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote:


Dear Maven users,

Has anyone of you come across / or have info about MKS Source
Integrity plugin for M2 ? http://www.mks.com 

Thanks for your help!

- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message
is privileged and confidential, and is intended only for the use of 
the

addressee(s) named above and others who have been specifically


authorized


to
receive it. If you are not the intended recipient, you are hereby


notified


that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability


for


any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liablility for any delays. If you have
received this message in error, please contact the sender and delete


the


message. Thank you.




- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.




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



RE: SCM plugin for MKS SI in M2

2006-04-05 Thread Sharma, Jaikumar
Fine for me. Subscribed to [EMAIL PROTECTED]

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 05, 2006 1:25 PM
To: Maven Users List
Subject: Re: SCM plugin for MKS SI in M2


If you want to start to write a MKS provider for Maven-SCM, you're welcome.
Subscribe to maven scm developer list([EMAIL PROTECTED])
and we'll help you to start.

Emmanuel

Sharma, Jaikumar a écrit :
> Oops! Typo.
> It would be really helpful to lots of people, if somebody can take the 
> initiative!
> 
> -Original Message-
> From: dan tran [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 05, 2006 10:53 AM
> To: Maven Users List
> Subject: Re: SCM plugin for MKS SI in M2
> 
> 
> There was some discussion about implementing MKS maven-scm-provider, 
> but the implementation has never surfaced.
> 
> -D
> 
> 
> On 4/4/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote:
> 
>>Dear Maven users,
>>
>>Has anyone of you come across / or have info about MKS Source 
>>Integrity plugin for M2 ? http://www.mks.com 
>>
>>Thanks for your help!
>>
>>- - - - - - - DISCLAIMER- - - - - - - -
>>Unless indicated otherwise, the information contained in this message 
>>is privileged and confidential, and is intended only for the use of 
>>the
>>addressee(s) named above and others who have been specifically
> 
> authorized
> 
>>to
>>receive it. If you are not the intended recipient, you are hereby
> 
> notified
> 
>>that any dissemination, distribution or copying of this message and/or 
>>attachments is strictly prohibited. The company accepts no liability
> 
> for
> 
>>any
>>damage caused by any virus transmitted by this email. Furthermore, the 
>>company does not warrant a proper and complete transmission of this 
>>information, nor does it accept liablility for any delays. If you have 
>>received this message in error, please contact the sender and delete
> 
> the
> 
>>message. Thank you.
>>
>>
> 
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message 
> is privileged and confidential, and is intended only for the use of 
> the
> addressee(s) named above and others who have been specifically authorized
to
> receive it. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability for
any
> damage caused by any virus transmitted by this email. Furthermore, the
> company does not warrant a proper and complete transmission of this
> information, nor does it accept liability for any delays. If you have
> received this message in error, please contact the sender and delete the
> message. Thank you.
> 


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

- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.


RE: [surefire] xml report not well formed contains

2006-04-05 Thread Jens Zastrow
What kind of tests this junit-test is supposed to do???

[test3]
public class SurefireTest3
extends TestCase
{

public SurefireTest3( )
{
super( );
}

public SurefireTest3( String name )
{
super( name );
}


public void testQuote()
{
fail( "\"" );
}

public void testLower()
{
fail( "<" );
}

public void testGreater()
{
fail( ">" );
}

}

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: Tuesday, April 04, 2006 7:48 PM
To: Maven Users List
Subject: Re: [surefire] xml report not well formed 
contains <

There's a test case
https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-surefire-plug
in/src/it/test3
and it's working correctly

On 4/4/06, Jens Zastrow <[EMAIL PROTECTED]> wrote:
> the message attribute of the  element contains < - the text 
> inside  is escaped correctly.
>
> [pom.xml]
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.1.3
>
> [report.xml]
>  
>  message="expected:<1> but
was:<2>">junit.framework.AssertionFailedError:
> expected:<1> b
> ut was:<2>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:282)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at junit.framework.Assert.assertEquals(Assert.java:201)
> at junit.framework.Assert.assertEquals(Assert.java:207)
> at
> de.dailab.security.control.pki.component.spki.tests.junit.JUnit_SPKIVa
> li dityCheckerBean.testCheckValidityForIssuer(JUnit_SPKIValidityChecke
> rBean.java:138)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> av
> a:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> or
> Impl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at
junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
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: [M1] Checkstyle plugin: how to retrieve config via https

2006-04-05 Thread Arnaud HERITIER
Hi Gisbert

  Sorry for the delay

  I don't know if it works but can you test something like that :

In your project's properties :

maven.checkstyle.propertiesURL=https://${maven.svn.username
}:${maven.svn.password
[EMAIL PROTECTED]/


In your private properties :

maven.svn.username=??
maven.svn.password=???

Arnaud


On 4/3/06, Gisbert Amm <[EMAIL PROTECTED]> wrote:
>
> We want to retrieve the Checkstyle config via https out of our
> Subversion repository. In the docs I did not find any possibility to set
> the user and password. When I simply tried it with the https-URL I got
> the error "unable to create checker". Is it possible to use Checkstyle
> like that and how?
>
> Regards,
> Gisbert Amm
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [M2] using tomcat-maven-plugin to stop a no existing war

2006-04-05 Thread Mark Hobson
Currently all tomcat errors are treated as fatal by the
tomcat-maven-plugin.  It would be possible to supply a config param to the
plugin to say ignore tomcat errors - is there a good enough use-case for
this?

BTW, probably best continue this discussion at [EMAIL PROTECTED]

Cheers,

Mark

On 05/04/06, Kevin Wang <[EMAIL PROTECTED]> wrote:
>
>  Hi, all,
>
>I am using tomcat-maven-plugin to stop a war which was deployed or not,
> If the war was not deployed, the mvn job will give BUILD ERROR and stop to
> build, Can you tell me how to ignore and continue building it?
>
>
>
> Regards/Kevin.
>  --
>
> *Qiang(Kevin) Wang*
> Software Engineer
> Phone: 8610.85281188.1564
> Mobile: 86.13910673958
> Yahoo_IM: wiseking_wq
> [EMAIL PROTECTED]
>
>  *BEA Systems (China) Ltd.*
> 11F, China Life Tower No. 16
> Chao Wai Da Jie, Beijing 100020, China
> Fax: 86. 85251008
> www.bea.com.cn
> dev2dev.bea.com
>
>
>
> ___
> Notice:  This email message, together with any attachments, may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> entities,  that may be confidential,  proprietary,  copyrighted  and/or
> legally privileged, and is intended solely for the use of the individual
> or entity named in this message. If you are not the intended recipient,
> and have received this message in error, please immediately return this
> by email and then delete it.
>
>


Re: [M2] using tomcat-maven-plugin to stop a no existing war

2006-04-05 Thread Mark Hobson
[resend to correct mojo address - gets me everytime!]

Currently all tomcat errors are treated as fatal by the
tomcat-maven-plugin.  It would be possible to supply a config param to the
plugin to say ignore tomcat errors - is there a good enough use-case for
this?

BTW, probably best continue this discussion at
user@mojo.codehaus.org<[EMAIL PROTECTED]>
.

Cheers,

Mark

On 05/04/06, Kevin Wang <[EMAIL PROTECTED]> wrote:
>
>  Hi, all,
>
>I am using tomcat-maven-plugin to stop a war which was deployed or not,
> If the war was not deployed, the mvn job will give BUILD ERROR and stop to
> build, Can you tell me how to ignore and continue building it?
>
>
>
> Regards/Kevin.
>  --
>
> *Qiang(Kevin) Wang*
> Software Engineer
> Phone: 8610.85281188.1564
> Mobile: 86.13910673958
> Yahoo_IM: wiseking_wq
> [EMAIL PROTECTED]
>
>  *BEA Systems (China) Ltd.*
> 11F, China Life Tower No. 16
> Chao Wai Da Jie, Beijing 100020, China
> Fax: 86. 85251008
> www.bea.com.cn
> dev2dev.bea.com
>
>
>
> ___
> Notice:  This email message, together with any attachments, may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> entities,  that may be confidential,  proprietary,  copyrighted  and/or
> legally privileged, and is intended solely for the use of the individual
> or entity named in this message. If you are not the intended recipient,
> and have received this message in error, please immediately return this
> by email and then delete it.
>
>


RE: [surefire] xml report not well formed contains

2006-04-05 Thread Jens Zastrow
You are right, it works using maven2 from the commandline.
In my case it is used within Cruisecontrol.. 
May there a problem with different versions of junit.jar usd by maven2
and cruisecontrol???

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: Tuesday, April 04, 2006 7:48 PM
To: Maven Users List
Subject: Re: [surefire] xml report not well formed 
contains <

There's a test case
https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-surefire-plug
in/src/it/test3
and it's working correctly

On 4/4/06, Jens Zastrow <[EMAIL PROTECTED]> wrote:
> the message attribute of the  element contains < - the text 
> inside  is escaped correctly.
>
> [pom.xml]
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.1.3
>
> [report.xml]
>  
>  message="expected:<1> but
was:<2>">junit.framework.AssertionFailedError:
> expected:<1> b
> ut was:<2>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:282)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at junit.framework.Assert.assertEquals(Assert.java:201)
> at junit.framework.Assert.assertEquals(Assert.java:207)
> at
> de.dailab.security.control.pki.component.spki.tests.junit.JUnit_SPKIVa
> li dityCheckerBean.testCheckValidityForIssuer(JUnit_SPKIValidityChecke
> rBean.java:138)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> av
> a:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> or
> Impl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at
junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
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: Error w/ Cobertura

2006-04-05 Thread Rinku

Hi,

Have there been any interesting/important changes in settings.xml with
Maven 2.0.3? Could anyone please detail if this is the case.

I also notice that the release notes on the websites still display for
version 2.0 - is that correct? Is it not possible to extract into the
release notes the summary of JIRA issues fixed in that release and
publish them on the website (would be nice to see what all got fixed
without doing a query on JIRA - it runs at snail's pace at times!)

TIA,
Rahul


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

To: "Maven Users List" 
Sent: Wednesday, April 05, 2006 11:47 AM
Subject: RE: Error w/ Cobertura


Don't forget that after you upgrade to Maven 2.0.3 to update your
settings.xml file!

-j

---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
http://www.hsbc.ca
p: (604) 643-6605
f: (604) 643-6727








"Daun DeFrance" <[EMAIL PROTECTED]>
04/04/2006 12:51 PM
Please respond to "Maven Users List"


   To: "Maven Users List" 
   cc:
   Subject:RE: Error w/ Cobertura

 Our Ref:
   Your Ref:


Lee,

Recent Cobertura plugin requires Maven 2.0.3 to run.  Go to
http://maven.apache.org and update your version of maven before trying
to run the plugin again.

I would also update your Cobertura plugin because I believe my version
requires 2.0.3, not the snapshot version.

Best,
D DeFrance

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Lee Meador
Sent: Tuesday, April 04, 2006 10:30 AM
To: Maven Users List
Subject: Error w/ Cobertura

I get this error when trying to run the Cobertura report:

[INFO] Error resolving version for
'org.codehaus.mojo:cobertura-maven-plugin':
Plugin requires Maven version 2.0.3-SNAPSHOT

Does anyone have a translation?

-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]

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




***
This email may contain confidential information, and is intended only
for
the named recipient and may be privileged.  Distribution or copying of
this email by anyone other than the named recipient is prohibited. If
you
are not the named recipient, please notify us immediately and
permanently
destroy this email and all copies of it.  Internet email is not private,
secure, or reliable.  No member of the HSBC Group is liable for any
errors
or omissions in the content or transmission of this email. Any opinions
contained in this email are solely those of the author and, unless
clearly
indicated otherwise in writing, are not endorsed by any member of the
HSBC
Group.
***
Ce courriel peut renfermer des renseignements confidentiels et
privilégiés
et s'adresse au destinataire désigné seulement.   La distribution ou la
copie de ce courriel par toute personne autre que le destinataire
désigné
est interdite.  Si vous n'êtes pas le destinataire désigné, veuillez
nous
en aviser immédiatement et détruire de façon permanente ce courriel
ainsi
que toute copie de celui-ci. La transmission de courriel par Internet ne
constitue pas un mode de transmission confidentiel, sécuritaire ou
fiable.
Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des
omissions relatives au contenu ou à la transmission de ce courriel.
L'auteur de ce courriel est seul responsable des opinions émises dans ce
courriel, lesquelles, à moins  d'un avis contraire fourni par écrit, ne
sont pas endossées par aucun membre du Groupe HSBC.
***


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



Re: Need advice on version numbering convention

2006-04-05 Thread Yann Le Du
Hi Man-Chi,

About the Maven conventions, you can check out the first paragraph of
http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution

HTH,
- Yann

On 4/5/06, Eric Redmond <[EMAIL PROTECTED]> wrote:
>
> Well, sorry to dissapoint, but I'm not an expert... I am, however, full of
> opinions!
>
> This is how I tend to number, and it works well for me:
>
> Skip bugfix numbering unless you are working on a major project.
> Seriously.
> It gets very burdonsome to handle multiple minor edits on smaller
> projects,
> since they either 1) change a lot... meaning that all of their
> dependencies
> are expected to change? Naw, just use SNAPSHOTs or timestamps. 2) rarely
> change... meaning, why would you need to keep track of version 1.0.1versus
> 1.0.2?
> Now, that said, bugfix numbering is good for larger projects, like linux,
> jboss, or maven. The difference between 2.0.0 and 2.0.3 is fairly
> substantial. So, what's the difference between a small and large project?
> Well, thats up to you. Just don't get overzealous. Remember: you can
> always
> add decimals later, but its hard to take them away (try and explain to
> your
> users and developers why you moved from 1.1.0.1a to the number 2: "what
> version is this, really"?).
>
> Parent and aggregator projects (pom packages) can live quite well with a
> single number. 1, 2, 3... no need to complicate matters, they don't change
> enough to need minor numbers, and when they do, its a pretty major change
> for their children.
> Addendum to the previous statment: if the artifact is the top aggregator
> of
> a large project. Since this version will tend to be the project's actual
> version, use the actual project's numbering scheme.
>
> I also like to use the *-alpha-1, *-beta-3, *-RC-1 style of naming. It
> works, its descriptive, and it lets users know if they're using a beta
> project right off the bat.
>
> I'd love the chat more, but the new episode of "House" is on!
>
> Hope this helps;
> Eric
>
> On 4/4/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote:
> >
> > hi,
> >
> > sorry that it is not a direct question on Maven usage, but I  really
> > hope to improve my Release management process with  Maven.
> >
> > I would like to understand more regarding version numbering
> > convention, perhaps, the most commonly practice in Java community.
> >
> > 1) for subversion source tree. it is using Release.Minor.Bugfix-
> > ReleaseCandidate scheme
> > e.g. from  1.0.x  -> 1.1.x ->1.2.x -> 1.3.x
> > 1.3.x-rc1 -> 1.3.x-rc2 -> 1.3.x-rc3
> >
> > 2) in linux kernel, 1.x  , odd-numbered releases (2.5, 2.7, etc.) are
> > unstable development versions, while even-numbered releases (2.6,
> > 2.8, etc.) are stable consumer releases.
> >
> > 3) Eclipse community is using a term "Milestone". it is from 2.x M1 -
> > > 2.xM2 ... -> 2.xM6 -> 3.x , etc
> >
> > 4) Apple is practicing number-letter-number scheme, also having
> > development version & marketing version
> > e.g first build of Panther (10.3) was 7A1. The first public release
> > was 7B85; the last, 10.3.9, was 7W98. But the next build of OS X was
> > 10.4, 8A1
> >
> > 5) in general, there is also 1.x apha , 1.x beta , 1.x final release.
> > etc
> >
> > 6) in Maven and relating maven plugin, there is a SNAPSHOT scheme.
> > i would like to find out more about the differences and good
> > practice. any expert can help?
> >
> > thanks so much for help and advice!
> >
> > Regards,
> > manchi
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>


Re: Error w/ Cobertura

2006-04-05 Thread Yann Le Du
Hi Rahul,

AFAIK there has been no changes in settings.xml with Maven 2.0.3 :

   - sample conf/settings.xml hasn't changed a bit
   - rare source changes for 2.0.3 seem to be only bug fixes :

   
http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-settings/src/main/java/org/apache/maven/settings/

- Yann

On 4/5/06, Rinku <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Have there been any interesting/important changes in settings.xml with
> Maven 2.0.3? Could anyone please detail if this is the case.
>
> I also notice that the release notes on the websites still display for
> version 2.0 - is that correct? Is it not possible to extract into the
> release notes the summary of JIRA issues fixed in that release and
> publish them on the website (would be nice to see what all got fixed
> without doing a query on JIRA - it runs at snail's pace at times!)
>
> TIA,
> Rahul
>
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: "Maven Users List" 
> Sent: Wednesday, April 05, 2006 11:47 AM
> Subject: RE: Error w/ Cobertura
>
>
> Don't forget that after you upgrade to Maven 2.0.3 to update your
> settings.xml file!
>
> -j
>
> ---
> Justin Fung
> [EMAIL PROTECTED]
> Sr. Analyst, Business Systems
> IT Banking Systems, e-Business
> HSBC Bank Canada
> http://www.hsbc.ca
> p: (604) 643-6605
> f: (604) 643-6727
>
>
>
>
>
>
>
>
> "Daun DeFrance" <[EMAIL PROTECTED]>
> 04/04/2006 12:51 PM
> Please respond to "Maven Users List"
>
>
> To: "Maven Users List" 
> cc:
> Subject:RE: Error w/ Cobertura
>
>   Our Ref:
> Your Ref:
>
>
> Lee,
>
> Recent Cobertura plugin requires Maven 2.0.3 to run.  Go to
> http://maven.apache.org and update your version of maven before trying
> to run the plugin again.
>
> I would also update your Cobertura plugin because I believe my version
> requires 2.0.3, not the snapshot version.
>
> Best,
> D DeFrance
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Lee Meador
> Sent: Tuesday, April 04, 2006 10:30 AM
> To: Maven Users List
> Subject: Error w/ Cobertura
>
> I get this error when trying to run the Cobertura report:
>
> [INFO] Error resolving version for
> 'org.codehaus.mojo:cobertura-maven-plugin':
> Plugin requires Maven version 2.0.3-SNAPSHOT
>
> Does anyone have a translation?
>
> -- Lee Meador
> Sent from gmail. My real email address is [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ***
> This email may contain confidential information, and is intended only
> for
> the named recipient and may be privileged.  Distribution or copying of
> this email by anyone other than the named recipient is prohibited. If
> you
> are not the named recipient, please notify us immediately and
> permanently
> destroy this email and all copies of it.  Internet email is not private,
> secure, or reliable.  No member of the HSBC Group is liable for any
> errors
> or omissions in the content or transmission of this email. Any opinions
> contained in this email are solely those of the author and, unless
> clearly
> indicated otherwise in writing, are not endorsed by any member of the
> HSBC
> Group.
> ***
> Ce courriel peut renfermer des renseignements confidentiels et
> privilégiés
> et s'adresse au destinataire désigné seulement.   La distribution ou la
> copie de ce courriel par toute personne autre que le destinataire
> désigné
> est interdite.  Si vous n'êtes pas le destinataire désigné, veuillez
> nous
> en aviser immédiatement et détruire de façon permanente ce courriel
> ainsi
> que toute copie de celui-ci. La transmission de courriel par Internet ne
> constitue pas un mode de transmission confidentiel, sécuritaire ou
> fiable.
> Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des
> omissions relatives au contenu ou à la transmission de ce courriel.
> L'auteur de ce courriel est seul responsable des opinions émises dans ce
> courriel, lesquelles, à moins  d'un avis contraire fourni par écrit, ne
> sont pas endossées par aucun membre du Groupe HSBC.
> ***
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Need advice on version numbering convention

2006-04-05 Thread Brian Topping

I would echo Eric's sentiments, with a caveat.

A lot of smaller (in house, no exposed APIs) projects can be helped  
by starting with build numbers taken directly from the subversion  
revision ID.  This is a monotonically increasing integer, and by  
using that for your release ID, there's little or no reason to use  
tags, since every release ID _is_ a tag.  The use of the release ID  
also gives users a very weak idea of how much difference there is  
between two builds.


What release IDs do not do is provide information about architectural  
changes.  For instance in the traditional number of x.y.z, a change  
in x would indicate a substantial or full rewrite of the product, a  
change in y would indicate potential incompatibilities, and a change  
in z would indicate bug fixes.  But if you are running a small shop  
that does not have customers relying on the APIs of your product, you  
can just use subversion IDs and save yourself a ton of time, since  
architectural changes don't matter to anyone but the engineers, and  
all they care about is where to find that version in the source  
repository.


As Eric said, you can always add later, but it's hard to take away.   
So start with SVN IDs, and if that's not enough, move on to simple  
version numbers (as tags) as an external communication aid.


HTH,

:b

On Apr 4, 2006, at 8:06 PM, Eric Redmond wrote:

Well, sorry to dissapoint, but I'm not an expert... I am, however,  
full of

opinions!

This is how I tend to number, and it works well for me:

Skip bugfix numbering unless you are working on a major project.  
Seriously.
It gets very burdonsome to handle multiple minor edits on smaller  
projects,
since they either 1) change a lot... meaning that all of their  
dependencies
are expected to change? Naw, just use SNAPSHOTs or timestamps. 2)  
rarely
change... meaning, why would you need to keep track of version  
1.0.1 versus

1.0.2?
Now, that said, bugfix numbering is good for larger projects, like  
linux,

jboss, or maven. The difference between 2.0.0 and 2.0.3 is fairly
substantial. So, what's the difference between a small and large  
project?
Well, thats up to you. Just don't get overzealous. Remember: you  
can always
add decimals later, but its hard to take them away (try and explain  
to your
users and developers why you moved from 1.1.0.1a to the number 2:  
"what

version is this, really"?).

Parent and aggregator projects (pom packages) can live quite well  
with a
single number. 1, 2, 3... no need to complicate matters, they don't  
change
enough to need minor numbers, and when they do, its a pretty major  
change

for their children.
Addendum to the previous statment: if the artifact is the top  
aggregator of
a large project. Since this version will tend to be the project's  
actual

version, use the actual project's numbering scheme.

I also like to use the *-alpha-1, *-beta-3, *-RC-1 style of naming. It
works, its descriptive, and it lets users know if they're using a beta
project right off the bat.

I'd love the chat more, but the new episode of "House" is on!

Hope this helps;
Eric

On 4/4/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote:


hi,

sorry that it is not a direct question on Maven usage, but I  really
hope to improve my Release management process with  Maven.

I would like to understand more regarding version numbering
convention, perhaps, the most commonly practice in Java community.

1) for subversion source tree. it is using Release.Minor.Bugfix-
ReleaseCandidate scheme
e.g. from  1.0.x  -> 1.1.x ->1.2.x -> 1.3.x
1.3.x-rc1 -> 1.3.x-rc2 -> 1.3.x-rc3

2) in linux kernel, 1.x  , odd-numbered releases (2.5, 2.7, etc.) are
unstable development versions, while even-numbered releases (2.6,
2.8, etc.) are stable consumer releases.

3) Eclipse community is using a term "Milestone". it is from 2.x M1 -

2.xM2 ... -> 2.xM6 -> 3.x , etc


4) Apple is practicing number-letter-number scheme, also having
development version & marketing version
e.g first build of Panther (10.3) was 7A1. The first public release
was 7B85; the last, 10.3.9, was 7W98. But the next build of OS X was
10.4, 8A1

5) in general, there is also 1.x apha , 1.x beta , 1.x final release.
etc

6) in Maven and relating maven plugin, there is a SNAPSHOT scheme.
i would like to find out more about the differences and good
practice. any expert can help?

thanks so much for help and advice!

Regards,
manchi

-
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] Is it possible to create an assembly w/o assembly.xml?

2006-04-05 Thread Szczepan Faber
Is it possible to create an assembly w/o assembly.xml (assembly descriptor)?

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



Re: [M2] Is it possible to create an assembly w/o assembly.xml?

2006-04-05 Thread Valerio Schiavoni
yes, there are pre-defined assembly descriptors.
http://maven.apache.org/plugins/maven-assembly-plugin/howto.html

m2 assembly:assembly -Dmaven.assembly.descriptorId=bin

  or  m2 assembly:assembly -Dmaven.assembly.descriptorId=jar-with-dependencies

  or  m2 assembly:assembly -Dmaven.assembly.descriptorId=src


cheers,
valerio

On 4/5/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
>
> Is it possible to create an assembly w/o assembly.xml (assembly
> descriptor)?
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
To Iterate is Human, to Recurse, Divine
James O. Coplien, Bell Labs
(how good is to be human indeed)


Re: [maven-proxy] How to shutdown?

2006-04-05 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Gerald,

> I'm using the standalone maven-proxy. I wonder if there is a way to
> shutdown the maven-proxy other than sending SIGINT at the process
> level but through a http request?

Simply open the proxy URL in your web browser, go into the admin section
and then click on "Shutdown gracefully". Although it says "not
implemented" the server isn't running anymore on my machine after I
click on that link...


Regards

Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEM67SQvObkgCcDe0RAtX1AKDoK3rwmUvgGjzReMO10H27ARFzKgCgogUg
UlbPUaCPwghKft5skTINF/g=
=SPZF
-END PGP SIGNATURE-

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



Re: [M2] Is it possible to create an assembly w/o assembly.xml?

2006-04-05 Thread Szczepan Faber
I tried all of them:

mvn assembly:assembly -Dmaven.assembly.descriptorId=bin
mvn assembly:assembly -Dmaven.assembly.descriptorId=jar-with-dependencies
mvn assembly:assembly -Dmaven.assembly.descriptorId=src

, but still:

"No assembly descriptors found."

Do I need to download Pre-defined Descriptor Files from assembly plugin page?

Thanks,
Szczepan

On 4/5/06, Valerio Schiavoni <[EMAIL PROTECTED]> wrote:
> yes, there are pre-defined assembly descriptors.
> http://maven.apache.org/plugins/maven-assembly-plugin/howto.html
>
> m2 assembly:assembly -Dmaven.assembly.descriptorId=bin
>
>   or  m2 assembly:assembly -Dmaven.assembly.descriptorId=jar-with-dependencies
>
>   or  m2 assembly:assembly -Dmaven.assembly.descriptorId=src
>
>
> cheers,
> valerio
>
> On 4/5/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
> >
> > Is it possible to create an assembly w/o assembly.xml (assembly
> > descriptor)?
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> To Iterate is Human, to Recurse, Divine
> James O. Coplien, Bell Labs
> (how good is to be human indeed)
>
>

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



Re: [M2] Is it possible to create an assembly w/o assembly.xml?

2006-04-05 Thread Valerio Schiavoni
no, they should be there...
what version of mvn are you using ?

On 4/5/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
>
> I tried all of them:
>
> mvn assembly:assembly -Dmaven.assembly.descriptorId=bin
> mvn assembly:assembly -Dmaven.assembly.descriptorId=jar-with-dependencies
> mvn assembly:assembly -Dmaven.assembly.descriptorId=src
>
> , but still:
>
> "No assembly descriptors found."
>
> Do I need to download Pre-defined Descriptor Files from assembly plugin
> page?
>
> Thanks,
> Szczepan
>
> On 4/5/06, Valerio Schiavoni <[EMAIL PROTECTED]> wrote:
> > yes, there are pre-defined assembly descriptors.
> > http://maven.apache.org/plugins/maven-assembly-plugin/howto.html
> >
> > m2 assembly:assembly -Dmaven.assembly.descriptorId=bin
> >
> >   or  m2 assembly:assembly -
> Dmaven.assembly.descriptorId=jar-with-dependencies
> >
> >   or  m2 assembly:assembly -Dmaven.assembly.descriptorId=src
> >
> >
> > cheers,
> > valerio
> >
> > On 4/5/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
> > >
> > > Is it possible to create an assembly w/o assembly.xml (assembly
> > > descriptor)?
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > To Iterate is Human, to Recurse, Divine
> > James O. Coplien, Bell Labs
> > (how good is to be human indeed)
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
To Iterate is Human, to Recurse, Divine
James O. Coplien, Bell Labs
(how good is to be human indeed)


Re: [M1] Checkstyle plugin: how to retrieve config via https

2006-04-05 Thread Gisbert Amm

Nope. Same error:

org.apache.commons.jelly.JellyTagException: 
/home/myuser/.maven/cache/maven-checkstyle-plugin-3.0/plugin.jelly:163:63: 
 Unable to create a Checker: unable to read 
https://myuser:[EMAIL PROTECTED]:myport/path/to/webde_checks.xml


For the moment I've worked around it in the httpd.conf of the subversion 
server allowing all users coming from the Cruisecontrol buildhost to 
access the repo without password. However, I'd rather make the 
checkstyle plugin authorize itself properly.


-Gisbert

Arnaud HERITIER wrote:


  I don't know if it works but can you test something like that :

In your project's properties :

maven.checkstyle.propertiesURL=https://${maven.svn.username
}:${maven.svn.password
[EMAIL PROTECTED]/


In your private properties :

maven.svn.username=??
maven.svn.password=???


On 4/3/06, Gisbert Amm <[EMAIL PROTECTED]> wrote:


We want to retrieve the Checkstyle config via https out of our
Subversion repository. In the docs I did not find any possibility to set
the user and password. When I simply tried it with the https-URL I got
the error "unable to create checker". Is it possible to use Checkstyle
like that and how?


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



Re: [M2] Is it possible to create an assembly w/o assembly.xml?

2006-04-05 Thread Valerio Schiavoni
try instead:

mvn assembly:assembly -DdescriptorId=bin
mvn assembly:assembly -DdescriptorId=jar-with-dependencies
mvn assembly:assembly -DdescriptorId=src

i think the site of the plugin is a bit out dated.

On 4/5/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
>
> I tried all of them:
>
> mvn assembly:assembly -Dmaven.assembly.descriptorId=bin
> mvn assembly:assembly -Dmaven.assembly.descriptorId=jar-with-dependencies
> mvn assembly:assembly -Dmaven.assembly.descriptorId=src
>
> , but still:
>
> "No assembly descriptors found."
>
> Do I need to download Pre-defined Descriptor Files from assembly plugin
> page?
>
> Thanks,
> Szczepan
>
> On 4/5/06, Valerio Schiavoni <[EMAIL PROTECTED]> wrote:
> > yes, there are pre-defined assembly descriptors.
> > http://maven.apache.org/plugins/maven-assembly-plugin/howto.html
> >
> > m2 assembly:assembly -Dmaven.assembly.descriptorId=bin
> >
> >   or  m2 assembly:assembly -
> Dmaven.assembly.descriptorId=jar-with-dependencies
> >
> >   or  m2 assembly:assembly -Dmaven.assembly.descriptorId=src
> >
> >
> > cheers,
> > valerio
> >
> > On 4/5/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
> > >
> > > Is it possible to create an assembly w/o assembly.xml (assembly
> > > descriptor)?
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > To Iterate is Human, to Recurse, Divine
> > James O. Coplien, Bell Labs
> > (how good is to be human indeed)
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
To Iterate is Human, to Recurse, Divine
James O. Coplien, Bell Labs
(how good is to be human indeed)


Re: [M2] Is it possible to create an assembly w/o assembly.xml?

2006-04-05 Thread Jakub Pawlowicz
Hi Szczepan,

Try removing the "maven.assembly." prefix, eg. use this:
mvn assembly:assembly -DdescriptorId=bin

It works perfectly for me (maven 2.0.3).
HTH

Regards,
Jakub

On Wed, 5 Apr 2006 13:53:35 +0200, Szczepan Faber wrote
> I tried all of them:
> 
> mvn assembly:assembly -Dmaven.assembly.descriptorId=bin
> mvn assembly:assembly -Dmaven.assembly.descriptorId=jar-with-dependencies
> mvn assembly:assembly -Dmaven.assembly.descriptorId=src
> 
> , but still:
> 
> "No assembly descriptors found."
> 
> Do I need to download Pre-defined Descriptor Files from assembly 
> plugin page?
> 
> Thanks,
> Szczepan
> 
> On 4/5/06, Valerio Schiavoni <[EMAIL PROTECTED]> wrote:
> > yes, there are pre-defined assembly descriptors.
> > http://maven.apache.org/plugins/maven-assembly-plugin/howto.html
> >
> > m2 assembly:assembly -Dmaven.assembly.descriptorId=bin
> >
> >   or  m2 assembly:assembly 
> > -Dmaven.assembly.descriptorId=jar-with-dependencies
> >
> >   or  m2 assembly:assembly -Dmaven.assembly.descriptorId=src
> >
> >
> > cheers,
> > valerio
> >
> > On 4/5/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
> > >
> > > Is it possible to create an assembly w/o assembly.xml (assembly
> > > descriptor)?
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > To Iterate is Human, to Recurse, Divine
> > James O. Coplien, Bell Labs
> > (how good is to be human indeed)
> >
> >
> 
> -
> 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: Maven Webstart Plugin

2006-04-05 Thread [EMAIL PROTECTED]

Is there an example documented anywhere of a src\jnlp\resources directory ?

The documentation at
http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/howto.html
says:

"(location where all resources are taken. All contents are copied into the
work directory)"

What resources should be in this folder?
--
View this message in context: 
http://www.nabble.com/Maven-Webstart-Plugin-t1371503.html#a3763345
Sent from the Maven - Users forum at Nabble.com.


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



Re: Maven Webstart Plugin

2006-04-05 Thread jerome lacoste
On 4/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Is there an example documented anywhere of a src\jnlp\resources directory ?
>
> The documentation at
> http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/howto.html
> says:
>
> "(location where all resources are taken. All contents are copied into the
> work directory)"
>
> What resources should be in this folder?

This directory is used to primarily contain the external files that
your jnlp file may refer to (in particular the icons/images/splash
screens). You can also add the files (like HTML pages) you want to
bundle within the same resulting zip.

Jerome

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



Re: How to compile with external .JARS - How to skip compile from the maven site

2006-04-05 Thread Julio Oliveira
Eric

For #1 what if i have 100 .jars  have i to do it one by one... or is
there any tip to do in a one line ( take all a folder with the 100
.jar's )

-


For #2   i probe site:site but also do compile 


regards

Julio Oliveira - Buenos Aires
-

On 4/4/06, Eric Redmond <[EMAIL PROTECTED]> wrote:
> For #2, you can just run the site:site goal directly, without running
> through the build lifecycle.
>
> On 4/4/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> >
> > Hi
> >
> >
> > 1) . I need to compile a java project, that has a fileset like this in ant
> >
> > 
> >
> >   
> >
> > 
> >
> > this work fine in ant, but i don't see who to do the declarative for
> > maven2
> >
> > ? can i do a lib declarative. I have a lot of  .jar  to install  it at the
> > repository .
> > something like this ??
> >
> >
> > 
> >   JXT
> >   JXT_LATAM
> >   1.1
> >   system
> > ${basedir}\libJXTI\jaxt-libs.jar
> >   
> >
> > 2)  i need to generate de  maven site for the project, but  always it
> > depends on compile
> >
> >  ? how can i do  for do it, with out compile   like-
> > Dmaven.compile.skip=true ???
> >
> > Thanks in advanced
> >
> >
> > Julio Oliveira - Buenos Aires
> >
> >
>
>

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



Re: [maven-proxy] How to shutdown?

2006-04-05 Thread Khin, Gerald
Hi Thorsten!
 
Thanks a lot! Indeed, http://localhost:/servlets/Admin?shutdown is the 
solution.
 
Cheers,
Gerald




From: Thorsten Heit [mailto:[EMAIL PROTECTED]
Sent: Mi 05.04.2006 13:49
To: Maven Users List
Subject: Re: [maven-proxy] How to shutdown?



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Gerald,

> I'm using the standalone maven-proxy. I wonder if there is a way to
> shutdown the maven-proxy other than sending SIGINT at the process
> level but through a http request?

Simply open the proxy URL in your web browser, go into the admin section
and then click on "Shutdown gracefully". Although it says "not
implemented" the server isn't running anymore on my machine after I
click on that link...


Regards

Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEM67SQvObkgCcDe0RAtX1AKDoK3rwmUvgGjzReMO10H27ARFzKgCgogUg
UlbPUaCPwghKft5skTINF/g=
=SPZF
-END PGP SIGNATURE-

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





problem with mvn command

2006-04-05 Thread Pierre Jacquot
when I use one of the mvn commands i have this error message, no action have
be donne after and after.
>mvn
Exception in thread "main" java.lang.NoClassDefFoundError: Xmx256m


where the problem is and how resolve it ?


RE: TimeZone Element in pom.xml

2006-04-05 Thread ian . d . stewart
As far as I know, the timezone element is purely informational, so there is
no need to specify when a particular location observes Daylight Savings
Time.  However, we do have a valid usecase for including the fact that a
particular timezone does observe Daylight Savings Time.

I have no problem with supporting something like


  Europe/Berlin


or even



However, I do not understand the aversion to allowing others to specify the
offset and useDaylight elements if they bring value.  The alternative would
be to force everyone to memorize the proper ID for each location, and the
offset and Daylight Savings Times observations for each.  Especially for
open source projects, which may have developers and/or contributors from
dozens of different locations, this is a non-trivial effort and worse, IMO,
then the current offset-based approach.


Ian

It's better to be hated for who you are
than loved for who you are not

Ian D. Stewart
Appl Dev Analyst-Advisory, DCS Automation
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078



  
  Jörg Schaible 

  <[EMAIL PROTECTED]To:   "Maven Users List" 
  
  utions.com>  cc:  
  
   Subject:  RE: TimeZone 
Element in pom.xml  
  04/05/2006 02:14 AM   
  
  Please respond to "Maven  
  
  Users List"   
  

  




Hi Ian,

[EMAIL PROTECTED] wrote on Tuesday, April 04, 2006 7:09 PM:

> public static TimeZone getTimeZone(String ID)
>   Gets the TimeZone for the given ID.
>   Parameters:
> ID - the ID for a TimeZone, either an abbreviation such as
> "PST", a full name such as "America/Los_Angeles",
> or a custom
> ID such as "GMT-8:00". Note that the support of
> abbreviations is for JDK 1.1.x compatibility only and full
> names should be
> used.
>   Returns:
> the specified TimeZone, or the GMT zone if the
> given ID cannot
> be understood.
>
>
> Is this the JavaDoc you were referring to?  This method
> returns a TimeZone
> object.  According to the class JavaDocs,
>
> TimeZone represents a time zone offset, and also figures out daylight
> savings.
>
> The foolishness of American and Australian politicians not
> withstanding, the observance of Summertime/Daylight Savings Time (or
> lack
> thereof) is not
> just a nice-to-have.  It is a core property of the TimeZone class.

Yes, but it is already defined, if you choose a proper location as
"America/Los Angeles" or "Europe/Berlin". Daylight saving does not happen
at the same day in the world, depending on the country it differs for
weeks! Therefore these locations exists and everyone can take the city,
that shares his daylight saving.

- Jörg

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




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



Re: problem with mvn command

2006-04-05 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

> when I use one of the mvn commands i have this error message, no action have
> be donne after and after.
>> mvn
> Exception in thread "main" java.lang.NoClassDefFoundError: Xmx256m
> 
> 
> where the problem is and how resolve it ?

Sounds as if you're using MAVEN_OPTS in your environment variables...?

If yes: Check whether there's a minus sign before Xmx256m, i.e. "-Xmx256m"


Regards

Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEM8tSQvObkgCcDe0RAnUYAKD0IjWsbEvNVrIDS6AVqXJKA7m2UQCeMa81
Vwvx+wg2sHVJOIvKgJRFnds=
=m1nH
-END PGP SIGNATURE-

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



Re: Maven Webstart Plugin

2006-04-05 Thread [EMAIL PROTECTED]

Thanks Jerome,

I appreciate you taking your time to look at this, and your patience.

I don't really want to break the project apart like that. Would I be able to
accomplish the same by placing the jnlp goal inside a profile - or would it
always first try to perform the packaging? Is there a command link argument
that would turn off the default packaging? I am thinking of something like:

mvn -X install -P myapp-jnlp
--
View this message in context: 
http://www.nabble.com/Maven-Webstart-Plugin-t1371503.html#a3765169
Sent from the Maven - Users forum at Nabble.com.


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



Re: problem with mvn command

2006-04-05 Thread Pierre Jacquot
thanks for your help, mvn works now.

2006/4/5, Thorsten Heit <[EMAIL PROTECTED]>:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi,
>
> > when I use one of the mvn commands i have this error message, no action
> have
> > be donne after and after.
> >> mvn
> > Exception in thread "main" java.lang.NoClassDefFoundError: Xmx256m
> >
> >
> > where the problem is and how resolve it ?
>
> Sounds as if you're using MAVEN_OPTS in your environment variables...?
>
> If yes: Check whether there's a minus sign before Xmx256m, i.e. "-Xmx256m"
>
>
> Regards
>
> Thorsten
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.2.2 (MingW32)
>
> iD8DBQFEM8tSQvObkgCcDe0RAnUYAKD0IjWsbEvNVrIDS6AVqXJKA7m2UQCeMa81
> Vwvx+wg2sHVJOIvKgJRFnds=
> =m1nH
> -END PGP SIGNATURE-
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [surefire] xml report not well formed contains

2006-04-05 Thread Carlos Sanchez
Maybe you are using an old version of the surefire plugin inside
cruisecontrol. Force it using  inside build/plugins/plugin in
your pom

On 4/5/06, Jens Zastrow <[EMAIL PROTECTED]> wrote:
> You are right, it works using maven2 from the commandline.
> In my case it is used within Cruisecontrol..
> May there a problem with different versions of junit.jar usd by maven2
> and cruisecontrol???
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
> Sanchez
> Sent: Tuesday, April 04, 2006 7:48 PM
> To: Maven Users List
> Subject: Re: [surefire] xml report not well formed 
> contains <
>
> There's a test case
> https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-surefire-plug
> in/src/it/test3
> and it's working correctly
>
> On 4/4/06, Jens Zastrow <[EMAIL PROTECTED]> wrote:
> > the message attribute of the  element contains < - the text
> > inside  is escaped correctly.
> >
> > [pom.xml]
> > org.apache.maven.plugins
> > maven-surefire-plugin
> > 2.1.3
> >
> > [report.xml]
> >  
> >  > message="expected:<1> but
> was:<2>">junit.framework.AssertionFailedError:
> > expected:<1> b
> > ut was:<2>
> > at junit.framework.Assert.fail(Assert.java:47)
> > at junit.framework.Assert.failNotEquals(Assert.java:282)
> > at junit.framework.Assert.assertEquals(Assert.java:64)
> > at junit.framework.Assert.assertEquals(Assert.java:201)
> > at junit.framework.Assert.assertEquals(Assert.java:207)
> > at
> > de.dailab.security.control.pki.component.spki.tests.junit.JUnit_SPKIVa
> > li dityCheckerBean.testCheckValidityForIssuer(JUnit_SPKIValidityChecke
> > rBean.java:138)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> > av
> > a:39)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> > or
> > Impl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:585)
> > at junit.framework.TestCase.runTest(TestCase.java:154)
> > at junit.framework.TestCase.runBare(TestCase.java:127)
> > at junit.framework.TestResult$1.protect(TestResult.java:106)
> > at
> junit.framework.TestResult.runProtected(TestResult.java:124)
> > at junit.framework.TestResult.run(TestResult.java:109)
> > at junit.framework.TestCase.run(TestCase.java:118)
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> I could give you my word as a Spaniard.
> No good. I've known too many Spaniards.
>  -- The Princess Bride
>
> -
> 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]
>
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

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



Re: [M2] Custom 'packaging' without a custom plugin?

2006-04-05 Thread ian . d . stewart
Dan, you rock!


Ian

It's better to be hated for who you are
than loved for who you are not

Ian D. Stewart
Appl Dev Analyst-Advisory, DCS Automation
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078



   
  "dan tran"
   
  <[EMAIL PROTECTED]To:   "Maven Users List" 
   
  m>   cc:  
   
   Subject:  Re: [M2] Custom 
'packaging' without a custom plugin?  
  04/05/2006 01:05  
   
  AM
   
  Please respond to 
   
  "Maven Users  
   
  List" 
   

   




pom

if you want to deploy your .swf file, use build-helper-maven-plugin to
attach
that artifact to the project to be deploy/install

-D


On 4/4/06, Martin Cooper <[EMAIL PROTECTED]> wrote:
>
> I have a project that generates a Flash SWF file as its artifact. At the
> moment, I have the 'packaging' value set to 'jar', for lack of a better
> value. The problem is that this causes an empty jar file to be created,
> alongside my SWF file. However, I don't see how I can avoid this, since
> the
> other "built in" packaging types (e.g. war, ear) are no better suited to
> my
> needs.
>
> My POM is very simple, comprising only the use of the dependency and exec
> plugins. Looking at the M2 docs, the only way I see to have a custom
> packaging is to define it within a custom plugin. However, I don't need
> any
> additional plugins, and that seems like a complicated way to solve a
> simple
> problem. Is there some other way I can either define a custom packaging
> (or
> just a lifecycle), or even just tell the jar packaging not to do most of
> what it does by default?
>
> --
> Martin Cooper
>
>



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



RE: TimeZone Element in pom.xml

2006-04-05 Thread Jörg Schaible
[EMAIL PROTECTED] wrote on Wednesday, April 05, 2006 3:48 PM:

> As far as I know, the timezone element is purely
> informational, so there is
> no need to specify when a particular location observes
> Daylight Savings
> Time.  However, we do have a valid usecase for including the
> fact that a
> particular timezone does observe Daylight Savings Time.
> 
> I have no problem with supporting something like
> 
> 
>   Europe/Berlin
> 
> 
> or even
> 
> 
> 
> However, I do not understand the aversion to allowing others
> to specify the
> offset and useDaylight elements if they bring value.  The alternative
> would be to force everyone to memorize the proper ID for each
> location, and the
> offset and Daylight Savings Times observations for each.
> Especially for
> open source projects, which may have developers and/or
> contributors from
> dozens of different locations, this is a non-trivial effort
> and worse, IMO,
> then the current offset-based approach.

Well, this info is part of the JRE. See $JAVA_HOME/jre/lib/zi. So I don't get 
the point, why anyone should "memorize the proper [...] Daylight Savings Times 
observations for each". In Unix you select your system's TZ by copying the 
proper ZI file from /usr/share/zoneinfo into /etc/localtime (at least this is 
what the tools do under the hood) and in Windows you get a list of countries to 
seleft of. What means daylight saving? UK is returning from GMT-1 to normal 
time (GMT in summer) while rest of Europe leaves standard time (GMT+1) for 
summer switching to GMT+2. So why should we modify the POM structure to add 3 
elements, when you can have all of it with the current structure? The current 
values +/-n is just GMT+/-n and anything else could be mapped to the named zone 
info IDs.

- Jörg

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



Re: Configuration files

2006-04-05 Thread Naz

Hey Eric,

Many Many thanks for your response.  I 'm trying to figure out if Maven is
simply a repository of JAR only and that its more for dependency management.

What ultimatly need is the ability to have a config directory with all sorts
of config files from log4i to database settings, which when the app is
deployed into production I can change the settings.  So basically check in a
directory structure to the repository.

Thanks

Naz




--
View this message in context: 
http://www.nabble.com/Configuration-files-t1396714.html#a3766267
Sent from the Maven - Users forum at Nabble.com.


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



Re: How to compile with external .JARS - How to skip compile from the maven site

2006-04-05 Thread Wayne Fay
On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
>
> For #1 what if i have 100 .jars  have i to do it one by one... or is
> there any tip to do in a one line ( take all a folder with the 100
> .jar's )
>

Yes, one by one. So 100 will take a while. Have fun.

Wayne


Re: How to compile with external .JARS - How to skip compile from the maven site

2006-04-05 Thread Julio Oliveira
ok Wayne

I think it will be modified .


But how to do the site without compile,   site:site doesn't work

regards


On 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> >
> > For #1 what if i have 100 .jars  have i to do it one by one... or is
> > there any tip to do in a one line ( take all a folder with the 100
> > .jar's )
> >
>
> Yes, one by one. So 100 will take a while. Have fun.
>
> Wayne
>

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



Re: How to compile with external .JARS - How to skip compile from the maven site

2006-04-05 Thread Wayne Fay
Then you've got something wrong/weird on your end, because it should
work, and I just confirmed that it works for me too... ;-)

Are you using Maven 2.0.3 or what?

Wayne

On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> ok Wayne
>
> I think it will be modified .
>
>
> But how to do the site without compile,   site:site doesn't work
>
> regards
>
>
> On 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> > >
> > > For #1 what if i have 100 .jars  have i to do it one by one... or is
> > > there any tip to do in a one line ( take all a folder with the 100
> > > .jar's )
> > >
> >
> > Yes, one by one. So 100 will take a while. Have fun.
> >
> > Wayne
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


M2 antrun plugin problem

2006-04-05 Thread A. Alonso Dominguez
Hi there,

Can anyone give me a hand? I can't get this to work. I'm tring to run an ant
task written in an external build.xml file:


  

  

  

  

  


To get this I'm using the maven-antrun-plugin and I followed the
instructions found at
http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html.
The plugin configuration is as follows.


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

  
compile
compile

  

  

  


  run

  


  
portal-container-impl
com.social_labs.portal
${pom.version}
  

  

The problem seems to be that the build.xml file doesn't inherits the
references from the POM because I
allways get this error message:

[ERROR] BUILD ERROR
[INFO]

[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
E:\Proyectos\Enterprise Ring System\portal\modules\dao\impl\portal-
container.build.xml:5:
Reference maven.plugin.classpath not found.

Does anyone know what's happening? Is there another different way to do what
I'm trying?

Regards,
Alonso


depedencies problem with maven2

2006-04-05 Thread Pierre Jacquot
I'v got this message error when i want to uses an external jar for my
project :
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://repo1.maven.org/maven2/dependance/jtetscase4.0.0/1.0/jtetscase4.0.0-1.0.pom
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/dependance/org.jicengine/2.0.0/org.jicengine-2.0.0.po
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/dependance/saxpath/1.0/saxpath-1.0.pom
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/dependance/jaxen/jdom/jaxen-jdom.pom
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/dependance/jdom/1.0/jdom-1.0.pom
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/dependance/jtetscase4.0.0/1.0/jtetscase4.0.0-1.0.jar
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.
Missing:
--
1) dependance:jtetscase4.0.0:jar:1.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=dependance -DartifactId=
jtetscase4.0.0
  -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
1) com.test_junit.app:appTest:jar:1.0-SNAPSHOT
2) dependance:jtetscase4.0.0:jar:1.0

--
1 required artifact is missing.

for artifact:
  com.test_junit.app:appTest:jar:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://cvs.apache.org/maven-snapshot-repository)

my dependcy node in my pom.xml
  
 dependance
 jtetscase4.0.0
 1.0
   


i use some others dependencies and maven seems to take it correctly.


my dependency path :

.m2\repository\dependance\jtetscase4.0.0\1.0


Re: depedencies problem with maven2

2006-04-05 Thread Mang Jun Lau
>my dependcy node in my pom.xml
>  
> dependance
> jtetscase4.0.0
> 1.0
>   
Is there a typo for artifactId? I notice you have jtetscase4.0.0 there.


_Mang

How to put a Jar in my War

2006-04-05 Thread Raymond Domingo
Hello all,

Can any one please explain to me how I can add my Jar file to my War file...
it seems such an easy thing to do...

So currently I have an assembly which create a jar file (I like this)

I also can create a second assembly creating a zip file (looks good)

But if I change the format of this second assembly from zip to war I get an 
error:
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error creating assembly

Embedded error: webxml attribute is required (or pre-existing WEB-INF/web.xml
if executing in update mode)
[INFO] 

One thing I notice that inside my zip file it says web-inf/web.xml and not
WEB-INF/web.xml


Any way to solve this problem ?

thnx,
raymond

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



RE: M2 antrun plugin problem

2006-04-05 Thread Siegmann Daniel, NY
> Does anyone know what's happening? Is there another different 
> way to do what I'm trying?
> 
> Regards,
> Alonso

Try defining the properties explicitly before calling the antfile, like
so...









It worked for me, hopefully it will for you too... at least until Wayne Fay
comes along and tells you the correct way. ;)

--
Daniel Siegmann
FJA-US, Inc.
(212) 840-2618 ext. 139

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



Re: M2 antrun plugin problem

2006-04-05 Thread Carlos Sanchez
You may need the latest version of the plugin 1.2-SNAPSHOT, building
it from sources or adding this repository to your pom:
http://cvs.apache.org/maven-snapshot-repository


On 4/5/06, A. Alonso Dominguez <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> Can anyone give me a hand? I can't get this to work. I'm tring to run an ant
> task written in an external build.xml file:
>
> 
>   classname="
> com.social_labs.portal.container.tools.ProviderMetaInfoCollector">
> 
>   
>
>   
> 
>   
> 
>   
> 
>
> To get this I'm using the maven-antrun-plugin and I followed the
> instructions found at
> http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html.
> The plugin configuration is as follows.
>
> 
> org.apache.maven.plugins
> maven-antrun-plugin
> 
>   
> compile
> compile
> 
>   
>  inheritRefs="true">
>   
> 
>   
> 
> 
>   run
> 
>   
> 
> 
>   
> portal-container-impl
> com.social_labs.portal
> ${pom.version}
>   
> 
>   
>
> The problem seems to be that the build.xml file doesn't inherits the
> references from the POM because I
> allways get this error message:
>
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Error executing ant tasks
>
> Embedded error: The following error occurred while executing this line:
> E:\Proyectos\Enterprise Ring System\portal\modules\dao\impl\portal-
> container.build.xml:5:
> Reference maven.plugin.classpath not found.
>
> Does anyone know what's happening? Is there another different way to do what
> I'm trying?
>
> Regards,
> Alonso
>
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

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



Re: How to put a Jar in my War

2006-04-05 Thread Mang Jun Lau
Hi,

In your pom.xml for your war, I believe you need the following:

  

  
maven-war-plugin

  /path/to/web.xml 

  

  


_Mang Lau





"Raymond Domingo" <[EMAIL PROTECTED]> 
04/05/2006 11:14 AM
Please respond to
"Maven Users List" 


To
users@maven.apache.org
cc

Subject
How to put a Jar in my War






Hello all,

Can any one please explain to me how I can add my Jar file to my War 
file...
it seems such an easy thing to do...

So currently I have an assembly which create a jar file (I like this)

I also can create a second assembly creating a zip file (looks good)

But if I change the format of this second assembly from zip to war I get 
an error:
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error creating assembly

Embedded error: webxml attribute is required (or pre-existing 
WEB-INF/web.xml
if executing in update mode)
[INFO] 

One thing I notice that inside my zip file it says web-inf/web.xml and not
WEB-INF/web.xml


Any way to solve this problem ?

thnx,
raymond

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




Re: depedencies problem with maven2

2006-04-05 Thread Pierre Jacquot
i've found the error, it was a wrong name in my path and my artifact id, thx
for your help

2006/4/5, Mang Jun Lau <[EMAIL PROTECTED]>:
>
> >my dependcy node in my pom.xml
> >  
> > dependance
> > jtetscase4.0.0
> > 1.0
> >   
> Is there a typo for artifactId? I notice you have jtetscase4.0.0 there.
>
>
> _Mang
>


Re: depedencies problem with maven2

2006-04-05 Thread Wayne Fay
Mang has those eagle eyes... First the pomVersion 4.0 rather than
4.0.0 and now this. ;-)

Wayne

On 4/5/06, Pierre Jacquot <[EMAIL PROTECTED]> wrote:
> i've found the error, it was a wrong name in my path and my artifact id, thx
> for your help
>
> 2006/4/5, Mang Jun Lau <[EMAIL PROTECTED]>:
> >
> > >my dependcy node in my pom.xml
> > >  
> > > dependance
> > > jtetscase4.0.0
> > > 1.0
> > >   
> > Is there a typo for artifactId? I notice you have jtetscase4.0.0 there.
> >
> >
> > _Mang
> >
>
>


PMD reports

2006-04-05 Thread Venkatagopalaraju
Dear Maven Users,

  I am trying to generate PMD reports. I have used maven-pmd-plugin as 
shown below.



org.apache.maven.plugins
maven-pmd-plugin


/rulesets/basic.xml
/rulesets/controversial.xml

xml
true
utf-8
100




When I try to run by using "mvn pmd:pmd", getting Build Error(Unable to find 
location rulesets/basic.xml). Could you please let me know,
1.I am in confusion, whether I need to generate basic.xml or not?
2.I am using commands for generating PMD reports as "mvn pmd:pmd" and "mvn 
pmd:cpd". Which one I need to use first?

Please help me.


Thanks & Regards
  Gopal



Re: PMD reports

2006-04-05 Thread Wayne Fay
1. Remove the whole  node from your configuration. At this
moment, the PMD plugin does not actually use those values. Instead it
automatically uses basic, controversial, and hmm I forget the last,
and they are all stored within the plugin Jar itself.

2. Use "mvn site" and it will automatically generate both PMD and CPD
reports along with the rest of the site.

Wayne


On 4/5/06, Venkatagopalaraju <[EMAIL PROTECTED]> wrote:
> Dear Maven Users,
>
>  I am trying to generate PMD reports. I have used maven-pmd-plugin as 
> shown below.
> 
>
>
>org.apache.maven.plugins
>maven-pmd-plugin
>
>
>/rulesets/basic.xml
>/rulesets/controversial.xml
>
>xml
>true
>utf-8
>100
>
>
>
>
> When I try to run by using "mvn pmd:pmd", getting Build Error(Unable to find 
> location rulesets/basic.xml). Could you please let me know,
> 1.I am in confusion, whether I need to generate basic.xml or not?
> 2.I am using commands for generating PMD reports as "mvn pmd:pmd" and "mvn 
> pmd:cpd". Which one I need to use first?
>
> Please help me.
>
>
> Thanks & Regards
>  Gopal
>
>
>


Re: Non-java projects

2006-04-05 Thread Eric Redmond
The only support for Ruby is making plugins with ruby scripts. My plan is to
add integration with RubyForge, but for the time being, its pretty basic.

http://mojo.codehaus.org

Eric

On 3/31/06, Arnaud Bailly <[EMAIL PROTECTED]> wrote:
>
> Hi to all,
> I think there is some support for "alien" projects in maven. Is this
> true and what is the status of such features ?
> I would like to use maven to build projects with mixed languages :
> C++, python, ruby would be first choices. When I say build, I say of
> course unit testing, compilation, report generation...
>
> regards,
> --
> Arnaud Bailly, Dr. - Ingénieur de Recherche
> NORSYS
> 1, rue de la Cense des Raines
> ZAC du Moulin
> 59710 ENNEVELIN
> Tel : (33) 3 28 76 56 76
> Mob : (33) 6 17 12 19 78
> Fax : (33) 3 28 76 57 00
> Web : http://www.norsys.fr
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: M2 antrun plugin problem

2006-04-05 Thread A. Alonso Dominguez
Hi again,

I tried with the two different instructions I got, the one from Siegmann and
the other one from Carlos Sanchez. None of them did work.

I also tired to go a bit ahead: I have notice that the ""
tag doesn't declares any path-like structure so I changed a bit the response
I got from Siegmann I now the plugin configuration is like this:


 
   



 

 


Now, Maven informs about that will override the reference to "
maven.plugin.classpath" but It eventually fails again:

[INFO] [antrun:run {execution: compile}]
[INFO] Executing tasks
Overriding previous definition of reference to maven.plugin.classpath
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
E:\Proyectos\Enterprise Ring System\portal\modules\dao\impl\portal-
container.build.xml:5:
Reference maven.plugin.classpath not found.

Because of this I'm really confused. Thinking about that, what I really
whant is a way to run an Ant task developed by myself.
Does anyone know a way to define that Ant task inside the POM (or in a
different place) so I can configure the plugin like this?:


 
   
 
   
 


Alonso

2006/4/5, Carlos Sanchez <[EMAIL PROTECTED]>:
>
> You may need the latest version of the plugin 1.2-SNAPSHOT, building
> it from sources or adding this repository to your pom:
> http://cvs.apache.org/maven-snapshot-repository
>
>
> On 4/5/06, A. Alonso Dominguez <[EMAIL PROTECTED]> wrote:
> > Hi there,
> >
> > Can anyone give me a hand? I can't get this to work. I'm tring to run an
> ant
> > task written in an external build.xml file:
> >
> > 
> >>classname="
> > com.social_labs.portal.container.tools.ProviderMetaInfoCollector">
> > 
> >   
> >
> >   
> > 
> >   
> > 
> >   
> > 
> >
> > To get this I'm using the maven-antrun-plugin and I followed the
> > instructions found at
> > http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html.
> > The plugin configuration is as follows.
> >
> > 
> > org.apache.maven.plugins
> > maven-antrun-plugin
> > 
> >   
> > compile
> > compile
> > 
> >   
> >  > inheritRefs="true">
> >   
> > 
> >   
> > 
> > 
> >   run
> > 
> >   
> > 
> > 
> >   
> > portal-container-impl
> > com.social_labs.portal
> > ${pom.version}
> >   
> > 
> >   
> >
> > The problem seems to be that the build.xml file doesn't inherits the
> > references from the POM because I
> > allways get this error message:
> >
> > [ERROR] BUILD ERROR
> > [INFO]
> >
> 
> > [INFO] Error executing ant tasks
> >
> > Embedded error: The following error occurred while executing this line:
> > E:\Proyectos\Enterprise Ring System\portal\modules\dao\impl\portal-
> > container.build.xml:5:
> > Reference maven.plugin.classpath not found.
> >
> > Does anyone know what's happening? Is there another different way to do
> what
> > I'm trying?
> >
> > Regards,
> > Alonso
> >
> >
>
>
> --
> I could give you my word as a Spaniard.
> No good. I've known too many Spaniards.
>  -- The Princess Bride
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: How to compile with external .JARS - How to skip compile from the maven site

2006-04-05 Thread Julio Oliveira
I was working with 2.0.2  now i download 2.0.3  and  see

Maven version: 2.0.3

mvn site:site

does'n  work  do compile to.

see that ..

E:\Work\eclipse3_1\JFP_Site>mvn -v
Maven version: 2.0.3

E:\Work\eclipse3_1\JFP_Site>mvn site:site
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'site'.
[INFO] 

[INFO] Building Hotel Database tutorial application by julio
[INFO]task-segment: [site:site]
[INFO] 

[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResource
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource
'VM_global_library.vm' in any resource loader.

.
.
.
.


[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource
'VM_global_library.vm' in any resource
[INFO] Velocimacro : error using  VM library template
VM_global_library.vm : org.apache.
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined
inline may NOT replace
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline
will be  global in sc
[INFO] Velocimacro : messages on  : VM system will output logging messages
[INFO] Velocimacro : autoload off  : VM system will not automatically
reload global libr
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] Preparing surefire-report:report
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 14 source files to E:\Work\eclipse3_1\JFP_Site\target\classes
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure

from hear all compilation the error code 


what's wrong 







On 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Then you've got something wrong/weird on your end, because it should
> work, and I just confirmed that it works for me too... ;-)
>
> Are you using Maven 2.0.3 or what?
>
> Wayne
>
> On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> > ok Wayne
> >
> > I think it will be modified .
> >
> >
> > But how to do the site without compile,   site:site doesn't work
> >
> > regards
> >
> >
> > On 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > > On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> > > >
> > > > For #1 what if i have 100 .jars  have i to do it one by one... or is
> > > > there any tip to do in a one line ( take all a folder with the 100
> > > > .jar's )
> > > >
> > >
> > > Yes, one by one. So 100 will take a while. Have fun.
> > >
> > > Wayne
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

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



Re: [M2] Custom 'packaging' without a custom plugin?

2006-04-05 Thread Martin Cooper
On 4/4/06, dan tran <[EMAIL PROTECTED]> wrote:
>
> http://mojo.codehaus.org/build-helper-maven-plugin/howto.html


Yes, I found that. By the way, the page title looks wrong. It's currently
"Maven Build Dependency Plugin - Maven Build Helper Plugin".

basically right after you use exec or antrun plugin to build your swf file,
> you can use build-helper-maven-plugin:attach-artifact goal to configure
> maven to install or deploy your swf to repo as needed


The part I'm missing - sorry if I'm being dense - is why I need that. What
does it mean to "attach ... build outputs to the project for install and
deploy", and why is that different / better than simply using
deploy:deploy-file?

--
Martin Cooper


On 4/4/06, Martin Cooper <[EMAIL PROTECTED]> wrote:
> >
> > On 4/4/06, dan tran <[EMAIL PROTECTED]> wrote:
> > >
> > > pom
> >
> >
> > Yep, that did the trick. Thanks!
> >
> > if you want to deploy your .swf file, use build-helper-maven-plugin to
> > > attach
> > > that artifact to the project to be deploy/install
> >
> >
> > Hmm, I've been using deploy:deploy-file up 'til now, but I'm far from au
> > fait with respect to the way deployment works. Could you clarify,
> please?
> >
> > --
> > Martin Cooper
> >
> >
> > -D
> > >
> > >
> > > On 4/4/06, Martin Cooper <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I have a project that generates a Flash SWF file as its artifact. At
> > the
> > > > moment, I have the 'packaging' value set to 'jar', for lack of a
> > better
> > > > value. The problem is that this causes an empty jar file to be
> > created,
> > > > alongside my SWF file. However, I don't see how I can avoid this,
> > since
> > > > the
> > > > other "built in" packaging types (e.g. war, ear) are no better
> suited
> > to
> > > > my
> > > > needs.
> > > >
> > > > My POM is very simple, comprising only the use of the dependency and
> > > exec
> > > > plugins. Looking at the M2 docs, the only way I see to have a custom
> > > > packaging is to define it within a custom plugin. However, I don't
> > need
> > > > any
> > > > additional plugins, and that seems like a complicated way to solve a
> > > > simple
> > > > problem. Is there some other way I can either define a custom
> > packaging
> > > > (or
> > > > just a lifecycle), or even just tell the jar packaging not to do
> most
> > of
> > > > what it does by default?
> > > >
> > > > --
> > > > Martin Cooper
> > > >
> > > >
> > >
> > >
> >
> >
>
>


RE: SCM plugin for MKS SI in M2

2006-04-05 Thread justin_fung
Agreed, I am very interested to know what the plan is here, or even to 
contribute.

-j

---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
http://www.hsbc.ca
p: (604) 643-6605
f: (604) 643-6727








"Sharma, Jaikumar" <[EMAIL PROTECTED]>
04/04/2006 10:45 PM
Please respond to "Maven Users List"

 
To: "Sharma, Jaikumar" <[EMAIL PROTECTED]>, Maven Users List 

cc: 
Subject:RE: SCM plugin for MKS SI in M2

  Our Ref: 
Your Ref: 


Oops! Typo.
It would be really helpful to lots of people, if somebody can take the
initiative!

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 05, 2006 10:53 AM
To: Maven Users List
Subject: Re: SCM plugin for MKS SI in M2


There was some discussion about implementing MKS maven-scm-provider, but
the implementation has never surfaced.

-D


On 4/4/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote:
>
> Dear Maven users,
>
> Has anyone of you come across / or have info about MKS Source
> Integrity plugin for M2 ? http://www.mks.com 
>
> Thanks for your help!
>
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message
> is privileged and confidential, and is intended only for the use of 
> the
> addressee(s) named above and others who have been specifically
authorized
> to
> receive it. If you are not the intended recipient, you are hereby
notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability
for
> any
> damage caused by any virus transmitted by this email. Furthermore, the
> company does not warrant a proper and complete transmission of this
> information, nor does it accept liablility for any delays. If you have
> received this message in error, please contact the sender and delete
the
> message. Thank you.
>
>
- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized 
to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for 
any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.


 
*** 
This email may contain confidential information, and is intended only for 
the named recipient and may be privileged.  Distribution or copying of 
this email by anyone other than the named recipient is prohibited. If you 
are not the named recipient, please notify us immediately and permanently 
destroy this email and all copies of it.  Internet email is not private, 
secure, or reliable.  No member of the HSBC Group is liable for any errors 
or omissions in the content or transmission of this email. Any opinions 
contained in this email are solely those of the author and, unless clearly 
indicated otherwise in writing, are not endorsed by any member of the HSBC 
Group. 
*** 
Ce courriel peut renfermer des renseignements confidentiels et privilégiés 
et s'adresse au destinataire désigné seulement.   La distribution ou la 
copie de ce courriel par toute personne autre que le destinataire désigné 
est interdite.  Si vous n'êtes pas le destinataire désigné, veuillez nous 
en aviser immédiatement et détruire de façon permanente ce courriel ainsi 
que toute copie de celui-ci. La transmission de courriel par Internet ne 
constitue pas un mode de transmission confidentiel, sécuritaire ou fiable. 
 Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des 
omissions relatives au contenu ou à la transmission de ce courriel. 
L'auteur de ce courriel est seul responsable des opinions émises dans ce 
courriel, lesquelles, à moins  d'un avis contraire fourni par écrit, ne 
sont pas endossées par aucun membre du Groupe HSBC. 
*** 


RE: PMD reports

2006-04-05 Thread Vijay Shanker
Can anybody give me list of available variables(like ${artifactId} etc) while 
building. Actually, I am looking for name of currently being built project so 
that I could use while sending email notification.
 
Help will be appreciated.
 
Thanking you.
Vijay
 



From: Venkatagopalaraju [mailto:[EMAIL PROTECTED]
Sent: Wed 4/5/2006 10:35 AM
To: Maven Users List
Subject: PMD reports



Dear Maven Users,

  I am trying to generate PMD reports. I have used maven-pmd-plugin as 
shown below.



org.apache.maven.plugins
maven-pmd-plugin


/rulesets/basic.xml
/rulesets/controversial.xml

xml
true
utf-8
100




When I try to run by using "mvn pmd:pmd", getting Build Error(Unable to find 
location rulesets/basic.xml). Could you please let me know,
1.I am in confusion, whether I need to generate basic.xml or not?
2.I am using commands for generating PMD reports as "mvn pmd:pmd" and "mvn 
pmd:cpd". Which one I need to use first?

Please help me.


Thanks & Regards
  Gopal




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

m2 Getting error while running mvn install.. "Cannot find parent: org.codehaus.plexus:plexus-compiler for project: null:plexus-compiler-api:jar:1.5.2"

2006-04-05 Thread Gautham Pamu
Hi Everyone,

I am running mvn install command and I getting this error with the build. Is
this a bug in maven or some problem with the repository.

[INFO] Using default encoding to copy filtered resources.
[INFO]
[ERROR]
BUILD ERROR
[INFO]
[INFO]
Error building POM (may not be this project's POM).


Project ID: null:plexus-compiler-api:jar:1.5.2

Reason: Cannot find parent: org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.5.2


[INFO]
[INFO]
Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
dependency information: Unable to read the metadata file for artifact '
org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.5.2
  org.codehaus.plexus:plexus-compiler-api:jar:1.5.2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
  snapshots (http://snapshots.maven.codehaus.org/maven2)
Path to dependency:
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1


at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:551)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
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.artifact.resolver.ArtifactResolutionException:
Unable to get dependency information: Unable to read the metadata file for
artifact 'org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.5.2
  org.codehaus.plexus:plexus-compiler-api:jar:1.5.2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
  snapshots (http://snapshots.maven.codehaus.org/maven2)
Path to dependency:
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1


at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java:297)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
DefaultArtifactCollector.java(Compiled Code))
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:223)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:211)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:182)
at
org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
(DefaultPluginManager.java:608)
at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
DefaultPluginManager.java:519)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:390)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
... 17 more
Caused by:
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
Unable to read the metadata file for artifact '
org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.

Re: How to compile with external .JARS - How to skip compile from the maven site

2006-04-05 Thread Wayne Fay
You included surefire-report in your reporting plugins section. This
reports on the success and failure of any of your unit tests in your
project.

To generate this report, surefire has to actually go out into your
code, compile it, compile the tests, and execute the tests.

Thus, this report WILL ALWAYS compile and execute tests in your
project before running.

If you don't want to compile the project before generating the site
with site:site, then remove this plugin from your reports. Other
plugins may behave the same, so you might need to remove other plugins
as well.

Wayne


On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> I was working with 2.0.2  now i download 2.0.3  and  see
>
> Maven version: 2.0.3
>
> mvn site:site
>
> does'n  work  do compile to.
>
> see that ..
>
> E:\Work\eclipse3_1\JFP_Site>mvn -v
> Maven version: 2.0.3
>
> E:\Work\eclipse3_1\JFP_Site>mvn site:site
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'site'.
> [INFO] 
> 
> [INFO] Building Hotel Database tutorial application by julio
> [INFO]task-segment: [site:site]
> [INFO] 
> 
> [INFO] Setting property: classpath.resource.loader.class =>
> 'org.codehaus.plexus.velocity.ContextClassLoaderResource
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] **
> [INFO] Starting Jakarta Velocity v1.4
> [INFO] RuntimeInstance initializing.
> [INFO] Default Properties File:
> org\apache\velocity\runtime\defaults\velocity.properties
> [INFO] Default ResourceManager initializing. (class
> org.apache.velocity.runtime.resource.ResourceManagerImpl)
> [INFO] Resource Loader Instantiated:
> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> [INFO] ClasspathResourceLoader : initialization starting.
> [INFO] ClasspathResourceLoader : initialization complete.
> [INFO] ResourceCache : initialized. (class
> org.apache.velocity.runtime.resource.ResourceCacheImpl)
> [INFO] Default ResourceManager initialization complete.
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
> [INFO] Created: 20 parsers.
> [INFO] Velocimacro : initialization starting.
> [INFO] Velocimacro : adding VMs from VM library template : 
> VM_global_library.vm
> [ERROR] ResourceManager : unable to find resource
> 'VM_global_library.vm' in any resource loader.
>
> .
> .
> .
> .
>
>
> [INFO] Velocimacro : adding VMs from VM library template : 
> VM_global_library.vm
> [ERROR] ResourceManager : unable to find resource
> 'VM_global_library.vm' in any resource
> [INFO] Velocimacro : error using  VM library template
> VM_global_library.vm : org.apache.
> [INFO] Velocimacro :  VM library template macro registration complete.
> [INFO] Velocimacro : allowInline = true : VMs can be defined inline in 
> templates
> [INFO] Velocimacro : allowInlineToOverride = false : VMs defined
> inline may NOT replace
> [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline
> will be  global in sc
> [INFO] Velocimacro : messages on  : VM system will output logging messages
> [INFO] Velocimacro : autoload off  : VM system will not automatically
> reload global libr
> [INFO] Velocimacro : initialization complete.
> [INFO] Velocity successfully started.
> [INFO] Preparing surefire-report:report
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> Compiling 14 source files to E:\Work\eclipse3_1\JFP_Site\target\classes
> [INFO] 
> 
> [ERROR] BUILD FAILURE
> [INFO] 
> 
> [INFO] Compilation failure
>
> from hear all compilation the error code 
>
>
> what's wrong 
>
> 
>
>
>
>
>
> On 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > Then you've got something wrong/weird on your end, because it should
> > work, and I just confirmed that it works for me too... ;-)
> >
> > Are you using Maven 2.0.3 or what?
> >
> > Wayne
> >
> > On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> > > ok Wayne
> > >
> > > I think it will be modified .
> > >
> > >
> > > But how to do the site without compile

Re: How to compile with external .JARS - How to skip compile from the maven site

2006-04-05 Thread Eric Redmond
Because I'm such a nice guy :), here is a ruby script to install all jars in
a given directory to Maven. Just ensure there are no spaces in your
directory path.

Eric

- BEGIN SCRIPT -
# Set the MVN SCRIPT
# Eric Redmond / Propellors.net

MVN_SCRIPT = "C:/maven-2.1-SNAPSHOT/bin/mvn.bat"
VERSION = "1"

def install_jars( base_dir_name, group_id )
gid_set = !group_id.nil?
Dir.foreach( base_dir_name ) { |file_name|
next unless file_name =~ /\.jar$/
artifact_id = file_name.sub(/.jar$/, '')
group_id = gid_set ? group_id : artifact_id
file_name = "#{base_dir_name}/#{file_name}"
puts
system("#{MVN_SCRIPT}","install:install-file","-DgroupId=#{group_id}","-DartifactId=#{artifact_id}","-Dversion=#{VERSION}","-Dpackaging=jar","-Dfile=#{file_name}")
}
end

begin
bdir, gid = ARGV[0],ARGV[1] unless ARGV[0].nil?&&(puts "usage:
install_jars.rb  [GROUP_ID]")|exit
install_jars( bdir, gid )
end
-- END SCRIPT --


On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
>
> ok Wayne
>
> I think it will be modified .
>
>
> But how to do the site without compile,   site:site doesn't work
>
> regards
>
>
> On 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> > >
> > > For #1 what if i have 100 .jars  have i to do it one by one... or is
> > > there any tip to do in a one line ( take all a folder with the 100
> > > .jar's )
> > >
> >
> > Yes, one by one. So 100 will take a while. Have fun.
> >
> > Wayne
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: How to compile with external .JARS - How to skip compile from the maven site

2006-04-05 Thread Wayne Fay
While you're at it, why not write out the  list for the
installed jars at the end of the program run?

Otherwise this only solves half the problem. ;-)

Wayne

On 4/5/06, Eric Redmond <[EMAIL PROTECTED]> wrote:
> Because I'm such a nice guy :), here is a ruby script to install all jars in
> a given directory to Maven. Just ensure there are no spaces in your
> directory path.
>
> Eric
>
> - BEGIN SCRIPT -
> # Set the MVN SCRIPT
> # Eric Redmond / Propellors.net
>
> MVN_SCRIPT = "C:/maven-2.1-SNAPSHOT/bin/mvn.bat"
> VERSION = "1"
>
> def install_jars( base_dir_name, group_id )
>gid_set = !group_id.nil?
>Dir.foreach( base_dir_name ) { |file_name|
>next unless file_name =~ /\.jar$/
>artifact_id = file_name.sub(/.jar$/, '')
>group_id = gid_set ? group_id : artifact_id
>file_name = "#{base_dir_name}/#{file_name}"
>puts
> system("#{MVN_SCRIPT}","install:install-file","-DgroupId=#{group_id}","-DartifactId=#{artifact_id}","-Dversion=#{VERSION}","-Dpackaging=jar","-Dfile=#{file_name}")
>}
> end
>
> begin
>bdir, gid = ARGV[0],ARGV[1] unless ARGV[0].nil?&&(puts "usage:
> install_jars.rb  [GROUP_ID]")|exit
>install_jars( bdir, gid )
> end
> -- END SCRIPT --
>
>
> On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> >
> > ok Wayne
> >
> > I think it will be modified .
> >
> >
> > But how to do the site without compile,   site:site doesn't work
> >
> > regards
> >
> >
> > On 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > > On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> > > >
> > > > For #1 what if i have 100 .jars  have i to do it one by one... or is
> > > > there any tip to do in a one line ( take all a folder with the 100
> > > > .jar's )
> > > >
> > >
> > > Yes, one by one. So 100 will take a while. Have fun.
> > >
> > > Wayne
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>


Re: m2 Getting error while running mvn install.. "Cannot find parent: org.codehaus.plexus:plexus-compiler for project: null:plexus-compiler-api:jar:1.5.2"

2006-04-05 Thread Gautham Pamu
Using SuSe 9 Linux for build the maven. My quess, there is something wrong
with this pom.xml file in 1.5.2 version of plexus compiler,
it could be having some special characters...

Thanks
Gautham Pamu

On 4/5/06, Gautham Pamu <[EMAIL PROTECTED]> wrote:
>
> Hi Everyone,
>
> I am running mvn install command and I getting this error with the build.
> Is this a bug in maven or some problem with the repository.
>
> [INFO] Using default encoding to copy filtered resources.
> [INFO]
> [ERROR]
> BUILD ERROR
> [INFO]
> [INFO]
> Error building POM (may not be this project's POM).
>
>
> Project ID: null:plexus-compiler-api:jar:1.5.2
>
> Reason: Cannot find parent: org.codehaus.plexus:plexus-compiler for
> project: null:plexus-compiler-api:jar:1.5.2
>
>
> [INFO]
> [INFO]
> Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
> dependency information: Unable to read the metadata file for artifact '
> org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar:1.5.2
>   org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2 ),
>   apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
>   snapshots (http://snapshots.maven.codehaus.org/maven2 )
> Path to dependency:
> 1)
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
>
>
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java :551)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:475)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> (DefaultLifecycleExecutor.java :454)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:306)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (
> DefaultLifecycleExecutor.java:273)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:140)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:85)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:58)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke (
> DelegatingMethodAccessorImpl.java:60)
> at java.lang.reflect.Method.invoke(Method.java:391)
> 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.artifact.resolver.ArtifactResolutionException: 
> Unable to get dependency information: Unable to read the metadata file for
> artifact 'org.codehaus.plexus:plexus-compiler-api:jar': Cannot find
> parent: org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar: 1.5.2
>   org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots ( http://svn.apache.org/maven-snapshot-repository),
>   snapshots (http://snapshots.maven.codehaus.org/maven2 )
> Path to dependency:
> 1)
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
>
>
> at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> DefaultArtifactCollector.java :297)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> DefaultArtifactCollector.java(Compiled Code))
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
> DefaultArtifactResolver.java:223)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> (DefaultArtifactResolver.java:211)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
> DefaultArtifactResolver.java:182)
> at
> org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> (DefaultPluginManager.java:608)
> at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
> DefaultPluginManager.java:519)
> at org.apache.maven.plugin.

jar packaging

2006-04-05 Thread Pierre Monestie
Hello,
For my project I would like to have the classes in the jar file and
the resources in a
directory, unpacked
I was wondering if the following was possible:
 -when you create an artifact, have the classes packaged in a jar file
and the resources in a separate directory/jar.
 -when you use assembly:assembly or assembly:directory you can specify
to unpack the jar, is it possible to have it unpack part of the jar?

Also in the application.xml descriptor, can you have maven create an
empty directory?

Thanks in advance for your help,
Pierre

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



m2 unable to build on linux with maven-compiler-plugin 2.0.1 version

2006-04-05 Thread Gautham Pamu
Hi Everyone,

There seems to be a problem in the pom.xml files of plexus-compiler-api:jar:
1.5.2 and maven-compiler-plugin 2.0.1 is using this version.

I have seem this sun.io.MalformedInputException error while compile java
code if the code has special characters in comments.
The code is not build on Linux platform as the jvm does not like these pom
files, I think the pom.xml file has some special characters.

When I changed to maven-compiler-plugin 2.0, it worked...

[INFO] Using default encoding to copy filtered resources.
[INFO] 
[ERROR]
BUILD ERROR
[INFO]
[INFO]
Error building POM (may not be this project's POM).


Project ID: null:plexus-compiler-api:jar:1.5.2

Reason: Cannot find parent: org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.5.2


[INFO]
[INFO]
Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
dependency information: Unable to read the metadata file for artifact '
org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.5.2
  org.codehaus.plexus:plexus-compiler-api:jar:1.5.2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2 ),
  apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
  snapshots (http://snapshots.maven.codehaus.org/maven2 )
Path to dependency:
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1


at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java :551)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java :454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (
DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (
DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
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.artifact.resolver.ArtifactResolutionException :
Unable to get dependency information: Unable to read the metadata file for
artifact 'org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar: 1.5.2
  org.codehaus.plexus:plexus-compiler-api:jar:1.5.2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots ( http://svn.apache.org/maven-snapshot-repository),
  snapshots (http://snapshots.maven.codehaus.org/maven2 )
Path to dependency:
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1


at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java :297)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
DefaultArtifactCollector.java(Compiled Code))
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
DefaultArtifactResolver.java:223)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:211)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
DefaultArtifactResolver.java:182)
at
org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
(DefaultPluginManager.java:608)
at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo (
DefaultPluginManager.java:519)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:390)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execu

Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version

2006-04-05 Thread Wayne Fay
Sounds like a bug report. Try to find the bad character (or other root
cause) and post the issue on JIRA.

Wayne


On 4/5/06, Gautham Pamu <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
>
> There seems to be a problem in the pom.xml files of plexus-compiler-api:jar:
> 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
>
> I have seem this sun.io.MalformedInputException error while compile java
> code if the code has special characters in comments.
> The code is not build on Linux platform as the jvm does not like these pom
> files, I think the pom.xml file has some special characters.
>
> When I changed to maven-compiler-plugin 2.0, it worked...
>
> [INFO] Using default encoding to copy filtered resources.
> [INFO] 
> [ERROR]
> BUILD ERROR
> [INFO]
> [INFO]
> Error building POM (may not be this project's POM).
>
>
> Project ID: null:plexus-compiler-api:jar:1.5.2
>
> Reason: Cannot find parent: org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar:1.5.2
>
>
> [INFO]
> [INFO]
> Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
> dependency information: Unable to read the metadata file for artifact '
> org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar:1.5.2
>  org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2 ),
>  apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
>  snapshots (http://snapshots.maven.codehaus.org/maven2 )
> Path to dependency:
>1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
>
>
>at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java :551)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:475)
>at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java :454)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:306)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (
> DefaultLifecycleExecutor.java:273)
>at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:140)
>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:85)
>at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:58)
>at sun.reflect.DelegatingMethodAccessorImpl.invoke (
> DelegatingMethodAccessorImpl.java:60)
>at java.lang.reflect.Method.invoke(Method.java:391)
>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.artifact.resolver.ArtifactResolutionException :
> Unable to get dependency information: Unable to read the metadata file for
> artifact 'org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar: 1.5.2
>  org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2),
>  apache.snapshots ( http://svn.apache.org/maven-snapshot-repository),
>  snapshots (http://snapshots.maven.codehaus.org/maven2 )
> Path to dependency:
>1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
>
>
>at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> DefaultArtifactCollector.java :297)
>at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> DefaultArtifactCollector.java(Compiled Code))
>at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
> DefaultArtifactResolver.java:223)
>at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> (DefaultArtifactResolver.java:211)
>at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
> DefaultArtifactResolver.java:182)
>at
> org.apache.maven.plugin.DefaultPluginManager.ensu

[m2] Problem running 2.0.3

2006-04-05 Thread Richard Wallace
I tried to upgrade from version 2.0.2 to 2.0.3 because I've been bumping 
into the problem where the  seems to be ignored.  So I 
untarred everything (I'm running Ubuntu Linux) and tried to run mvn 
--version and here's what I get:


$ mvn --version
[INFO] Scanning for projects...
[INFO] 


[ERROR] BUILD FAILURE
[INFO] 

[INFO] Invalid task '"--version"': you must specify a valid lifecycle 
phase, or a goal in the format plugin:goal or 
pluginGroupId:pluginArtifactId:pluginVersion:goal


I really don't care if '--version' doesn't work, but if I try and do 
anything, like mvn install, it does something similar:


$ mvn install
[INFO] Scanning for projects...
[INFO] 


[ERROR] BUILD FAILURE
[INFO] 

[INFO] Invalid task '"install"': you must specify a valid lifecycle 
phase, or a goal in the format plugin:goal or 
pluginGroupId:pluginArtifactId:pluginVersion:goal


Any idea what's going on?

Thanks,
Rich


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



RE: PMD reports

2006-04-05 Thread Mike Perham
It certainly does use it if you are using 2.0-beta-1 or later.  The
rulesets are packaged in pmd-3.x.jar, not the plugin.

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 05, 2006 10:36 AM
To: Maven Users List
Subject: Re: PMD reports

1. Remove the whole  node from your configuration. At this
moment, the PMD plugin does not actually use those values. Instead it
automatically uses basic, controversial, and hmm I forget the last, and
they are all stored within the plugin Jar itself.

Wayne


On 4/5/06, Venkatagopalaraju <[EMAIL PROTECTED]>
wrote:
> Dear Maven Users,
>
>  I am trying to generate PMD reports. I have used maven-pmd-plugin
as shown below.
> 
>
>
>org.apache.maven.plugins
>maven-pmd-plugin
>
>
>/rulesets/basic.xml
>/rulesets/controversial.xml
>
>xml
>true
>utf-8
>100
>
>
>
>
> When I try to run by using "mvn pmd:pmd", getting Build Error(Unable 
> to find location rulesets/basic.xml). Could you please let me know,
1.I am in confusion, whether I need to generate basic.xml or not?
> 2.I am using commands for generating PMD reports as "mvn pmd:pmd" and
"mvn pmd:cpd". Which one I need to use first?
>
> Please help me.
>
>
> Thanks & Regards
>  Gopal
>
>
>


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



Re: [M2] Custom 'packaging' without a custom plugin?

2006-04-05 Thread Martin Cooper
On 4/5/06, Martin Cooper <[EMAIL PROTECTED]> wrote:
>
>
>
> On 4/4/06, dan tran <[EMAIL PROTECTED]> wrote:
>
> > http://mojo.codehaus.org/build-helper-maven-plugin/howto.html
>
>
> Yes, I found that. By the way, the page title looks wrong. It's currently
> "Maven Build Dependency Plugin - Maven Build Helper Plugin".
>
> basically right after you use exec or antrun plugin to build your swf
> > file,
> > you can use build-helper-maven-plugin:attach-artifact goal to configure
> > maven to install or deploy your swf to repo as needed
>
>
> The part I'm missing - sorry if I'm being dense - is why I need that. What
> does it mean to "attach ... build outputs to the project for install and
> deploy", and why is that different / better than simply using
> deploy:deploy-file?
>

Never mind - I figured it out, and it's working now. Cool. Thanks!

(Reminder to self: Consume more coffee before delving into Maven first thing
in the morning...)

--
Martin Cooper


--
> Martin Cooper
>
>
> On 4/4/06, Martin Cooper < [EMAIL PROTECTED]> wrote:
> > >
> > > On 4/4/06, dan tran <[EMAIL PROTECTED]> wrote:
> > > >
> > > > pom
> > >
> > >
> > > Yep, that did the trick. Thanks!
> > >
> > > if you want to deploy your .swf file, use build-helper-maven-plugin to
> > > > attach
> > > > that artifact to the project to be deploy/install
> > >
> > >
> > > Hmm, I've been using deploy:deploy-file up 'til now, but I'm far from
> > au
> > > fait with respect to the way deployment works. Could you clarify,
> > please?
> > >
> > > --
> > > Martin Cooper
> > >
> > >
> > > -D
> > > >
> > > >
> > > > On 4/4/06, Martin Cooper <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > I have a project that generates a Flash SWF file as its artifact.
> > At
> > > the
> > > > > moment, I have the 'packaging' value set to 'jar', for lack of a
> > > better
> > > > > value. The problem is that this causes an empty jar file to be
> > > created,
> > > > > alongside my SWF file. However, I don't see how I can avoid this,
> > > since
> > > > > the
> > > > > other "built in" packaging types (e.g. war, ear) are no better
> > suited
> > > to
> > > > > my
> > > > > needs.
> > > > >
> > > > > My POM is very simple, comprising only the use of the dependency
> > and
> > > > exec
> > > > > plugins. Looking at the M2 docs, the only way I see to have a
> > custom
> > > > > packaging is to define it within a custom plugin. However, I don't
> > > need
> > > > > any
> > > > > additional plugins, and that seems like a complicated way to solve
> > a
> > > > > simple
> > > > > problem. Is there some other way I can either define a custom
> > > packaging
> > > > > (or
> > > > > just a lifecycle), or even just tell the jar packaging not to do
> > most
> > > of
> > > > > what it does by default?
> > > > >
> > > > > --
> > > > > Martin Cooper
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>


Re: PMD reports

2006-04-05 Thread Wayne Fay
I'm running maven-pmd-plugin version 2.0-alpha-2. That explains why
its not working on my end. ;-)

Will have to upgrade.

Wayne

On 4/5/06, Mike Perham <[EMAIL PROTECTED]> wrote:
> It certainly does use it if you are using 2.0-beta-1 or later.  The
> rulesets are packaged in pmd-3.x.jar, not the plugin.
>
> -Original Message-
> From: Wayne Fay [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 05, 2006 10:36 AM
> To: Maven Users List
> Subject: Re: PMD reports
>
> 1. Remove the whole  node from your configuration. At this
> moment, the PMD plugin does not actually use those values. Instead it
> automatically uses basic, controversial, and hmm I forget the last, and
> they are all stored within the plugin Jar itself.
>
> Wayne
>
>
> On 4/5/06, Venkatagopalaraju <[EMAIL PROTECTED]>
> wrote:
> > Dear Maven Users,
> >
> >  I am trying to generate PMD reports. I have used maven-pmd-plugin
> as shown below.
> > 
> >
> >
> >org.apache.maven.plugins
> >maven-pmd-plugin
> >
> >
> >/rulesets/basic.xml
> >/rulesets/controversial.xml
> >
> >xml
> >true
> >utf-8
> >100
> >
> >
> >
> >
> > When I try to run by using "mvn pmd:pmd", getting Build Error(Unable
> > to find location rulesets/basic.xml). Could you please let me know,
> 1.I am in confusion, whether I need to generate basic.xml or not?
> > 2.I am using commands for generating PMD reports as "mvn pmd:pmd" and
> "mvn pmd:cpd". Which one I need to use first?
> >
> > Please help me.
> >
> >
> > Thanks & Regards
> >  Gopal
> >
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [M2] Custom 'packaging' without a custom plugin?

2006-04-05 Thread dan tran
On 4/5/06, Martin Cooper <[EMAIL PROTECTED]> wrote:
>
> On 4/4/06, dan tran <[EMAIL PROTECTED]> wrote:
> >
> > http://mojo.codehaus.org/build-helper-maven-plugin/howto.html
>
>
> Yes, I found that. By the way, the page title looks wrong. It's currently
> "Maven Build Dependency Plugin - Maven Build Helper Plugin".
>
> basically right after you use exec or antrun plugin to build your swf
> file,
> > you can use build-helper-maven-plugin:attach-artifact goal to configure
> > maven to install or deploy your swf to repo as needed
>
>
> The part I'm missing - sorry if I'm being dense - is why I need that. What
> does it mean to "attach ... build outputs to the project for install and
> deploy", and why is that different / better than simply using
> deploy:deploy-file?


so that mvn install/deploy will do both of building your custom artifact and
deploy/install it

-D

--
> Martin Cooper
>
>
> On 4/4/06, Martin Cooper <[EMAIL PROTECTED]> wrote:
> > >
> > > On 4/4/06, dan tran <[EMAIL PROTECTED]> wrote:
> > > >
> > > > pom
> > >
> > >
> > > Yep, that did the trick. Thanks!
> > >
> > > if you want to deploy your .swf file, use build-helper-maven-plugin to
> > > > attach
> > > > that artifact to the project to be deploy/install
> > >
> > >
> > > Hmm, I've been using deploy:deploy-file up 'til now, but I'm far from
> au
> > > fait with respect to the way deployment works. Could you clarify,
> > please?
> > >
> > > --
> > > Martin Cooper
> > >
> > >
> > > -D
> > > >
> > > >
> > > > On 4/4/06, Martin Cooper <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > I have a project that generates a Flash SWF file as its artifact.
> At
> > > the
> > > > > moment, I have the 'packaging' value set to 'jar', for lack of a
> > > better
> > > > > value. The problem is that this causes an empty jar file to be
> > > created,
> > > > > alongside my SWF file. However, I don't see how I can avoid this,
> > > since
> > > > > the
> > > > > other "built in" packaging types (e.g. war, ear) are no better
> > suited
> > > to
> > > > > my
> > > > > needs.
> > > > >
> > > > > My POM is very simple, comprising only the use of the dependency
> and
> > > > exec
> > > > > plugins. Looking at the M2 docs, the only way I see to have a
> custom
> > > > > packaging is to define it within a custom plugin. However, I don't
> > > need
> > > > > any
> > > > > additional plugins, and that seems like a complicated way to solve
> a
> > > > > simple
> > > > > problem. Is there some other way I can either define a custom
> > > packaging
> > > > > (or
> > > > > just a lifecycle), or even just tell the jar packaging not to do
> > most
> > > of
> > > > > what it does by default?
> > > > >
> > > > > --
> > > > > Martin Cooper
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>


build error on win2k

2006-04-05 Thread Dixit, Sandeep (ProSource Solutions)
I am getting a following error while building on win2k machine. Can
someone please help me with this error? 

 

Thanks in advance,

Sandeep

 

[INFO] Scanning for projects...

[INFO]


[ERROR] FATAL ERROR

[INFO]


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

 

 

Project ID: unknown

 

Reason: Could not find the model file
'C:\sd\maven_svn\maven_all\maven\plugins\m

aven-antrun-plugin\pom.xml'.

 

 

[INFO]


[INFO] Trace

org.apache.maven.reactor.MavenExecutionException: Could not find the
model file

'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml'.

at
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)

at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)

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.project.ProjectBuildingException: Could not
find the

 model file
'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml

'.

at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default

MavenProjectBuilder.java:1245)

at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi

leInternal(DefaultMavenProjectBuilder.java:412)

at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave

nProjectBuilder.java:190)

at
org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)

at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)

at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491)

at
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)

... 11 more

Caused by: java.io.FileNotFoundException:
C:\sd\maven_svn\maven_all\maven\plugin

s\maven-antrun-plugin\pom.xml (The system cannot find the path
specified)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.(FileInputStream.java:106)

at java.io.FileReader.(FileReader.java:55)

at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default

MavenProjectBuilder.java:1240)

... 17 more

[INFO]


[INFO] Total time: < 1 second

[INFO] Finished at: Wed Apr 05 13:07:08 EDT 2006

[INFO] Final Memory: 1M/2M

[INFO]


Total time: 2 minutes 50 seconds

Finished at: Wed Apr 05 13:07:08 EDT 2006

Using settings from C:\Documents and Settings\xswd53r\.m2\settings.xml

Using the following proxy : authproxy.ntl-city.com/8080

Using the following for your local repository:
C:/maven-2.0.3-SNAPSHOT/repositor

y

Using the following for your remote repository:
[http://repo1.maven.org/maven2,

http://snapshots.maven.codehaus.org/maven2/]

Analysing dependencies ...

 

 

Building project in
C:\sd\maven_svn\maven_all\maven\components\maven-core-it-ver

ifier

--

Cleaning
C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targe

t...

Compiling sources ...

Compiling 12 source files to
C:\sd\maven_svn\maven_all\maven\components\maven-co

re-it-verifier\target\classes

Packaging resources ...

Packaging
C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targ

et\maven-core-it-verifier.jar ...

--

Total time: 1 seconds

Finished at: Wed Apr 05 13:07:09 EDT 2006

ECHO is off.

---

Running integration tests

---

Using default local repository: C:\maven-2.0.3-SNAPSHOT\repository

it0102... Test it0102 in
C:\sd\maven_svn\maven_all\maven\components\maven-core-i

t/it0102 does not exist

 

Thanks,

Sandeep

 


---
***National City made the following annotations
---

Re: build error on win2k

2006-04-05 Thread Carlos Sanchez
You proably need to checkout also the plugins folder from svn

On 4/5/06, Dixit, Sandeep (ProSource Solutions)
<[EMAIL PROTECTED]> wrote:
> I am getting a following error while building on win2k machine. Can
> someone please help me with this error?
>
>
>
> Thanks in advance,
>
> Sandeep
>
>
>
> [INFO] Scanning for projects...
>
> [INFO]
> 
>
> [ERROR] FATAL ERROR
>
> [INFO]
> 
>
> [INFO] Error building POM (may not be this project's POM).
>
>
>
>
>
> Project ID: unknown
>
>
>
> Reason: Could not find the model file
> 'C:\sd\maven_svn\maven_all\maven\plugins\m
>
> aven-antrun-plugin\pom.xml'.
>
>
>
>
>
> [INFO]
> 
>
> [INFO] Trace
>
> org.apache.maven.reactor.MavenExecutionException: Could not find the
> model file
>
> 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml'.
>
> at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>
> at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>
> 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.project.ProjectBuildingException: Could not
> find the
>
>  model file
> 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml
>
> '.
>
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default
>
> MavenProjectBuilder.java:1245)
>
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
>
> leInternal(DefaultMavenProjectBuilder.java:412)
>
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
>
> nProjectBuilder.java:190)
>
> at
> org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
>
> at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
>
> at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491)
>
> at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
>
> ... 11 more
>
> Caused by: java.io.FileNotFoundException:
> C:\sd\maven_svn\maven_all\maven\plugin
>
> s\maven-antrun-plugin\pom.xml (The system cannot find the path
> specified)
>
> at java.io.FileInputStream.open(Native Method)
>
> at java.io.FileInputStream.(FileInputStream.java:106)
>
> at java.io.FileReader.(FileReader.java:55)
>
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default
>
> MavenProjectBuilder.java:1240)
>
> ... 17 more
>
> [INFO]
> 
>
> [INFO] Total time: < 1 second
>
> [INFO] Finished at: Wed Apr 05 13:07:08 EDT 2006
>
> [INFO] Final Memory: 1M/2M
>
> [INFO]
> 
>
> Total time: 2 minutes 50 seconds
>
> Finished at: Wed Apr 05 13:07:08 EDT 2006
>
> Using settings from C:\Documents and Settings\xswd53r\.m2\settings.xml
>
> Using the following proxy : authproxy.ntl-city.com/8080
>
> Using the following for your local repository:
> C:/maven-2.0.3-SNAPSHOT/repositor
>
> y
>
> Using the following for your remote repository:
> [http://repo1.maven.org/maven2,
>
> http://snapshots.maven.codehaus.org/maven2/]
>
> Analysing dependencies ...
>
>
>
>
>
> Building project in
> C:\sd\maven_svn\maven_all\maven\components\maven-core-it-ver
>
> ifier
>
> --
>
> Cleaning
> C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targe
>
> t...
>
> Compiling sources ...
>
> Compiling 12 source files to
> C:\sd\maven_svn\maven_all\maven\components\maven-co
>
> re-it-verifier\target\classes
>
> Packaging resources ...
>
> Packaging
> C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targ
>
> et\maven-core-it-verifier.jar ...
>
> --
>
> Total time: 1 seconds
>
> Finished at: Wed Apr 05 13:07:09 EDT 2006
>
> ECHO is off.
>
> ---
>
> Running integra

Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version

2006-04-05 Thread Gautham Pamu
There seems to be some special character in the white spaces in pom.xml files for plexus-compiler-manager, plexus-compiler-javac, plexus-compiler-api for 1.5.2 version. Could you please fix it as soon as possible and upload to the maven repository.
ThanksGautham PamuOn 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
Sounds like a bug report. Try to find the bad character (or other rootcause) and post the issue on JIRA.WayneOn 4/5/06, Gautham Pamu <[EMAIL PROTECTED]
> wrote:> Hi Everyone,>> There seems to be a problem in the pom.xml files of plexus-compiler-api:jar:> 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.>> I have seem this 
sun.io.MalformedInputException error while compile java> code if the code has special characters in comments.> The code is not build on Linux platform as the jvm does not like these pom> files, I think the 
pom.xml file has some special characters.>> When I changed to maven-compiler-plugin 2.0, it worked...>> [INFO] Using default encoding to copy filtered resources.> [INFO] [ERROR]
> BUILD ERROR> [INFO]> [INFO]> Error building POM (may not be this project's POM).>>> Project ID: null:plexus-compiler-api:jar:
1.5.2>> Reason: Cannot find parent: org.codehaus.plexus:plexus-compiler for project:> null:plexus-compiler-api:jar:1.5.2>>> [INFO]> [INFO]
> Trace> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get> dependency information: Unable to read the metadata file for artifact '> org.codehaus.plexus:plexus-compiler-api:jar
': Cannot find parent:> org.codehaus.plexus:plexus-compiler for project:> null:plexus-compiler-api:jar:1.5.2>  org.codehaus.plexus:plexus-compiler-api:jar:1.5.2>> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2 ),>  apache.snapshots (http://svn.apache.org/maven-snapshot-repository
),>  snapshots (http://snapshots.maven.codehaus.org/maven2 )> Path to dependency:>1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
>>>at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(> DefaultLifecycleExecutor.java :551)>at> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:475)>at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(> DefaultLifecycleExecutor.java :454)>at> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:306)>at> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (> DefaultLifecycleExecutor.java:273)>at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(> DefaultLifecycleExecutor.java:140)>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)>at 
org.apache.maven.cli.MavenCli.main(MavenCli.java:256)>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)>at sun.reflect.NativeMethodAccessorImpl.invoke(> NativeMethodAccessorImpl.java
:85)>at sun.reflect.NativeMethodAccessorImpl.invoke(> NativeMethodAccessorImpl.java:58)>at sun.reflect.DelegatingMethodAccessorImpl.invoke (> DelegatingMethodAccessorImpl.java:60)
>at java.lang.reflect.Method.invoke(Method.java:391)>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.artifact.resolver.ArtifactResolutionException
 :> Unable to get dependency information: Unable to read the metadata file for> artifact 'org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:> org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar: 1.5.2>  org.codehaus.plexus:plexus-compiler-api:jar:1.5.2>> from the specified remote repositories:>  central (http://repo1.maven.org/maven2
),>  apache.snapshots ( http://svn.apache.org/maven-snapshot-repository),>  snapshots (http://snapshots.maven.codehaus.org/maven2
 )> Path to dependency:>1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1>>>at> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
(> DefaultArtifactCollector.java :297)>at> org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(> DefaultArtifactCollector.java(Compiled Code))>at> 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(> DefaultArtifactResolver.java:223)>at> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> (

Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version

2006-04-05 Thread Wayne Fay
Again, this sounds like something you should file as a bug report in JIRA.

http://jira.codehaus.org/browse

Wayne


On 4/5/06, Gautham Pamu <[EMAIL PROTECTED]> wrote:
> There seems to be some special character in the white spaces in pom.xml
> files for plexus-compiler-manager, plexus-compiler-javac,
> plexus-compiler-api for 1.5.2
> version. Could you please fix it as soon as possible and upload to the maven
> repository.
>
> Thanks
> Gautham Pamu
>
>
> On 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > Sounds like a bug report. Try to find the bad character (or other root
> > cause) and post the issue on JIRA.
> >
> > Wayne
> >
> >
> > On 4/5/06, Gautham Pamu <[EMAIL PROTECTED] > wrote:
> > > Hi Everyone,
> > >
> > > There seems to be a problem in the pom.xml files of
> plexus-compiler-api:jar:
> > > 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
> > >
> > > I have seem this sun.io.MalformedInputException error while compile java
> > > code if the code has special characters in comments.
> > > The code is not build on Linux platform as the jvm does not like these
> pom
> > > files, I think the pom.xml file has some special characters.
> > >
> > > When I changed to maven-compiler-plugin 2.0, it worked...
> > >
> > > [INFO] Using default encoding to copy filtered resources.
> > > [INFO]
> [ERROR]
> > > BUILD ERROR
> > > [INFO]
> > >
> [INFO]
> > > Error building POM (may not be this project's POM).
> > >
> > >
> > > Project ID: null:plexus-compiler-api:jar: 1.5.2
> > >
> > > Reason: Cannot find parent:
> org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > >
> > >
> > > [INFO]
> > >
> [INFO]
> > > Trace
> > > org.apache.maven.lifecycle.LifecycleExecutionException:
> Unable to get
> > > dependency information: Unable to read the metadata file for artifact '
> > > org.codehaus.plexus:plexus-compiler-api:jar ': Cannot
> find parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > >  org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > >
> > > from the specified remote repositories:
> > >  central (http://repo1.maven.org/maven2 ),
> > >  apache.snapshots
> (http://svn.apache.org/maven-snapshot-repository ),
> > >  snapshots (http://snapshots.maven.codehaus.org/maven2
> )
> > > Path to dependency:
> > >1)
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > >
> > >
> > >at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java :551)
> > >at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > (DefaultLifecycleExecutor.java:475)
> > >at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > DefaultLifecycleExecutor.java :454)
> > >at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > (DefaultLifecycleExecutor.java:306)
> > >at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> (
> > > DefaultLifecycleExecutor.java:273)
> > >at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> (
> > > DefaultLifecycleExecutor.java:140)
> > >at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > >at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > >at
> org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > >at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java :85)
> > >at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java:58)
> > >at
> sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > > DelegatingMethodAccessorImpl.java:60)
> > >at java.lang.reflect.Method.invoke(Method.java:391)
> > >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.artifact.resolver.ArtifactResolutionException
> :
> > > Unable to get dependency information: Unable to read the metadata file
> for
> > > artifact 'org.codehaus.plexus:plexus-compiler-api:jar':
> Cannot find parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar: 1.5.2
> > >  org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > >
> > > from the specified remote repositories:
> > >  central (http://repo1.maven.org/maven2 ),

[m2] Maven Release Notes

2006-04-05 Thread haginow2001-nabble
How do I find out what has changed between the various
Maven 2.x.x releases? E.g. I need to understand what
has changed between 2.0.2 and 2.0.3, so that we can
determine if it's worth upgrading and what the effort
is (please understand that we had to customize some
plugins because of existing bugs ...)

Thanks,
Chris



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



Re: [m2] Maven Release Notes

2006-04-05 Thread Mang Jun Lau
Release notes are on JIRA.

http://jira.codehaus.org/secure/ReleaseNote.jspa?version=12107&styleName=Html&projectId=10500


_Mang Lau





<[EMAIL PROTECTED]> 
04/05/2006 01:37 PM
Please respond to
"Maven Users List" 


To
users@maven.apache.org
cc

Subject
[m2] Maven Release Notes






How do I find out what has changed between the various
Maven 2.x.x releases? E.g. I need to understand what
has changed between 2.0.2 and 2.0.3, so that we can
determine if it's worth upgrading and what the effort
is (please understand that we had to customize some
plugins because of existing bugs ...)

Thanks,
Chris



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




Re: Maven Webstart Plugin

2006-04-05 Thread [EMAIL PROTECTED]

I am using an alternate pom that specifies:

pom

and is almost exactly the same as the example found on:

http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/howto.html

and I still get:

[DEBUG] Skipping artifact of type pom for jnlp
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failure to run the plugin:

[INFO]

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failure to run the
plugin:
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.
java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecy
cleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.j
ava:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLi
fecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleEx
ecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
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)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failure to run
the plugin:
at org.codehaus.mojo.webstart.JnlpMojo.execute(JnlpMojo.java:479)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.
java:534)
... 16 more
Caused by: java.lang.NullPointerException
at
org.codehaus.mojo.webstart.JnlpMojo.processDependency(JnlpMojo.java:629)
at
org.codehaus.mojo.webstart.JnlpMojo.processDependencies(JnlpMojo.java:588)
at org.codehaus.mojo.webstart.JnlpMojo.execute(JnlpMojo.java:367)
... 18 more
[INFO]

--
View this message in context: 
http://www.nabble.com/Maven-Webstart-Plugin-t1371503.html#a3769779
Sent from the Maven - Users forum at Nabble.com.


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



RE: build error on win2k

2006-04-05 Thread Dixit, Sandeep (ProSource Solutions)
I used the following:

svn co https://svn.apache.org/repos/asf/maven/trunks maven

I do see plugins folder along with components and archtype folders.

Thanks,
Sandeep

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: Wednesday, April 05, 2006 1:33 PM
To: Maven Users List
Subject: Re: build error on win2k

You proably need to checkout also the plugins folder from svn

On 4/5/06, Dixit, Sandeep (ProSource Solutions)
<[EMAIL PROTECTED]> wrote:
> I am getting a following error while building on win2k machine. Can
> someone please help me with this error?
>
>
>
> Thanks in advance,
>
> Sandeep
>
>
>
> [INFO] Scanning for projects...
>
> [INFO]
>

>
> [ERROR] FATAL ERROR
>
> [INFO]
>

>
> [INFO] Error building POM (may not be this project's POM).
>
>
>
>
>
> Project ID: unknown
>
>
>
> Reason: Could not find the model file
> 'C:\sd\maven_svn\maven_all\maven\plugins\m
>
> aven-antrun-plugin\pom.xml'.
>
>
>
>
>
> [INFO]
>

>
> [INFO] Trace
>
> org.apache.maven.reactor.MavenExecutionException: Could not find the
> model file
>
> 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml'.
>
> at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>
> at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
>
> at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>
> 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.project.ProjectBuildingException: Could
not
> find the
>
>  model file
> 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml
>
> '.
>
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default
>
> MavenProjectBuilder.java:1245)
>
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
>
> leInternal(DefaultMavenProjectBuilder.java:412)
>
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
>
> nProjectBuilder.java:190)
>
> at
> org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
>
> at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
>
> at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491)
>
> at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
>
> ... 11 more
>
> Caused by: java.io.FileNotFoundException:
> C:\sd\maven_svn\maven_all\maven\plugin
>
> s\maven-antrun-plugin\pom.xml (The system cannot find the path
> specified)
>
> at java.io.FileInputStream.open(Native Method)
>
> at java.io.FileInputStream.(FileInputStream.java:106)
>
> at java.io.FileReader.(FileReader.java:55)
>
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default
>
> MavenProjectBuilder.java:1240)
>
> ... 17 more
>
> [INFO]
>

>
> [INFO] Total time: < 1 second
>
> [INFO] Finished at: Wed Apr 05 13:07:08 EDT 2006
>
> [INFO] Final Memory: 1M/2M
>
> [INFO]
>

>
> Total time: 2 minutes 50 seconds
>
> Finished at: Wed Apr 05 13:07:08 EDT 2006
>
> Using settings from C:\Documents and Settings\xswd53r\.m2\settings.xml
>
> Using the following proxy : authproxy.ntl-city.com/8080
>
> Using the following for your local repository:
> C:/maven-2.0.3-SNAPSHOT/repositor
>
> y
>
> Using the following for your remote repository:
> [http://repo1.maven.org/maven2,
>
> http://snapshots.maven.codehaus.org/maven2/]
>
> Analysing dependencies ...
>
>
>
>
>
> Building project in
> C:\sd\maven_svn\maven_all\maven\components\maven-core-it-ver
>
> ifier
>
> --
>
> Cleaning
>
C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targe
>
> t...
>
> Compiling sources ...
>
> Compiling 12 source files to
> C:\sd\maven_svn\maven_all\maven\components\maven-co
>
> re-it-verifier\target\classes
>
> Packaging resources ...
>
> Packag

Re: M2 antrun plugin problem

2006-04-05 Thread Carlos Sanchez
There's a test in maven-antrun-plugin\src\it\test6 and it's working for me

On 4/5/06, A. Alonso Dominguez <[EMAIL PROTECTED]> wrote:
> Hi again,
>
> I tried with the two different instructions I got, the one from Siegmann and
> the other one from Carlos Sanchez. None of them did work.
>
> I also tired to go a bit ahead: I have notice that the ""
> tag doesn't declares any path-like structure so I changed a bit the response
> I got from Siegmann I now the plugin configuration is like this:
>
> 
>  
>
> 
> 
>  inheritRefs="true">
>  
> 
>  
> 
>
> Now, Maven informs about that will override the reference to "
> maven.plugin.classpath" but It eventually fails again:
>
> [INFO] [antrun:run {execution: compile}]
> [INFO] Executing tasks
> Overriding previous definition of reference to maven.plugin.classpath
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Error executing ant tasks
>
> Embedded error: The following error occurred while executing this line:
> E:\Proyectos\Enterprise Ring System\portal\modules\dao\impl\portal-
> container.build.xml:5:
> Reference maven.plugin.classpath not found.
>
> Because of this I'm really confused. Thinking about that, what I really
> whant is a way to run an Ant task developed by myself.
> Does anyone know a way to define that Ant task inside the POM (or in a
> different place) so I can configure the plugin like this?:
>
> 
>  
>
>  
>
>  
> 
>
> Alonso
>
> 2006/4/5, Carlos Sanchez <[EMAIL PROTECTED]>:
> >
> > You may need the latest version of the plugin 1.2-SNAPSHOT, building
> > it from sources or adding this repository to your pom:
> > http://cvs.apache.org/maven-snapshot-repository
> >
> >
> > On 4/5/06, A. Alonso Dominguez <[EMAIL PROTECTED]> wrote:
> > > Hi there,
> > >
> > > Can anyone give me a hand? I can't get this to work. I'm tring to run an
> > ant
> > > task written in an external build.xml file:
> > >
> > > 
> > >> >classname="
> > > com.social_labs.portal.container.tools.ProviderMetaInfoCollector">
> > > 
> > >   
> > >
> > >   
> > > 
> > >   
> > > 
> > >   
> > > 
> > >
> > > To get this I'm using the maven-antrun-plugin and I followed the
> > > instructions found at
> > > http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html.
> > > The plugin configuration is as follows.
> > >
> > > 
> > > org.apache.maven.plugins
> > > maven-antrun-plugin
> > > 
> > >   
> > > compile
> > > compile
> > > 
> > >   
> > >  > > inheritRefs="true">
> > >   
> > > 
> > >   
> > > 
> > > 
> > >   run
> > > 
> > >   
> > > 
> > > 
> > >   
> > > portal-container-impl
> > > com.social_labs.portal
> > > ${pom.version}
> > >   
> > > 
> > >   
> > >
> > > The problem seems to be that the build.xml file doesn't inherits the
> > > references from the POM because I
> > > allways get this error message:
> > >
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> > 
> > > [INFO] Error executing ant tasks
> > >
> > > Embedded error: The following error occurred while executing this line:
> > > E:\Proyectos\Enterprise Ring System\portal\modules\dao\impl\portal-
> > > container.build.xml:5:
> > > Reference maven.plugin.classpath not found.
> > >
> > > Does anyone know what's happening? Is there another different way to do
> > what
> > > I'm trying?
> > >
> > > Regards,
> > > Alonso
> > >
> > >
> >
> >
> > --
> > I could give you my word as a Spaniard.
> > No good. I've known too many Spaniards.
> >  -- The Princess Bride
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

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



Re: Maven Webstart Plugin

2006-04-05 Thread Wayne Fay
In your  section, do you have a  defined?

Line 629 in JnlpMojo is:
if ( artifactContainsClass( artifact, jnlp.getMainClass() ) ) {

Wayne


On 4/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I am using an alternate pom that specifies:
>
> pom
>
> and is almost exactly the same as the example found on:
>
> http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/howto.html
>
> and I still get:
>
> [DEBUG] Skipping artifact of type pom for jnlp
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failure to run the plugin:
>
> [INFO]
> 
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Failure to run the
> plugin:
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.
> java:559)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecy
> cleExecutor.java:475)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.j
> ava:454)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLi
> fecycleExecutor.java:306)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleEx
> ecutor.java:273)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
> 140)
>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>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)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Failure to run
> the plugin:
>at org.codehaus.mojo.webstart.JnlpMojo.execute(JnlpMojo.java:479)
>at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.
> java:534)
>... 16 more
> Caused by: java.lang.NullPointerException
>at
> org.codehaus.mojo.webstart.JnlpMojo.processDependency(JnlpMojo.java:629)
>at
> org.codehaus.mojo.webstart.JnlpMojo.processDependencies(JnlpMojo.java:588)
>at org.codehaus.mojo.webstart.JnlpMojo.execute(JnlpMojo.java:367)
>... 18 more
> [INFO]
> 
> --
> View this message in context: 
> http://www.nabble.com/Maven-Webstart-Plugin-t1371503.html#a3769779
> Sent from the Maven - Users forum at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version

2006-04-05 Thread Carlos Sanchez
I'm fixing it


On 4/5/06, Gautham Pamu <[EMAIL PROTECTED]> wrote:
> There seems to be some special character in the white spaces in pom.xml
> files for plexus-compiler-manager, plexus-compiler-javac,
> plexus-compiler-api for 1.5.2
> version. Could you please fix it as soon as possible and upload to the maven
> repository.
>
> Thanks
> Gautham Pamu
>
>
> On 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > Sounds like a bug report. Try to find the bad character (or other root
> > cause) and post the issue on JIRA.
> >
> > Wayne
> >
> >
> > On 4/5/06, Gautham Pamu <[EMAIL PROTECTED] > wrote:
> > > Hi Everyone,
> > >
> > > There seems to be a problem in the pom.xml files of
> plexus-compiler-api:jar:
> > > 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
> > >
> > > I have seem this sun.io.MalformedInputException error while compile java
> > > code if the code has special characters in comments.
> > > The code is not build on Linux platform as the jvm does not like these
> pom
> > > files, I think the pom.xml file has some special characters.
> > >
> > > When I changed to maven-compiler-plugin 2.0, it worked...
> > >
> > > [INFO] Using default encoding to copy filtered resources.
> > > [INFO]
> [ERROR]
> > > BUILD ERROR
> > > [INFO]
> > >
> [INFO]
> > > Error building POM (may not be this project's POM).
> > >
> > >
> > > Project ID: null:plexus-compiler-api:jar: 1.5.2
> > >
> > > Reason: Cannot find parent:
> org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > >
> > >
> > > [INFO]
> > >
> [INFO]
> > > Trace
> > > org.apache.maven.lifecycle.LifecycleExecutionException:
> Unable to get
> > > dependency information: Unable to read the metadata file for artifact '
> > > org.codehaus.plexus:plexus-compiler-api:jar ': Cannot
> find parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > >  org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > >
> > > from the specified remote repositories:
> > >  central (http://repo1.maven.org/maven2 ),
> > >  apache.snapshots
> (http://svn.apache.org/maven-snapshot-repository ),
> > >  snapshots (http://snapshots.maven.codehaus.org/maven2
> )
> > > Path to dependency:
> > >1)
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > >
> > >
> > >at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java :551)
> > >at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > (DefaultLifecycleExecutor.java:475)
> > >at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > DefaultLifecycleExecutor.java :454)
> > >at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > (DefaultLifecycleExecutor.java:306)
> > >at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> (
> > > DefaultLifecycleExecutor.java:273)
> > >at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> (
> > > DefaultLifecycleExecutor.java:140)
> > >at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > >at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > >at
> org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > >at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java :85)
> > >at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java:58)
> > >at
> sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > > DelegatingMethodAccessorImpl.java:60)
> > >at java.lang.reflect.Method.invoke(Method.java:391)
> > >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.artifact.resolver.ArtifactResolutionException
> :
> > > Unable to get dependency information: Unable to read the metadata file
> for
> > > artifact 'org.codehaus.plexus:plexus-compiler-api:jar':
> Cannot find parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar: 1.5.2
> > >  org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > >
> > > from the specified remote repositories:
> > >  central (http://repo1.maven.org/maven2 ),
> > >  apache.snapshots (
> http://svn.apache.org/maven-snapshot-repository),
> > >  snapshots (http:

Re: How to compile with external .JARS - How to skip compile from the maven site

2006-04-05 Thread Julio Oliveira
OK it's fine and working.

tanks to you Eric and Wayne.

Now i'm registered to the Eric web and read some notes.

I'm download ruby and install it, I supose maven need it to work with
the scrip... ??

I will try the script and send you the result???'

I have more than 100 jar, and the problem is that all time, it's
changing dinamic, and there is a problem to  maintain it.

regards.

MUCHAS  GRACIAS   BOTIJAS




On 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> While you're at it, why not write out the  list for the
> installed jars at the end of the program run?
>
> Otherwise this only solves half the problem. ;-)
>
> Wayne
>
> On 4/5/06, Eric Redmond <[EMAIL PROTECTED]> wrote:
> > Because I'm such a nice guy :), here is a ruby script to install all jars in
> > a given directory to Maven. Just ensure there are no spaces in your
> > directory path.
> >
> > Eric
> >
> > - BEGIN SCRIPT -
> > # Set the MVN SCRIPT
> > # Eric Redmond / Propellors.net
> >
> > MVN_SCRIPT = "C:/maven-2.1-SNAPSHOT/bin/mvn.bat"
> > VERSION = "1"
> >
> > def install_jars( base_dir_name, group_id )
> >gid_set = !group_id.nil?
> >Dir.foreach( base_dir_name ) { |file_name|
> >next unless file_name =~ /\.jar$/
> >artifact_id = file_name.sub(/.jar$/, '')
> >group_id = gid_set ? group_id : artifact_id
> >file_name = "#{base_dir_name}/#{file_name}"
> >puts
> > system("#{MVN_SCRIPT}","install:install-file","-DgroupId=#{group_id}","-DartifactId=#{artifact_id}","-Dversion=#{VERSION}","-Dpackaging=jar","-Dfile=#{file_name}")
> >}
> > end
> >
> > begin
> >bdir, gid = ARGV[0],ARGV[1] unless ARGV[0].nil?&&(puts "usage:
> > install_jars.rb  [GROUP_ID]")|exit
> >install_jars( bdir, gid )
> > end
> > -- END SCRIPT --
> >
> >
> > On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> > >
> > > ok Wayne
> > >
> > > I think it will be modified .
> > >
> > >
> > > But how to do the site without compile,   site:site doesn't work
> > >
> > > regards
> > >
> > >
> > > On 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > > > On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > For #1 what if i have 100 .jars  have i to do it one by one... or is
> > > > > there any tip to do in a one line ( take all a folder with the 100
> > > > > .jar's )
> > > > >
> > > >
> > > > Yes, one by one. So 100 will take a while. Have fun.
> > > >
> > > > Wayne
> > > >
> > >
> > > -
> > > 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 surefire plugin 2.1.3 and surefire 1.5.3 released

2006-04-05 Thread Lee Meador
I'm not sure http://maven.apache.org/surefire is worth the trouble. It is
just a page with the Maven borders that says "Surefire is a test framework
project."

Although, someone might need to know that.

-- Lee

On 4/4/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
>
> The Maven team is pleased to annonunce the release of the Maven
> surefire plugin 2.1.3 and underlying surefire library 1.5.3
> You can run mvn -U to get the latest version of the plugin.
>
> More info at http://maven.apache.org/plugins/maven-surefire-plugin/
> and http://maven.apache.org/surefire
>
> Issues fixed
> Mainly improvements the support of test forking.
>
>
> http://jira.codehaus.org/browse/MSUREFIRE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
>
> http://jira.codehaus.org/browse/SUREFIRE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
>
> --
> I could give you my word as a Spaniard.
> No good. I've known too many Spaniards.
>  -- The Princess Bride
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]


Re: How to compile with external .JARS - How to skip compile from the maven site

2006-04-05 Thread Eric Redmond
Of course, that was just a simple hack. Anyone can extend it into something
more robust, and make a ruby/maven plugin out of it (
http://mojo.codehaus.org/rubyscript-maven-plugin). That way you can run the
thing as part of a maven build. Good luck!

Eric

On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
>
> OK it's fine and working.
>
> tanks to you Eric and Wayne.
>
> Now i'm registered to the Eric web and read some notes.
>
> I'm download ruby and install it, I supose maven need it to work with
> the scrip... ??
>
> I will try the script and send you the result???'
>
> I have more than 100 jar, and the problem is that all time, it's
> changing dinamic, and there is a problem to  maintain it.
>
> regards.
>
> MUCHAS  GRACIAS   BOTIJAS
>
>
>
>
> On 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > While you're at it, why not write out the  list for the
> > installed jars at the end of the program run?
> >
> > Otherwise this only solves half the problem. ;-)
> >
> > Wayne
> >
> > On 4/5/06, Eric Redmond <[EMAIL PROTECTED]> wrote:
> > > Because I'm such a nice guy :), here is a ruby script to install all
> jars in
> > > a given directory to Maven. Just ensure there are no spaces in your
> > > directory path.
> > >
> > > Eric
> > >
> > > - BEGIN SCRIPT -
> > > # Set the MVN SCRIPT
> > > # Eric Redmond / Propellors.net
> > >
> > > MVN_SCRIPT = "C:/maven-2.1-SNAPSHOT/bin/mvn.bat"
> > > VERSION = "1"
> > >
> > > def install_jars( base_dir_name, group_id )
> > >gid_set = !group_id.nil?
> > >Dir.foreach( base_dir_name ) { |file_name|
> > >next unless file_name =~ /\.jar$/
> > >artifact_id = file_name.sub(/.jar$/, '')
> > >group_id = gid_set ? group_id : artifact_id
> > >file_name = "#{base_dir_name}/#{file_name}"
> > >puts
> > >
> system("#{MVN_SCRIPT}","install:install-file","-DgroupId=#{group_id}","-DartifactId=#{artifact_id}","-Dversion=#{VERSION}","-Dpackaging=jar","-Dfile=#{file_name}")
> > >}
> > > end
> > >
> > > begin
> > >bdir, gid = ARGV[0],ARGV[1] unless ARGV[0].nil?&&(puts "usage:
> > > install_jars.rb  [GROUP_ID]")|exit
> > >install_jars( bdir, gid )
> > > end
> > > -- END SCRIPT --
> > >
> > >
> > > On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> > > >
> > > > ok Wayne
> > > >
> > > > I think it will be modified .
> > > >
> > > >
> > > > But how to do the site without compile,   site:site doesn't work
> > > >
> > > > regards
> > > >
> > > >
> > > > On 4/5/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > > > > On 4/5/06, Julio Oliveira <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > For #1 what if i have 100 .jars  have i to do it one by one...
> or is
> > > > > > there any tip to do in a one line ( take all a folder with the
> 100
> > > > > > .jar's )
> > > > > >
> > > > >
> > > > > Yes, one by one. So 100 will take a while. Have fun.
> > > > >
> > > > > Wayne
> > > > >
> > > >
> > > >
> -
> > > > 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: PMD reports

2006-04-05 Thread Rik Bosman
Is support for PMD 3.6 already planned or in sandbox?


Re: Maven Webstart Plugin

2006-04-05 Thread Jeff Louw

Thanks Wayne,

Where can I find an example of a template.vm ... It seems I must have one
defined.

Thanks ...
Jeff
--
View this message in context: 
http://www.nabble.com/Maven-Webstart-Plugin-t1371503.html#a3770729
Sent from the Maven - Users forum at Nabble.com.


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



Re: Maven Webstart Plugin

2006-04-05 Thread Jeff Louw

I found a jnlp.vm template in the source for the plugin. Could I just use
this one?
--
View this message in context: 
http://www.nabble.com/Maven-Webstart-Plugin-t1371503.html#a3771135
Sent from the Maven - Users forum at Nabble.com.


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



continuum build fails

2006-04-05 Thread Dixit, Sandeep (ProSource Solutions)
I am getting the following error message while trying to build on winxp
machine. How do I resolve this?

Thanks in advance,
Sandeep



---
[2006.04.05 14:55:39] Integration test settings

---
[2006.04.05 14:55:39] IT root: C:\continuum\continuum-core-it\target\it
[2006.04.05 14:55:39] Remoting method: jvm
[2006.04.05 14:55:39] Store implementation: class
org.apache.maven.continuum.sto
re.JdoContinuumStore

---
[surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 7.938 sec
<<<
< FAILURE !!
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] There are test failures.
[INFO]

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

[INFO] Total time: 7 minutes 5 seconds
[INFO] Finished at: Wed Apr 05 14:55:39 EDT 2006
[INFO] Final Memory: 60M/63M
[INFO]


---
***National City made the following annotations
---
This communication is a confidential and proprietary business communication.  
It is intended solely for the use of the designated recipient(s).  If this
communication is received in error, please contact the sender and delete 
this communication.
===


Re: Maven Webstart Plugin

2006-04-05 Thread Jeff Louw

In answer to my own question ;) Yes I can ... perhaps the plugin should
supply a default template if one is not specificed.

Thanks to everyone for all your help ... it is working now :)
--
View this message in context: 
http://www.nabble.com/Maven-Webstart-Plugin-t1371503.html#a3771215
Sent from the Maven - Users forum at Nabble.com.


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



RE: PMD reports

2006-04-05 Thread Mike Perham
It's in svn and will be coming soon in the 2.0 release.  Brett called a
vote about 5 days ago to release it.

-Original Message-
From: Rik Bosman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 05, 2006 1:38 PM
To: Maven Users List
Subject: Re: PMD reports

Is support for PMD 3.6 already planned or in sandbox?


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



RE: TimeZone Element in pom.xml

2006-04-05 Thread ian . d . stewart
The offset alone is not sufficient to convey the information that the
timezone element is supposed to convey.

Example:

I live in Columbus, OH, which is in the Eastern Timezone (GMT -5).  As with
most of the United States, we observe Daylight Savings Time.  John lives in
Gary, IN.  Gary is also in the Eastern Timezone (GMT -5).  However, unlike
Columbus, Gary does not observe Daylight Savings Time.

I understand that for your purposes, the current timezone meets your needs.
However, there are users of Maven where an enhancement to the way projects
record the timezones of their developers and/or contributors provides real
value.

What I do not understand is why you are objecting to an enhancement that
would provide value to those users without hindering the way you track
timezones in your projects.

It's better to be hated for who you are
than loved for who you are not

Ian D. Stewart
Appl Dev Analyst-Advisory, DCS Automation
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078



  
  Jörg Schaible 

  <[EMAIL PROTECTED]To:   "Maven Users List" 
  
  utions.com>  cc:  
  
   Subject:  RE: TimeZone 
Element in pom.xml  
  04/05/2006 10:43 AM   
  
  Please respond to "Maven  
  
  Users List"   
  

  




[EMAIL PROTECTED] wrote on Wednesday, April 05, 2006 3:48 PM:

> As far as I know, the timezone element is purely
> informational, so there is
> no need to specify when a particular location observes
> Daylight Savings
> Time.  However, we do have a valid usecase for including the
> fact that a
> particular timezone does observe Daylight Savings Time.
>
> I have no problem with supporting something like
>
> 
>   Europe/Berlin
> 
>
> or even
>
> 
>
> However, I do not understand the aversion to allowing others
> to specify the
> offset and useDaylight elements if they bring value.  The alternative
> would be to force everyone to memorize the proper ID for each
> location, and the
> offset and Daylight Savings Times observations for each.
> Especially for
> open source projects, which may have developers and/or
> contributors from
> dozens of different locations, this is a non-trivial effort
> and worse, IMO,
> then the current offset-based approach.

Well, this info is part of the JRE. See $JAVA_HOME/jre/lib/zi. So I don't
get the point, why anyone should "memorize the proper [...] Daylight
Savings Times observations for each". In Unix you select your system's TZ
by copying the proper ZI file from /usr/share/zoneinfo into /etc/localtime
(at least this is what the tools do under the hood) and in Windows you get
a list of countries to seleft of. What means daylight saving? UK is
returning from GMT-1 to normal time (GMT in summer) while rest of Europe
leaves standard time (GMT+1) for summer switching to GMT+2. So why should
we modify the POM structure to add 3 elements, when you can have all of it
with the current structure? The current values +/-n is just GMT+/-n and
anything else could be mapped to the named zone info IDs.

- Jörg

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




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



[ANN] Maven2 Netbeans freeform plugin 2.0

2006-04-05 Thread rafale

The Mojo team is pleased to announce the AspectJ Plugin 2.0 release!

http://mojo.codehaus.org/netbeans-freeform-maven-plugin/

This plugin allows user to:

  - Show maven 2 projects inside the Netbeans IDE versions 4.x 5.X 
  - Call maven goals from inside the ide


In order to use the plugin:
1. call 'mvn netbeans-freeform:generate-netbeans-project' in your project 
directory.
2. open your project in the ide
3. whenever you want to refresh the netbeans view of the project, redo step 1 
or call the refresh-project action in the popup window of the project.

Known issue :
http://jira.codehaus.org/browse/MOJO-347
http://jira.codehaus.org/browse/MOJO-296

Enjoy!

-The Mojo  team


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



New SVG project

2006-04-05 Thread Mark McKay
I manage the SVG Salamander project on 
http://svgsalamander.dev.java.net.  Recently a user suggested I post my 
binaries to Maven because this would help Maven users.  I started the 
issue below, but so far have had no feedback:


http://jira.codehaus.org/browse/MAVENUPLOAD-805

Anyone know what would happen next, or where I should look for 
feedback?  Also, am I right in thinking that Maven is similar to RPM, 
except for Java jars?  Also, what do I do when I change my code and 
recompile my jars?


Mark McKay

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



Re: New SVG project

2006-04-05 Thread Wayne Fay
No feedback? Check again... Carlos responded on April 3rd.

Wayne


On 4/5/06, Mark McKay <[EMAIL PROTECTED]> wrote:
> I manage the SVG Salamander project on
> http://svgsalamander.dev.java.net.  Recently a user suggested I post my
> binaries to Maven because this would help Maven users.  I started the
> issue below, but so far have had no feedback:
>
> http://jira.codehaus.org/browse/MAVENUPLOAD-805
>
> Anyone know what would happen next, or where I should look for
> feedback?  Also, am I right in thinking that Maven is similar to RPM,
> except for Java jars?  Also, what do I do when I change my code and
> recompile my jars?
>
> Mark McKay
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: New SVG project

2006-04-05 Thread Mark McKay
The bundle file is a jar/zip file containing the other jars.  There 
wasn't a good explanation of what exactly a bundle was on the website.  
What is expected? 


Also, how does Maven use this bundle?

Mark McKay


Wayne Fay wrote:

No feedback? Check again... Carlos responded on April 3rd.

Wayne


On 4/5/06, Mark McKay <[EMAIL PROTECTED]> wrote:
  

I manage the SVG Salamander project on
http://svgsalamander.dev.java.net.  Recently a user suggested I post my
binaries to Maven because this would help Maven users.  I started the
issue below, but so far have had no feedback:

http://jira.codehaus.org/browse/MAVENUPLOAD-805

Anyone know what would happen next, or where I should look for
feedback?  Also, am I right in thinking that Maven is similar to RPM,
except for Java jars?  Also, what do I do when I change my code and
recompile my jars?

Mark McKay

-
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: New SVG project

2006-04-05 Thread Ray Ward
Mark,

Maybe I'm just being dense this afternoon, but it's not obvious to me how a
Scalable Vector Graphics library fits in with Maven, or would help Maven
users.  (I may be missing a project that incorporates graphic reports into
Maven, similarly to jarAnalyzer/Graphviz?)

I can see how you might use Maven to manage your project builds...

Ray


On 4/5/06, Mark McKay <[EMAIL PROTECTED]> wrote:
>
> I manage the SVG Salamander project on
> http://svgsalamander.dev.java.net.  Recently a user suggested I post my
> binaries to Maven because this would help Maven users.  I started the
> issue below, but so far have had no feedback:
>
> http://jira.codehaus.org/browse/MAVENUPLOAD-805
>
> Anyone know what would happen next, or where I should look for
> feedback?  Also, am I right in thinking that Maven is similar to RPM,
> except for Java jars?  Also, what do I do when I change my code and
> recompile my jars?
>
> Mark McKay
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: New SVG project

2006-04-05 Thread Jeff Jensen
Just making sure you have seen this page:
http://maven.apache.org/guides/mini/guide-ibiblio-upload.html 

Does it answer your questions?


-Original Message-
From: Mark McKay [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 05, 2006 3:44 PM
To: Maven Users List
Subject: Re: New SVG project

The bundle file is a jar/zip file containing the other jars.  There wasn't a
good explanation of what exactly a bundle was on the website.  
What is expected? 

Also, how does Maven use this bundle?

Mark McKay


Wayne Fay wrote:
> No feedback? Check again... Carlos responded on April 3rd.
>
> Wayne
>
>
> On 4/5/06, Mark McKay <[EMAIL PROTECTED]> wrote:
>   
>> I manage the SVG Salamander project on 
>> http://svgsalamander.dev.java.net.  Recently a user suggested I post 
>> my binaries to Maven because this would help Maven users.  I started 
>> the issue below, but so far have had no feedback:
>>
>> http://jira.codehaus.org/browse/MAVENUPLOAD-805
>>
>> Anyone know what would happen next, or where I should look for 
>> feedback?  Also, am I right in thinking that Maven is similar to RPM, 
>> except for Java jars?  Also, what do I do when I change my code and 
>> recompile my jars?
>>
>> Mark McKay
>>
>> -
>> 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: New SVG project

2006-04-05 Thread Mark McKay
Well, I wasn't quite sure either.  The main reason was that one of my 
users suggested it.  From that, I figured it might be of interest to the 
Maven community.


Mark McKay


Ray Ward wrote:

Mark,

Maybe I'm just being dense this afternoon, but it's not obvious to me how a
Scalable Vector Graphics library fits in with Maven, or would help Maven
users.  (I may be missing a project that incorporates graphic reports into
Maven, similarly to jarAnalyzer/Graphviz?)

I can see how you might use Maven to manage your project builds...

Ray


On 4/5/06, Mark McKay <[EMAIL PROTECTED]> wrote:
  

I manage the SVG Salamander project on
http://svgsalamander.dev.java.net.  Recently a user suggested I post my
binaries to Maven because this would help Maven users.  I started the
issue below, but so far have had no feedback:

http://jira.codehaus.org/browse/MAVENUPLOAD-805

Anyone know what would happen next, or where I should look for
feedback?  Also, am I right in thinking that Maven is similar to RPM,
except for Java jars?  Also, what do I do when I change my code and
recompile my jars?

Mark McKay

-
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: New SVG project

2006-04-05 Thread Mark McKay
This is the page I used to create my bundle.  And this is also the 
content of my bundle file.  While my upload request did have the 
internal jar files listed separately, they are also all included in the 
bundle file.  Simply using the bundle file alone should have everything 
you need.


Mark McKay


Jeff Jensen wrote:

Just making sure you have seen this page:
http://maven.apache.org/guides/mini/guide-ibiblio-upload.html 


Does it answer your questions?


-Original Message-
From: Mark McKay [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 05, 2006 3:44 PM

To: Maven Users List
Subject: Re: New SVG project

The bundle file is a jar/zip file containing the other jars.  There wasn't a
good explanation of what exactly a bundle was on the website.  
What is expected? 


Also, how does Maven use this bundle?

Mark McKay


Wayne Fay wrote:
  

No feedback? Check again... Carlos responded on April 3rd.

Wayne


On 4/5/06, Mark McKay <[EMAIL PROTECTED]> wrote:
  

I manage the SVG Salamander project on 
http://svgsalamander.dev.java.net.  Recently a user suggested I post 
my binaries to Maven because this would help Maven users.  I started 
the issue below, but so far have had no feedback:


http://jira.codehaus.org/browse/MAVENUPLOAD-805

Anyone know what would happen next, or where I should look for 
feedback?  Also, am I right in thinking that Maven is similar to RPM, 
except for Java jars?  Also, what do I do when I change my code and 
recompile my jars?


Mark McKay

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



  





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


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


  



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



Re: Maven Webstart Plugin

2006-04-05 Thread Jeff Louw

It is working ... but:

The generated launch.jnlp file does not appear to be correct. I think the
problem is the template.vm overrides the information that has already been
provided in the pom.xml ? 

How can I setup the template.vm so that a correct launch.jnlp is created ?
Any samples ? 
--
View this message in context: 
http://www.nabble.com/Maven-Webstart-Plugin-t1371503.html#a3773362
Sent from the Maven - Users forum at Nabble.com.


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



Re: New SVG project

2006-04-05 Thread Michael Heuer
Mark McKay wrote:

> This is the page I used to create my bundle.  And this is also the
> content of my bundle file.  While my upload request did have the
> internal jar files listed separately, they are also all included in the
> bundle file.  Simply using the bundle file alone should have everything
> you need.

Hello Mark -- the bundle located at the URL in the JIRA issue appears to
only contain the pom.xml file:

$ jar vtf svgSalamander-1.0-bundle.jar
 0 Thu Mar 30 19:28:42 CST 2006 META-INF/
   274 Thu Mar 30 19:28:40 CST 2006 META-INF/MANIFEST.MF
  3018 Thu Mar 30 19:28:36 CST 2006 pom.xml

I believe it should contain

pom.xml
svgSalamander-1.0.jar
svgSalamander-1.0-sources.jar
svgSalamander-1.0-javadoc.jar

and the META-INF folder created by jar.

   michael


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



maven2 and maven1 incompatibility

2006-04-05 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi there,

I have been using maven and now m2 for quite a while. Anyways I just wanted to
let you know that I often get mails from people who get in trouble because they
want to use the software XYZ (e.g. scarab) and in the installation guide of that
software you can read that you need to get maven to build the software and then
run the following command "maven foo bar".
Now people who do not have a clue about maven go to the maven site and download
the latest release and try the command above. Then they got lost because they
simply do not know that they downloaded maven2 (mvn) what is incompatible to
maven1 what they should have downloaded instead.
Maybe some nice guy could place a little hint for those newbies on the download
page.

Take care
  Jörg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFENDV5mPuec2Dcv/8RAvixAJ9vTK2HxLzXQHy3pDgY81mH3sXaXQCeMgsJ
izsLND1PdKRRP0bHupXM3cQ=
=gVNb
-END PGP SIGNATURE-

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



  1   2   >