Re: POM properties

2005-10-27 Thread Jason van Zyl
On Thu, 2005-10-27 at 15:25 +1000, Michael McCrann wrote:
 Hi,
 
 Is there any documentation that describes what things from the POM are 
 available as variables?

Anything in the POM itself:

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

 How do I specify 'target' as a property? The things I have tried haven't 
 worked:

You can take a look at this:

http://maven.apache.org/guides/introduction/introduction-to-the-pom.html

Which shows the Super POM which has most of the build elements that you
might want to use.

 $(pom.build.outputDirectory}
 ${pom.build.dir}
 ${build.dir}

Close but no cigar :-)

${pom.build.directory}

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

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



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



Re: [m2] scm:clearcase

2005-10-27 Thread Wim Deblauwe
Does it work with clearcase snapshot views and with dynamic views?

2005/10/27, Jason van Zyl [EMAIL PROTECTED]:

 On Wed, 2005-10-26 at 11:32 -0500, [EMAIL PROTECTED]
 wrote:
  Hi
 
  How do i mention my connection and url in scm:clearcase?
 
  lets say my snapshot view is at my local box c:\views\myview
 
  scm
  connection??/connection
  url???/url
  /scm
 

 http://maven.apache.org/scm/scm-url-format.html

  can any one please give me example for this, i couldn't find any
  doucmentation which talks about scm:clearcase
 
  one more question is is there a way to do maven 1 postgoal like things
 in
  maven 2

 There are no pre/post goals in m2. There is a strong notion of a
 lifecycle which is followed. I'm making a note to add documentation
 about this as it is a popular question.

 
  Thanks,
  Raghurajan Gurunathan
 --
 jvz.

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



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




RE: POM properties

2005-10-27 Thread Michael McCrann
Jason,

Thanks, I have read through those documents but it still not clear to me
how the build directory should be expressed as 
a variable.

I thought it would be:

${pom.build.directory}

but this doesn't seem to work.

Michael

project
build
directory/directory

-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Thursday, 27 October 2005 4:14 PM
To: Maven Users List
Subject: Re: POM properties


On Thu, 2005-10-27 at 15:25 +1000, Michael McCrann wrote:
 Hi,
 
 Is there any documentation that describes what things from the POM are
available as variables?

Anything in the POM itself:

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

 How do I specify 'target' as a property? The things I have tried
haven't worked:

You can take a look at this:

http://maven.apache.org/guides/introduction/introduction-to-the-pom.html

Which shows the Super POM which has most of the build elements that you
might want to use.

 $(pom.build.outputDirectory}
 ${pom.build.dir}
 ${build.dir}

Close but no cigar :-)

${pom.build.directory}

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

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



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


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



Re: how to maven 1 multiprojects

2005-10-27 Thread Emmanuel Venisse

Can you filed a jira issue?

Emmanuel

Doug Douglass a écrit :

OK, replying to myself -- bad form, but here's what I've got so far:

  * Added some maven.xml goals to wrapup multiproject goals
  * Added multiproject to continuum (failed with NPEs until I added 
xmlns attribute to project element)
  * Adjusted the scm url (CVS) of the project to the directory one level 
above the build module.
  * Adjusted the build definition POM filename (Relative path of the 
POM file) to build/project.xml
 
Continuum is successfully checking out the whole multiproject structure 
but chokes with:
  org.apache.maven.continuum.execution.ContinuumBuildExecutorException: 
Could not find Maven project descriptor.


If I go behind the scenes of continuum, into this projects working 
directory, and execute maven -p build/project.xml project:clean maven 
reports success. So it appears a POM relative path is not working.


Doug Douglass wrote:

First off, where do you guys get all the time to release these 
projects? Between m2 2.0 and continuum 1.0, how much sleep have you 
been getting. Not that I'm complaining ;) Well done!


Just up and running with continuum and I've dropped in two m1 
projects: one a simple project, the other a multiproject where the 
root POM is in the parent directory of modules.


I'd now like to drop in a larger multiproject where the root POM is in 
a sibling directory to the actual modules (yes, because we're using 
eclipse on this project ;). The Getting Started mentions a special 
goal in maven.xml. On larger (for us) projects we often write custom 
goals like project:build, project:clean, that just wrapup standard 
goals. But this special goal will have to go beyond what we usually 
do, for example I presume it will have to do a scm:checkout and/or 
scm:update to grab the modules. Any hints? examples?


Thanks again.

Doug










RE: POM properties

2005-10-27 Thread Jason van Zyl
On Thu, 2005-10-27 at 16:30 +1000, Michael McCrann wrote:
 Jason,
 
 Thanks, I have read through those documents but it still not clear to me
 how the build directory should be expressed as 
 a variable.
 
 I thought it would be:
 
 ${pom.build.directory}

You're right, it's null and that's a bug. I will file an issue in JIRA
when it comes back up.

 but this doesn't seem to work.
 
 Michael
 
 project
 build
 directory/directory
 
 -Original Message-
 From: Jason van Zyl [mailto:[EMAIL PROTECTED]
 Sent: Thursday, 27 October 2005 4:14 PM
 To: Maven Users List
 Subject: Re: POM properties
 
 
 On Thu, 2005-10-27 at 15:25 +1000, Michael McCrann wrote:
  Hi,
  
  Is there any documentation that describes what things from the POM are
 available as variables?
 
 Anything in the POM itself:
 
 http://maven.apache.org/maven-model/maven.html
 
  How do I specify 'target' as a property? The things I have tried
 haven't worked:
 
 You can take a look at this:
 
 http://maven.apache.org/guides/introduction/introduction-to-the-pom.html
 
 Which shows the Super POM which has most of the build elements that you
 might want to use.
 
  $(pom.build.outputDirectory}
  ${pom.build.dir}
  ${build.dir}
 
 Close but no cigar :-)
 
 ${pom.build.directory}
 
  
  NOTICE
  This e-mail and any attachments are confidential and may contain
 copyright material of Macquarie Bank or third parties. If you are not
 the intended recipient of this email you should not read, print,
 re-transmit, store or act in reliance on this e-mail or any attachments,
 and should destroy all copies of them. Macquarie Bank does not guarantee
 the integrity of any emails or any attached files. The views or opinions
 expressed are the author's own and may not reflect the views or opinions
 of Macquarie Bank.
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
-- 
jvz.

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

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

  -- Shakespeare


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



Re: [m2] scm:clearcase

2005-10-27 Thread Emmanuel Venisse



Jason van Zyl a écrit :

On Thu, 2005-10-27 at 08:27 +0200, Wim Deblauwe wrote:


Does it work with clearcase snapshot views and with dynamic views?



I've never had the pleasure of working with ClearCase all that
frequently so I'm not sure :-)


I think, but I never use it too. Dan Tran is our expert, so he'll certainly respond to you 
when he'll see your message.


Emmanuel





2005/10/27, Jason van Zyl [EMAIL PROTECTED]:


On Wed, 2005-10-26 at 11:32 -0500, [EMAIL PROTECTED]
wrote:


Hi

How do i mention my connection and url in scm:clearcase?

lets say my snapshot view is at my local box c:\views\myview

scm
connection??/connection
url???/url
/scm


http://maven.apache.org/scm/scm-url-format.html



can any one please give me example for this, i couldn't find any
doucmentation which talks about scm:clearcase

one more question is is there a way to do maven 1 postgoal like things


in


maven 2


There are no pre/post goals in m2. There is a strong notion of a
lifecycle which is followed. I'm making a note to add documentation
about this as it is a popular question.



Thanks,
Raghurajan Gurunathan


--
jvz.

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



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





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



Re: M2: is there a way to generate docs out of the modello descriptor?

2005-10-27 Thread Jason van Zyl
On Sat, 2005-10-15 at 06:40 -0400, Milos Kleint wrote:
 hello,
 
 in my plugin I use the modello tool for generating descriptor. Inoticed the
 modello's descriptor xml file has entries like description of fields etc. Is
 there a way to generate some documentation out if this xml file?

m2 modello:xdoc

 Regards
 
 Milos Kleint
-- 
jvz.

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

Our achievements speak for themselves. What we have to keep track
of are our failures, discouragements and doubts. We tend to forget
the past difficulties, the many false starts, and the painful
groping. We see our past achievements as the end result of a
clean forward thrust, and our present difficulties as
signs of decline and decay.

 -- Eric Hoffer, Reflections on the Human Condition


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



Re: [m2]create an entry into internal repository

2005-10-27 Thread luca rasconi
im using m2 (subject modified :-) ).
well,
i've myjarfile-1.0.jar and i've a http://myhost/myreposytory i would use as
my internal repository. i understand that every artifact should have a
proper structure of directory and file, something like this:
myjarfile/myjarfile/1.0/ with the file myjarfile.pom and the
myjarfile-1.0.jar.

So im asking if there's a way, starting from a jar file, to produce such a
proper structure of directory anf file.

tnx,
Luca



On 10/27/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:

 It depends.
 With m2 there's the maven repository plugin.
 With m1 you can create a bundle and use the repository:upload-bundle goal
 or you can do it manually (ftp, ...)

 Arnaud


  -Message d'origine-
  De : Luca Gmail [mailto:[EMAIL PROTECTED]
  Envoyé : mercredi 26 octobre 2005 10:09
  À : users@maven.apache.org
  Objet : create an entry into internal repository
 
  Hi all,
 
  I've some jar file and should upload to internal repository.
 
  Should I create thebundle manually?
 
 
 
  Tnx,
 
  Luca
 
 




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




Eclipse WTP and M2 General Question

2005-10-27 Thread Pete
Can anyone shed some light on how Eclipse / WTP / M2 can work together.

I was wondering if some of you guys could summarise how you are using
these tools together.

Initially I was just going to use Eclipse with M2 and leave it at
that, however I'm slightly tempted by some of the Application Server
support that WTP offers.

So a few questions are surfacing : -

- Could I use WTP just for the Application Server support (start
servers, deploy etc) but with a normal Eclipse Project ? or do I have
to in Eclipse do a 'New WTP Project' type of thing ?

- If I need to have a WTP Eclipse Project, how good is the integration
with M2 ?

- Does an WTP Eclipse Project have it's own Ant script ? I'd rather
just use M2 to build

- Is there much of a learning curve to WTP, we are experienced in
Eclipse but not WTP.

Any other observations would be most useful

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



Parent POM Properties

2005-10-27 Thread Bruno Essmann

Hi


Is there any way to access property values of a parent POM?

I'm aware that any tag in a POM serves as valid property, however I'm
looking for a way to access the values of the POM defined by
${pom.parent.relativePath}.


Taking this a step further:

I'm also looking for a way to access values of the root parent POM
(i.e. the toplevel POM that does not feature a parent tag).

The reason behind this is to try and avoid duplication of files and
information while at the same time being able to keep all the project
artifacts in one place that can be stored in a repository.

Therefore it'd be nice if I could access files in a subproject relative
to the root parent project, i.e. something along the lines of
${root.basedir} that corresponds to the ${basedir} in the root parent
project...

(Please note, I'm not talking about project resources that get created
and could be imported using a module and a dependency to it, but
rather about input files used during a maven run like license files,
company and/or client logo files, stylesheets, documentation and stuff
like this. :-))


Regards,
// Bruno

--
Ergon Informatik AG, Kleinstrasse 15, 8008 Zürich, Switzerland
[EMAIL PROTECTED],  Phone +41 44 268 89 16, Fax +41 1 261 27 50
http://www.ergon.ch/
__
e r g o n smart people - smart software


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



Re: new sites

2005-10-27 Thread Mark Hobson
On 26/10/05, Brian Bonner [EMAIL PROTECTED] wrote:
 I presume these are both for M2?  It's probably because I'm new, but
 it's difficult to discriminate between M1 and M2 stuff (it's getting
 easier when I see jelly references, pom3.0, etc.).  Maybe some sort of
 indicator for Maven2 stuff would help?

These are used in m2, although I would have thought m1 would be
retrofitted to use them also - if it hasn't been already.

Mark

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



Re: [m2]create an entry into internal repository

2005-10-27 Thread luca rasconi
i created, manually, this tree inside the docroot of my internal repository.

commons-collections
`-- commons-collections
`-- 2.1
|-- commons-collections-2.1.jar
|-- commons-collections-2.1.jar.md5
`-- commons-collections-2.1.pom

in such a way if i use a browser to get the url
http://192.168.25.217:8089/pub/maven/commons-collections/commons-collections/2.1/commons-collections-2.1.pomall
work.

my project has a dependency to, guess what, commons-collections-2.1. but
when mvn compile this id the output:

Downloading:
http://192.168.25.217:8089/pub/maven/commons-collections/commons-collections/2.1/commons-collections-2.1.pom
186b downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
commons-collections/commons-collections/2.1/commons-collections-2.1.pom -
IGNORING
[WARNING] POM for: 'commons-collections:commons-collections:pom:2.1' does
not appear to be valid. Its will be ignored for artifact resolution.

why? i know it's a warning but i don't like.

tnx,
Luca


On 10/27/05, luca rasconi [EMAIL PROTECTED] wrote:

 im using m2 (subject modified :-) ).
 well,
 i've myjarfile-1.0.jar and i've a http://myhost/myreposytory i would use
 as my internal repository. i understand that every artifact should have a
 proper structure of directory and file, something like this:
 myjarfile/myjarfile/1.0/ with the file myjarfile.pom and the
 myjarfile-1.0.jar.

 So im asking if there's a way, starting from a jar file, to produce such a
 proper structure of directory anf file.

 tnx,
 Luca



 On 10/27/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
 
  It depends.
  With m2 there's the maven repository plugin.
  With m1 you can create a bundle and use the repository:upload-bundle
  goal or you can do it manually (ftp, ...)
 
  Arnaud
 
 
   -Message d'origine-
   De : Luca Gmail [mailto:[EMAIL PROTECTED]
   Envoyé : mercredi 26 octobre 2005 10:09
   À : users@maven.apache.org
   Objet : create an entry into internal repository
  
   Hi all,
  
   I've some jar file and should upload to internal repository.
  
   Should I create thebundle manually?
  
  
  
   Tnx,
  
   Luca
  
  
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



[m2] multiple goal executions

2005-10-27 Thread Van Steenberghe Mario (GFDI)
Hello,

We've set up a build that generates some jar files for our projects. During 
this build, I also generate some reports, such as surefire-report and clover.

Now, when I look in the log files, I see that certain goals are executed 
multiple times. The one that bothers us the most is 'surefire:test'.

After some research I found that the concerned report mojos have an '@execute 
phase=test' annotation, which means that this phase will be executed before 
the mojo is executed, no matter if this phase was already executed somewhere 
before.

Since our junit tests take about 20 minutes to run completely, it is very 
important that they are not run multiple times.

Is there any way I could easily overcome this problem ?

Many thanks in advance,
Mario Van Steenberghe


Re: Parent POM Properties

2005-10-27 Thread Edwin Punzalan

Hi,

All of the configuration values in a parent is propagated to its 
children.  So you may not put a configuration in a child when the parent 
already has it.



Bruno Essmann wrote:


Hi


Is there any way to access property values of a parent POM?

I'm aware that any tag in a POM serves as valid property, however I'm
looking for a way to access the values of the POM defined by
${pom.parent.relativePath}.


Taking this a step further:

I'm also looking for a way to access values of the root parent POM
(i.e. the toplevel POM that does not feature a parent tag).

The reason behind this is to try and avoid duplication of files and
information while at the same time being able to keep all the project
artifacts in one place that can be stored in a repository.

Therefore it'd be nice if I could access files in a subproject relative
to the root parent project, i.e. something along the lines of
${root.basedir} that corresponds to the ${basedir} in the root parent
project...

(Please note, I'm not talking about project resources that get created
and could be imported using a module and a dependency to it, but
rather about input files used during a maven run like license files,
company and/or client logo files, stylesheets, documentation and stuff
like this. :-))


Regards,
// Bruno



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



Re: [m2] Copying dependencies to target/lib as individual files?

2005-10-27 Thread Roland Bali
Hi Alexander,

I hope I understand your question correctly. I had a problem when
packaging my software where I wanted Maven to put my jar in a certain
folder and add all the dependency JARs to a folder so I would have a
complete folder with all the stuff needed for the program.

Anyway I developed a plugin that does that, try it out and see if it
suits your needs. The XML below is from my project where I use the
plugin, it is executed when running the package phase, change this so
it works for you.

1. Add my repository to your pom:
  pluginRepositories
pluginRepository
  idbuckazoid-repo/id
  nameMaven repository at buckazoid.com/name
  urlhttp://www.buckazoid.com/maven/repository/url
/pluginRepository
  /pluginRepositories

2. Add the plugin to your build in the pom:

  plugin
groupIdcom.buckazoid.maven.mojos/groupId
artifactIddependency-copier-plugin/artifactId
version1.1/version
configuration
  
outputDirectory${project.build.directory}/install//lib/outputDirectory
/configuration
executions
  execution
   phasepackage/phase
goals
  goalcopy/goal
/goals
  /execution
/executions
  /plugin


Kind regards,

Roland

On 10/26/05, Alexander Hars [EMAIL PROTECTED] wrote:
 Hi,

 I need to obtain the individual .jar files from the dependency list and
 place each of them into a folder target/lib (for further processing).
 Combining all of the dependencies in one .zip or .jar file does not help.
 Can I do this with the assembly plugin, e.g. through some special
 non-zip/jar format? Or is there another way?

 Thanks for your help.

 - Alexander





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



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



-source 1.5

2005-10-27 Thread Guido Zockoll
I am trying to mavenize my current project. It is a Java 5 project and
i get to following error from mvn:
 
java:[24,9] annotations are not supported in -source 1.3
(try -source 1.5 to enable annotations)
@Override

But where should i define -source 1.5? I could not find any hint in
the documentation?
 
Thanks for help in advance
 
Guido
 


Re: Unable to load M1 Project by URL

2005-10-27 Thread Emmanuel Venisse

The certificate of this url isn't correct. It's a certificat for codehaus sites.

The exception is :

java.io.IOException: HTTPS hostname wrong:  should be svn.activemq.org
at 
sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:493)
at 
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:418)
at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java

:170)
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)

at java.net.URL.openStream(URL.java:1007)
at 
org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(MungedHttpsURL.java:102)
at 
org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:60)
at 
org.codehaus.plexus.formica.validation.UrlSourceValidatorTest.testValidatorWithCertifiedHttpsSourceUrl(UrlSou

rceValidatorTest.java:61)
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 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)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:246)
at 
org.codehaus.surefire.battery.JUnitBattery.execute(JUnitBattery.java:220)
at org.codehaus.surefire.Surefire.executeBattery(Surefire.java:203)
at org.codehaus.surefire.Surefire.run(Surefire.java:152)
at org.codehaus.surefire.Surefire.run(Surefire.java:76)
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.surefire.SurefireBooter.run(SurefireBooter.java:104)
at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:296)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:46

9)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav

a:301)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)

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

at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Johnny R. Ruiz a écrit :

Hi,

I'm trying to add maven1 project :  
https://svn.activemq.org/activemq/branches/activemq-4-0/activemq/project.xml 



The url is working when trying it to a browser but when using in 
continuum, it says that is not a valid 

Re: -source 1.5

2005-10-27 Thread Bruno Essmann

Check out the compiler plugin configuration:
http://maven.apache.org/maven2/plugins/maven-compiler-plugin/howto.html

Cheers,
// Bruno

Guido Zockoll wrote:

I am trying to mavenize my current project. It is a Java 5 project and
i get to following error from mvn:
 
java:[24,9] annotations are not supported in -source 1.3

(try -source 1.5 to enable annotations)
@Override

But where should i define -source 1.5? I could not find any hint in
the documentation?
 
Thanks for help in advance
 
Guido
 




--
Ergon Informatik AG, Kleinstrasse 15, 8008 Zürich, Switzerland
[EMAIL PROTECTED],  Phone +41 44 268 89 16, Fax +41 1 261 27 50
http://www.ergon.ch/
__
e r g o n smart people - smart software


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



Re: Question about Schedules

2005-10-27 Thread Emmanuel Venisse
It's a pause after the end of execution of build job. If you set a value different of zero 
for this field a new build job for this schedule cannot be start before the end of the 
current build job. It can be useful if your build duration is equivalent to the time 
between two execution.


I'll fix the message.

Emmanuel

Allison, Bob a écrit :

In the page to enter a new schedule, there is a field called Quiet
Period (seconds).  The description under the text field is Enter a
description of the schedule.  What does this field mean?







Re: -source 1.5

2005-10-27 Thread Emmanuel Venisse

http://maven.apache.org/maven2/general.html#Compiling-J2SE-5

Guido Zockoll a écrit :

I am trying to mavenize my current project. It is a Java 5 project and
i get to following error from mvn:
 
java:[24,9] annotations are not supported in -source 1.3

(try -source 1.5 to enable annotations)
@Override

But where should i define -source 1.5? I could not find any hint in
the documentation?
 
Thanks for help in advance
 
Guido
 




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



new format on md5 and sha1 files on ibiblio?

2005-10-27 Thread Orjan Nygaard Austvold
Hi,

Today we have received a lot of POM validation failures due to checksum
failure.

I noticed that the content of md5 and sha1 files have changed to (e.g.,
commons-io-1.0)

SHA1(commons-io/commons-io/1.0/commons-io-1.0.pom)=
901893f66d5b9de78c66dc39daebcb756975

This causes warnings such as

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

Reason: Failed to validate POM

This seems also to be the reason why we cannot perform releases today.
Needs to verify this first.

Btw: continum for maven have complained about the same error to... :-)


Thanks,
Ørjan Austvold

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



Issue with maven 1.0.2 and ibiblio site

2005-10-27 Thread lpetit
Hello,

I just installed a fresh copy maven 1.0.2 on a computer.
I used the Windows executable version to do that.

I tried a common goal on a project : maven jar

It fails, Maven tells me it can't find velocity-1.4-dev.jar dependency
from ibiblio.

And indeed, this dependency is not on ibiblio anymore.

I checked the POM of the maven-jar-plugin-1.6.1 (the one shipped with
maven 1.0.2 windows installer) and it indeed has a dependency on
velocity-1.4-dev.jar.

So, real bug, or missed something ?

Thanks in advance,

-- 
Laurent


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



Re: new format on md5 and sha1 files on ibiblio?

2005-10-27 Thread Emmanuel Venisse

it isn't a new format, but wrong files.

I fixed them. It can take few hours before they're available on ibiblio and 
mirrors.

Emmanuel

Orjan Nygaard Austvold a écrit :

Hi,

Today we have received a lot of POM validation failures due to checksum
failure.

I noticed that the content of md5 and sha1 files have changed to (e.g.,
commons-io-1.0)

SHA1(commons-io/commons-io/1.0/commons-io-1.0.pom)=
901893f66d5b9de78c66dc39daebcb756975

This causes warnings such as

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

Reason: Failed to validate POM

This seems also to be the reason why we cannot perform releases today.
Needs to verify this first.

Btw: continum for maven have complained about the same error to... :-)


Thanks,
Ørjan Austvold

-
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: Issue with maven 1.0.2 and ibiblio site

2005-10-27 Thread Arnaud HERITIER
It's a problem on ibiblio.
http://jira.codehaus.org/browse/MAVEN-1718
Carlos ? When do you think it will be fixed ?

Arnaud




On 10/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hello,

 I just installed a fresh copy maven 1.0.2 on a computer.
 I used the Windows executable version to do that.

 I tried a common goal on a project : maven jar

 It fails, Maven tells me it can't find velocity-1.4-dev.jar dependency
 from ibiblio.

 And indeed, this dependency is not on ibiblio anymore.

 I checked the POM of the maven-jar-plugin-1.6.1 (the one shipped with
 maven 1.0.2 windows installer) and it indeed has a dependency on
 velocity-1.4-dev.jar.

 So, real bug, or missed something ?

 Thanks in advance,

 --
 Laurent


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




M2 ejb compiler

2005-10-27 Thread Hillman, Allen F III
All,

How do I go about getting an ear or jar file compiled for deployment
into a specific container using Maven 2.0? For example Weblogic 8.1.

I assume it should be possible using the ejb plugin, but haven't seen
any examples or documentation to explain how.

Thanks,

Allen

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



Re: [m2] Eclipse webapp lib

2005-10-27 Thread Srepfler Srgjan
Thanks, if by any chance anyone know why Brian has this error please 
comment so we can try to resolve the issue. Brian, if you download the 
template from Jira it should create all necessary files.


Brian Bonner wrote:


Srepfler,  I'm having trouble getting this archetype to work.  I
checked out maven-archetypes from svn and ran mvn install and then
tried to run:

C:\mvn archetype:create -DgroupId=com.j2ee.test -DartifactId=test-app
-DpackageName=com.j2ee.test -DarchetypeArtifactId=maven-archetype-j2ee

This resulted in an error, so I added:

-DarchetypeVersion=1.0-alpha-4-SNAPSHOT

[ERROR] BUILD ERROR
[INFO] ---
---
[INFO] Error creating from archetype

Embedded error: Error processing templates.
Unable to find resource 'archetype-resources/site/pom.xml'

Brian

On 10/26/05, Brian Bonner [EMAIL PROTECTED] wrote:
 


Hi Srepfler,

I'm running maven-eclipse-plugin against one project (in this case
with a packaging of war) that is sitting normally in the eclipse
workspace.

In the case of mng-743, I would load each of those sub-projects
independently into eclipse using File-Import and then run the
maven-eclipse on the

I'll try to take a look at the archetype later.  I tried to install
the j2ee archetype, but it blew an error on a bad artifact.  I have a
guitar lesson and some other stuff going on tonight, but I'll give it
a go.

Brian
On 10/26/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
   


Have you tried the your patch to the maven-eclipse-plugin and apply it
to the j2ee archetype that was submitted to svn a couple of days ago (or
you can download the project template that inspired the archetype here
http://jira.codehaus.org/browse/MNG-743 ).
Can you tell us what kind of project does it create, how does it change
the project directory structure, and is it usable under wtp? Also what
is the work flow then, which project code base am I working on the
eclipse or the maven one?
isn't eclipse able to consummate only flat projects? the j2ee archetype
has a main parent project and child projects, how do this gets
consummated by eclipse? Also, doesn't the web module require libraries
in WEB-INF/lib?

Brian Bonner wrote:

 


Antonio,

I'm using WTP 0.71 as well.

Antonio,

I'm using WTP 0.71 as well.

mvn eclipse:eclipse is all you *should* need to do.  However, there
might be a bug in the maven-eclipse-plugin.  For the time being:

I posted:  http://jira.codehaus.org/browse/MNG-1332  This has a quick
patch that enables the eclipse plugin to work for .wtpmodules.

Check out maven-eclipse-plugin out of svn into eclipse.  apply the
patch and then from the command line issue 'mvn install
-DupdateReleaseInfo=true.

Brian

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



   


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


 



-
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] Eclipse webapp lib

2005-10-27 Thread Brian Bonner
Srepfler,

After downloading, I should unpack the archetype jar and do an mvn
install, correct?

Brian
On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
 Thanks, if by any chance anyone know why Brian has this error please
 comment so we can try to resolve the issue. Brian, if you download the
 template from Jira it should create all necessary files.

 Brian Bonner wrote:

 Srepfler,  I'm having trouble getting this archetype to work.  I
 checked out maven-archetypes from svn and ran mvn install and then
 tried to run:
 
 C:\mvn archetype:create -DgroupId=com.j2ee.test -DartifactId=test-app
 -DpackageName=com.j2ee.test -DarchetypeArtifactId=maven-archetype-j2ee
 
 This resulted in an error, so I added:
 
 -DarchetypeVersion=1.0-alpha-4-SNAPSHOT
 
 [ERROR] BUILD ERROR
 [INFO] ---
 ---
 [INFO] Error creating from archetype
 
 Embedded error: Error processing templates.
 Unable to find resource 'archetype-resources/site/pom.xml'
 
 Brian
 
 On 10/26/05, Brian Bonner [EMAIL PROTECTED] wrote:
 
 
 Hi Srepfler,
 
 I'm running maven-eclipse-plugin against one project (in this case
 with a packaging of war) that is sitting normally in the eclipse
 workspace.
 
 In the case of mng-743, I would load each of those sub-projects
 independently into eclipse using File-Import and then run the
 maven-eclipse on the
 
 I'll try to take a look at the archetype later.  I tried to install
 the j2ee archetype, but it blew an error on a bad artifact.  I have a
 guitar lesson and some other stuff going on tonight, but I'll give it
 a go.
 
 Brian
 On 10/26/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
 
 
 Have you tried the your patch to the maven-eclipse-plugin and apply it
 to the j2ee archetype that was submitted to svn a couple of days ago (or
 you can download the project template that inspired the archetype here
 http://jira.codehaus.org/browse/MNG-743 ).
 Can you tell us what kind of project does it create, how does it change
 the project directory structure, and is it usable under wtp? Also what
 is the work flow then, which project code base am I working on the
 eclipse or the maven one?
 isn't eclipse able to consummate only flat projects? the j2ee archetype
 has a main parent project and child projects, how do this gets
 consummated by eclipse? Also, doesn't the web module require libraries
 in WEB-INF/lib?
 
 Brian Bonner wrote:
 
 
 
 Antonio,
 
 I'm using WTP 0.71 as well.
 
 Antonio,
 
 I'm using WTP 0.71 as well.
 
 mvn eclipse:eclipse is all you *should* need to do.  However, there
 might be a bug in the maven-eclipse-plugin.  For the time being:
 
 I posted:  http://jira.codehaus.org/browse/MNG-1332  This has a quick
 patch that enables the eclipse plugin to work for .wtpmodules.
 
 Check out maven-eclipse-plugin out of svn into eclipse.  apply the
 patch and then from the command line issue 'mvn install
 -DupdateReleaseInfo=true.
 
 Brian
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 -
 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: Issue with maven 1.0.2 and ibiblio site

2005-10-27 Thread lpetit
 It's a problem on ibiblio.
 http://jira.codehaus.org/browse/MAVEN-1718
 Carlos ? When do you think it will be fixed ?

Glad to know that it has already been reported.

In fact the demonstration I attempted to make today to my fellow
companions was a big fiasco due to this problem, but if this issue is
quickly solved, that's all we need ;-)


Anyway, it's strange/risky to remove a versioned item once it has been
made public !

Regards,

-- 
Laurent


 Arnaud




 On 10/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hello,

 I just installed a fresh copy maven 1.0.2 on a computer.
 I used the Windows executable version to do that.

 I tried a common goal on a project : maven jar

 It fails, Maven tells me it can't find velocity-1.4-dev.jar dependency
 from ibiblio.

 And indeed, this dependency is not on ibiblio anymore.

 I checked the POM of the maven-jar-plugin-1.6.1 (the one shipped with
 maven 1.0.2 windows installer) and it indeed has a dependency on
 velocity-1.4-dev.jar.

 So, real bug, or missed something ?

 Thanks in advance,

 --
 Laurent


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



pom problem in junit-addons/junit-addons/1.4/junit-addons-1.4.pom

2005-10-27 Thread tore.larsen
Title: pom problem in junit-addons/junit-addons/1.4/junit-addons-1.4.pom






Hei,


There is also a problem with missing dependencies in junit-addons-1.4.pom.


snip

project
 modelVersion4.0.0/modelVersion
 groupIdjunit-addons/groupId
 artifactIdjunit-addons/artifactId
 version1.4/version

 dependencies
  dependency
   groupIdjunit-addons/groupId
   artifactIdjunit-addons-runner/artifactId
   version1.0-alpha1/version
  /dependency
 .

/snip

The junit-addons-runner does not exist on Ibiblio and this causes a lot of problems for us trying to introduce more developers to Maven2.

There is similar problems with Axis 1.2.1 pom as well.


Best regards / vennlig hilsen

Tore Larsen

Senior Software Engineer
Incatel
Comptel Communications AS

e-mail : [EMAIL PROTECTED]
telephone : +47 23 32 01 54
mobile : +47 9749 5030

Gullhaug torg 4A
PO Box 4664 Nydalen
NO-0405 Oslo




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

Re: [m2] Eclipse webapp lib

2005-10-27 Thread Srepfler Srgjan

Yes

Brian Bonner wrote:


Srepfler,

After downloading, I should unpack the archetype jar and do an mvn
install, correct?

Brian
On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:



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



library dependancy wrong?

2005-10-27 Thread Srepfler Srgjan

I've imported a dependency on the JSTL library
dependency
 groupIdjstl/groupId
 artifactIdjstl/artifactId
 version1.1.2/version
   /dependency
However it seems the standard.jar that gets imported is not the correct 
version (1.0.4), could someone else check if this happens to you too?


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



Re: pom problem in junit-addons/junit-addons/1.4/junit-addons-1.4.pom

2005-10-27 Thread Emmanuel Venisse

Filed an issue there : http://jira.codehaus.org/browse/MEV

Emmanuel

[EMAIL PROTECTED] a écrit :

Hei,

There is also a problem with missing dependencies in junit-addons-1.4.pom.

snip

  project
  modelVersion4.0.0/modelVersion
  groupIdjunit-addons/groupId
  artifactIdjunit-addons/artifactId
  version1.4/version

  dependencies
  dependency
  groupIdjunit-addons/groupId
  artifactIdjunit-addons-runner/artifactId
  version1.0-alpha1/version
  /dependency
  .

/snip
The junit-addons-runner does not exist on Ibiblio and this causes a lot 
of problems for us trying to introduce more developers to Maven2.


There is similar problems with Axis 1.2.1 pom as well.

Best regards / vennlig hilsen
Tore Larsen
Senior Software Engineer
Incatel
Comptel Communications AS
e-mail:  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

telephone :  +47 23 32 01 54
mobile   :  +47 9749 5030
Gullhaug torg 4A
PO Box 4664 Nydalen
NO-0405 Oslo





-
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] XJC plugin now has a home

2005-10-27 Thread Ashley Williams

Hi

Just an announcement that the XJC plugin is now housed on the  
codehaus mojo project here: http://mojo.codehaus.org/xjc-maven-plugin/
Not sure if guest svn access is working but you can grab a tarball by  
clicking on this link:


http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/xjc-maven- 
plugin.tar.gz?view=tar



Thanks
- Ashley



from the description:

xjc compiler plugin. This plugin uses JaxMe 2 to generate JAXB  
source files from an XML schema. The source files are generated in a  
directory under the project build directory derived from the  
configured properties.


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



Re: Eclipse WTP and M2 General Question

2005-10-27 Thread Erick Dovale

Hi Pete,

take a look at this:

http://roumanoff.blogspot.com/

hope it helps..

cheers

edovale.

Pete wrote:


Can anyone shed some light on how Eclipse / WTP / M2 can work together.

I was wondering if some of you guys could summarise how you are using
these tools together.

Initially I was just going to use Eclipse with M2 and leave it at
that, however I'm slightly tempted by some of the Application Server
support that WTP offers.

So a few questions are surfacing : -

- Could I use WTP just for the Application Server support (start
servers, deploy etc) but with a normal Eclipse Project ? or do I have
to in Eclipse do a 'New WTP Project' type of thing ?

- If I need to have a WTP Eclipse Project, how good is the integration
with M2 ?

- Does an WTP Eclipse Project have it's own Ant script ? I'd rather
just use M2 to build

- Is there much of a learning curve to WTP, we are experienced in
Eclipse but not WTP.

Any other observations would be most useful

-
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] Eclipse webapp lib

2005-10-27 Thread Brian Bonner
Here's what I get when I try to do the mvn install on a clean unpack
of maven-j2ee-archetype:

C:\test\maven-archetype-j2eemvn install
[INFO] Scanning for projects...
[INFO] -
---
[ERROR] FATAL ERROR
[INFO] -
---
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.archetypes
ArtifactId: maven-archetypes
Version: 1.0-alpha-4-SNAPSHOT

Reason: Unable to download the artifact from any repository
  org.apache.maven.archetypes:maven-archetypes:1.0-alpha-4-SNAPSHOT:pom

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


[INFO] -
---
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: POM 'org.apache.maven.archetyp
es:maven-archetypes' not found in repository: Unable to download the artifact fr
om any repository
  org.apache.maven.archetypes:maven-archetypes:1.0-alpha-4-SNAPSHOT:pom

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

at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:359)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:276)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.ma
ven.archetypes:maven-archetypes' not found in repository: Unable to download the
 artifact from any repository
  org.apache.maven.archetypes:maven-archetypes:1.0-alpha-4-SNAPSHOT:pom

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

at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:423)
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:955)
at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
nProjectBuilder.java:586)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
le(DefaultMavenProjectBuilder.java:298)
at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
nProjectBuilder.java:276)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:509)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:441)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:345)
... 11 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
to download the artifact from any repository
  org.apache.maven.archetypes:maven-archetypes:1.0-alpha-4-SNAPSHOT:pom

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

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:136)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:63)
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:380)
... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to downl
oad the artifact from any repository
at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def
aultWagonManager.java:260)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:124)
... 20 more
[INFO] -
---
[INFO] Total time:  1 second
[INFO] Finished at: Thu Oct 27 10:06:54 EDT 2005
[INFO] Final Memory: 1M/2M
[INFO] -
---


On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
 Yes

 Brian Bonner wrote:

 Srepfler,
 
 After downloading, I should unpack the archetype jar and do an mvn
 install, correct?
 
 Brian
 On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
 

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



-

Re: [m2] Eclipse webapp lib

2005-10-27 Thread Srepfler Srgjan
I've started with the maven 2.0 final and the template project so I 
don't know what's the issue that affects, you. Perhaps you should fila a 
JIRA?


Brian Bonner wrote:


Here's what I get when I try to do the mvn install on a clean unpack
of maven-j2ee-archetype:

C:\test\maven-archetype-j2eemvn install
[INFO] Scanning for projects...
[INFO] -
---
[ERROR] FATAL ERROR
[INFO] 




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



maven-artifact-ant 2.0.1download?

2005-10-27 Thread Xavier Toth
Where can I find version 2.0.1 is the maven ant artifacts?


Re: [m2] Eclipse webapp lib

2005-10-27 Thread Brian Bonner
I did as well.  A clean slate.  I've made mods to eclipse, and changes
and deployed a new project-help, but that's it AFAIK.

I'll try a clean m2 install w/ a new repo.
Brian
On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
 I've started with the maven 2.0 final and the template project so I
 don't know what's the issue that affects, you. Perhaps you should fila a
 JIRA?

 Brian Bonner wrote:

 Here's what I get when I try to do the mvn install on a clean unpack
 of maven-j2ee-archetype:
 
 C:\test\maven-archetype-j2eemvn install
 [INFO] Scanning for projects...
 [INFO] 
 -
 ---
 [ERROR] FATAL ERROR
 [INFO]
 


 -
 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] Eclipse webapp lib

2005-10-27 Thread Srepfler Srgjan

It could be ibiblio?

Brian Bonner wrote:


I did as well.  A clean slate.  I've made mods to eclipse, and changes
and deployed a new project-help, but that's it AFAIK.

I'll try a clean m2 install w/ a new repo.
Brian
On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
 


I've started with the maven 2.0 final and the template project so I
don't know what's the issue that affects, you. Perhaps you should fila a
JIRA?

Brian Bonner wrote:

   


Here's what I get when I try to do the mvn install on a clean unpack
of maven-j2ee-archetype:

C:\test\maven-archetype-j2eemvn install
[INFO] Scanning for projects...
[INFO] -
---
[ERROR] FATAL ERROR
[INFO]

 


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


   



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

 




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



Re: [m2] Eclipse webapp lib

2005-10-27 Thread Brian Bonner
I remember hearing someone say something about this yesterday. 
Someone named Carlos from apache was working on something to fix
ibiblio.  It *could* be related to that.

I just checked and 1.0-Alpha-4-SNAPSHOT is not there.

Did you get it from ibiblio?

Brian
On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
 It could be ibiblio?

 Brian Bonner wrote:

 I did as well.  A clean slate.  I've made mods to eclipse, and changes
 and deployed a new project-help, but that's it AFAIK.
 
 I'll try a clean m2 install w/ a new repo.
 Brian
 On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
 
 
 I've started with the maven 2.0 final and the template project so I
 don't know what's the issue that affects, you. Perhaps you should fila a
 JIRA?
 
 Brian Bonner wrote:
 
 
 
 Here's what I get when I try to do the mvn install on a clean unpack
 of maven-j2ee-archetype:
 
 C:\test\maven-archetype-j2eemvn install
 [INFO] Scanning for projects...
 [INFO] 
 -
 ---
 [ERROR] FATAL ERROR
 [INFO]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


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



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



Re: [m2] Eclipse webapp lib

2005-10-27 Thread Brian Bonner
I guess 
http://www.nabble.com/SNAPSHOTs-removed-from-ibiblio-t188982.html#a526518
answers the question :)
On 10/27/05, Brian Bonner [EMAIL PROTECTED] wrote:
 I remember hearing someone say something about this yesterday.
 Someone named Carlos from apache was working on something to fix
 ibiblio.  It *could* be related to that.

 I just checked and 1.0-Alpha-4-SNAPSHOT is not there.

 Did you get it from ibiblio?

 Brian
 On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
  It could be ibiblio?
 
  Brian Bonner wrote:
 
  I did as well.  A clean slate.  I've made mods to eclipse, and changes
  and deployed a new project-help, but that's it AFAIK.
  
  I'll try a clean m2 install w/ a new repo.
  Brian
  On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
  
  
  I've started with the maven 2.0 final and the template project so I
  don't know what's the issue that affects, you. Perhaps you should fila a
  JIRA?
  
  Brian Bonner wrote:
  
  
  
  Here's what I get when I try to do the mvn install on a clean unpack
  of maven-j2ee-archetype:
  
  C:\test\maven-archetype-j2eemvn install
  [INFO] Scanning for projects...
  [INFO] 
  -
  ---
  [ERROR] FATAL ERROR
  [INFO]
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


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



Re: [m2] Eclipse webapp lib

2005-10-27 Thread Brian Bonner
And here's a workaround I found in the mailing list:

Snapshots delivered by apache projects are now available here :
http://cvs.apache.org/repository/
You can setup your maven build to retreive your dependencies from
ibiblio and this repository with the property :
maven.repo.remote=http://www.ibiblio.org/maven;http://cvs.apache.org/repository/

I guess I'll add it now and try it out :)


On 10/27/05, Brian Bonner [EMAIL PROTECTED] wrote:
 I guess 
 http://www.nabble.com/SNAPSHOTs-removed-from-ibiblio-t188982.html#a526518
 answers the question :)
 On 10/27/05, Brian Bonner [EMAIL PROTECTED] wrote:
  I remember hearing someone say something about this yesterday.
  Someone named Carlos from apache was working on something to fix
  ibiblio.  It *could* be related to that.
 
  I just checked and 1.0-Alpha-4-SNAPSHOT is not there.
 
  Did you get it from ibiblio?
 
  Brian
  On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
   It could be ibiblio?
  
   Brian Bonner wrote:
  
   I did as well.  A clean slate.  I've made mods to eclipse, and changes
   and deployed a new project-help, but that's it AFAIK.
   
   I'll try a clean m2 install w/ a new repo.
   Brian
   On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
   
   
   I've started with the maven 2.0 final and the template project so I
   don't know what's the issue that affects, you. Perhaps you should fila a
   JIRA?
   
   Brian Bonner wrote:
   
   
   
   Here's what I get when I try to do the mvn install on a clean unpack
   of maven-j2ee-archetype:
   
   C:\test\maven-archetype-j2eemvn install
   [INFO] Scanning for projects...
   [INFO] 
   -
   ---
   [ERROR] FATAL ERROR
   [INFO]
   
   
   
   -
   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]



test-jar transitive dependencies

2005-10-27 Thread Mark Hobson
Hi there,

Just trying out the test-jar artifact support as detailed in MNG-932,
and not sure if the transitive dependencies are being calculated
correctly.

The situation is demonstrated nicely in it0077:

* module sub1 has a test-scoped dependency of commons-lang
* module sub2 has a test-scoped dependency of sub1 test-jar

Thus shouldn't sub2 tests inherit the commons-lang transitive
dependency?  It appears not:

Index: 
maven-core-it/it0077/sub2/src/test/java/org/apache/maven/it0077/PersonTwoTest.java
===
--- 
maven-core-it/it0077/sub2/src/test/java/org/apache/maven/it0077/PersonTwoTest.java
  (revision
328307)
+++ 
maven-core-it/it0077/sub2/src/test/java/org/apache/maven/it0077/PersonTwoTest.java
  (working
copy)
@@ -1,6 +1,7 @@
 package org.apache.maven.it0077;

 import junit.framework.TestCase;
+import org.apache.commons.lang.BooleanUtils;

 public class PersonTwoTest
 extends PersonTest

Results in:

[INFO] 

[ERROR] BUILD FAILURE
[INFO] 

[INFO] Compilation failure

c:\maven-components\maven-core-it\it0077\sub2\src\test\java\org\apache\maven\it0077\PersonTwoTest.java:[4,31]
package org.apache.commons.lang does not exist

Is this correct behaviour or shall I file a bug?  I see John seemed a
bit concerned regarding test-jar transitive dependency behaviour
towards the end of MNG-932.

Cheers,

Mark

P.S. I'm using 2.0 final.

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



Setting global properties - is it even possible?

2005-10-27 Thread Mironenko, Philip
Hi all,

I have a fairly simple question about properties - is there any way to
set them AFTER they've been initialized for the first time or is it like
ant - once it's set, it's immutable? An example of what I'm asking is:

?xml version=1.0?
project default=all xmlns:j=jelly:core xmlns:ant=jelly:ant
xmlns:m=jelly:maven xmlns:deploy=deploy xmlns:u=jelly:util
xmlns:x=jelly:xml

property environment=env/
property name=maven.jar.manifest value=target/MANIFEST.MF/

!-- Can this property's value be changed afterwards, from within a
goal? --
property name=phnx.db.user value=myAppUser /

goal name=initProperties

!-- Is there any way to set my property from here? --

/goal

/project


If it is not possible, could anyone suggest a suitable replacement? Is
there something along the lines of global variables in Maven? We're
using 1.0, by the way. Thanks in advance for all the help! :-)

Phil
#
This e-mail message has been scanned for Viruses and Content and cleared 
by NetIQ MailMarshal
#

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



Re: SNAPSHOT problems (please verify maven 2 repository)

2005-10-27 Thread Brian Bonner
Should we be using: http://www.ibiblio.org/maven???

or http://repo1.maven.org/maven2 which redirects to
http://www.ibiblio.org/maven2.

Thanks,

Brian


On 10/27/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
 Snapshots were removed in ibiblio some days ago
 Snapshots delivered by apache projects are now available here :
 http://cvs.apache.org/repository/
 You can setup your maven build to retreive your dependencies from ibiblio and 
 this repository with the property :
 maven.repo.remote=http://www.ibiblio.org/maven;http://cvs.apache.org/repository/

 Arnaud


  -Message d'origine-
  De : Benedikt Kratz [mailto:[EMAIL PROTECTED]
  Envoyé : mercredi 26 octobre 2005 15:53
  À : users@maven.apache.org
  Objet : SNAPSHOT problems
 
  Hi everyone,
 
  I am fairly new to maven, but started using a project that
  relies on maven, and on Monday I was able to fetch some jar
  files from the ibiblio repository. Today I wanted to repeat
  the whole process of getting that project running to make
  some documentation, but I've noticed that the SNAPSHOT
  versions are not any longer available.
 
  I am using Maven 1.0.2  and I am looking for the SNAPSHOT
  versions of commons-logging and commons-discovery (e.g.,
  http://www.ibiblio.org/maven/commons-discovery/jars/). Is
  this just a temporary glitch (because I am quite sure that
  the commons-discovery-SNAPSHOT and commons-logging-SNAPSHOT
  files were on the ibiblio server last Monday) and being
  solved with the next update (it is not exclusively for
  logging and discovery), or has something else changed
  permanently and if so what should we do about that? Or am I
  doing something else wrong?
 
  Thanks for your help,
 
  Benedikt
 
  p.s., here the dependency part of the project.xml file:
 
  dependency
groupIdcommons-discovery/groupId
artifactIdcommons-discovery/artifactId
versionSNAPSHOT/version
properties
  moduletrue/module
/properties
  /dependency
 
  --
  
  Benedikt Kratz M.Sc.
  Ph.D. Student
  Infolab, Department of Information Systems and Management
  Tilburg University
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 




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



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



Re: [m2] Eclipse webapp lib

2005-10-27 Thread Brian Bonner
No dice. I logged:  http://jira.codehaus.org/browse/ARCHETYPE-10 to
get to the root of this problem.  Hopefully someone will have a chance
and take a looksee.

Brian
On 10/27/05, Brian Bonner [EMAIL PROTECTED] wrote:
 And here's a workaround I found in the mailing list:

 Snapshots delivered by apache projects are now available here :
 http://cvs.apache.org/repository/
 You can setup your maven build to retreive your dependencies from
 ibiblio and this repository with the property :
 maven.repo.remote=http://www.ibiblio.org/maven;http://cvs.apache.org/repository/

 I guess I'll add it now and try it out :)


 On 10/27/05, Brian Bonner [EMAIL PROTECTED] wrote:
  I guess 
  http://www.nabble.com/SNAPSHOTs-removed-from-ibiblio-t188982.html#a526518
  answers the question :)
  On 10/27/05, Brian Bonner [EMAIL PROTECTED] wrote:
   I remember hearing someone say something about this yesterday.
   Someone named Carlos from apache was working on something to fix
   ibiblio.  It *could* be related to that.
  
   I just checked and 1.0-Alpha-4-SNAPSHOT is not there.
  
   Did you get it from ibiblio?
  
   Brian
   On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
It could be ibiblio?
   
Brian Bonner wrote:
   
I did as well.  A clean slate.  I've made mods to eclipse, and changes
and deployed a new project-help, but that's it AFAIK.

I'll try a clean m2 install w/ a new repo.
Brian
On 10/27/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:


I've started with the maven 2.0 final and the template project so I
don't know what's the issue that affects, you. Perhaps you should 
fila a
JIRA?

Brian Bonner wrote:



Here's what I get when I try to do the mvn install on a clean unpack
of maven-j2ee-archetype:

C:\test\maven-archetype-j2eemvn install
[INFO] Scanning for projects...
[INFO] 
-
---
[ERROR] FATAL ERROR
[INFO]



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



Missing jars (velocity jdbm)

2005-10-27 Thread Prasad Kashyap
When building the Geronimo project from a clean local repo, maven (*v1.0.2*)
cannot find the following 2 jars to download.
 velocity-1.4-dev.jar
jdbm-0.20-dev.jar
 These jars seem to have been recently removed from the remote repo. Any
ideas on what happened to them ? Can someone please tell me where I can find
them ?
 Cheers
Prasad


[Maven2.0b3] Preemptive authentication failed

2005-10-27 Thread Lukacs Gabriel
Hi,
I have just downloaded and installed the maven 2 beta 3. I have
configured the settings.xml file with proper proxy params in {user.home}/.m2
direcory. The following command execution fails with 
Default credentials for repo1.maven.org not available 
Preemptive authentication failed
message. I have just now started with Maven in my free time. Maybe some
configuraton is missing, but I could not find the site on apache.org to
properly configure the settings.xml file.
Any idea how to solve it?
 
Thanks in advance.
 
Gabriel
 
 
D:\Work\Mavenm2 archetype:create -DgroupId=com.mycompany.app
-DartifactId=my-app -DarchetypeVersion=1.0-alpha-3
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from central
Default credentials for repo1.maven.org not available
Preemptive authentication failed
Error getting URI host
org.apache.commons.httpclient.HttpException: Redirect from host
repo1.maven.org to www.ibiblio.org http://www.ibiblio.org  is not
supported
at
org.apache.commons.httpclient.HttpMethodBase.checkValidRedirect(HttpMethodBa
se.java:1237)
at
org.apache.commons.httpclient.HttpMethodBase.processRedirectResponse(HttpMet
hodBase.java:1185)
at
org.apache.commons.httpclient.HttpMethodBase.isRetryNeeded(HttpMethodBase.ja
va:967)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:108
9)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)
at
org.apache.maven.wagon.providers.http.HttpWagon.get(HttpWagon.java:287)
at
org.apache.maven.wagon.providers.http.HttpWagon.get(HttpWagon.java:228)
at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultW
agonManager.java:347)
at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(De
faultWagonManager.java:276)
at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManag
er.resolveAlways(DefaultRepositoryMetadataManager.java:273)
at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManag
er.resolve(DefaultRepositoryMetadataManager.java:84)
at
org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(Defau
ltPluginMappingManager.java:98)
at
org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(Defau
ltPluginMappingManager.java:82)
at
org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix(DefaultPlugi
nMappingManager.java:56)
at
org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPrefix(De
faultPluginManager.java:143)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(Defaul
tLifecycleExecutor.java:1189)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggrega
tionNeeds(DefaultLifecycleExecutor.java:420)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:132)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:247)
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)
Invalid Redirect URI from:
http://repo1.maven.org:80/maven2/org/apache/maven/plugins/maven-metadata.xml
http://repo1.maven.org:80/maven2/org/apache/maven/plugins/maven-metadata.xm
l  to:
http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-metadata.xml
http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-metadata.xml 
[WARNING] Cannot resolve plugin-mapping metadata for groupId:
org.apache.maven.plugins - IGNORING.
[INFO] org.codehaus.mojo: checking for updates from central
Default credentials for repo1.maven.org not available
Preemptive authentication failed
Error getting URI host
org.apache.commons.httpclient.HttpException: Redirect from host
repo1.maven.org to www.ibiblio.org http://www.ibiblio.org  is not
supported
at
org.apache.commons.httpclient.HttpMethodBase.checkValidRedirect(HttpMethodBa
se.java:1237)
at
org.apache.commons.httpclient.HttpMethodBase.processRedirectResponse(HttpMet
hodBase.java:1185)
at
org.apache.commons.httpclient.HttpMethodBase.isRetryNeeded(HttpMethodBase.ja
va:967)
at

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

2005-10-27 Thread Brian Bonner
Edwin, that's all the console says while running the test case :(

I gave it to you verbatim.  the last line (after a successful testProject6 was:
[ERROR] Nonexistent component: org.apache.maven.wagon.Wagonhttp

So if I understand you correctly, the test case I added might be
requiring a download from a repository which is causing WagonHTTP to
be needed?

I'm not familiar with the build/extensions.  I found this:
http://maven.apache.org/guides/mini/guide-using-extensions.html

I'll check it out.


On 10/25/05, Edwin Punzalan [EMAIL PROTECTED] wrote:
 If i'm not mistaken that should be the Wagon Http Provider...

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


 Brian Bonner wrote:

 Not sure where to send this.  I have been trying to figure out why the
 .wtpmodules is not getting included when I run mvn eclipse:eclipse.
 
 I added a test case to the EclipsePluginTest (the dreaded project-7)
 and added a project-7 directory with a pom.xml (renamed to
 projects.xml) to /src/test/projects.
 
 I then added the necessary dependent poms/jars to the repository in
 /src/test/repository.
 
 I run the tests and all of the prior 6 pass, but testProject7() fails with:
 
 [ERROR] Nonexistent component: org.apache.maven.wagon.Wagonhttp
 
 This error doesn't make much sense to me.  Does anyone have a
 suggestion about this?
 
 Brian
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 

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



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



Overriding plugin properties

2005-10-27 Thread Michael Böckling

Hi,

I have a similar question as PhilipMironenko. I'm trying to use the 
jar:jar goal to build a zip with a Manifest containing some Javadoc, and 
for this to happen I try to overwrite some properties, like 
maven.jar.final.name and the like. Doesn't work: j:set ../ and 
maven:set plugin=maven-jar-plugin .../ both have no effect.

Is there a way? It used to work in a maven.xml, but not in a plugin.jelly.

Thanks for any advice,
Michael Böckling


P.S.: Maybe someday I'll send some bottles of wine to the Maven devs who 
decided not to include Jelly in Maven 2...



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



[M2] Manual installation of plugins

2005-10-27 Thread Eric Parpal

Hello,
I installed Maven2 on a protected network not connected to Internet.
On the other side, I installed Maven2 on a machine connected to the internet 
network in the aim to download automatically all the necessaries files (and 
then to transfer them to the other network).
I get an error message (see below) when I launch the following command 
(taken from the Getting Started Guide) :

mvn archetype:create -DgroupId=com.dcn.app -DartifactId=my-app
I get the same error trying with more options (I saw these options in some 
mails of the maven archive users list) :
mvn -e archetype:create -DgroupId=com.dcn.app -DartifactId=my-app 
-DarchetypeGroupId=org.apache.maven.archetypes 
-DarchetypeArtifactId=maven-archetype-site -DarchetypeVersion=1.0-alpha-2


Here is the output :

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] 


[ERROR] BUILD ERROR
[INFO] 

[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not 
exist or no valid version could be found
[INFO] 


[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 
'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid 
version could be found
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1124)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1356)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:376)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:132)

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

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

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

   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: 
The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist 
or no valid version could be found
   at 
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:225)
   at 
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87)
   at 
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:158)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1095)

   ... 14 more
[INFO] 


[INFO] Total time: 1 second
[INFO] Finished at: Thu Oct 27 15:49:15 CEST 2005
[INFO] Final Memory: 1M/2M
[INFO] 



I precise that I tried with a proxy configuration in ~/.m2/settings.xml and 
I also tried with the -Dmaven.proxy.host and -Dmaven.proxy.port options but 
I always get the same result.


So please, here are my questions :
Did I miss something ?
As a workaround, what are the required files and how to manually installed 
them ? That is :

do I have to download
http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/maven-archetype-plugin/1.0-alpha-1/maven-archetype-plugin-1.0-alpha-1.jar
OR  
http://www.ibiblio.org/maven2/org/apache/maven/archetypes/maven-archetype-site/1.0-alpha-2/maven-archetype-site-1.0-alpha-2.jar

OR both ? (in fact, what is the difference ?)
and where do I have to copy this (or these) files ?
Thank you for your help.
Eric

_
Tout savoir sur la sécurité de vos enfants sur Internet ! 
http://go.msn.fr/10-channel/80-security/protection/default.asp



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



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

2005-10-27 Thread Brian Bonner
Doh.  junit actually gave me more info:

org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable
to get dependency information: Unable to read the metadata file for
artifact 'junit:junit:jar': Error getting POM for 'junit:junit' from
the repository: Unsupported Protocol: 'http': Cannot find wagon which
supports the requested protocol: http
  junit:junit:3.8.1:pom

from the specified remote repositories:
  central (http://www.ibiblio.org/maven2)

  junit:junit:3.8.1:jar

from the specified remote repositories:
  central (http://www.ibiblio.org/maven2)
Path to dependency:
1) com.paraware.test1:test1:war:1.0-SNAPSHOT


at 
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:268)
at 
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:67)
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:192)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(DefaultMavenProjectBuilder.java:211)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(DefaultMavenProjectBuilder.java:162)
at 
org.apache.maven.plugin.eclipse.EclipsePluginTest.testProject(EclipsePluginTest.java:106)
at 
org.apache.maven.plugin.eclipse.EclipsePluginTest.testProject7(EclipsePluginTest.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 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)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: 
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
Unable to read the metadata file for artifact 'junit:junit:jar': Error
getting POM for 'junit:junit' from the repository: Unsupported
Protocol: 'http': Cannot find wagon which supports the requested
protocol: http
  junit:junit:3.8.1:pom

from the specified remote repositories:
  central (http://www.ibiblio.org/maven2)

at 
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:114)
at 
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:255)
... 23 more
Caused by: org.apache.maven.project.ProjectBuildingException: Error
getting POM for 'junit:junit' from the repository: Unsupported
Protocol: 'http': Cannot find wagon which supports the requested
protocol: http
  junit:junit:3.8.1:pom

from the specified remote repositories:
  central (http://www.ibiblio.org/maven2)

at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:411)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:346)
at 
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:101)
... 24 more
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
Unsupported Protocol: 'http': Cannot find wagon which supports the
requested protocol: http
  junit:junit:3.8.1:pom

from the specified remote repositories:
  central (http://www.ibiblio.org/maven2)

at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:140)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:380)
... 26 more
Caused by: org.apache.maven.wagon.TransferFailedException: Unsupported
Protocol: 'http': Cannot find wagon which supports the requested
protocol: http
at 

Re: Issue with maven 1.0.2 and ibiblio site

2005-10-27 Thread Arnaud HERITIER
The problem is that they weren't versioned items.
It's why all these artifacts were removed (*-dev.jar, *-SNAPSHOT.jar).
Our error was to publish plugins which used artifacts not yrt released :-(

Sorry.

Arnaud

On 10/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

  It's a problem on ibiblio.
  http://jira.codehaus.org/browse/MAVEN-1718
  Carlos ? When do you think it will be fixed ?

 Glad to know that it has already been reported.

 In fact the demonstration I attempted to make today to my fellow
 companions was a big fiasco due to this problem, but if this issue is
 quickly solved, that's all we need ;-)


 Anyway, it's strange/risky to remove a versioned item once it has been
 made public !

 Regards,

 --
 Laurent

 
  Arnaud
 
 
 
 
  On 10/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Hello,
 
  I just installed a fresh copy maven 1.0.2 on a computer.
  I used the Windows executable version to do that.
 
  I tried a common goal on a project : maven jar
 
  It fails, Maven tells me it can't find velocity-1.4-dev.jar dependency
  from ibiblio.
 
  And indeed, this dependency is not on ibiblio anymore.
 
  I checked the POM of the maven-jar-plugin-1.6.1 (the one shipped with
  maven 1.0.2 windows installer) and it indeed has a dependency on
  velocity-1.4-dev.jar.
 
  So, real bug, or missed something ?
 
  Thanks in advance,
 
  --
  Laurent
 
 
  -
  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]




eclipse:add-maven-repo problem

2005-10-27 Thread Neil Blue
Hello,

I am just trying to enable maven support in eclipse, and I have used the
following command:

mvn eclipse:add-maven-repo -Declipse.workspace=c:/workspace

This is the right location for my workspace, but the plugin creates a new
directory:

c:/workspaceX

I am using the new Maven 2.0 installed yesterday.

Thanks
Neil

*
The information contained in this message is likely to be confidential.  It is 
intended only for the person named above.  Any dissemination, distribution, 
copying, disclosure or use of this message or its contents unless authorised by 
BioWisdom Ltd is strictly prohibited. Any views or opinions expressed within 
this e-mail are those of the author and do not necessarily represent those of 
BioWisdom Ltd. If you have received this message in error, please immediately 
notify us and delete it.  Thank you.  BioWisdom Ltd, Harston Mill, Harston, 
Cambridge, CB2 5GG.  Tel: +44 (0)1223 874800, Fax: +44 (0) 1223 874801, 
Internet:www.biowisdom.com

*


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



RE: [M2] Manual installation of plugins

2005-10-27 Thread Jörg Schaible
Eric Parpal wrote on Thursday, October 27, 2005 5:34 PM:

 Hello,
 I installed Maven2 on a protected network not connected to
 Internet. On the other side, I installed Maven2 on a machine
 connected to the internet network in the aim to download
 automatically all the 
 necessaries files (and
 then to transfer them to the other network).

Are these two networks completly separated or is it possible to reach the one 
machine, that has an internet connection? If so, you can install there the 
Maven-proxy.

[snip]

- Jörg

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



Re: [m2]create an entry into internal repository

2005-10-27 Thread Jason van Zyl
On Thu, 2005-10-27 at 10:23 +0200, luca rasconi wrote:
 im using m2 (subject modified :-) ).
 well,
 i've myjarfile-1.0.jar and i've a http://myhost/myreposytory i would use as
 my internal repository. i understand that every artifact should have a
 proper structure of directory and file, something like this:
 myjarfile/myjarfile/1.0/ with the file myjarfile.pom and the
 myjarfile-1.0.jar.
 
 So im asking if there's a way, starting from a jar file, to produce such a
 proper structure of directory anf file.

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

At the bottom of that guide is an install method. I'll move this bit to
a more general place.

 tnx,
 Luca
 
 
 
 On 10/27/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
 
  It depends.
  With m2 there's the maven repository plugin.
  With m1 you can create a bundle and use the repository:upload-bundle goal
  or you can do it manually (ftp, ...)
 
  Arnaud
 
 
   -Message d'origine-
   De : Luca Gmail [mailto:[EMAIL PROTECTED]
   Envoyé : mercredi 26 octobre 2005 10:09
   À : users@maven.apache.org
   Objet : create an entry into internal repository
  
   Hi all,
  
   I've some jar file and should upload to internal repository.
  
   Should I create thebundle manually?
  
  
  
   Tnx,
  
   Luca
  
  
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
-- 
jvz.

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



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



Re: Parent POM Properties

2005-10-27 Thread Jason van Zyl
On Thu, 2005-10-27 at 10:51 +0200, Bruno Essmann wrote:
 Hi
 
 
 Is there any way to access property values of a parent POM?
 
 I'm aware that any tag in a POM serves as valid property, however I'm
 looking for a way to access the values of the POM defined by
 ${pom.parent.relativePath}.
 
 
 Taking this a step further:
 
 I'm also looking for a way to access values of the root parent POM
 (i.e. the toplevel POM that does not feature a parent tag).
 
 The reason behind this is to try and avoid duplication of files and
 information while at the same time being able to keep all the project
 artifacts in one place that can be stored in a repository.

What is it concretely you are trying to do. Often users give us
solutions to their problems without actually telling us what the problem
is. We really need to know what you're trying to do first. We definitely
don't want duplication and is something we try to avoid so we need more
details.

-- 
jvz.

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

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

  -- Shakespeare


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



Re: new sites

2005-10-27 Thread Jason van Zyl
On Thu, 2005-10-27 at 09:54 +0100, Mark Hobson wrote:
 On 26/10/05, Brian Bonner [EMAIL PROTECTED] wrote:
  I presume these are both for M2?  It's probably because I'm new, but
  it's difficult to discriminate between M1 and M2 stuff (it's getting
  easier when I see jelly references, pom3.0, etc.).  Maybe some sort of
  indicator for Maven2 stuff would help?
 
 These are used in m2, although I would have thought m1 would be
 retrofitted to use them also - if it hasn't been already.

m1 now users wagon.

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

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

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

  -- Jacques Ellul, The Technological Society


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



Re: new sites

2005-10-27 Thread Arnaud HERITIER
The site for JXR should also be redeployed with the new LF.
 Arnaud

 On 10/27/05, Jason van Zyl [EMAIL PROTECTED] wrote:

 On Thu, 2005-10-27 at 09:54 +0100, Mark Hobson wrote:
  On 26/10/05, Brian Bonner [EMAIL PROTECTED] wrote:
   I presume these are both for M2? It's probably because I'm new, but
   it's difficult to discriminate between M1 and M2 stuff (it's getting
   easier when I see jelly references, pom3.0, etc.). Maybe some sort of
   indicator for Maven2 stuff would help?
 
  These are used in m2, although I would have thought m1 would be
  retrofitted to use them also - if it hasn't been already.

 m1 now users wagon.

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

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

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

 -- Jacques Ellul, The Technological Society


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




RE: [m2]create an entry into internal repository

2005-10-27 Thread Jörg Schaible
Hi Jason,

Jason van Zyl wrote on Thursday, October 27, 2005 5:57 PM:

 On Thu, 2005-10-27 at 10:23 +0200, luca rasconi wrote:
 im using m2 (subject modified :-) ).
 well,
 i've myjarfile-1.0.jar and i've a
 http://myhost/myreposytory i would
 use as my internal repository. i understand that every artifact
 should have a proper structure of directory and file, something like
 this: myjarfile/myjarfile/1.0/ with the file myjarfile.pom and the
 myjarfile-1.0.jar. 
 
 So im asking if there's a way, starting from a jar file, to produce
 such a proper structure of directory anf file.
 
 http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
 
 At the bottom of that guide is an install method. I'll move
 this bit to a more general place.

How do I deploy them? Using an internal repo for the company, they should be 
installed only once ...

- Jörg

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



Re: maven-artifact-ant 2.0.1download?

2005-10-27 Thread Jason van Zyl
On Thu, 2005-10-27 at 09:13 -0500, Xavier Toth wrote:
 Where can I find version 2.0.1 is the maven ant artifacts?

They haven't been release only the 2.0 version has been release:


http://maven.apache.org/download.html
-- 
jvz.

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



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



Re: pom problem in junit-addons/junit-addons/1.4/junit-addons-1.4.pom

2005-10-27 Thread Jason van Zyl
On Thu, 2005-10-27 at 15:36 +0200, [EMAIL PROTECTED] wrote:
 Hei,
 
 There is also a problem with missing dependencies in junit-
 addons-1.4.pom.
 

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

-- 
jvz.

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

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

  -- Ralph Johnson  Don Roberts, Patterns for Evolving Frameworks 


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



RE: [m2]create an entry into internal repository

2005-10-27 Thread Luca Gmail
From
http://maven.apache.org/guides/introduction/introduction-to-repositories.htm
l

Deploying to the Internal Repository

One of the most important reasons to have one or more internal repositories
is to be able to publish your own private releases to share.

To publish to the repository, you will need to have access via one of SCP,
SFTP, FTP, or the filesystem. For example, to set up an SCP transfer. ~~
show the scp example.


... so if 2+2=4 then to deploy I need to install to my local repository and
then transfering to the internal repository via ftp or something else. 

-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED] 
Sent: giovedì 27 ottobre 2005 18.02
To: Maven Users List
Subject: RE: [m2]create an entry into internal repository

Hi Jason,

Jason van Zyl wrote on Thursday, October 27, 2005 5:57 PM:

 On Thu, 2005-10-27 at 10:23 +0200, luca rasconi wrote:
 im using m2 (subject modified :-) ).
 well,
 i've myjarfile-1.0.jar and i've a
 http://myhost/myreposytory i would
 use as my internal repository. i understand that every artifact
 should have a proper structure of directory and file, something like
 this: myjarfile/myjarfile/1.0/ with the file myjarfile.pom and the
 myjarfile-1.0.jar. 
 
 So im asking if there's a way, starting from a jar file, to produce
 such a proper structure of directory anf file.
 
 http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
 
 At the bottom of that guide is an install method. I'll move
 this bit to a more general place.

How do I deploy them? Using an internal repo for the company, they should be
installed only once ...

- Jörg

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


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



RE: [m2]create an entry into internal repository

2005-10-27 Thread Jason van Zyl
On Thu, 2005-10-27 at 18:02 +0200, Jörg Schaible wrote:
 Hi Jason,
 
 Jason van Zyl wrote on Thursday, October 27, 2005 5:57 PM:
 
  On Thu, 2005-10-27 at 10:23 +0200, luca rasconi wrote:
  im using m2 (subject modified :-) ).
  well,
  i've myjarfile-1.0.jar and i've a
  http://myhost/myreposytory i would
  use as my internal repository. i understand that every artifact
  should have a proper structure of directory and file, something like
  this: myjarfile/myjarfile/1.0/ with the file myjarfile.pom and the
  myjarfile-1.0.jar. 
  
  So im asking if there's a way, starting from a jar file, to produce
  such a proper structure of directory anf file.
  
  http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
  
  At the bottom of that guide is an install method. I'll move
  this bit to a more general place.
 
 How do I deploy them? Using an internal repo for the company, they should be 
 installed only once ...

I would assume that where you install the artifact is the directory
structure that is expose to your users as a remote repository via http.

So you would be on the machine if you were running an install. If you're
not on the machine and the artifact you need to get to the remote
repository does not have a maven build then right now you're out of
luck. We don't have a tool yet that handles this though we're working on
it. 

If you have a maven build then you just deploy as per usual. If not then
you have to get the artifact to the remote repository by hand.

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

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



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



[m2] Deploying EJBs for WebSphere

2005-10-27 Thread Michael Deck
Is anyone currently using maven2 to generate the deployment code for their ejbs 
for use on a WebSphere app server?  It appears that there is not yet a plugin 
for WebSphere in m2.  I tried to write my own, but am running into some 
problems with that.  I've gotten the ant task distributed by IBM to work using 
antrun if I hard code all of the paths and jar names, but this isn't a very 
clean way to do it and it's not very reusable.
 
My problem is that the wasEjbDeploy ant task requires me to give it an input 
jar and classpath and I can't figure out a way to pass in variables for these 
attributes within the antrun plugin configuration.  I've tried using the 
configuration below, but it doesn't seem to work.  Does anyone have an idea 
about how to properly configure this task?
 
plugin
 artifactIdmaven-antrun-plugin/artifactId
 executions
  execution
   phaseintegration-test/phase
   configuration
tasks

 taskdef name=wasEjbDeploy
  classname=com.ibm.websphere.ant.tasks.WsEjbDeploy
  classpath=/opt/WebSphere/AppServer/lib/wsanttasks.jar /
 
 wasEjbDeploy
  inputJar=${project.build.directory}/${project.build.finalName}.jar
  workingDirectory=${project.build.directory}/temp
  outputJar=${project.build.directory}/was5/${project.build.finalName}.jar
  washome=/opt/WebSphere/AppServer /

/tasks
   /configuration
   goals
goalrun/goal
   /goals
  /execution
 /executions
/plugin
 
If anyone has a clean way to deploy ejbs for WS please let me know.
 
Thanks,
Mike

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



Re: maven-artifact-ant 2.0.1download?

2005-10-27 Thread Xavier Toth
:( I'm trying to pickup a patch for mng-1275 is there anyway I can do this?

On 10/27/05, Jason van Zyl [EMAIL PROTECTED] wrote:

 On Thu, 2005-10-27 at 09:13 -0500, Xavier Toth wrote:
  Where can I find version 2.0.1 is the maven ant artifacts?

 They haven't been release only the 2.0 version has been release:


 http://maven.apache.org/download.html
 --
 jvz.

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



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




Re: eclipse:add-maven-repo problem

2005-10-27 Thread Brian Bonner
That's what the code does.  :)

First line is:

workspace += X;

Not sure why this is here.

I'll submit a jira and a patch.  Hang on.

Brian
On 10/27/05, Neil Blue [EMAIL PROTECTED] wrote:
 Hello,

 I am just trying to enable maven support in eclipse, and I have used the
 following command:

 mvn eclipse:add-maven-repo -Declipse.workspace=c:/workspace

 This is the right location for my workspace, but the plugin creates a new
 directory:

 c:/workspaceX

 I am using the new Maven 2.0 installed yesterday.

 Thanks
 Neil

 *
 The information contained in this message is likely to be confidential.  It 
 is intended only for the person named above.  Any dissemination, 
 distribution, copying, disclosure or use of this message or its contents 
 unless authorised by BioWisdom Ltd is strictly prohibited. Any views or 
 opinions expressed within this e-mail are those of the author and do not 
 necessarily represent those of BioWisdom Ltd. If you have received this 
 message in error, please immediately notify us and delete it.  Thank you.  
 BioWisdom Ltd, Harston Mill, Harston, Cambridge, CB2 5GG.  Tel: +44 (0)1223 
 874800, Fax: +44 (0) 1223 874801, Internet:www.biowisdom.com

 *


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



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



Startup of continuum on MacOS X fails from run.sh but seems to work from plexus.sh

2005-10-27 Thread Donszelmann, Mark
Hi

running continuum 1.0 on MacOS X 10.4 gives me the following when started
as:

bin/macosx/runs.h start

or

bin/macosx/runs.h console

-- Output
Running continuum...
Removed stale pid file: ./continuum.pid
wrapper  | -- Wrapper Started as Console
dyld: lazy symbol binding failed: Symbol not found: _ftime
  Referenced from: /Users/duns/java/continuum-1.0/bin/macosx/wrapper
  Expected in: /usr/lib/libcrypto.0.9.7.dylib

dyld: Symbol not found: _ftime
  Referenced from: /Users/duns/java/continuum-1.0/bin/macosx/wrapper
  Expected in: /usr/lib/libcrypto.0.9.7.dylib

Trace/BPT trap

--

while if I run

bin/plexus.sh

all works fine (but only interactively.

Anybody seen this. Should I file a bugreport.

Regards
Mark Donszelmann


jxr site

2005-10-27 Thread Jason van Zyl
Hi Arnaud,

There you go:

http://maven.apache.org/jxr

-- 
jvz.

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

Our achievements speak for themselves. What we have to keep track
of are our failures, discouragements and doubts. We tend to forget
the past difficulties, the many false starts, and the painful
groping. We see our past achievements as the end result of a
clean forward thrust, and our present difficulties as
signs of decline and decay.

 -- Eric Hoffer, Reflections on the Human Condition


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



[M102] can I build a site only for a major.minor release?

2005-10-27 Thread Thomas_Perry





hello to all,

we are using maven 1.0.2  and  luntbuild 1.2.2 for continuous builds.

Is there anything I can add to maven that will build a project site *only*
for a vMajor.Minor release,
and NOT build a site for a vMajor.Minor.Bugfix release?

for example, build the site docs for  release v1_2  and not for  release
v1_2_1 ?

If this is a luntbuild question, let me know, but I thought I'd start with
the maven group since
maven is integrated so nicely with luntbuild.

Thanks in advance for your thoughts.
Tom Perry



 
This message is intended for the recipient only and is not meant to be 
forwarded or distributed in any other format. This communication is for 
informational purposes only.  It is not intended as an offer or solicitation 
for the purchase or sale of any financial instrument, or security, or as an 
official confirmation of any transaction.  Putnam does not accept purchase or 
redemptions of securities, instructions, or authorizations that are sent via 
e-mail.   All market prices, data and other information are not warranted as to 
completeness or accuracy and are subject to change without notice.  Any 
comments or statements made herein do not necessarily reflect those of Putnam, 
LLC (DBA Putnam Investments) and its subsidiaries and affiliates.  If you are 
not the intended recipient of this e-mail, please delete the e-mail.

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



[M2] Manual installation of plugins

2005-10-27 Thread Eric Parpal


Are these two networks completly separated or is it possible to reach the 
one machine, that has an internet connection? If so, you can install there 
the Maven-proxy.


Unfortunately, there is the Internet network and there is a secured network. 
No way to connect them, even for a minute ...
So, I would like to install manually all the necessaries files but I don't 
know exactly what files are missing and where to copy them. :-(


_
Une chance par jour de gagner un voyage au soleil avec Magic Search ! 
http://www.magicsearch.fr



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



[m2] Bummed about JUnitDoclet not getting m2 plugin.

2005-10-27 Thread Mick Knutson
I use JUnitDoclet heavily. I am bummed there is not going to be any new 
support in m2.
So, is there any way I can find out, and get help figuring something else 
out?
Is there anyone that would like to help me creating a new JUnitDoclet code 
base, maintain the old one, and create an M2 plugin?


I looked at the src, and am not familiar with the JavaDoc Parsing that it 
implements.


Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)



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



[m2] Bummed about JUnitDoclet not getting m2 plugin.

2005-10-27 Thread Mick Knutson
I use JUnitDoclet heavily. I am bummed there is not going to be any new 
support in m2.
So, is there any way I can find out, and get help figuring something else 
out?
Is there anyone that would like to help me creating a new JUnitDoclet code 
base, maintain the old one, and create an M2 plugin?


I looked at the src, and am not familiar with the JavaDoc Parsing that it 
implements.


Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)



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



Re: OutOfMemoryErrors in Reports

2005-10-27 Thread Jamie Bisotti
On 10/25/05, Christian Goos [EMAIL PROTECTED] wrote:


 Hi

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

 Thanks for help

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


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


It should be MAVEN_OPTS. However that only works if you are not forking VMs,
I think.

--
Jamie Bisotti


Re: Startup of continuum on MacOS X fails from run.sh but seems to work from plexus.sh

2005-10-27 Thread Emmanuel Venisse
It's a known issue on Java Service Wrapper (http://wrapper.tanukisoftware.org/) that we 
use, but you can file an issue so we upgrade jsw version when it'll be fix


You can find a previous discussion I got with an other user about this : 
http://mail-archives.apache.org/mod_mbox/maven-continuum-users/200509.mbox/[EMAIL PROTECTED]


It's too an issue with derby :
http://mail-archives.apache.org/mod_mbox/maven-continuum-users/200509.mbox/[EMAIL
 PROTECTED]

Emmanuel

Donszelmann, Mark a écrit :

Hi

running continuum 1.0 on MacOS X 10.4 gives me the following when started
as:

bin/macosx/runs.h start

or

bin/macosx/runs.h console

-- Output
Running continuum...
Removed stale pid file: ./continuum.pid
wrapper  | -- Wrapper Started as Console
dyld: lazy symbol binding failed: Symbol not found: _ftime
  Referenced from: /Users/duns/java/continuum-1.0/bin/macosx/wrapper
  Expected in: /usr/lib/libcrypto.0.9.7.dylib

dyld: Symbol not found: _ftime
  Referenced from: /Users/duns/java/continuum-1.0/bin/macosx/wrapper
  Expected in: /usr/lib/libcrypto.0.9.7.dylib

Trace/BPT trap

--

while if I run

bin/plexus.sh

all works fine (but only interactively.

Anybody seen this. Should I file a bugreport.

Regards
Mark Donszelmann







checkout and build (with ant)

2005-10-27 Thread Keith Fitzgerald
hi,

i'm trying to do a checkout and build of my project using pserver.
here's my url:

scm:cvs:pserver:user:[EMAIL PROTECTED]:/opt/cvs/comcast:myproject

it immediately fails and then the error in the build history is blank.
why doesn't this work? do i need to install maven or anything else on
my box? i've also tried:

scm:cvs:pserver:[EMAIL PROTECTED]:/opt/cvs/comcast:myproject

and it fails the same.

I know cvs is setup correctly b/c i use the pserver in eclipse to
checkout my code. any help is appreciated. i really want to cutover
from cruisecontrol to continuum.

thanks,
keith


[m2] doc error for assembly plugin

2005-10-27 Thread Michael Heuer
Hello,

Running the assembly plugin as documented on

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

results in an error,

$ mvn assembly:assembly -Dmaven.assembly.descriptorId=jar-with-dependencies

[ERROR] BUILD FAILURE
[INFO] -
[INFO] You must specify descriptor or descriptorId


but if one uses an unqualified descriptorId property value

$ mvn assembly:assembly -DdescriptorId=jar-with-dependencies

[INFO] [assembly:assembly]
[INFO] Building jar: .../myproject-SNAPSHOT-jar-with-dependencies.jar
[INFO] -
[INFO] BUILD SUCCESSFUL
[INFO] -

it seems to work fine.  Is this an error with the assembly plugin or with
the docs?

   michael


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



[m2] artifact-resolver plugin

2005-10-27 Thread Rohnny Moland

Hi,

Does it exist something as easy as a plugin for inserting/copying an
artifact/file into a maven repository?

I have been looking at the maven-install-plugin which is nice, but it
has read-only properties, and I am looking for something I can include
in my pom. I dont want to do it manually..


Thank you,

--
Rohnny

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



[m2] manifest for assembly jar-with-dependencies

2005-10-27 Thread Michael Heuer
Hello,

I followed the guide at

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

to add entries to my MANIFEST.MF, and that works fine with

$ mvn package

However, it seems that the assembly plugin does not reuse the
configuration information when building the jar-with-dependencies jar, so
I'm left with a default manifest in that jar.

   michael


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



RE: Setting global properties - is it even possible?

2005-10-27 Thread Arnaud HERITIER
You can take a look at the tag set in Jelly

http://jakarta.apache.org/commons/jelly/tags.html#core:set

Arnaud
 

 -Message d'origine-
 De : Mironenko, Philip [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 27 octobre 2005 16:18
 À : users@maven.apache.org
 Objet : Setting global properties - is it even possible?
 
 Hi all,
 
 I have a fairly simple question about properties - is there 
 any way to set them AFTER they've been initialized for the 
 first time or is it like ant - once it's set, it's immutable? 
 An example of what I'm asking is:
 
 ?xml version=1.0?
 project default=all xmlns:j=jelly:core xmlns:ant=jelly:ant
 xmlns:m=jelly:maven xmlns:deploy=deploy xmlns:u=jelly:util
 xmlns:x=jelly:xml
 
 property environment=env/
 property name=maven.jar.manifest value=target/MANIFEST.MF/
 
 !-- Can this property's value be changed afterwards, 
 from within a goal? --
 property name=phnx.db.user value=myAppUser /
 
 goal name=initProperties
 
   !-- Is there any way to set my property from here? --
 
 /goal
 
 /project
 
 
 If it is not possible, could anyone suggest a suitable 
 replacement? Is there something along the lines of global 
 variables in Maven? We're using 1.0, by the way. Thanks in 
 advance for all the help! :-)
 
 Phil
 ##
 ###
 This e-mail message has been scanned for Viruses and Content 
 and cleared by NetIQ MailMarshal 
 ##
 ###
 
 -
 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: SNAPSHOT problems (please verify maven 2 repository)

2005-10-27 Thread Arnaud HERITIER
If you are using m2, the main repository is : http://www.ibiblio.org/maven2/

Arnaud



 -Message d'origine-
 De : Brian Bonner [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 27 octobre 2005 16:52
 À : Maven Users List
 Objet : Re: SNAPSHOT problems (please verify maven 2 repository)
 
 Should we be using: http://www.ibiblio.org/maven???
 
 or http://repo1.maven.org/maven2 which redirects to 
 http://www.ibiblio.org/maven2.
 
 Thanks,
 
 Brian
 
 
 On 10/27/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
  Snapshots were removed in ibiblio some days ago Snapshots 
 delivered by 
  apache projects are now available here :
  http://cvs.apache.org/repository/
  You can setup your maven build to retreive your 
 dependencies from ibiblio and this repository with the property :
  
 maven.repo.remote=http://www.ibiblio.org/maven;http://cvs.apache.org/r
  epository/
 
  Arnaud
 
 
   -Message d'origine-
   De : Benedikt Kratz [mailto:[EMAIL PROTECTED] Envoyé : mercredi 26 
   octobre 2005 15:53 À : users@maven.apache.org Objet : SNAPSHOT 
   problems
  
   Hi everyone,
  
   I am fairly new to maven, but started using a project 
 that relies on 
   maven, and on Monday I was able to fetch some jar files from the 
   ibiblio repository. Today I wanted to repeat the whole process of 
   getting that project running to make some documentation, but I've 
   noticed that the SNAPSHOT versions are not any longer available.
  
   I am using Maven 1.0.2  and I am looking for the SNAPSHOT 
 versions 
   of commons-logging and commons-discovery (e.g., 
   http://www.ibiblio.org/maven/commons-discovery/jars/). Is 
 this just 
   a temporary glitch (because I am quite sure that the 
   commons-discovery-SNAPSHOT and commons-logging-SNAPSHOT 
 files were 
   on the ibiblio server last Monday) and being solved with the next 
   update (it is not exclusively for logging and discovery), or has 
   something else changed permanently and if so what should 
 we do about 
   that? Or am I doing something else wrong?
  
   Thanks for your help,
  
   Benedikt
  
   p.s., here the dependency part of the project.xml file:
  
   dependency
 groupIdcommons-discovery/groupId
 artifactIdcommons-discovery/artifactId
 versionSNAPSHOT/version
 properties
   moduletrue/module
 /properties
   /dependency
  
   --
   
   Benedikt Kratz M.Sc.
   Ph.D. Student
   Infolab, Department of Information Systems and Management Tilburg 
   University
   
  
   
 
   - 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: Overriding plugin properties

2005-10-27 Thread Arnaud HERITIER
Which maven 1.X are you using ? 1.1-beta-something or 1.0(.2) ?

Arnaud


 -Message d'origine-
 De : Michael Böckling [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 27 octobre 2005 17:33
 À : Maven Users List
 Objet : Overriding plugin properties
 
 Hi,
 
 I have a similar question as PhilipMironenko. I'm trying to 
 use the jar:jar goal to build a zip with a Manifest 
 containing some Javadoc, and for this to happen I try to 
 overwrite some properties, like maven.jar.final.name and 
 the like. Doesn't work: j:set ../ and maven:set 
 plugin=maven-jar-plugin .../ both have no effect.
 Is there a way? It used to work in a maven.xml, but not in a 
 plugin.jelly.
 
 Thanks for any advice,
 Michael Böckling
 
 
 P.S.: Maybe someday I'll send some bottles of wine to the 
 Maven devs who decided not to include Jelly in Maven 2...
 
 
 -
 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: SNAPSHOT problems (please verify maven 2 repository)

2005-10-27 Thread Brian Bonner
Just wanted to make sure I saw an e-mail from Brett Porter a while
back saying snapshots came off ibiblio for maven2, didn't realize it
was for m1, too.

Is the cvs repository you gave then for m1?  is there a different one for m2?

On 10/27/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
 If you are using m2, the main repository is : http://www.ibiblio.org/maven2/

 Arnaud



  -Message d'origine-
  De : Brian Bonner [mailto:[EMAIL PROTECTED]
  Envoyé : jeudi 27 octobre 2005 16:52
  À : Maven Users List
  Objet : Re: SNAPSHOT problems (please verify maven 2 repository)
 
  Should we be using: http://www.ibiblio.org/maven???
 
  or http://repo1.maven.org/maven2 which redirects to
  http://www.ibiblio.org/maven2.
 
  Thanks,
 
  Brian
 
 
  On 10/27/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
   Snapshots were removed in ibiblio some days ago Snapshots
  delivered by
   apache projects are now available here :
   http://cvs.apache.org/repository/
   You can setup your maven build to retreive your
  dependencies from ibiblio and this repository with the property :
  
  maven.repo.remote=http://www.ibiblio.org/maven;http://cvs.apache.org/r
   epository/
  
   Arnaud
  
  
-Message d'origine-
De : Benedikt Kratz [mailto:[EMAIL PROTECTED] Envoyé : mercredi 26
octobre 2005 15:53 À : users@maven.apache.org Objet : SNAPSHOT
problems
   
Hi everyone,
   
I am fairly new to maven, but started using a project
  that relies on
maven, and on Monday I was able to fetch some jar files from the
ibiblio repository. Today I wanted to repeat the whole process of
getting that project running to make some documentation, but I've
noticed that the SNAPSHOT versions are not any longer available.
   
I am using Maven 1.0.2  and I am looking for the SNAPSHOT
  versions
of commons-logging and commons-discovery (e.g.,
http://www.ibiblio.org/maven/commons-discovery/jars/). Is
  this just
a temporary glitch (because I am quite sure that the
commons-discovery-SNAPSHOT and commons-logging-SNAPSHOT
  files were
on the ibiblio server last Monday) and being solved with the next
update (it is not exclusively for logging and discovery), or has
something else changed permanently and if so what should
  we do about
that? Or am I doing something else wrong?
   
Thanks for your help,
   
Benedikt
   
p.s., here the dependency part of the project.xml file:
   
dependency
  groupIdcommons-discovery/groupId
  artifactIdcommons-discovery/artifactId
  versionSNAPSHOT/version
  properties
moduletrue/module
  /properties
/dependency
   
--

Benedikt Kratz M.Sc.
Ph.D. Student
Infolab, Department of Information Systems and Management Tilburg
University

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




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



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



RE: jxr site

2005-10-27 Thread Arnaud HERITIER
Hi Jason,

Thanks.
Should we add it in the links of all sites like SCM and Wagon?

Arnaud
 

 -Message d'origine-
 De : Jason van Zyl [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 27 octobre 2005 18:39
 À : Maven Users List
 Objet : jxr site
 
 Hi Arnaud,
 
 There you go:
 
 http://maven.apache.org/jxr
 
 --
 jvz.
 
 Jason van Zyl
 jason at maven.org
 http://maven.apache.org
 
 Our achievements speak for themselves. What we have to keep 
 track of are our failures, discouragements and doubts. We 
 tend to forget the past difficulties, the many false starts, 
 and the painful groping. We see our past achievements as the 
 end result of a clean forward thrust, and our present 
 difficulties as signs of decline and decay.
 
  -- Eric Hoffer, Reflections on the Human Condition
 
 
 -
 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: [M102] can I build a site only for a major.minor release?

2005-10-27 Thread Arnaud HERITIER
Hi Thomas,

What you want to do is to build/deploy your code from the trunk and 
generate/publish your site from a tag ?

It's not really possible within maven because you should switch between 
these two versions. What about reports ? Do you want
to generate reports for the trunk or for the tag ? It's a little bit 
complicated.

The easiest way to do this (I think) is to setup 2 projects in 
luntbuild (if possible), one using the trunk and the other a
tag.

Arnaud



 -Message d'origine-
 De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 27 octobre 2005 19:03
 À : Maven Users List
 Objet : [M102] can I build a site only for a major.minor release?
 
 
 
 
 
 
 hello to all,
 
 we are using maven 1.0.2  and  luntbuild 1.2.2 for continuous builds.
 
 Is there anything I can add to maven that will build a 
 project site *only* for a vMajor.Minor release, and NOT build 
 a site for a vMajor.Minor.Bugfix release?
 
 for example, build the site docs for  release v1_2  and not 
 for  release
 v1_2_1 ?
 
 If this is a luntbuild question, let me know, but I thought 
 I'd start with the maven group since maven is integrated so 
 nicely with luntbuild.
 
 Thanks in advance for your thoughts.
 Tom Perry
 
 
 
  
 This message is intended for the recipient only and is not 
 meant to be forwarded or distributed in any other format. 
 This communication is for informational purposes only.  It is 
 not intended as an offer or solicitation for the purchase or 
 sale of any financial instrument, or security, or as an 
 official confirmation of any transaction.  Putnam does not 
 accept purchase or redemptions of securities, instructions, 
 or authorizations that are sent via e-mail.   All market 
 prices, data and other information are not warranted as to 
 completeness or accuracy and are subject to change without 
 notice.  Any comments or statements made herein do not 
 necessarily reflect those of Putnam, LLC (DBA Putnam 
 Investments) and its subsidiaries and affiliates.  If you are 
 not the intended recipient of this e-mail, please delete the e-mail.
 
 -
 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: SNAPSHOT problems (please verify maven 2 repository)

2005-10-27 Thread Arnaud HERITIER
I'm not sure there's already for m2 a snapshots repository for apache. Jason ?

Arnaud
 

 -Message d'origine-
 De : Brian Bonner [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 27 octobre 2005 21:46
 À : Maven Users List
 Objet : Re: SNAPSHOT problems (please verify maven 2 repository)
 
 Just wanted to make sure I saw an e-mail from Brett Porter a 
 while back saying snapshots came off ibiblio for maven2, 
 didn't realize it was for m1, too.
 
 Is the cvs repository you gave then for m1?  is there a 
 different one for m2?
 
 On 10/27/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
  If you are using m2, the main repository is : 
  http://www.ibiblio.org/maven2/
 
  Arnaud
 
 
 
   -Message d'origine-
   De : Brian Bonner [mailto:[EMAIL PROTECTED] Envoyé : jeudi 27 
   octobre 2005 16:52 À : Maven Users List Objet : Re: SNAPSHOT 
   problems (please verify maven 2 repository)
  
   Should we be using: http://www.ibiblio.org/maven???
  
   or http://repo1.maven.org/maven2 which redirects to 
   http://www.ibiblio.org/maven2.
  
   Thanks,
  
   Brian
  
  
   On 10/27/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
Snapshots were removed in ibiblio some days ago Snapshots
   delivered by
apache projects are now available here :
http://cvs.apache.org/repository/
You can setup your maven build to retreive your
   dependencies from ibiblio and this repository with the property :
   
   
 maven.repo.remote=http://www.ibiblio.org/maven;http://cvs.apache.org
   /r
epository/
   
Arnaud
   
   
 -Message d'origine-
 De : Benedikt Kratz [mailto:[EMAIL PROTECTED] Envoyé : 
 mercredi 26 
 octobre 2005 15:53 À : users@maven.apache.org Objet : 
 SNAPSHOT 
 problems

 Hi everyone,

 I am fairly new to maven, but started using a project
   that relies on
 maven, and on Monday I was able to fetch some jar 
 files from the 
 ibiblio repository. Today I wanted to repeat the 
 whole process 
 of getting that project running to make some 
 documentation, but 
 I've noticed that the SNAPSHOT versions are not any 
 longer available.

 I am using Maven 1.0.2  and I am looking for the SNAPSHOT
   versions
 of commons-logging and commons-discovery (e.g., 
 http://www.ibiblio.org/maven/commons-discovery/jars/). Is
   this just
 a temporary glitch (because I am quite sure that the 
 commons-discovery-SNAPSHOT and commons-logging-SNAPSHOT
   files were
 on the ibiblio server last Monday) and being solved with the 
 next update (it is not exclusively for logging and 
 discovery), 
 or has something else changed permanently and if so 
 what should
   we do about
 that? Or am I doing something else wrong?

 Thanks for your help,

 Benedikt

 p.s., here the dependency part of the project.xml file:

 dependency
   groupIdcommons-discovery/groupId
   artifactIdcommons-discovery/artifactId
   versionSNAPSHOT/version
   properties
 moduletrue/module
   /properties
 /dependency

 --
 
 Benedikt Kratz M.Sc.
 Ph.D. Student
 Infolab, Department of Information Systems and Management 
 Tilburg University
 


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

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




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



RE: OutOfMemoryErrors in Reports

2005-10-27 Thread Arnaud HERITIER
Is it with m1 or m2 ?
I suppose it's for m2 because there's no official surfire plugin for m1 ?

Arnaud
 

 -Message d'origine-
 De : Jamie Bisotti [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 27 octobre 2005 19:19
 À : Maven Users List
 Objet : Re: OutOfMemoryErrors in Reports
 
 On 10/25/05, Christian Goos [EMAIL PROTECTED] wrote:
 
 
  Hi
 
  I get OutOfMemoryErrors with javadoc, checkstyle and 
 surefire reports.
  Configure Maven_opts did not help.
  What can I do?
 
  Thanks for help
 
  Christian
  __
  Verschicken Sie romantische, coole und witzige Bilder per SMS!
  Jetzt bei WEB.DE http://WEB.DE FreeMail: 
 http://f.web.de/?mc=021193
 
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 It should be MAVEN_OPTS. However that only works if you are 
 not forking VMs, I think.
 
 --
 Jamie Bisotti
 




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



postgoal function in M2 Need Help?

2005-10-27 Thread raghurajan . x . gurunathanv
Hi

I understand there is no pre/post goal things in M2, instead we have to do 
that in pom.xml plugin itself.

But how do i do more than one

for eg.

My needs is

1. Before compile i have generate a ejb home/remoteinterface .java files.
2. Then do regular javac compile
3. Then do ejbc compile which create some classes needed for weblogic.


so i used phasegenerate-source/phase to create a .java files,
then i tried adding phaseprocess-classes/phase like these which comes 
after compilation in lifecycle, to do ejbc compile but what hppends is at 
my second phase again its trying to goback and do full lifecycle stating 
from validate... again i do understand this is coz of lifecycle

But my question is how do i do this thing without going thru the full 
lifecycle again, i mean i'm looking for a way to have (m1)postgoal like 
function in M2

Can any one please give me some example how to acheive this






Thanks,
Raghurajan Gurunathan


Can't build anymore with Continuum 1.0/Maven 2.0 Final

2005-10-27 Thread Matthew Beermann
I'm trying to load a Maven 2.0 project into Continuum, one that builds 
perfectly from the command line. The build fails, but I can't quite figure out 
why, because the build log is completely blank! Here's what Continuum spews out 
to the command line.
 
The only thing I can guess is that the checkout is failing silently. That 
cvsRoot looks slightly wrong, for one thing, and it doesn't agree with what 
projecthelp:effective-pom says that my SCM url really is:
 
connectionscm:cvs:pserver:[EMAIL 
PROTECTED]:/projects/system-core/connection
 
jvm 1| 2005-10-27 14:01:38,630 [Thread-2] INFO  ContinuumScm   - Checking 
out project: 'system-core', id: '6' to 
'C:\continuum-1.0\bin\win32\..\..\apps\continuum\working-directory\6'.
jvm 1| 2005-10-27 14:01:38,647 [Thread-2] DEBUG ScmManager   - cvsRoot: 
:pserver:[EMAIL PROTECTED]:2401/projects
jvm 1| 2005-10-27 14:01:38,647 [Thread-2] DEBUG ScmManager   - passFile: 
C:\Documents and Settings\mb011000\.cvspass
jvm 1| 2005-10-27 14:01:40,795 [SocketListener0-1] INFO  Continuum  
  - Enqueuing 'system-core' (Build definition id=6.
jvm 1| 2005-10-27 14:01:41,017 [Thread-1] INFO  ContinuumScm   - Checking 
out project: 'system-core', id: '6' to 
'C:\continuum-1.0\bin\win32\..\..\apps\continuum\working-directory\6'.
jvm 1| 2005-10-27 14:01:41,017 [Thread-1] DEBUG ScmManager   - cvsRoot: 
:pserver:[EMAIL PROTECTED]:2401/projects
jvm 1| 2005-10-27 14:01:41,017 [Thread-1] DEBUG ScmManager   - passFile: 
C:\Documents and Settings\mb011000\.cvspass
jvm 1| 2005-10-27 14:01:41,273 [Thread-1] WARN  ConfigurationService   - 
Error reading build output for build '8'.
jvm 1| java.io.FileNotFoundException: 
C:\continuum-1.0\bin\win32\..\..\apps\continuum\build-output-directory\6\8.log.txt
 (The system cannot find the file sp
ecified)
jvm 1|  at java.io.FileInputStream.open(Native Method)
jvm 1|  at java.io.FileInputStream.init(FileInputStream.java:106)
jvm 1|  at 
org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:269)
jvm 1|  at 
org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:261)
jvm 1|  at 
org.apache.maven.continuum.configuration.DefaultConfigurationService.getBuildOutput(DefaultConfigurationService.java:167)
jvm 1|  at 
org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:129)
jvm 1|  at 
org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:96)
jvm 1|  at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:261)
jvm 1|  at 
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:53)
jvm 1|  at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExec
utor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
jvm 1|  at java.lang.Thread.run(Thread.java:595)
jvm 1| 2005-10-27 14:01:41,324 [Thread-1] INFO  Notifier:mail
   - No mail recipients for 'system-core'.
jvm 1| 2005-10-27 14:01:47,632 [SocketListener0-1] WARN  
ConfigurationService   - Error reading build output for build '8'.
jvm 1| java.io.FileNotFoundException: C:\continuum-1.0\bin\win32\..\..\apps\
continuum\build-output-directory\6\8.log.txt (The system cannot find the file 
specified)
jvm 1|  at java.io.FileInputStream.open(Native Method)
jvm 1|  at java.io.FileInputStream.init(FileInputStream.java:106)
jvm 1|  at 
org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:269)
jvm 1|  at 
org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:261)
jvm 1|  at 
org.apache.maven.continuum.configuration.DefaultConfigurationService.getBuildOutput(DefaultConfigurationService.java:167)
jvm 1|  at 
org.apache.maven.continuum.DefaultContinuum.getBuildOutput(DefaultContinuum.java:382)
jvm 1|  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1|  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
jvm 1|  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
jvm 1|  at java.lang.reflect.Method.invoke(Method.java:585)
jvm 1|  at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
jvm 1|  at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
jvm 1|  at 
ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
jvm 1|  at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
jvm 1|  at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
jvm 1|  at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
jvm 1|  at ognl.SimpleNode.getValue(SimpleNode.java:210)
jvm 1|  at ognl.Ognl.getValue(Ognl.java:333)
jvm 1|  at 

Re: Maven 2 multiproject

2005-10-27 Thread Colin Chalmers

Thx Jason,

I'll look into this.

To clarify I can set this as my descriptor in the root project that 
should iterate over the sub-projects and gather the info?


Whilst playing with the assembly plugin it compiled all classes but only 
generated distributions for the root project, which was empty.

I was following the example on the site for generating a bin distribution.

/Colin

Jason van Zyl wrote:


On Wed, 2005-10-26 at 20:03 +0200, Colin Chalmers wrote:
 


Hi all,

I just updated to maven 2 and after following a couple of links on the 
site/mailinglist got my multiproject project, relatively painlessly, 
uprunning!!
I am generating the three jars I need but one would also like to 
aggregate all the code from the three seperate modules to build into one 
big jar for easier distribution.


My question is if there is an easy way to do this with tools at hand?
   



Yup, you can look at the embedder assembly descriptor for an example:

http://svn.apache.org/viewcvs.cgi/*checkout*/maven/components/trunk/maven-embedder/src/main/assembly/dep.xml?rev=306535

That unpacks all the dependent JARs and bundles it up into one JAR.

 


If others have the same problem and can share tips/code?
If this is an ideal issue for writing a plugin?
   



The assembly plugin deals with this:

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

 


Thx

/Colin

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



Site plugins missing links to code

2005-10-27 Thread Colin Chalmers

Hi,

I was able to generate the site with reports using my new maven-2 
config. but when I look at the reports for Checkstyle/PMD I am missing a 
link to the source where the actual problem lies.


Adding the source plugin didn't seem to help much either. Am I missing 
something or is this work in progress?


/Colin

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



keyword SNAPSHOT in depedency version is ignored

2005-10-27 Thread Dr. Stefan Reisner
I have created the following dependency in my maven project:

dependency
  groupIdcommons-logging/groupId
  artifactIdcommons-logging/artifactId
  versionSNAPSHOT/version
/dependency

This results in the following behaviour being logged on the console when
invoking maven:

D:\workspace\de.syngenio.kompass.kikmaven
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Attempting to download commons-logging-SNAPSHOT.jar.
WARNING: Failed to download commons-logging-SNAPSHOT.jar.

My expectation was that maven would replace SNAPSHOT (or for that any
version value in which SNAPSHOT occurs as a substring) by the most current
version available in the repository. What is going wrong here?

I should add that I'm new to maven, so it's probably something stupid
simple.

Best regards,
Dr. Stefan Reisner



Re: keyword SNAPSHOT in depedency version is ignored

2005-10-27 Thread Lukas Theussl
This is a misunderstanding of the SNAPSHOT functionality, maven does 
_not_ replace SNAPSHOT with the latest available version of a project.


Using a SNAPSHOT dependency still assumes that the project that you 
depend upon has actually published a SNAPSHOT. This is not the case for 
commons-logging.


See
http://maven.apache.org/maven-1.x/using/managing-dependencies.html#Using_SNAPSHOT_Dependencies

Regards,
Lukas



Dr. Stefan Reisner wrote:

I have created the following dependency in my maven project:

dependency
  groupIdcommons-logging/groupId
  artifactIdcommons-logging/artifactId
  versionSNAPSHOT/version
/dependency

This results in the following behaviour being logged on the console when
invoking maven:

D:\workspace\de.syngenio.kompass.kikmaven
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Attempting to download commons-logging-SNAPSHOT.jar.
WARNING: Failed to download commons-logging-SNAPSHOT.jar.

My expectation was that maven would replace SNAPSHOT (or for that any
version value in which SNAPSHOT occurs as a substring) by the most current
version available in the repository. What is going wrong here?

I should add that I'm new to maven, so it's probably something stupid
simple.

Best regards,
Dr. Stefan Reisner




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



Re: SNAPSHOT problems (please verify maven 2 repository)

2005-10-27 Thread Carlos Sanchez
Snapshots were removed from ibiblio for m1 and m2

On 10/27/05, Brian Bonner [EMAIL PROTECTED] wrote:
 Just wanted to make sure I saw an e-mail from Brett Porter a while
 back saying snapshots came off ibiblio for maven2, didn't realize it
 was for m1, too.

 Is the cvs repository you gave then for m1?  is there a different one for m2?

 On 10/27/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
  If you are using m2, the main repository is : http://www.ibiblio.org/maven2/
 
  Arnaud
 
 
 
   -Message d'origine-
   De : Brian Bonner [mailto:[EMAIL PROTECTED]
   Envoyé : jeudi 27 octobre 2005 16:52
   À : Maven Users List
   Objet : Re: SNAPSHOT problems (please verify maven 2 repository)
  
   Should we be using: http://www.ibiblio.org/maven???
  
   or http://repo1.maven.org/maven2 which redirects to
   http://www.ibiblio.org/maven2.
  
   Thanks,
  
   Brian
  
  
   On 10/27/05, Arnaud HERITIER [EMAIL PROTECTED] wrote:
Snapshots were removed in ibiblio some days ago Snapshots
   delivered by
apache projects are now available here :
http://cvs.apache.org/repository/
You can setup your maven build to retreive your
   dependencies from ibiblio and this repository with the property :
   
   maven.repo.remote=http://www.ibiblio.org/maven;http://cvs.apache.org/r
epository/
   
Arnaud
   
   
 -Message d'origine-
 De : Benedikt Kratz [mailto:[EMAIL PROTECTED] Envoyé : mercredi 26
 octobre 2005 15:53 À : users@maven.apache.org Objet : SNAPSHOT
 problems

 Hi everyone,

 I am fairly new to maven, but started using a project
   that relies on
 maven, and on Monday I was able to fetch some jar files from the
 ibiblio repository. Today I wanted to repeat the whole process of
 getting that project running to make some documentation, but I've
 noticed that the SNAPSHOT versions are not any longer available.

 I am using Maven 1.0.2  and I am looking for the SNAPSHOT
   versions
 of commons-logging and commons-discovery (e.g.,
 http://www.ibiblio.org/maven/commons-discovery/jars/). Is
   this just
 a temporary glitch (because I am quite sure that the
 commons-discovery-SNAPSHOT and commons-logging-SNAPSHOT
   files were
 on the ibiblio server last Monday) and being solved with the next
 update (it is not exclusively for logging and discovery), or has
 something else changed permanently and if so what should
   we do about
 that? Or am I doing something else wrong?

 Thanks for your help,

 Benedikt

 p.s., here the dependency part of the project.xml file:

 dependency
   groupIdcommons-discovery/groupId
   artifactIdcommons-discovery/artifactId
   versionSNAPSHOT/version
   properties
 moduletrue/module
   /properties
 /dependency

 --
 
 Benedikt Kratz M.Sc.
 Ph.D. Student
 Infolab, Department of Information Systems and Management Tilburg
 University
 


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

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

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



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



RE: jxr site

2005-10-27 Thread Jason van Zyl
On Thu, 2005-10-27 at 21:49 +0200, Arnaud HERITIER wrote:
 Hi Jason,
 
   Thanks.
   Should we add it in the links of all sites like SCM and Wagon?

Done.

 Arnaud
  
 
  -Message d'origine-
  De : Jason van Zyl [mailto:[EMAIL PROTECTED] 
  Envoyé : jeudi 27 octobre 2005 18:39
  À : Maven Users List
  Objet : jxr site
  
  Hi Arnaud,
  
  There you go:
  
  http://maven.apache.org/jxr
  
  --
  jvz.
  
  Jason van Zyl
  jason at maven.org
  http://maven.apache.org
  
  Our achievements speak for themselves. What we have to keep 
  track of are our failures, discouragements and doubts. We 
  tend to forget the past difficulties, the many false starts, 
  and the painful groping. We see our past achievements as the 
  end result of a clean forward thrust, and our present 
  difficulties as signs of decline and decay.
  
   -- Eric Hoffer, Reflections on the Human Condition
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
-- 
jvz.

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

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

 -- Unknown


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



Re: Missing jars (velocity jdbm)

2005-10-27 Thread Carlos Sanchez
They are available again.

On 10/27/05, Prasad Kashyap [EMAIL PROTECTED] wrote:
 When building the Geronimo project from a clean local repo, maven (*v1.0.2*)
 cannot find the following 2 jars to download.
  velocity-1.4-dev.jar
 jdbm-0.20-dev.jar
  These jars seem to have been recently removed from the remote repo. Any
 ideas on what happened to them ? Can someone please tell me where I can find
 them ?
  Cheers
 Prasad



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



Re: [m2] XJC plugin now has a home

2005-10-27 Thread Adam Hardy

Ashley Williams on 27/10/05 14:57, wrote:

Hi

Just an announcement that the XJC plugin is now housed on the  codehaus 
mojo project here: http://mojo.codehaus.org/xjc-maven-plugin/
Not sure if guest svn access is working but you can grab a tarball by  
clicking on this link:


Well done! I will certainly be making use of that - for the past 6 
months I have been using the same JAXB beans and hoping that my schema 
won't change. :)


Adam

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



Re: [m2] XJC plugin now has a home

2005-10-27 Thread Ashley Williams

Thanks Adam.

Oh and a message to all the xjc plugin users: may you both be happy ;)

- AW

On 27 Oct 2005, at 23:53, Adam Hardy wrote:


Ashley Williams on 27/10/05 14:57, wrote:


Hi
Just an announcement that the XJC plugin is now housed on the   
codehaus mojo project here: http://mojo.codehaus.org/xjc-maven- 
plugin/
Not sure if guest svn access is working but you can grab a tarball  
by  clicking on this link:




Well done! I will certainly be making use of that - for the past 6  
months I have been using the same JAXB beans and hoping that my  
schema won't change. :)


Adam

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



auto providing maven properties in ant attributes

2005-10-27 Thread Ashley Williams

(posted to dev by muscle memory, please ignore that one)

Hi

Just wondering if anything is ongoing to automatically provide a  
mapping from maven injected properties to ant attributes.
I've done a little work on the xdoclet plugin on my machine that  
means instead of providing the following:


   configuration
  tasks
ejbdoclet destdir=${project.build.directory}/ 
generated-sources/xdoclet ejbspec=2.1
  fileset dir=${basedir}/src/main/java  
includes=**/*Bean.java/
  entitycmp destDir=$ 
{project.build.outputDirectory}/
  deploymentdescriptor destdir=$ 
{project.build.directory}/generated-sources/xdoclet/

  remoteinterface/
  homeinterface/
/ejbdoclet
  /tasks
/configuration

we can write:

   configuration
  tasks
ejbdoclet ejbspec=2.1
  fileset includes=**/*Bean.java/
  entitycmp/
  deploymentdescriptor/
  remoteinterface/
  homeinterface/
/ejbdoclet
  /tasks
/configuration

The code I have would easily refactor into the ant run plugin, but  
obviously I don't want to double up if stuff

is already happening - seem to remember John was looking at this area.

- Ashley


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



where to report bad metadata on ibiblio.org/maven2?

2005-10-27 Thread Orjan Nygaard Austvold
I know there is place to report bad metadata found on
ibiblio.org/maven2, but where.. :-)

ant-1.6.5 seems to have an invalid POM at the moment.


Thanks,
Ørjan


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



  1   2   >