Re: [m102]: Suppresing download progress etc.

2005-10-14 Thread Brett Porter
Sorry about that. I remember what it was - set the property:

maven.download.meter=bootstrap


On 10/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 'maven -q' makes it worse: it suppresses other useful info,
> continues to display artifact download progress but without
> listing the name of the artifact being downloaded:
>
>  $ cd acceptance; /vob/enm_jdk/maven1.0.2/bin/maven -q
>  Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. 
> Attempting to create.
>  56/13877K
>  60/13877K
>  //...
>  13877/13877K downloaded
>  10/47K
>  //...
>  Response content length is not known
>  //... rest of it
>
> Thanks,
>
> Rk
> x77309
>
> On Sat, 15 Oct 2005, Brett Porter wrote:
>
> > I think maven -q will do this, though it does suppress much of the
> > other output too.
> >
> > - Brett
> >
> > On 10/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > Is there anyway to suppress the artifact download progress messages
> > > issued by Maven? This looks fine on a console; but in build reports,
> > > takes up reams of space:
> > >
> > > $ maven
> > >  __  __
> > > |  \/  |__ _Apache__ ___
> > > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > > |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> > >
> > > Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. 
> > > Attempting to create.
> > > Attempting to download my-component-1.0.jar.
> > > 56/13877K
> > > 60/13877K
> > > 61/13877K
> > > 63/13877K
> > > 64/13877K
> > > 65/13877K
> > > 66/13877K
> > > //... zillion more lines
> > >
> > > Thanks,
> > >
> > > Rk
> > > x77309
> > >
> > > On Wed, 12 Oct 2005 [EMAIL PROTECTED] wrote:
> > >
> > > >
> > > >   Env:
> > > >   
> > > >  JDK 5.0
> > > >  Maven 1.0.2
> > > >  Multiproject plugin: 1.3.1
> > > >
> > > >   Context:
> > > >   
> > > >  I have setup a multiproject dependency as follows:
> > > >(rh
> > > >  (common)
> > > >  (cs)
> > > >  (dal)
> > > >   )
> > > >
> > > > where both cs and dal extend ${basedir}common/project.xml.
> > > >
> > > >   Problem:
> > > >   
> > > > (0) How do I suppress the download progress messages printed by 
> > > > Maven?
> > > > While this looks fine in "real-time", in batched reports, these
> > > > incremental progress updates are listed on separate lines 
> > > > (probably
> > > > becuase CR/LF is used instead of just CR), building up a huge
> > > > preface to the build of a project.
> > > >
> > > >So how do I tell Maven not to print these messages?
> > > >
> > > >
> > > > (1) When triggering the build of dal (either locally or
> > > > thru the multi-project plugin), cs-1.0.jar is built
> > > > deposited into the repository but the build of
> > > > dal fails with the message that cs-SNAPSHOT.jar could not
> > > > be located.
> > > >
> > > > The dependency specs in dal POM identifies cs-${pomVersion}.jar
> > > >  as shown below; why is this lookinh for the SNAPSHOT version?
> > > >
> > > >   
> > > > 
> > > >   dcm
> > > >   cs
> > > >   ${pom.currentVersion}
> > > >   jar
> > > > 
> > > >   
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Rk
> > > > x77309
> > > >
> > >
> > > -
> > > 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 ant tasks] How do I supress logging?

2005-10-14 Thread Brett Porter
It has been lowered to verbose level in the next release.

- Brett

On 10/15/05, Matt Raible <[EMAIL PROTECTED]> wrote:
> In my build.xml, I have the following (outside of any targets):
>
>  uri="urn:maven-artifact-ant">
> 
>  location="${basedir}/lib/maven-artifact-ant-2.0-beta-3-dep.jar" />
> 
> 
>
> 
>
>  filesetId="compile.fileset" useScope="compile">
> 
> 
>
>  filesetId="test.fileset" useScope="test">
> 
> 
>
>  filesetId="runtime.fileset" useScope="runtime">
> 
> 
>
> When I run any targets in my project, I get the following:
>
> [artifact:dependencies] Resolving dependencies...
> [artifact:dependencies] Resolving dependencies...
> [artifact:dependencies] Resolving dependencies...
>
> Is it possible to supress these messages?
>
> Thanks,
>
> Matt
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

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



Re: Maven 2 Ant Tasks - how do I include only runtime dependencies

2005-10-14 Thread Brett Porter
On 10/15/05, Matt Raible <[EMAIL PROTECTED]> wrote:
> This seems to work, but I've had to exclude a lot of dependencies in
> order to trim the JARs down to what I had previous with
> all-jars-in-CVS.  The one I can't seem to get rid of is
> servlet-api-2.4.jar.  Is there a quick way to find out which
> dependency is causing it to be included?

verbose="true" shows the dependency tree. Probably what you want to do
is use it for compiling, so you should explicitly include it, but set
the scope as "provided".

We're aware there are plenty of optional dependencies listed in the
repository for projects previously built with Maven 1.x. We're
steadily improving them, and have one big set of changes to apply. We
figured starting with that and excluding was a better alternative to
starting with nothing - thanks for your help in reporting the issues.

Cheers,
Brett

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



Re: [m102]: Suppresing download progress etc.

2005-10-14 Thread rks
'maven -q' makes it worse: it suppresses other useful info, 
continues to display artifact download progress but without 
listing the name of the artifact being downloaded:

 $ cd acceptance; /vob/enm_jdk/maven1.0.2/bin/maven -q
 Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. 
Attempting to create.
 56/13877K
 60/13877K
 //...
 13877/13877K downloaded
 10/47K 
 //...
 Response content length is not known
 //... rest of it

Thanks,

Rk
x77309

On Sat, 15 Oct 2005, Brett Porter wrote:

> I think maven -q will do this, though it does suppress much of the
> other output too.
> 
> - Brett
> 
> On 10/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Is there anyway to suppress the artifact download progress messages
> > issued by Maven? This looks fine on a console; but in build reports,
> > takes up reams of space:
> >
> > $ maven
> >  __  __
> > |  \/  |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> >
> > Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. 
> > Attempting to create.
> > Attempting to download my-component-1.0.jar.
> > 56/13877K
> > 60/13877K
> > 61/13877K
> > 63/13877K
> > 64/13877K
> > 65/13877K
> > 66/13877K
> > //... zillion more lines
> >
> > Thanks,
> >
> > Rk
> > x77309
> >
> > On Wed, 12 Oct 2005 [EMAIL PROTECTED] wrote:
> >
> > >
> > >   Env:
> > >   
> > >  JDK 5.0
> > >  Maven 1.0.2
> > >  Multiproject plugin: 1.3.1
> > >
> > >   Context:
> > >   
> > >  I have setup a multiproject dependency as follows:
> > >(rh
> > >  (common)
> > >  (cs)
> > >  (dal)
> > >   )
> > >
> > > where both cs and dal extend ${basedir}common/project.xml.
> > >
> > >   Problem:
> > >   
> > > (0) How do I suppress the download progress messages printed by Maven?
> > > While this looks fine in "real-time", in batched reports, these
> > > incremental progress updates are listed on separate lines 
> > > (probably
> > > becuase CR/LF is used instead of just CR), building up a huge
> > > preface to the build of a project.
> > >
> > >So how do I tell Maven not to print these messages?
> > >
> > >
> > > (1) When triggering the build of dal (either locally or
> > > thru the multi-project plugin), cs-1.0.jar is built
> > > deposited into the repository but the build of
> > > dal fails with the message that cs-SNAPSHOT.jar could not
> > > be located.
> > >
> > > The dependency specs in dal POM identifies cs-${pomVersion}.jar
> > >  as shown below; why is this lookinh for the SNAPSHOT version?
> > >
> > >   
> > > 
> > >   dcm
> > >   cs
> > >   ${pom.currentVersion}
> > >   jar
> > > 
> > >   
> > >
> > >
> > > Thanks,
> > >
> > > Rk
> > > x77309
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



[m2 ant tasks] How do I supress logging?

2005-10-14 Thread Matt Raible
In my build.xml, I have the following (outside of any targets):





















When I run any targets in my project, I get the following:

[artifact:dependencies] Resolving dependencies...
[artifact:dependencies] Resolving dependencies...
[artifact:dependencies] Resolving dependencies...

Is it possible to supress these messages?

Thanks,

Matt

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



Re: Maven 2 Ant Tasks - how do I include only runtime dependencies

2005-10-14 Thread Matt Raible
This seems to work, but I've had to exclude a lot of dependencies in
order to trim the JARs down to what I had previous with
all-jars-in-CVS.  The one I can't seem to get rid of is
servlet-api-2.4.jar.  Is there a quick way to find out which
dependency is causing it to be included?

Many of my dependencies seem to require it. FWIW, there seems to be a
lot of trial-and-error to prevent WEB-INF/lib bloat with unnecessary
dependencies. Below is what I've come up with so far - 212 lines of
XML to replace 10MB in CVS
(https://equinox.dev.java.net/source/browse/equinox/web/WEB-INF/lib/).

Thanks,

Matt


4.0.0
org.appfuse
equinox
war
1.5



cargo
cargo
0.5
test


ant
ant


xml-apis
xml-apis


xercesImpl
xerces




commons-lang
commons-lang
2.0


displaytag
displaytag
1.0
runtime


commons-beanutils
commons-beanutils


struts
struts


tools
jdk


webwork
opensymphony


xwork
opensymphony




hibernate
org.hibernate
3.0.5
compile


ant
ant


avalon-framework
avalon-framework


concurrent
concurrent


jacc
javax.security


jboss-cache
jboss


jboss-common
jboss


jboss-j2se
jboss


jboss-minimal
jboss


jboss-system
jboss


jta
javax.transaction


logkit
logkit


odmg
odmg


proxool
proxool




geronimo-spec-jta
geronimo-spec
1.0.1B-rc4


jmock
jmock
1.0.1
test


junit
junit




junit
junit
3.8.1
test


jwebunit
jwebunit
1.2
test


servletapi
servletapi




log4j
log4j
1.2.11


postgresql
postgresql
8.0-312.jdbc3


servlet-api
javax.servlet
2.4
provided


sitemesh
opensymphony
2.2.1
runtime


springmodules-validator
springmodules
0.1


servlet-api
javax.servlet




spring
springframework
1.2.5


spring-mock
springframework
1.2.5
test


spring-jdbc
springframework


spring-web
springframework








On 10/14/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> Yes, the pom is the easiest way - otherwise we'd need to have one of
> each of the Id parameters for each scope.
>
> - Brett
>
> On 10/15/05, Matt Raible <[EMAIL PROTECTED]> wrote:
> > On 10/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > I share Matt's conc

Re: [M2] Using taglets in javadoc:javadoc

2005-10-14 Thread Brett Porter
${localRepository} instead of ${maven.repo.local} and putting the
dependency inside the plugin element is probably the most effective
use of it.

I agree it should not be necessary to give the local path - perhaps
you could record a feature request?

- Brett

On 10/14/05, Bruno Essmann <[EMAIL PROTECTED]> wrote:
> Hi all!
>
> As a test I've been trying to convert one of our projects to M2.
>
> The project in question makes use of a custom taglet library during
> creation of the project documentation.
>
> In spirit of Maven I thought I could simply add the taglet library
> to an internal repository and add a dependency to it in the project.
>
> Here's what I did in the project POM to achieve this:
>
> 
>...
>
>  
>ch.ergon.libx
>taglet
>1.2.1
>compile
>  
>
>...
> 
>
> I was a little puzzled that there is no 'report' scope but since I'm
> new to M2 I thought what the heck, let's try with 'compile'...
>
> OK, next I tried to add a configuration to the javadoc:javadoc goal
> that ensures that the taglet is used:
>
> 
>...
>
>  
>
>  org.apache.maven.plugins
>  maven-javadoc-plugin
>  
>ch.ergon.libx.taglet.ETaglets
>
> ${maven.repo.local}/ch/ergon/libx/taglet/1.2.1/taglet-1.2.1.jar
>  
>
>  
>
>...
> 
>
> Looks like a very ugly workaround that I have to include to dependency
> again, but then I wanted to use the taglet from the repository and
> though I'd just give it a try and clean up afterwards.
>
> As it turns out however ${maven.repo.local} is not available at all
> (i.e. the log shows a conversion to 'null') and the whole story doesn't
> feel right anyway like this...
>
> ... therefore: "What is the suggested method of using taglets?"
>
> In an ideal world the taglet would just be stored in the maven repository,
> could be added as a dependency and be included automatically.
>
> In hopes that I'm not the first trying to get taglets to work with M2, :)
> // Bruno
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

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



Re: Maven 2 Ant Tasks - how do I include only runtime dependencies

2005-10-14 Thread Brett Porter
Yes, the pom is the easiest way - otherwise we'd need to have one of
each of the Id parameters for each scope.

- Brett

On 10/15/05, Matt Raible <[EMAIL PROTECTED]> wrote:
> On 10/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > I share Matt's concern.   It'd be nice if I can do something like:
> >
> >  > pathId="project.classpath.core" filesetId="project.classpath.fileset">
> > 
> > 
> > 
> >
>
> You can do this:
>
> 
> What I'm trying to avoid was having  3 times in
> my build.xml file - mainly b/c I want to specify the dependencies
> inline.  I'm fine with using a pom like you do - I just wanted to make
> sure that this was the easiest way to do this.
>
> Matt
>
> > There's no way to make dependencies accept a paramter as a filter akin
> > to syslog's levle scheme?  Test meaning everything, compile meaning a
> > base set and runtime just a small set?  Cue people to chime in w/
> > counter examples if they exist.
> >
> > Dave Brondsema wrote:
> >
> > >Matt Raible wrote:
> > >
> > >
> > >>I'm just starting to play around with Maven 2's Ant tasks.  While I
> > >>like the transitive dependencies, it seems like I have to exclude more
> > >>than I'd normally include. ;-)
> > >>
> > >>Onto my question - is it possible to declare a single
> > >>, set the scopes appropriately and then
> > >>copy/include only the compile+runtime JARS in WEB-INF/lib?  As far as
> > >>I can tell this is not possible - unless you declare dependencies in a
> > >>pom.xml and use different  for compile, test
> > >>and runtime.
> > >>
> > >>
> > >>
> > >
> > >What's wrong with that?  It's good to seperate concerns of {project
> > >dependency info} with {project build functionality}.  In my case it's
> > >necessary because we use Ant imports to achieve a generic ant build tool
> > >(same functionality everywhere) with configuration files, like pom.xml,
> > >for each project (different dependencies for each project).
> > >
> > >
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

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



Re: [m2] Maven release plugin and CVS: bug?

2005-10-14 Thread Brett Porter
On 10/15/05, Yann Le Du <[EMAIL PROTECTED]> wrote:
> Now the odd part : I recently removed  and  and it's still
> working. I can't tell why...

This is a consequence of svn - it caches the information.

- Brett

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



Re: [m2] artifact:dependencies and EAR generation probleme

2005-10-14 Thread Brett Porter
Use ant's flatten mapper:



On 10/15/05, Antonio PAROLINI <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to put jars referenced by a pom into an EAR using a ant
> task:
> ---
>  
> 
>
> 
>
>  compress="false" destfile="${ear}">
> 
> 
>   
> ---
>
> The probleme is that this generates an EAR file with the jar fullpath.
>
> My ear will look like:
>  groupID/artifact/version/myjar1.jar
>  groupID/artifact/version/myjar2.jar
>  groupID/artifact/version/myjar2r.jar
>
> instead of:
> myjar1.jar
> myjar2.jar
> myjar3.jar
>
> Any idea of to correct this ?
>
> Thanks in advance.
>
> -antonio
>
>
>
> **
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> **
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

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



Re: [m102]: Suppresing download progress etc.

2005-10-14 Thread Brett Porter
I think maven -q will do this, though it does suppress much of the
other output too.

- Brett

On 10/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is there anyway to suppress the artifact download progress messages
> issued by Maven? This looks fine on a console; but in build reports,
> takes up reams of space:
>
> $ maven
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>
> Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. 
> Attempting to create.
> Attempting to download my-component-1.0.jar.
> 56/13877K
> 60/13877K
> 61/13877K
> 63/13877K
> 64/13877K
> 65/13877K
> 66/13877K
> //... zillion more lines
>
> Thanks,
>
> Rk
> x77309
>
> On Wed, 12 Oct 2005 [EMAIL PROTECTED] wrote:
>
> >
> >   Env:
> >   
> >  JDK 5.0
> >  Maven 1.0.2
> >  Multiproject plugin: 1.3.1
> >
> >   Context:
> >   
> >  I have setup a multiproject dependency as follows:
> >(rh
> >  (common)
> >  (cs)
> >  (dal)
> >   )
> >
> > where both cs and dal extend ${basedir}common/project.xml.
> >
> >   Problem:
> >   
> > (0) How do I suppress the download progress messages printed by Maven?
> > While this looks fine in "real-time", in batched reports, these
> > incremental progress updates are listed on separate lines (probably
> > becuase CR/LF is used instead of just CR), building up a huge
> > preface to the build of a project.
> >
> >So how do I tell Maven not to print these messages?
> >
> >
> > (1) When triggering the build of dal (either locally or
> > thru the multi-project plugin), cs-1.0.jar is built
> > deposited into the repository but the build of
> > dal fails with the message that cs-SNAPSHOT.jar could not
> > be located.
> >
> > The dependency specs in dal POM identifies cs-${pomVersion}.jar
> >  as shown below; why is this lookinh for the SNAPSHOT version?
> >
> >   
> > 
> >   dcm
> >   cs
> >   ${pom.currentVersion}
> >   jar
> > 
> >   
> >
> >
> > Thanks,
> >
> > Rk
> > x77309
> >
>
> -
> 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-b3] running a non-aggregator plugin after local install only

2005-10-14 Thread Brett Porter
No, the plugins are only unloaded when reinstalled, but they are
unlikely to be the cause for this.

How large is your reactor?

- Brett

On 10/15/05, John Fallows <[EMAIL PROTECTED]> wrote:
> Thanks Brett,
>
> On 10/13/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> > This is fixed in the next Maven release (see it0013 for an example).
> > After traversing some hairy classloading issues, plugins can now be
> > reloaded during an execution which should pave the way for a console
> > and easier to use scripting.
>
> Would that also support more streamlined memory usage?
>
> I sometimes see an OutOfMemoryError for complex reactor builds, but if
> plugins could be executed and then unloaded, the steady-state memory
> usage should be much more constant, right?
>
> Kind Regards,
> John Fallows.
>
> > On 10/13/05, John Fallows <[EMAIL PROTECTED]> wrote:
> > > Folks,
> > >
> > > I developing a "non-aggregator" plugin that is manually executed on
> > > the command line using the goal name, in much the same way as "m2
> > > idea:idea" is executed.
> > >
> > > However, this "custom:custom" plugin is still under development and so
> > > it has a n.m-SNAPSHOT version and has never been deployed to any
> > > central repository.  Instead, it has been installed locally, so that
> > > it can be tested before the first official "release".
> > >
> > > When trying to run the plugin after a local install, I get the
> > > following exception.
> > >
> > > [INFO] Cannot find mojo descriptor for: 'custom:custom' - Treating as
> > > non-aggregator.
> > > [INFO] 
> > > 
> > > [INFO] Building Maven Plugin Parent
> > > [INFO]task-segment: [custom:custom]
> > > [INFO] 
> > > 
> > > [INFO] 
> > > 
> > > [ERROR] FATAL ERROR
> > > [INFO] 
> > > 
> > > [INFO] Diagnosis: Error resolving plugin version
> > > [INFO] 
> > > 
> > > [INFO] 
> > > 
> > > [ERROR] FATAL ERROR
> > > [INFO] 
> > > 
> > > FATAL ERROR: Error executing Maven for a project
> > > Error stacktrace:
> > > org.apache.maven.reactor.ReactorException: Error executing project
> > > within the reactor
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:282)
> > > 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: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.lifecycle.LifecycleExecutionException:
> > > Error resolving plugin version
> > > at 
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycl
> > > eExecutor.java:1286)
> > > at 
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLife
> > > cycleExecutor.java:516)
> > > at 
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecu
> > > tor.java:498)
> > > at 
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecy
> > > cleExecutor.java:307)
> > > at 
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.
> > > java:149)
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217)
> > > ... 9 more
> > > Caused by: 
> > > org.apache.maven.plugin.version.PluginVersionResolutionException:
> > > Error resolving version for
> > > 'org.custom.maven.plugins:maven-custom-plugin': Failed to resolve a
> > > valid version for this plugin
> > > at 
> > > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(Defa
> > > ultPluginVersionManager.java:202)
> > > at 
> > > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(Defa
> > > ultPluginVersionManager.java:79)
> > > at 
> > > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:1
> > > 56)
> > > a

Re: Class Path for Unit Tests

2005-10-14 Thread Johnny R. Ruiz

Marrs,

You could put your Hibernate HMB files in the default Test Resource 
folder  ${basedir}/src/test/resources so your unit tests can see them.
Or if you prefer to put your test resources on other folder then you can 
configure your POM.XML just like this: (Note: doing this will override 
your default test resources folder)


..
 
  

   
 
   resource
   
   **/*.xml
   
 
   


Cheers,
Johnny




Marrs, Thomas wrote:


I have Junit tests that work with Spring and Hibernate, so I have to access
a Spring Bean config file along with hibernate.cfg.xml.
I also have a bunch of Hibenrate HBM files.

Where should they go so that Maven 2 can see them when it runs
surefire:test?

I tried adding the following to my project-level (not my top-level) POM, but
it didn't work:

---
 
 
   
 resources
 
   **/*.xml
 
   
 
 
--- 


It couldn't find the Spring Bean config file or hibernate.cfg.xml file even
though they're in the project's resources/ directory. Why?
What did I do wrong? Am I missing something?

I also tried it without the  wrapping the , but it
still didn't work.

Thanks for your help.

Tom
The information in this electronic mail message is sender's business
Confidential and may be legally privileged. It is intended solely for the
addressee(s). Access to this Internet electronic mail message by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it is prohibited and may be unlawful.  
The sender believes that this E-mail and any attachments were free of any

virus, worm, Trojan horse, and/or malicious code when sent. This message and
its attachments could have been infected during transmission. By reading the
message and opening any attachments, the recipient accepts full
responsibility for taking protective and remedial action about viruses and
other defects. Cendant is not liable for any loss or damage arising in any
way from this message or its attachments.

 




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



Re: [m2] Local vs Remote Repository

2005-10-14 Thread Edwin Punzalan

Hi.

A repository is a place for m2 to get artifacts.  I doubt if that can be 
disabled though.


There is, however, "-o" which will disable all remote activities in 
m2... yes, it disables the retrieval of artifacts from the repository, 
but also other offlince tasks like scm activities.


The local repository is a cache of the remote repository for used 
artifacts. 

I haven't tried specifying the local repo as the remote repo in pom.xml 
(I'm don't recommend this btw), but I guess that should work if you're 
sure to have all your artifacts in that repo.



Russell, Mark wrote:


Is it possible to configure a project (pom.xml) to use a repository
located on disk, without the build copying jars from that repository to
the "local" repository in the users profile?



Additionally, can this be done without pointing the pom.xml to the
"local" repository in the users profile.



MAR


 



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



Class Path for Unit Tests

2005-10-14 Thread Marrs, Thomas
I have Junit tests that work with Spring and Hibernate, so I have to access
a Spring Bean config file along with hibernate.cfg.xml.
I also have a bunch of Hibenrate HBM files.

Where should they go so that Maven 2 can see them when it runs
surefire:test?

I tried adding the following to my project-level (not my top-level) POM, but
it didn't work:

---
  
  

  resources
  
**/*.xml
  

  
  
--- 

It couldn't find the Spring Bean config file or hibernate.cfg.xml file even
though they're in the project's resources/ directory. Why?
What did I do wrong? Am I missing something?

I also tried it without the  wrapping the , but it
still didn't work.

Thanks for your help.

Tom
The information in this electronic mail message is sender's business
Confidential and may be legally privileged. It is intended solely for the
addressee(s). Access to this Internet electronic mail message by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it is prohibited and may be unlawful.  
The sender believes that this E-mail and any attachments were free of any
virus, worm, Trojan horse, and/or malicious code when sent. This message and
its attachments could have been infected during transmission. By reading the
message and opening any attachments, the recipient accepts full
responsibility for taking protective and remedial action about viruses and
other defects. Cendant is not liable for any loss or damage arising in any
way from this message or its attachments.


RE: [m2] Maven release plugin and CVS: bug?

2005-10-14 Thread Yann Le Du
Hi Fabrice,

I am using SVN, but had the same kind of problem (at first).

In your release plugin configuration, did you also provide , along
 ? I provided both, and it worked.

Now the odd part : I recently removed  and  and it's still
working. I can't tell why...

Michael McCrann was also trying the release plugin with CVS, and seemed to have
come further than you. Maybe he'll be able to help you ?
http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112925914521071&w=2

Regards,
Yann

--- [EMAIL PROTECTED] a écrit :

> 
> 
> 
> 
> Hi guys,
> 
> I'm trying to make the maven release plugin work, but I always get the same
> error when running "m2 release:prepare -Dtag=...":
> 
> [INFO] [release:prepare]
> [INFO] Verifying there are no local modifications ...
> Provider message:
> The cvs command failed.
> Command output:
> cvs update: Empty password used - try 'cvs login' with a real password
> cvs [update aborted]: authorization failed: server localhost rejected
> access to C:\cvsRepo for user e222731
> 
> This occurs although the .cvspass exists in my user home and it is valid
> with the right password (the changes plugin can connect to the CVS - even
> if it generates an empty report...).
> 
> Is there something special to do to make this plugin work connect to CVS
> correctly? I tried the "password" config parameter for the release plugin,
> but this does not work...
> 
> Am I missing something? Did someone manage to make it work with CVS or is
> it a bug that I will fill in JIRA?
> 
> Thanks!
> 
> Best Regards / Cordialement,
> Fabrice BELLINGARD
> DINQ/DSIN/INSI/EATE/IDVS/AIDV
> (+33) (01 61) 45 15 91  -  [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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



Re: [m2b3] Fails to find the RELEASE version of my plugin in my corp. repo WAS RE: [jira] Commented: (MNG-916) RELEASE gets selected as a version

2005-10-14 Thread Yann Le Du
That does the trick. Oddly, I had come with the idea that deploy was only meant
to install a project in a certain environment (e.g., production).

Thanks for your help in this hard final release time !
Yann

--- Brett Porter <[EMAIL PROTECTED]> a écrit :

> On 10/14/05, Yann Le Du <[EMAIL PROTECTED]> wrote:
> > However, I need my plugin be available from remote users. Apparently, the
> only
> > way to achieve that in m2b3 is to provide a maven-metadata.xml (without
> -local
> > suffix).
> 
> m2 deploy (in combination with the distributionManagement section)
> will share the plugin in a remote repository.
> 
> - Brett
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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



[urgent] Proxy Properties in Maven1.0.2 for GridPort3.5.1

2005-10-14 Thread F-a-r-h-a-n-a

There are already 2-3 mirror sites defined…wat I want to know is how to 
set Proxy properties using maven1.0.2 like :

(maven.proxy.host

. 

 

maven.proxy.port)

 

in ${user.home}/build.properties file. Plz specify the location of this 
${user.home}/build.properties  file………Im unable to find it ...HELP!!!

 

Farhana 

BS(CS) //final year

Dept of Computer Science & IT

Jinnah University for Women  www.juw.edu.pk

Karachi, Pakistan .

 
 
 
 


Carlos Sanchez <[EMAIL PROTECTED]> wrote:
${user.home} is your $HOME in linux
maven always checks first local repo under ${user.home}/.maven/repository
your proxy properties depend on your network, you must find out.

On 10/14/05, F-a-r-h-a-n-a wrote:
>
> Ok now I understand about reference properties……since im new to MAVEN 1.0.2 
> can u plz tell me where do I 'll find ${user.home}/build.properties file to 
> make proxy changes or is there any way through which I can direct MAVEN to 
> use local repository instead of remote one . I have downloaded all the 
> dependency jar files separately in the local repo ..How can I use local 
> repo…Also plz plz specify how do I make changes in proxy 
> properties ? In which file ? also specify the location of that file on Redhat 
> Linux 9……..online or offline I have to settle this repo and jar file problem 
> before Monday………..i've got project to submit plz HELP!
>
>
>
> Farhana
>
>
>
> Brett Porter 
wrote:http://maven.apache.org/reference/properties.html#Proxy_Properties
>
> On 10/14/05, F-a-r-h-a-n-a wrote:
> > i didnt get it ur pointplz tell me how do i configure proxy for these 
> > serverplz be more specifici have downloaded these jar 
> > files separately but how do i copied them in repository...how do i know 
> > about groupID/artifactID/version/plz Help
> >
> >
> >
> > looking forward for the response
> >
> >
> >
> >
> >
> > Farhana
> >
> > BS(CS) //final year
> >
> > Dept of Computer Science & IT
> >
> > Jinnah University for Women www.juw.edu.pk
> >
> > Karachi, Pakistan .
> >
> >
> >
> >
> > Brett Porter
> wrote:
> > Your host can't reach these servers:
> >
> > On 10/14/05, F-a-r-h-a-n-a wrote:
> > > Error retrieving artifact from 
> > > [http://cuero.tacc.utexas.edu/maven/maven/plugins/maven-artifact-plugin-1.5.2.jar]:
> > >  java.net.UnknownHostException: cuero.tacc.utexas.edu
> > >
> > > Error retrieving artifact from 
> > > [http://www.ibiblio.org/maven/maven/plugins/maven-artifact-plugin-1.5.2.jar]:
> > >  java.net.UnknownHostException: www.ibiblio.org
> >
> >
> > Perhaps you need to configure a proxy? See the FAQ for details.
> >
> > -Brett
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > O assembly of jinn and men, if you are able to pass through the confines of 
> > the heavens and the earth, pass through; but you shall not pass through 
> > except with authority _(33)so which your Lord's bounties will you two deny? 
> > (34) [Surah Ar-Rehman]
> >
> >
> >
> >
> > -
> > Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
> O assembly of jinn and men, if you are able to pass through the confines of 
> the heavens and the earth, pass through; but you shall not pass through 
> except with authority _(33)so which your Lord's bounties will you two deny? 
> (34) [Surah Ar-Rehman]
>
>
>
>
>
>
> -
> Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
>


   
O assembly of jinn and men, if you are able to pass through the confines of the 
heavens and the earth, pass through; but you shall not pass through except with 
authority _(33)so which your Lord's bounties will you two deny? (34) [Surah 
Ar-Rehman]

 




-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Re: How to update dependencies in project.xml with Eclipse?

2005-10-14 Thread Guo, Jiaqi
Have you tried mevenide(http://mevenide.codehaus.org). With this plugin, 
the POM synchronizer could be the solution for you. Good luck.



Regards

Jiaqi Guo
http://www.cyclopsgroup.com

Siegfried Heintze wrote:


Is there an easy way to add dependencies to the project.xml file? It seems
to me you should be able to just click on something instead of having to cut
and paste into that project.xml file. There is that nice repository view. I
tried double clicking on the modules but no luck.
Thanks,
Siegfried


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


 




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



How to update dependencies in project.xml with Eclipse?

2005-10-14 Thread Siegfried Heintze

Is there an easy way to add dependencies to the project.xml file? It seems
to me you should be able to just click on something instead of having to cut
and paste into that project.xml file. There is that nice repository view. I
tried double clicking on the modules but no luck.
Thanks,
Siegfried


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



[urgent]Problem in Maven1.0.2 for Grid Portal development

2005-10-14 Thread F-a-r-h-a-n-a

Hi

 

I have installed Maven1.0.2 as prerequisites software for GridPort3.5.1 
http://gridport.net/index.cgi   on Red hat Linux 9.0 ……..Maven1.0.2 is 
successfully installed and while installing GridPort3.5.1 when I run the 
command MAVEN  it gives following error of missing jar files in the default 
repositiry………I have run the following command to auto download that jar files 
from mirror sites :

For Unix:

  $MAVEN_HOME/bin/install_repo.sh $HOME/.maven/repository

 

I have also downloaded the jar files individually and copied them in the maven 
repository but the error remains same…. Plz suggest how do I resolve this 
problem .

 

Due to these dependency jar files I cannot carry on the installation of 
GridPort3.5.1 Toolkit for the development of Grid Portal.

 

since im new to MAVEN 1.0.2 can u plz tell me  where do I ‘ll find 
${user.home}/build.properties file to make proxy changes or is there any way 
through which  I can direct MAVEN to use local repository instead of remote one 
. I have downloaded all the dependency jar files separately in the local repo 
..How can I use local repo…Also plz plz specify how do I make 
changes in proxy properties ? In which file ? also specify the location of that 
file on Redhat Linux 9……..online or offline I have to settle this repo and jar 
file problem before Monday………..i’ve got project to submit plz HELP!

 

 

Please response as soon as possible.

 

Below is the error that comes running MAVEN command during GridPort 
installation.

 

__  __

|  \/  |__ _Apache__ ___

| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~

|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

 

Attempting to download maven-artifact-plugin-1.5.2.jar.

Error retrieving artifact from 
[http://cuero.tacc.utexas.edu/maven/maven/plugins/maven-artifact-plugin-1.5.2.jar]:
 java.net.UnknownHostException: cuero.tacc.utexas.edu

Error retrieving artifact from 
[http://www.ibiblio.org/maven/maven/plugins/maven-artifact-plugin-1.5.2.jar]: 
java.net.UnknownHostException: www.ibiblio.org

WARNING: Failed to download maven-artifact-plugin-1.5.2.jar.

Attempting to download maven-xdoc-plugin-1.9.1.jar.

Error retrieving artifact from 
[http://cuero.tacc.utexas.edu/maven/maven/plugins/maven-xdoc-plugin-1.9.1.jar]: 
java.net.UnknownHostException: cuero.tacc.utexas.edu

Error retrieving artifact from 
[http://www.ibiblio.org/maven/maven/plugins/maven-xdoc-plugin-1.9.1.jar]: 
java.net.UnknownHostException: www.ibiblio.org

WARNING: Failed to download maven-xdoc-plugin-1.9.1.jar.

Attempting to download maven-site-plugin-1.6.1.jar.

Error retrieving artifact from 
[http://cuero.tacc.utexas.edu/maven/maven/plugins/maven-site-plugin-1.6.1.jar]: 
java.net.UnknownHostException: cuero.tacc.utexas.edu

Error retrieving artifact from 
[http://www.ibiblio.org/maven/maven/plugins/maven-site-plugin-1.6.1.jar]: 
java.net.UnknownHostException: www.ibiblio.org

WARNING: Failed to download maven-site-plugin-1.6.1.jar.

Attempting to download maven-scm-plugin-1.5-beta-3.jar.

Error retrieving artifact from 
[http://cuero.tacc.utexas.edu/maven/maven/plugins/maven-scm-plugin-1.5-beta-3.jar]:
 java.net.UnknownHostException: cuero.tacc.utexas.edu

Error retrieving artifact from 
[http://www.ibiblio.org/maven/maven/plugins/maven-scm-plugin-1.5-beta-3.jar]: 
java.net.UnknownHostException: www.ibiblio.org

WARNING: Failed to download maven-scm-plugin-1.5-beta-3.jar.

Attempting to download gridport-3.1.jar.

java.net.UnknownHostException: www.ibiblio.org

WARNING: Failed to download gridport-3.1.jar.

Attempting to download cog-jglobus.jar.

Error retrieving artifact from 
[http://cuero.tacc.utexas.edu/maven/gridport-security/jars/cog-jglobus.jar]: 
java.net.UnknownHostException: cuero.tacc.utexas.edu

Error retrieving artifact from 
[http://www.ibiblio.org/maven/gridport-security/jars/cog-jglobus.jar]: 
java.net.UnknownHostException: www.ibiblio.org

WARNING: Failed to download cog-jglobus.jar.

Attempting to download soap-2.3.1.jar.

]: java.net.UnknownHostException: cuero.tacc.utexas.edu]: 
java.net.UnknownHostException: www.ibiblio.org

WARNING: Failed to download soap-2.3.1.jar.

Attempting to download hibernate-2.1.8.jar.

Error retrieving artifact from 
[http://cuero.tacc.utexas.edu/maven/hibernate/jars/hibernate-2.1.8.jar]: 
java.net.UnknownHostException: cuero.tacc.utexas.edu

Error retrieving artifact from 
[http://www.ibiblio.org/maven/hibernate/jars/hibernate-2.1.8.jar]: 
java.net.UnknownHostException: www.ibiblio.org

WARNING: Failed to download hibernate-2.1.8.jar.

Attempting to download spring-1.1.jar.

Error retrieving artifact from 
[http://cuero.tacc.utexas.edu/maven/springframework/jars/spring-1.1.jar]: 
java.net.UnknownHostException: cuero.tacc.utexas.edu

Error retrieving artifact from 
[http://www.ibiblio.org/maven/springframework/jars/spring-1.1.jar]: 
java.net.UnknownHostException: www.ibiblio.org

WARNING: Failed to download spring-1.1.jar.

Attempting to download aopalliance-1.0.jar.

Er

Re: [urgent] repository jar files problem in Maven1.0.2

2005-10-14 Thread Carlos Sanchez
${user.home} is your $HOME in linux
maven always checks first local repo under ${user.home}/.maven/repository
your proxy properties depend on your network, you must find out.

On 10/14/05, F-a-r-h-a-n-a <[EMAIL PROTECTED]> wrote:
>
> Ok now  I understand about  reference properties……since im new to MAVEN 1.0.2 
> can u plz tell me  where do I 'll find ${user.home}/build.properties file to 
> make proxy changes or is there any way through which  I can direct MAVEN to 
> use local repository instead of remote one . I have downloaded all the 
> dependency jar files separately in the local repo ..How can I use local 
> repo…Also plz plz specify how do I make changes in proxy 
> properties ? In which file ? also specify the location of that file on Redhat 
> Linux 9……..online or offline I have to settle this repo and jar file problem 
> before Monday………..i've got project to submit plz HELP!
>
>
>
> Farhana
>
>
>
> Brett Porter <[EMAIL PROTECTED]> 
> wrote:http://maven.apache.org/reference/properties.html#Proxy_Properties
>
> On 10/14/05, F-a-r-h-a-n-a wrote:
> > i didnt get it ur pointplz tell me how do i configure proxy for these 
> > serverplz be more specifici have downloaded these jar 
> > files separately but how do i copied them in repository...how do i know 
> > about groupID/artifactID/version/plz Help
> >
> >
> >
> > looking forward for the response
> >
> >
> >
> >
> >
> > Farhana
> >
> > BS(CS) //final year
> >
> > Dept of Computer Science & IT
> >
> > Jinnah University for Women www.juw.edu.pk
> >
> > Karachi, Pakistan .
> >
> >
> >
> >
> > Brett Porter
> wrote:
> > Your host can't reach these servers:
> >
> > On 10/14/05, F-a-r-h-a-n-a wrote:
> > > Error retrieving artifact from 
> > > [http://cuero.tacc.utexas.edu/maven/maven/plugins/maven-artifact-plugin-1.5.2.jar]:
> > >  java.net.UnknownHostException: cuero.tacc.utexas.edu
> > >
> > > Error retrieving artifact from 
> > > [http://www.ibiblio.org/maven/maven/plugins/maven-artifact-plugin-1.5.2.jar]:
> > >  java.net.UnknownHostException: www.ibiblio.org
> >
> >
> > Perhaps you need to configure a proxy? See the FAQ for details.
> >
> > -Brett
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > O assembly of jinn and men, if you are able to pass through the confines of 
> > the heavens and the earth, pass through; but you shall not pass through 
> > except with authority _(33)so which your Lord's bounties will you two deny? 
> > (34) [Surah Ar-Rehman]
> >
> >
> >
> >
> > -
> > Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
> O assembly of jinn and men, if you are able to pass through the confines of 
> the heavens and the earth, pass through; but you shall not pass through 
> except with authority _(33)so which your Lord's bounties will you two deny? 
> (34) [Surah Ar-Rehman]
>
>
>
>
>
>
> -
>  Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
>


Re: [urgent] repository jar files problem in Maven1.0.2

2005-10-14 Thread F-a-r-h-a-n-a

Ok now  I understand about  reference properties……since im new to MAVEN 1.0.2 
can u plz tell me  where do I ‘ll find ${user.home}/build.properties file to 
make proxy changes or is there any way through which  I can direct MAVEN to use 
local repository instead of remote one . I have downloaded all the dependency 
jar files separately in the local repo ..How can I use local 
repo…Also plz plz specify how do I make changes in proxy properties 
? In which file ? also specify the location of that file on Redhat Linux 
9……..online or offline I have to settle this repo and jar file problem before 
Monday………..i’ve got project to submit plz HELP!

 

Farhana



Brett Porter <[EMAIL PROTECTED]> 
wrote:http://maven.apache.org/reference/properties.html#Proxy_Properties

On 10/14/05, F-a-r-h-a-n-a wrote:
> i didnt get it ur pointplz tell me how do i configure proxy for these 
> serverplz be more specifici have downloaded these jar 
> files separately but how do i copied them in repository...how do i know 
> about groupID/artifactID/version/plz Help
>
>
>
> looking forward for the response
>
>
>
>
>
> Farhana
>
> BS(CS) //final year
>
> Dept of Computer Science & IT
>
> Jinnah University for Women www.juw.edu.pk
>
> Karachi, Pakistan .
>
>
>
>
> Brett Porter 
wrote:
> Your host can't reach these servers:
>
> On 10/14/05, F-a-r-h-a-n-a wrote:
> > Error retrieving artifact from 
> > [http://cuero.tacc.utexas.edu/maven/maven/plugins/maven-artifact-plugin-1.5.2.jar]:
> >  java.net.UnknownHostException: cuero.tacc.utexas.edu
> >
> > Error retrieving artifact from 
> > [http://www.ibiblio.org/maven/maven/plugins/maven-artifact-plugin-1.5.2.jar]:
> >  java.net.UnknownHostException: www.ibiblio.org
>
>
> Perhaps you need to configure a proxy? See the FAQ for details.
>
> -Brett
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> O assembly of jinn and men, if you are able to pass through the confines of 
> the heavens and the earth, pass through; but you shall not pass through 
> except with authority _(33)so which your Lord's bounties will you two deny? 
> (34) [Surah Ar-Rehman]
>
>
>
>
> -
> Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
>

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




   
O assembly of jinn and men, if you are able to pass through the confines of the 
heavens and the earth, pass through; but you shall not pass through except with 
authority _(33)so which your Lord's bounties will you two deny? (34) [Surah 
Ar-Rehman]

 




-
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

[m2] Local vs Remote Repository

2005-10-14 Thread Russell, Mark
Is it possible to configure a project (pom.xml) to use a repository
located on disk, without the build copying jars from that repository to
the "local" repository in the users profile?

 

Additionally, can this be done without pointing the pom.xml to the
"local" repository in the users profile.

 

MAR



Re: Maven 2 Ant Tasks - how do I include only runtime dependencies

2005-10-14 Thread Matt Raible
On 10/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I share Matt's concern.   It'd be nice if I can do something like:
>
>  pathId="project.classpath.core" filesetId="project.classpath.fileset">
> 
> 
> 
>

You can do this:

 3 times in
my build.xml file - mainly b/c I want to specify the dependencies
inline.  I'm fine with using a pom like you do - I just wanted to make
sure that this was the easiest way to do this.

Matt

> There's no way to make dependencies accept a paramter as a filter akin
> to syslog's levle scheme?  Test meaning everything, compile meaning a
> base set and runtime just a small set?  Cue people to chime in w/
> counter examples if they exist.
>
> Dave Brondsema wrote:
>
> >Matt Raible wrote:
> >
> >
> >>I'm just starting to play around with Maven 2's Ant tasks.  While I
> >>like the transitive dependencies, it seems like I have to exclude more
> >>than I'd normally include. ;-)
> >>
> >>Onto my question - is it possible to declare a single
> >>, set the scopes appropriately and then
> >>copy/include only the compile+runtime JARS in WEB-INF/lib?  As far as
> >>I can tell this is not possible - unless you declare dependencies in a
> >>pom.xml and use different  for compile, test
> >>and runtime.
> >>
> >>
> >>
> >
> >What's wrong with that?  It's good to seperate concerns of {project
> >dependency info} with {project build functionality}.  In my case it's
> >necessary because we use Ant imports to achieve a generic ant build tool
> >(same functionality everywhere) with configuration files, like pom.xml,
> >for each project (different dependencies for each project).
> >
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: Maven 2 Ant Tasks - how do I include only runtime dependencies

2005-10-14 Thread [EMAIL PROTECTED]

I share Matt's concern.   It'd be nice if I can do something like:

   pathId="project.classpath.core" filesetId="project.classpath.fileset">

   
   
   

There's no way to make dependencies accept a paramter as a filter akin 
to syslog's levle scheme?  Test meaning everything, compile meaning a 
base set and runtime just a small set?  Cue people to chime in w/ 
counter examples if they exist.


Dave Brondsema wrote:


Matt Raible wrote:
 


I'm just starting to play around with Maven 2's Ant tasks.  While I
like the transitive dependencies, it seems like I have to exclude more
than I'd normally include. ;-)

Onto my question - is it possible to declare a single
, set the scopes appropriately and then
copy/include only the compile+runtime JARS in WEB-INF/lib?  As far as
I can tell this is not possible - unless you declare dependencies in a
pom.xml and use different  for compile, test
and runtime.

   



What's wrong with that?  It's good to seperate concerns of {project
dependency info} with {project build functionality}.  In my case it's
necessary because we use Ant imports to achieve a generic ant build tool
(same functionality everywhere) with configuration files, like pom.xml,
for each project (different dependencies for each project).

 




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



Re: Maven 2 Ant Tasks - how do I include only runtime dependencies

2005-10-14 Thread Matt Raible
On 10/14/05, Dave Brondsema <[EMAIL PROTECTED]> wrote:
> Matt Raible wrote:
> > I'm just starting to play around with Maven 2's Ant tasks.  While I
> > like the transitive dependencies, it seems like I have to exclude more
> > than I'd normally include. ;-)
> >
> > Onto my question - is it possible to declare a single
> > , set the scopes appropriately and then
> > copy/include only the compile+runtime JARS in WEB-INF/lib?  As far as
> > I can tell this is not possible - unless you declare dependencies in a
> > pom.xml and use different  for compile, test
> > and runtime.
> >
>
> What's wrong with that?  It's good to seperate concerns of {project
> dependency info} with {project build functionality}.  In my case it's
> necessary because we use Ant imports to achieve a generic ant build tool
> (same functionality everywhere) with configuration files, like pom.xml,
> for each project (different dependencies for each project).
>

There's nothing wrong with it per se.  I just want to know if it's
possible to do the simple way (single build.xml file) as well as the
more complicated way (build.xml + pom.xml).  Using a pom.xml certainly
makes sense for larger projects, but what about a simple 5 page, 15
class web application?  Also, I find the Ant task syntax more consice
to read b/c it uses attributes over elements.

Of course, since most folks on this list probably use Maven (and love
the pom.xml), I'm probably barking up the wrong tree. ;-)

Matt


> --
> Dave Brondsema
> Software Developer
> Cornerstone University
>
>
>

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



1.0.2 project dependencies

2005-10-14 Thread Adrian Zaharie
how can I specify project specific dependencies without having to dump it 
into maven repo..., or have maven expect to find it in the default repo

working with maven 1.0.2

dependencies are in the form of jar files;

thanks



Regards,

Adrian Zaharie
ParaSoft Corporation
(888) 305-0041 x 1229 



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



Re: Maven 2 Ant Tasks - how do I include only runtime dependencies

2005-10-14 Thread Dave Brondsema
Matt Raible wrote:
> I'm just starting to play around with Maven 2's Ant tasks.  While I
> like the transitive dependencies, it seems like I have to exclude more
> than I'd normally include. ;-)
> 
> Onto my question - is it possible to declare a single
> , set the scopes appropriately and then
> copy/include only the compile+runtime JARS in WEB-INF/lib?  As far as
> I can tell this is not possible - unless you declare dependencies in a
> pom.xml and use different  for compile, test
> and runtime.
> 

What's wrong with that?  It's good to seperate concerns of {project
dependency info} with {project build functionality}.  In my case it's
necessary because we use Ant imports to achieve a generic ant build tool
(same functionality everywhere) with configuration files, like pom.xml,
for each project (different dependencies for each project).

-- 
Dave Brondsema
Software Developer
Cornerstone University


signature.asc
Description: OpenPGP digital signature


Re: m2: NetBeans Plugin

2005-10-14 Thread Raphaël Piéroni

Hello Wilfried,

I have started to make such a plugin. It is located at mojo.codehaus.org.
It is in nearly release steps but as i can not

May you subscribe to mojo list ?

Raphaël


Wilfred Springer a écrit :


Guys,

I've created a NetBeans plugin, comparable to the Eclipse plugin that
already existed before. It's not as complete yet, but it works fine.
(http://blogs.sun.com/roller/page/wilfred?entry=maven_2_netbeans_plugin)

It would not be the first time that created a plugin that other people
had been working on as well, so that's why I'm posting this here, just
to make sure.

I'd be happy to contribute it to the maven-components repository, if
anybody is able to tell me how.

Thanks,

Wilfred

 




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



Re: [m2] NetBeans Plugin -> M2 Subversion and Ibiblio Repository

2005-10-14 Thread Jason van Zyl
On Fri, 2005-10-14 at 19:10 +0200, wilfred springer wrote:
> To whom it concerns:
> 
> I would (still) really like to know what I need to do to get my NetBeans
> plugin into the Maven 2 repository. 

It won't go into the SVN repository @ Apache but we can get you setup at
the Mojo project. I know there is another netbeans plug-in there that
you might want to look at that too:

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

> And I mean both the Maven 2
> subversion and the Maven artifacts repository.
>  http://blogs.sun.com/roller/page/wilfred?entry=maven_2_netbeans_plugin

Easiest thing would be to get it setup at the Mojo project and then we
can build it and deploy it from there.

> Thanks,
> 
> Wilfred
> 
-- 
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]



Maven 2 Ant Tasks - how do I include only runtime dependencies

2005-10-14 Thread Matt Raible
I'm just starting to play around with Maven 2's Ant tasks.  While I
like the transitive dependencies, it seems like I have to exclude more
than I'd normally include. ;-)

Onto my question - is it possible to declare a single
, set the scopes appropriately and then
copy/include only the compile+runtime JARS in WEB-INF/lib?  As far as
I can tell this is not possible - unless you declare dependencies in a
pom.xml and use different  for compile, test
and runtime.

Here's my current settings - and I don't want to include things like
jmock and cargo when packaging my WAR.














































My "war" target:




 <--- It'd be nice if
I could somehow have useScope="compile,runtime" here











Thanks,

Matt

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



[m2] NetBeans Plugin -> M2 Subversion and Ibiblio Repository

2005-10-14 Thread wilfred springer
To whom it concerns:

I would (still) really like to know what I need to do to get my NetBeans
plugin into the Maven 2 repository. And I mean both the Maven 2
subversion and the Maven artifacts repository.
 http://blogs.sun.com/roller/page/wilfred?entry=maven_2_netbeans_plugin

Thanks,

Wilfred

-- 
wilfred springer <[EMAIL PROTECTED]>
agilejava.com


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



Re: [m2-b3] running a non-aggregator plugin after local install only

2005-10-14 Thread John Fallows
Thanks Brett,

On 10/13/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> This is fixed in the next Maven release (see it0013 for an example).
> After traversing some hairy classloading issues, plugins can now be
> reloaded during an execution which should pave the way for a console
> and easier to use scripting.

Would that also support more streamlined memory usage?

I sometimes see an OutOfMemoryError for complex reactor builds, but if
plugins could be executed and then unloaded, the steady-state memory
usage should be much more constant, right?

Kind Regards,
John Fallows.

> On 10/13/05, John Fallows <[EMAIL PROTECTED]> wrote:
> > Folks,
> >
> > I developing a "non-aggregator" plugin that is manually executed on
> > the command line using the goal name, in much the same way as "m2
> > idea:idea" is executed.
> >
> > However, this "custom:custom" plugin is still under development and so
> > it has a n.m-SNAPSHOT version and has never been deployed to any
> > central repository.  Instead, it has been installed locally, so that
> > it can be tested before the first official "release".
> >
> > When trying to run the plugin after a local install, I get the
> > following exception.
> >
> > [INFO] Cannot find mojo descriptor for: 'custom:custom' - Treating as
> > non-aggregator.
> > [INFO] 
> > 
> > [INFO] Building Maven Plugin Parent
> > [INFO]task-segment: [custom:custom]
> > [INFO] 
> > 
> > [INFO] 
> > 
> > [ERROR] FATAL ERROR
> > [INFO] 
> > 
> > [INFO] Diagnosis: Error resolving plugin version
> > [INFO] 
> > 
> > [INFO] 
> > 
> > [ERROR] FATAL ERROR
> > [INFO] 
> > 
> > FATAL ERROR: Error executing Maven for a project
> > Error stacktrace:
> > org.apache.maven.reactor.ReactorException: Error executing project
> > within the reactor
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:282)
> > 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: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.lifecycle.LifecycleExecutionException:
> > Error resolving plugin version
> > at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycl
> > eExecutor.java:1286)
> > at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLife
> > cycleExecutor.java:516)
> > at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecu
> > tor.java:498)
> > at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecy
> > cleExecutor.java:307)
> > at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.
> > java:149)
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217)
> > ... 9 more
> > Caused by: org.apache.maven.plugin.version.PluginVersionResolutionException:
> > Error resolving version for
> > 'org.custom.maven.plugins:maven-custom-plugin': Failed to resolve a
> > valid version for this plugin
> > at 
> > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(Defa
> > ultPluginVersionManager.java:202)
> > at 
> > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(Defa
> > ultPluginVersionManager.java:79)
> > at 
> > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:1
> > 56)
> > at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycl
> > eExecutor.java:1277)
> > ... 14 more
> >
> > Note that the "org.custom.maven.plugins" groupId is already in the
> > pluginGroups section of ~/.m2/settings.xml, allowing that groupId to
> > be searched for the "custom" plugin.
> >
> > Do I need to do something special so that the SNAPSHOT version c

Re: continuum support in CC plugin for Firefox

2005-10-14 Thread Emmanuel Venisse

Hi Dimitri,

I forward your mail to the continuum user list.

I didn't known your plugin, but it's a good idea , perhaps you'll need to rename it if you 
support continuum ;-)


We have actually two possibility (not finished yet) to interact with continuum. They're 
continuum-xmlrpc 
(http://svn.apache.org/viewcvs.cgi/maven/continuum/trunk/continuum-xmlrpc/) and 
continuum-xfire (http://svn.apache.org/viewcvs.cgi/maven/continuum/trunk/continuum-xfire/).


If you need more functionalities, check if they're exist in 
http://svn.apache.org/viewcvs.cgi/maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java

Continuum-xfire and continuum-xmlrpc use it.

If you want to discuss on irc, you must use #continuum

Emmanuel

Dmitri Maximovich a écrit :

Emmanuel,

Guys at #maven channel advised me to speak to you about this ;-)
I'm the author of CruiseControl plugin for Mozilla Firefox project 
(http://www.md.pp.ru/mozilla/cc/) and I'd like to add support for 
Continuum as well.


 From what I can see you already have some SOAP actions exposed, and 
brett even mentioned that REST is supported/planned as well?? I quickly 
browsed through http://maven.apache.org/continuum/soap-api.html and I 
think one crucial (for me) call is missing from the list: I'd like to 
get list of all projects with current build status (plus some aux. info, 
such as last build timestamps, current activity etc) in one request. I 
don't like an idea of executing N+1 requests to the server every minute 
or so to collect all this information (I've seen people with hundreds 
projects on their CC servers).
I'd appreciate your comments and hope we can make it happen for 1.0 
release of continuum, it should be pretty straightforward. What do you 
think?


PS I'm often on #maven, my nick is MaximDim.





Re: m1 - Problem with changelog reports

2005-10-14 Thread Lukas Theussl


If you are using svn then this is a known issue: 
http://jira.codehaus.org/browse/MPCHANGELOG-74


If you are using cvs, it should work (you also specified a  
inside ?). Which version of the changelog plugin are you using?


-Lukas





Angel Andres Fungueiro wrote:

When maven generates the changelog reports, the links are relatives to
site url but they should be relatives to CVS url.
I use

http://172.20.16.232/viewcvs/esidif/Fuentes/Arquitectura/archivos_adjuntos/

How can i do that?.
Anybody can help me?

-
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] artifact:dependencies and EAR generation probleme

2005-10-14 Thread Antonio PAROLINI
Hello,

I am trying to put jars referenced by a pom into an EAR using a ant
task:
---
 

   

   



  
---

The probleme is that this generates an EAR file with the jar fullpath.

My ear will look like:
 groupID/artifact/version/myjar1.jar
 groupID/artifact/version/myjar2.jar
 groupID/artifact/version/myjar2r.jar

instead of:
myjar1.jar
myjar2.jar
myjar3.jar

Any idea of to correct this ?

Thanks in advance.

-antonio



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

**


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



can't load wrapper.dll

2005-10-14 Thread Charles Osei
Hi,

 

When I run continuum as a service on WIN 2003 64 bit AMD with service
pack 1 the following warning message is logged.

 

INFO   | jvm 1| 2005/10/12 18:07:10 | WARNING - Unable to load the
Wrapper's native library 'wrapper.dll'.

INFO   | jvm 1| 2005/10/12 18:07:10 |   The file is located
on the path at the following location but

INFO   | jvm 1| 2005/10/12 18:07:10 |   could not be loaded:

INFO   | jvm 1| 2005/10/12 18:07:10 |
C:\continuum-1.0-beta-1\bin\win32\..\..\bin\win32\wrapper.dll

INFO   | jvm 1| 2005/10/12 18:07:10 |   Please verify that
the file is readable by the current user

INFO   | jvm 1| 2005/10/12 18:07:10 |   and that the file
has not been corrupted in any way.

INFO   | jvm 1| 2005/10/12 18:07:10 |   System signals will
not be handled correctly.

INFO   | jvm 1| 2005/10/12 18:07:10 | 

INFO   | jvm 1| 2005/10/12 18:07:10 | Wrapper (Version 3.1.2)
http://wrapper.tanukisoftware.org  

 

Any ideas???

 

Thanks.



Re: [m102]: Suppresing download progress etc.

2005-10-14 Thread rks
Is there anyway to suppress the artifact download progress messages
issued by Maven? This looks fine on a console; but in build reports, 
takes up reams of space:

$ maven 
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. Attempting 
to create.
Attempting to download my-component-1.0.jar.
56/13877K
60/13877K
61/13877K
63/13877K
64/13877K
65/13877K
66/13877K
//... zillion more lines

Thanks,

Rk
x77309

On Wed, 12 Oct 2005 [EMAIL PROTECTED] wrote:

> 
>   Env:
>   
>  JDK 5.0
>  Maven 1.0.2
>  Multiproject plugin: 1.3.1
> 
>   Context:
>   
>  I have setup a multiproject dependency as follows:
>(rh
>  (common)
>  (cs)
>  (dal)
>   )
> 
> where both cs and dal extend ${basedir}common/project.xml.
> 
>   Problem:
>   
> (0) How do I suppress the download progress messages printed by Maven?
> While this looks fine in "real-time", in batched reports, these
> incremental progress updates are listed on separate lines (probably
> becuase CR/LF is used instead of just CR), building up a huge
> preface to the build of a project.
> 
>So how do I tell Maven not to print these messages?
> 
> 
> (1) When triggering the build of dal (either locally or
> thru the multi-project plugin), cs-1.0.jar is built
> deposited into the repository but the build of
> dal fails with the message that cs-SNAPSHOT.jar could not
> be located.
> 
> The dependency specs in dal POM identifies cs-${pomVersion}.jar
>  as shown below; why is this lookinh for the SNAPSHOT version?
> 
>   
> 
>   dcm
>   cs
>   ${pom.currentVersion}
>   jar
> 
>   
> 
> 
> Thanks,
> 
> Rk
> x77309
> 

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



m1 - Problem with changelog reports

2005-10-14 Thread Angel Andres Fungueiro
When maven generates the changelog reports, the links are relatives to
site url but they should be relatives to CVS url.
I use

http://172.20.16.232/viewcvs/esidif/Fuentes/Arquitectura/archivos_adjuntos/

How can i do that?.
Anybody can help me?

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



RE: Is it possible to disable "default" repo [m2]

2005-10-14 Thread Russell, Mark
Perfect.  I believe that fixed my last remaining issue

Thanks,

MAR

-Original Message-
From: Arik Kfir [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 14, 2005 8:35 AM
To: Maven Users List
Subject: Re: Is it possible to disable "default" repo [m2]

cool!


On 10/14/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> setting a repository and a plugin repository in your pom/settings with
> an id of "central" will override the built in one.
>
> you can also add a mirror definition in your settings.xml file that
> will use your repository instead of the remote one, for example, when
> you are using maven-proxy.
>
> - Brett
>
> On 10/14/05, Arik Kfir <[EMAIL PROTECTED]> wrote:
> > Yes we need this too, for offline sites.
> >
> > The way we did this for m1 is to hack the 'maven.jar' file in the
> > installation, and edit the 'default.properties' file. Is there a
> > better way?
> >
> > On 10/14/05, Russell, Mark <[EMAIL PROTECTED]> wrote:
> > > Is it possible, either in the pom.xml or the settings.xml, to tell
maven
> > > not to use the ibiblio repository?
> > >
> > >
> > >
> > > Prefer a method of doing this in the pom.xml, but would consider
one in
> > > the settings.xml.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > MAR
> > >
> > >
> > >
> >
> >
-
> > 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: [m1/m2] How to: central dependency management

2005-10-14 Thread mika
maven 1 should also read a file named "build.properties" in the user's
home directory where you could put these version properties, see:

http://maven.apache.org/reference/user-guide.html#Properties_Processing

regards,
mika

Allison, Bob wrote:
> The way we do this in Maven 1.0.2 is to define a set of build properties 
> called "lib..version" with the value of the property set to the 
> version of  we are using.  We then use these properties in place of 
> the version number in the project.xml files.  Since we use  to have 
> a root project for all of our various projects, these variables can be placed 
> in the project.properties file in the root project.  If that is not feasible, 
> you can place the properties in each user's configuration.
> 
> -Original Message-
> From: Michael Böckling [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 14, 2005 08:22
> To: Maven Users List
> Subject: [m1/m2] How to: central dependency management
> 
> 
> Hi guys,
> 
> I have a not-so-technical question about dependency management in Maven 
> (preferably m1, but m2 is okay also if m1 is impossible).
> Let's say, a new version of an important library (Jakarta Commons, JUnit 
> etc.) has been released, and I'd like to update all my projects to use 
> that library. Is there any way to configure the maven project setups in 
> such a way that this only has to be done in one single place?
> The idea:
> - New version of a dependency has come out
> - Build-Manager says it looks good, and now he wants to update all 
> projects that need the said dependency to use the new version.
> - Possibly also make sure only versions that are API compatible get updated
> - Is it possible to make it so that this dependency change only has to 
> be done in one single place, and all projects pick it up automatically?
> 
> This approach has the advantage to reduce the overhead that would 
> otherwise be involved with upgrading. I'd be really thankful for 
> suggestions on how to do this, as I couldn't find any informations on 
> this topic.
> 
> Regards,
> Michael Böckling
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



Re: How to delete a project when it is building?

2005-10-14 Thread Mark Hobson
On 14/10/05, Frank Zhao <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I run into a situation that the project status is "Building" however the 
> continuum is hanging there without building the project. (It is possible that 
> something is wrong with the project configuration).
>
> My question is how to delete this project? The "Delete" link is disabled on 
> the continuum web interface. Even after I restart the continuum server, the 
> project is still showing at "Building" status.

I ran into this problem before - not sure what the root cause is but
you can resolve it by clicking 'Build All'.  It'll eventually get to
the hanging project and build it properly.

Hope this helps,

Mark


Re: Is it possible to disable "default" repo [m2]

2005-10-14 Thread Arik Kfir
cool!


On 10/14/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> setting a repository and a plugin repository in your pom/settings with
> an id of "central" will override the built in one.
>
> you can also add a mirror definition in your settings.xml file that
> will use your repository instead of the remote one, for example, when
> you are using maven-proxy.
>
> - Brett
>
> On 10/14/05, Arik Kfir <[EMAIL PROTECTED]> wrote:
> > Yes we need this too, for offline sites.
> >
> > The way we did this for m1 is to hack the 'maven.jar' file in the
> > installation, and edit the 'default.properties' file. Is there a
> > better way?
> >
> > On 10/14/05, Russell, Mark <[EMAIL PROTECTED]> wrote:
> > > Is it possible, either in the pom.xml or the settings.xml, to tell maven
> > > not to use the ibiblio repository?
> > >
> > >
> > >
> > > Prefer a method of doing this in the pom.xml, but would consider one in
> > > the settings.xml.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > MAR
> > >
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



[M2] Using taglets in javadoc:javadoc

2005-10-14 Thread Bruno Essmann

Hi all!

As a test I've been trying to convert one of our projects to M2.

The project in question makes use of a custom taglet library during
creation of the project documentation.

In spirit of Maven I thought I could simply add the taglet library
to an internal repository and add a dependency to it in the project.

Here's what I did in the project POM to achieve this:


  ...
  

  ch.ergon.libx
  taglet
  1.2.1
  compile

  
  ...


I was a little puzzled that there is no 'report' scope but since I'm
new to M2 I thought what the heck, let's try with 'compile'...

OK, next I tried to add a configuration to the javadoc:javadoc goal
that ensures that the taglet is used:


  ...
  

  
org.apache.maven.plugins
maven-javadoc-plugin

  ch.ergon.libx.taglet.ETaglets
  
${maven.repo.local}/ch/ergon/libx/taglet/1.2.1/taglet-1.2.1.jar

  

  
  ...


Looks like a very ugly workaround that I have to include to dependency
again, but then I wanted to use the taglet from the repository and
though I'd just give it a try and clean up afterwards.

As it turns out however ${maven.repo.local} is not available at all
(i.e. the log shows a conversion to 'null') and the whole story doesn't
feel right anyway like this...

... therefore: "What is the suggested method of using taglets?"

In an ideal world the taglet would just be stored in the maven repository,
could be added as a dependency and be included automatically.

In hopes that I'm not the first trying to get taglets to work with M2, :)
// Bruno

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



RE: [m1/m2] How to: central dependency management

2005-10-14 Thread Allison, Bob
The way we do this in Maven 1.0.2 is to define a set of build properties called 
"lib..version" with the value of the property set to the version of 
 we are using.  We then use these properties in place of the version 
number in the project.xml files.  Since we use  to have a root 
project for all of our various projects, these variables can be placed in the 
project.properties file in the root project.  If that is not feasible, you can 
place the properties in each user's configuration.

-Original Message-
From: Michael Böckling [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 14, 2005 08:22
To: Maven Users List
Subject: [m1/m2] How to: central dependency management


Hi guys,

I have a not-so-technical question about dependency management in Maven 
(preferably m1, but m2 is okay also if m1 is impossible).
Let's say, a new version of an important library (Jakarta Commons, JUnit 
etc.) has been released, and I'd like to update all my projects to use 
that library. Is there any way to configure the maven project setups in 
such a way that this only has to be done in one single place?
The idea:
- New version of a dependency has come out
- Build-Manager says it looks good, and now he wants to update all 
projects that need the said dependency to use the new version.
- Possibly also make sure only versions that are API compatible get updated
- Is it possible to make it so that this dependency change only has to 
be done in one single place, and all projects pick it up automatically?

This approach has the advantage to reduce the overhead that would 
otherwise be involved with upgrading. I'd be really thankful for 
suggestions on how to do this, as I couldn't find any informations on 
this topic.

Regards,
Michael Böckling


-
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: [m2b3] Fails to find the RELEASE version of my plugin in my corp. repo WAS RE: [jira] Commented: (MNG-916) RELEASE gets selected as a version

2005-10-14 Thread Brett Porter
On 10/14/05, Yann Le Du <[EMAIL PROTECTED]> wrote:
> However, I need my plugin be available from remote users. Apparently, the only
> way to achieve that in m2b3 is to provide a maven-metadata.xml (without -local
> suffix).

m2 deploy (in combination with the distributionManagement section)
will share the plugin in a remote repository.

- Brett

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



Re: [m2b3] Fails to find the RELEASE version of my plugin in my corp. repo WAS RE: [jira] Commented: (MNG-916) RELEASE gets selected as a version

2005-10-14 Thread Yann Le Du
On install, a maven-metadata-local.xml was indeed generated. Then, the plugin
was correctly accessed from... local :)

However, I need my plugin be available from remote users. Apparently, the only
way to achieve that in m2b3 is to provide a maven-metadata.xml (without -local
suffix).

> In the final release, the extra flag is not needed.

Are you saying that there will be just one maven-metadata.xml ? What will the
structure be like, e.g. will there be one  section per repo ? Then
will the info from locally installed plugins be accessible from remote users ?

Thanks,
Yann

--- Brett Porter <[EMAIL PROTECTED]> a écrit :

> It should always be generated on install and deploy.
> 
> It has a different name of maven-metadata-REPOSITORY_ID.xml in the
> local repository.
> 
> In the final release, the extra flag is not needed.
> 
> - Brett
> 
> On 10/14/05, Yann Le Du <[EMAIL PROTECTED]> wrote:
> > Solved the problem by copying maven-deps-plugin/maven-metadata-local.xml
> into
> > mere maven-metadata.xml.
> >
> > Looks like maven-metatdata.xml is the file that is read when an outside
> user
> > looks for plugin info. Is there a way to automatically generate this file
> when
> > I'm installing the plugin ?
> >
> > --- Yann Le Du <[EMAIL PROTECTED]> a écrit :
> >
> > > Yes, I did that. More exactly, I used this in the plugin POM :
> > >
> > > ~  
> > > ~maven-install-plugin
> > > ~
> > > ~  true
> > > ~
> > > ~  
> > >
> > > ...so that my corp repo maven-deps-plugin/maven-metatdata-local.xml
> contains
> > > :
> > >
> > > ~  
> > > ~org.apache.maven.plugins
> > > ~maven-deps-plugin
> > > ~1.0
> > > ~
> > > ~  1.0
> > > ~  1.0
> > > ~  
> > > ~1.0
> > > ~  
> > > ~  20051011085748
> > > ~
> > > ~  
> > >
> > > Yann
> > >
> > > --- Brett Porter <[EMAIL PROTECTED]> a écrit :
> > >
> > > > Have you done m2 -DupdateReleaseInfo=true [install|deploy] to ensure
> > > > the release gets published with the new information?
> > > >
> > > > - Brett
> > > >
> > > > On 10/11/05, Yann Le Du <[EMAIL PROTECTED]> wrote:
> > > > > Got it. But is the behaviour that I described normal ? If not, I can
> file
> > > > in
> > > > > JIRA. If yes, then I got a problem because I tried a dozen confs to
> no
> > > > avail.
> > > > >
> > > > > At the moment, I'm dealing with :
> > > > >
> > > > > pom.xml :
> > > > >
> > > > > ~  
> > > > > ~
> > > > > ~  
> > > > > ~true
> > > > > ~always
> > > > > ~  
> > > > > ~  
> > > > > ~true
> > > > > ~always
> > > > > ~  
> > > > > ~  corp-central
> > > > > ~  http://host.corp.com/maven/repository/
> > > > > ~
> > > > > ~  
> > > > >
> > > > >
> > > > > Calling my home-made plugin gives :
> > > > >
> > > >
> > > > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> ___
> > > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo!
> Messenger
> > > Téléchargez cette version sur http://fr.messenger.yahoo.com
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> >
> >
> >
> >
> > ___
> > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
> > Téléchargez cette version sur http://fr.messenger.yahoo.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]
> 
> 







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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



Re: [m1/m2] How to: central dependency management

2005-10-14 Thread Stephen Duncan
To get you started for Maven 2:

http://maven.apache.org/maven2/dependency-mechanism.html#dependency_management

-Stephen

On 10/14/05, Michael Böckling <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I have a not-so-technical question about dependency management in Maven
> (preferably m1, but m2 is okay also if m1 is impossible).
> Let's say, a new version of an important library (Jakarta Commons, JUnit
> etc.) has been released, and I'd like to update all my projects to use
> that library. Is there any way to configure the maven project setups in
> such a way that this only has to be done in one single place?
> The idea:
> - New version of a dependency has come out
> - Build-Manager says it looks good, and now he wants to update all
> projects that need the said dependency to use the new version.
> - Possibly also make sure only versions that are API compatible get updated
> - Is it possible to make it so that this dependency change only has to
> be done in one single place, and all projects pick it up automatically?
>
> This approach has the advantage to reduce the overhead that would
> otherwise be involved with upgrading. I'd be really thankful for
> suggestions on how to do this, as I couldn't find any informations on
> this topic.
>
> Regards,
> Michael Böckling
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

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



RE: [m2] Can't get hello world plugin to work

2005-10-14 Thread Kevin McNamee
Hi Yann,

 

Ok I ran

 

Now I get

 

my:maven-hello-plugin> m2 hello:hello

[INFO] Searching repository for plugin with prefix: 'hello'.

---

constituent[0]:
file:/proj/local/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar

constituent[1]:
file:/proj/local/maven-2.0-beta-3/lib/maven-artifact-manager-2.0-beta-3.jar

constituent[2]:
file:/proj/local/maven-2.0-beta-3/lib/plexus-input-handler-1.0-alpha-2.jar

constituent[3]:
file:/proj/local/maven-2.0-beta-3/lib/maven-plugin-api-2.0-beta-3.jar

constituent[4]:
file:/proj/local/maven-2.0-beta-3/lib/maven-plugin-descriptor-2.0-beta-3.jar

constituent[5]:
file:/proj/local/maven-2.0-beta-3/lib/maven-artifact-2.0-beta-3.jar

constituent[6]: file:/proj/local/maven-2.0-beta-3/lib/commons-cli-1.0.jar

constituent[7]:
file:/proj/local/maven-2.0-beta-3/lib/maven-model-2.0-beta-3.jar

constituent[8]:
file:/proj/local/maven-2.0-beta-3/lib/maven-settings-2.0-beta-3.jar

constituent[9]:
file:/proj/local/maven-2.0-beta-3/lib/maven-repository-metadata-2.0-beta-3.j
ar

constituent[10]: file:/proj/local/maven-2.0-beta-3/lib/jsch-0.1.21.jar

constituent[11]:
file:/proj/local/maven-2.0-beta-3/lib/wagon-provider-api-1.0-alpha-4.jar

constituent[12]:
file:/proj/local/maven-2.0-beta-3/lib/maven-monitor-2.0-beta-3.jar

constituent[13]:
file:/proj/local/maven-2.0-beta-3/lib/maven-reporting-api-2.0-beta-3.jar

constituent[14]:
file:/proj/local/maven-2.0-beta-3/lib/maven-profile-2.0-beta-3.jar

constituent[15]:
file:/proj/local/maven-2.0-beta-3/lib/wagon-file-1.0-alpha-4.jar

constituent[16]:
file:/proj/local/maven-2.0-beta-3/lib/maven-project-2.0-beta-3.jar

constituent[17]:
file:/proj/local/maven-2.0-beta-3/lib/maven-plugin-registry-2.0-beta-3.jar

constituent[18]: file:/proj/local/maven-2.0-beta-3/lib/jline-0.9.1.jar

constituent[19]:
file:/proj/local/maven-2.0-beta-3/lib/maven-plugin-parameter-documenter-2.0-
beta-3.jar

constituent[20]:
file:/proj/local/maven-2.0-beta-3/lib/doxia-sink-api-1.0-alpha-4.jar

constituent[21]:
file:/proj/local/maven-2.0-beta-3/lib/wagon-ssh-1.0-alpha-4.jar

constituent[22]:
file:/proj/local/maven-2.0-beta-3/lib/wagon-http-lightweight-1.0-alpha-4.jar

---

java.lang.NullPointerException

at
org.apache.maven.plugin.descriptor.PluginDescriptor.getMojo(PluginDescriptor
.java:258)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(Defaul
tLifecycleExecutor.java:1294)

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

 

/Kevin

 

-Original Message-
From: Yann Le Du [mailto:[EMAIL PROTECTED] 
Sent: 14 October 2005 13:53
To: Maven Users List
Subject: RE: [m2] Can't get hello world plugin to work

 

Hi Kevin,

 

Try install again the plugin with this extra option :

m2 install -DupdateReleaseInfo=true

 

Yann

 

--- Kevin McNamee <[EMAIL PROTECTED]> a écrit :

 

> Of course I meant after installation when I try to test the plugin.

> 

>  

> 

> Also I am using maven 2.0 Beta 3.

> 

>  

> 

> /Kevin

> 

>  

> 

>   _  

> 

> From: Kevin McNamee [mailto:[EMAIL PROTECTED] 

> Sent: 13 October 2005 16:17

> To: 'Maven Users List'

> Subject: [m2] Can't get hello world plugin to work

> 

>  

> 

> Hi,

> 

>  

> 

> I have been trying to get the Hello World plugin to work following the

> instructions at

> 

>
http://maven.apache.org/maven2/developers/developing-plugins-with-marmalade.

> html

> 

>  

> 

> But then when I do the install I get:

> 

>  

> 

> :maven-hello-plugin> m2 hello:hello

> 

> [INFO] Searching repository for plugin with prefix: 'hello'.

> 

> [WARNING]

> 

>   * Using defaults for missing POM

> org.apache.maven.plugins:maven-hello-plugin:pom:RELEASE *

> 

>  

> 

> [INFO] Cannot find mojo descriptor for: 'hello:hello' - Treating as

> non-aggregator.

> 

> [INFO]

>


> 

> [INFO] Building Maven Hello World Plugin

> 

> [INFO]task-segment: [h

[m1/m2] How to: central dependency management

2005-10-14 Thread Michael Böckling

Hi guys,

I have a not-so-technical question about dependency management in Maven 
(preferably m1, but m2 is okay also if m1 is impossible).
Let's say, a new version of an important library (Jakarta Commons, JUnit 
etc.) has been released, and I'd like to update all my projects to use 
that library. Is there any way to configure the maven project setups in 
such a way that this only has to be done in one single place?

The idea:
- New version of a dependency has come out
- Build-Manager says it looks good, and now he wants to update all 
projects that need the said dependency to use the new version.

- Possibly also make sure only versions that are API compatible get updated
- Is it possible to make it so that this dependency change only has to 
be done in one single place, and all projects pick it up automatically?


This approach has the advantage to reduce the overhead that would 
otherwise be involved with upgrading. I'd be really thankful for 
suggestions on how to do this, as I couldn't find any informations on 
this topic.


Regards,
Michael Böckling


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



Re: [m2b3] Fails to find the RELEASE version of my plugin in my corp. repo WAS RE: [jira] Commented: (MNG-916) RELEASE gets selected as a version

2005-10-14 Thread Brett Porter
It should always be generated on install and deploy.

It has a different name of maven-metadata-REPOSITORY_ID.xml in the
local repository.

In the final release, the extra flag is not needed.

- Brett

On 10/14/05, Yann Le Du <[EMAIL PROTECTED]> wrote:
> Solved the problem by copying maven-deps-plugin/maven-metadata-local.xml into
> mere maven-metadata.xml.
>
> Looks like maven-metatdata.xml is the file that is read when an outside user
> looks for plugin info. Is there a way to automatically generate this file when
> I'm installing the plugin ?
>
> --- Yann Le Du <[EMAIL PROTECTED]> a écrit :
>
> > Yes, I did that. More exactly, I used this in the plugin POM :
> >
> > ~  
> > ~maven-install-plugin
> > ~
> > ~  true
> > ~
> > ~  
> >
> > ...so that my corp repo maven-deps-plugin/maven-metatdata-local.xml contains
> > :
> >
> > ~  
> > ~org.apache.maven.plugins
> > ~maven-deps-plugin
> > ~1.0
> > ~
> > ~  1.0
> > ~  1.0
> > ~  
> > ~1.0
> > ~  
> > ~  20051011085748
> > ~
> > ~  
> >
> > Yann
> >
> > --- Brett Porter <[EMAIL PROTECTED]> a écrit :
> >
> > > Have you done m2 -DupdateReleaseInfo=true [install|deploy] to ensure
> > > the release gets published with the new information?
> > >
> > > - Brett
> > >
> > > On 10/11/05, Yann Le Du <[EMAIL PROTECTED]> wrote:
> > > > Got it. But is the behaviour that I described normal ? If not, I can 
> > > > file
> > > in
> > > > JIRA. If yes, then I got a problem because I tried a dozen confs to no
> > > avail.
> > > >
> > > > At the moment, I'm dealing with :
> > > >
> > > > pom.xml :
> > > >
> > > > ~  
> > > > ~
> > > > ~  
> > > > ~true
> > > > ~always
> > > > ~  
> > > > ~  
> > > > ~true
> > > > ~always
> > > > ~  
> > > > ~  corp-central
> > > > ~  http://host.corp.com/maven/repository/
> > > > ~
> > > > ~  
> > > >
> > > >
> > > > Calling my home-made plugin gives :
> > > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> >
> >
> >
> >
> > ___
> > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
> > Téléchargez cette version sur http://fr.messenger.yahoo.com
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
>
>
>
>
> ___
> Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
> Téléchargez cette version sur http://fr.messenger.yahoo.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]



Re: [m2b3] Fails to find the RELEASE version of my plugin in my corp. repo WAS RE: [jira] Commented: (MNG-916) RELEASE gets selected as a version

2005-10-14 Thread Yann Le Du
Solved the problem by copying maven-deps-plugin/maven-metadata-local.xml into
mere maven-metadata.xml.

Looks like maven-metatdata.xml is the file that is read when an outside user
looks for plugin info. Is there a way to automatically generate this file when
I'm installing the plugin ?

--- Yann Le Du <[EMAIL PROTECTED]> a écrit :

> Yes, I did that. More exactly, I used this in the plugin POM :
> 
> ~  
> ~maven-install-plugin
> ~
> ~  true
> ~
> ~  
> 
> ...so that my corp repo maven-deps-plugin/maven-metatdata-local.xml contains
> :
> 
> ~  
> ~org.apache.maven.plugins
> ~maven-deps-plugin
> ~1.0
> ~
> ~  1.0
> ~  1.0
> ~  
> ~1.0
> ~  
> ~  20051011085748
> ~
> ~  
> 
> Yann
> 
> --- Brett Porter <[EMAIL PROTECTED]> a écrit :
> 
> > Have you done m2 -DupdateReleaseInfo=true [install|deploy] to ensure
> > the release gets published with the new information?
> > 
> > - Brett
> > 
> > On 10/11/05, Yann Le Du <[EMAIL PROTECTED]> wrote:
> > > Got it. But is the behaviour that I described normal ? If not, I can file
> > in
> > > JIRA. If yes, then I got a problem because I tried a dozen confs to no
> > avail.
> > >
> > > At the moment, I'm dealing with :
> > >
> > > pom.xml :
> > >
> > > ~  
> > > ~
> > > ~  
> > > ~true
> > > ~always
> > > ~  
> > > ~  
> > > ~true
> > > ~always
> > > ~  
> > > ~  corp-central
> > > ~  http://host.corp.com/maven/repository/
> > > ~
> > > ~  
> > >
> > >
> > > Calling my home-made plugin gives :
> > >
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
>   
> 
>   
>   
> ___ 
> Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
> Téléchargez cette version sur http://fr.messenger.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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



[m2] Maven release plugin and CVS: bug?

2005-10-14 Thread fabrice . belingard




Hi guys,

I'm trying to make the maven release plugin work, but I always get the same
error when running "m2 release:prepare -Dtag=...":

[INFO] [release:prepare]
[INFO] Verifying there are no local modifications ...
Provider message:
The cvs command failed.
Command output:
cvs update: Empty password used - try 'cvs login' with a real password
cvs [update aborted]: authorization failed: server localhost rejected
access to C:\cvsRepo for user e222731

This occurs although the .cvspass exists in my user home and it is valid
with the right password (the changes plugin can connect to the CVS - even
if it generates an empty report...).

Is there something special to do to make this plugin work connect to CVS
correctly? I tried the "password" config parameter for the release plugin,
but this does not work...

Am I missing something? Did someone manage to make it work with CVS or is
it a bug that I will fill in JIRA?

Thanks!

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


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



RE: [m2] Can't get hello world plugin to work

2005-10-14 Thread Yann Le Du
Hi Kevin,

Try install again the plugin with this extra option :
m2 install -DupdateReleaseInfo=true

Yann

--- Kevin McNamee <[EMAIL PROTECTED]> a écrit :

> Of course I meant after installation when I try to test the plugin.
> 
>  
> 
> Also I am using maven 2.0 Beta 3.
> 
>  
> 
> /Kevin
> 
>  
> 
>   _  
> 
> From: Kevin McNamee [mailto:[EMAIL PROTECTED] 
> Sent: 13 October 2005 16:17
> To: 'Maven Users List'
> Subject: [m2] Can't get hello world plugin to work
> 
>  
> 
> Hi,
> 
>  
> 
> I have been trying to get the Hello World plugin to work following the
> instructions at
> 
> http://maven.apache.org/maven2/developers/developing-plugins-with-marmalade.
> html
> 
>  
> 
> But then when I do the install I get:
> 
>  
> 
> :maven-hello-plugin> m2 hello:hello
> 
> [INFO] Searching repository for plugin with prefix: 'hello'.
> 
> [WARNING]
> 
>   * Using defaults for missing POM
> org.apache.maven.plugins:maven-hello-plugin:pom:RELEASE *
> 
>  
> 
> [INFO] Cannot find mojo descriptor for: 'hello:hello' - Treating as
> non-aggregator.
> 
> [INFO]
> 
> 
> [INFO] Building Maven Hello World Plugin
> 
> [INFO]task-segment: [hello:hello]
> 
> [INFO]
> 
> 
> [INFO]
> 
> 
> [ERROR] FATAL ERROR
> 
> [INFO]
> 
> 
> [INFO] Diagnosis: Error resolving plugin version
> 
> [INFO]
> 
> 
> [INFO]
> 
> 
> [ERROR] FATAL ERROR
> 
> [INFO]
> 
> 
> FATAL ERROR: Error executing Maven for a project
> 
> For more information, run with the -e flag
> 
>  
> 
> Any ideas?
> 
>  
> 
> Much appreciated,
> 
> Kevin
> 
>  
> 
> 
> 
> 
>  
> 
> 
>  
> 
> 
>   
> 
> Kevin McNamee
> Design Engineer
> Symsoft AB Kista Science Tower
> 
> TEL 
> FAX 
> GSM 
> 
> +46 8 503 86 637
> +46 8 566 166 01
> +46 702 49 12 92
> 
> 
>  
> 
> Färögatan 33, Box 1219 
> SE-164 28 Kista, Sweden
> 
>   [EMAIL PROTECTED]
>   www.symsoft.se
> 
>  
> 
> 







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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



RE: [M2] Finding the groupId/artifactId/version for a dependency

2005-10-14 Thread Yann Le Du
Hi David,

You can also use these tricks :

* Search "site:www.ibiblio.org maven2 spring" in Google
* http://mavenbook.xwiki.com/xwiki/bin/view/Main/FindingVersionOfJar

Regards,
Yann


--- David Jackman <[EMAIL PROTECTED]> a écrit :

> For a newcomer to Maven, is there a recommended methodology for
> determining the correct groupId/artifactId/version for a particular
> dependency one might need?  For Maven 1, what I would do is browse the
> repository on ibiblio trying to find the jar file I was looking for,
> then once I found it I'd use the directory and filename to determine the
> groupId/artifactId/version for that file.  Is that still the way people
> should do it?  The M2 repository layout is a bit more cumbersome to
> browse.  Is there a better way?  Maybe an index of the repository
> somewhere?
>  
> ..David..
>  
> 







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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



Re: Making m2 artifacts available to m1.1

2005-10-14 Thread jerome lacoste
On 10/13/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> It should be reasonably simple to add this to Maven 1.1, but only for
> reading JARs it will not be able to do transitive dependencies or read
> the POMs.

that's all I need.

But if it's not yet ready today, I might better spend time migrating
my m1 centric modules to m2.
Especially if I am the only one to ask for that.

Jerome

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



Re: [m2] how to define the output HTML's encoding when using site:site?

2005-10-14 Thread Kenney Westerhof
On Fri, 14 Oct 2005, Zhong ZHENG wrote:

Use this:


  

  maven-site-plugin
  
UTF-8
  
 Hi, there,
>
> I am using maven 2 to generate project site. But it does not seem to work
> well when generating chinese pages... I set the xdoc encoding to UTF-8, but
> i don't know where i could define the encoding of the output HTML. All HTML
> pages are encoded in ISO-8859-1. I know that for maven 1 i could modify the
> default.properties in maven.jar, but what should i do for maven2?
>
> Thanks in advance.
>
> --
>
> ZHENG Zhong
>
> 1 Avenue Alphand
> 75116 Paris, France
> +33 6 76 80 45 90
>

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

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



Re: Cannot use my ant task as a maven plugin : classloader issue !

2005-10-14 Thread Nicolas De Loof


That sounds like a classloader issue, but I've reduced the problem to a 
minimal project that has NO dependency (expect ant 1.5.3.1).


The maven.xml only defines the ant task (that is in target/classes) and 
invoke it.


You can try it by downloading : 
http://loof.free.fr/ant-maven-failure.zip (only 10Ko)


>maven ndl:test
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

ndl:test:
   [taskdef] Trying to override old definition of task test
   [test] Thread.currentThread().getContextClassLoader() = *null*
BUILD SUCCESSFUL
Total time: 4 seconds
Finished at: Fri Oct 14 11:07:30 CEST 2005

>ant -v
Apache Ant version 1.5.3 compiled on April 16 2003
Buildfile: build.xml
Detected Java version: 1.4 in: C:\j2sdk1.4.2_06\jre
Detected OS: Windows 2000
parsing buildfile build.xml with URI = 
file:D:/workspace/ant-maven-failure/build.xml

Project base dir set to: D:\workspace\ant-maven-failure
Build sequence for target `test' is [test]
Complete build sequence is [test]

test:
Trying to override old definition of task test
[test] Thread.currentThread().getContextClassLoader() = 
[EMAIL PROTECTED]


BUILD SUCCESSFUL
Total time: 1 second


Arnaud HERITIER a écrit :


Hi Nicolas

In maven 1.X there's 2 classloaders
The root classloader where is ant and the root.maven classloader where is
maven and its dependencies.

If you use an ant task which need a dependency you must add the in the root
classloader to allow ant to find it.
In your POM these dependencies must have :

root


Also, you can take a look at this issue :
http://jira.codehaus.org/browse/MAVEN-1712

Arnaud


On 10/14/05, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
 


I've found the cause of the problem :
I've reduced my ant task to this code :

execute() {
log("getContextClassLoader() = " +
Thread.currentThread().getContextClassLoader());
}

When I run it with ANT (1.5.3.1 ) I get
[test] Thread.currentThread().getContextClassLoader() =
[EMAIL PROTECTED]

So It may be the same from a maven.xml script !

When I run "maven ndl:test" (maven 1.0.2) I get

ndl:test:
[test] Thread.currentThread().getContextClassLoader() = *null*
BUILD SUCCESSFUL

Is there any reason for this, a workaround or anything to do ?

Nico.

Nicolas De Loof a écrit :

   


Hello,

I'm using maven 1.0.2 and try to create a plugin for an ant task, that
itself uses Springframework.

As I get strange troubles, I've dropped all specific code to get only
an ant task that creates a spring context.
The spring context is reduced to a single bean of type String.

When I run it as an ant task, it works fine, ie. the Spring context is
loaded :
 


ant
   


Buildfile: build.xml
test:
Trying to override old definition of task test
[test] TEST 
[test] 13 oct. 2005 17:33:06
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
[test] INFO: Loading XML bean definitions from file
[D:\workspace\ant-maven-failure\Designer-context.xml]
...

When I run it from a maven.xml goal (ndl:test) it fails with a strange
error :

 


maven -e ndl:test
   


__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
ndl:init:
[taskdef] Trying to override old definition of task test
ndl:test:
[test] TEST 
BUILD FAILED
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'reverse' defined in file
[D:\workspace\ant-maven-failure\Designer-context.xml]: Instantiation
of bean failed; nested exception is java.lang.IllegalStateException:
Bean definition does not carry a resolved bean class
java.lang.IllegalStateException: Bean definition does not carry a
resolved bean class
at

 


org.springframework.beans.factory.support.AbstractBeanDefinition.getBeanClass
(AbstractBeanDefinition.java:205)
   



Does anybody have any suggestion to investigate and solve this ?

You can download the project from
http://loof.free.fr/ant-maven-failure.zip (3Mo)
run "ant" and compare with "maven ndl:test"

Nico.

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


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

 


This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended recipient, you
are not authorized to read, print, retain, cop

[m2] how to define the output HTML's encoding when using site:site?

2005-10-14 Thread Zhong ZHENG
Hi, there,

I am using maven 2 to generate project site. But it does not seem to work
well when generating chinese pages... I set the xdoc encoding to UTF-8, but
i don't know where i could define the encoding of the output HTML. All HTML
pages are encoded in ISO-8859-1. I know that for maven 1 i could modify the
default.properties in maven.jar, but what should i do for maven2?

Thanks in advance.

--

ZHENG Zhong

1 Avenue Alphand
75116 Paris, France
+33 6 76 80 45 90


Re: [m2] what happened to beta 4?

2005-10-14 Thread Brett Porter
It was renamed 2.0 (RC). Builds are on the way.

- Brett

On 10/14/05, David Sag <[EMAIL PROTECTED]> wrote:
>
>
> I'm just looking at Jira and it seems beta 4 has vanished from the
> road-map? yet i see no announcement of beta4 being released.
>
> wassup?
>
> Kind regards,
> Dave Sag
>
>
>
>
>


Re: Flattened Eclipse Project

2005-10-14 Thread mika
Jose

Thanks, this will save me the time trying out... I guess we'll have to
follow the non-best-practice approach then.

Cheers,
mika

Jose Gonzalez Gomez wrote:
> 2005/10/14, mika <[EMAIL PROTECTED]>:
> 
>>Hi Brian,
>>[snip]
>>
>>Now, I've found a solution which I *don't* consider to be
>>"best-practice"-style at all, but it seems to work for me / us right at
>>the moment:
>>
>>+ parent
>>   + pom.xml
>>+ module
>>   + pom.xml
>>+ webapp
>>   + pom.xml
>>...
>>
>>The modules in the parent are referenced like this:
>>
>>   ../module
>>   ../webapp
>>
>>
>>If I really understood right, for the recommended layout to work
>>a) the top-most-pom could e.g. reside directly in my eclipse workspace
>>folder and the subprojects would all be proper eclipse projects in the
>>workspace
>>- or -
>>b) none of my projects are actually in the workspace (filesystem) but
>>referenced from some other location on the fs - IMHO this would allow
>>any level of nesting.
>>
>>Maybe I should give the b)-approach a try when I get some more time...
> 
> 
> I *always* have my projects out of the Eclipse workspace, and I have
> tried your b solution with no success: whenever you try to create a
> project (even a "Simple" project) in a parent directory of an already
> created project you get an error from Eclipse telling you that the new
> project cannot be created as it would overlap with an existing
> project. So as far as I know the recommended layout is incompatible
> with Eclipse, at least with being able to edit the parent pom and
> manage its versions.
> 
> Best regards
> Jose
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



Re: Cannot use my ant task as a maven plugin : classloader issue !

2005-10-14 Thread Arnaud HERITIER
Hi Nicolas

In maven 1.X there's 2 classloaders
The root classloader where is ant and the root.maven classloader where is
maven and its dependencies.

If you use an ant task which need a dependency you must add the in the root
classloader to allow ant to find it.
In your POM these dependencies must have :

root


Also, you can take a look at this issue :
http://jira.codehaus.org/browse/MAVEN-1712

Arnaud


On 10/14/05, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
>
>
> I've found the cause of the problem :
> I've reduced my ant task to this code :
>
> execute() {
> log("getContextClassLoader() = " +
> Thread.currentThread().getContextClassLoader());
> }
>
> When I run it with ANT (1.5.3.1 ) I get
> [test] Thread.currentThread().getContextClassLoader() =
> [EMAIL PROTECTED]
>
> So It may be the same from a maven.xml script !
>
> When I run "maven ndl:test" (maven 1.0.2) I get
>
> ndl:test:
> [test] Thread.currentThread().getContextClassLoader() = *null*
> BUILD SUCCESSFUL
>
> Is there any reason for this, a workaround or anything to do ?
>
> Nico.
>
> Nicolas De Loof a écrit :
>
> >
> > Hello,
> >
> > I'm using maven 1.0.2 and try to create a plugin for an ant task, that
> > itself uses Springframework.
> >
> > As I get strange troubles, I've dropped all specific code to get only
> > an ant task that creates a spring context.
> > The spring context is reduced to a single bean of type String.
> >
> > When I run it as an ant task, it works fine, ie. the Spring context is
> > loaded :
> > >ant
> > Buildfile: build.xml
> > test:
> > Trying to override old definition of task test
> > [test] TEST 
> > [test] 13 oct. 2005 17:33:06
> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader
> > loadBeanDefinitions
> > [test] INFO: Loading XML bean definitions from file
> > [D:\workspace\ant-maven-failure\Designer-context.xml]
> > ...
> >
> > When I run it from a maven.xml goal (ndl:test) it fails with a strange
> > error :
> >
> > >maven -e ndl:test
> > __ __
> > | \/ |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> > |_| |_\__,_|\_/\___|_||_| v. 1.0.2
> > build:start:
> > ndl:init:
> > [taskdef] Trying to override old definition of task test
> > ndl:test:
> > [test] TEST 
> > BUILD FAILED
> > org.springframework.beans.factory.BeanCreationException: Error
> > creating bean with name 'reverse' defined in file
> > [D:\workspace\ant-maven-failure\Designer-context.xml]: Instantiation
> > of bean failed; nested exception is java.lang.IllegalStateException:
> > Bean definition does not carry a resolved bean class
> > java.lang.IllegalStateException: Bean definition does not carry a
> > resolved bean class
> > at
> >
> org.springframework.beans.factory.support.AbstractBeanDefinition.getBeanClass
> (AbstractBeanDefinition.java:205)
> >
> >
> >
> > Does anybody have any suggestion to investigate and solve this ?
> >
> > You can download the project from
> > http://loof.free.fr/ant-maven-failure.zip (3Mo)
> > run "ant" and compare with "maven ndl:test"
> >
> > Nico.
> >
> > This message contains information that may be privileged or
> > confidential and is the property of the Capgemini Group. It is
> > intended only for the person to whom it is addressed. If you are not
> > the intended recipient, you are not authorized to read, print,
> > retain, copy, disseminate, distribute, or use this message or any
> > part thereof. If you receive this message in error, please notify the
> > sender immediately and delete all copies of this message.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient, you
> are not authorized to read, print, retain, copy, disseminate, distribute, or
> use this message or any part thereof. If you receive this message in error,
> please notify the sender immediately and delete all copies of this message.
>
>


[m2] what happened to beta 4?

2005-10-14 Thread David Sag

I'm just looking at Jira and it seems
beta 4 has vanished from the road-map?  yet i see no announcement
of beta4 being released.

wassup?

Kind regards,
Dave Sag 




  

[M2] How to specify ssh/scp executable with scpexe

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

It's all in the subject: I'm trying to use scpexe with Putty under
Windows, but I can't find where to specify what executable should use
the scpexe extension. I've even taken a look at the sources, and this
seems to be configurable (there are two instances variables marked
with @component.configuration), but I don't know how...

Thanks in advance, best regards
Jose

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



Re: Flattened Eclipse Project

2005-10-14 Thread Jose Gonzalez Gomez
2005/10/14, mika <[EMAIL PROTECTED]>:
> Hi Brian,
> [snip]
>
> Now, I've found a solution which I *don't* consider to be
> "best-practice"-style at all, but it seems to work for me / us right at
> the moment:
>
> + parent
>+ pom.xml
> + module
>+ pom.xml
> + webapp
>+ pom.xml
> ...
>
> The modules in the parent are referenced like this:
> 
>../module
>../webapp
> 
>
> If I really understood right, for the recommended layout to work
> a) the top-most-pom could e.g. reside directly in my eclipse workspace
> folder and the subprojects would all be proper eclipse projects in the
> workspace
> - or -
> b) none of my projects are actually in the workspace (filesystem) but
> referenced from some other location on the fs - IMHO this would allow
> any level of nesting.
>
> Maybe I should give the b)-approach a try when I get some more time...

I *always* have my projects out of the Eclipse workspace, and I have
tried your b solution with no success: whenever you try to create a
project (even a "Simple" project) in a parent directory of an already
created project you get an error from Eclipse telling you that the new
project cannot be created as it would overlap with an existing
project. So as far as I know the recommended layout is incompatible
with Eclipse, at least with being able to edit the parent pom and
manage its versions.

Best regards
Jose

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



Re: Cannot use my ant task as a maven plugin : classloader issue !

2005-10-14 Thread Nicolas De Loof


I've found the cause of the problem :
I've reduced my ant task to this code :

execute() {
   log("getContextClassLoader() = " + 
Thread.currentThread().getContextClassLoader());

}

When I run it with ANT (1.5.3.1) I get
[test] Thread.currentThread().getContextClassLoader() = 
[EMAIL PROTECTED]


So It may be the same from a maven.xml script !

When I run "maven ndl:test" (maven 1.0.2) I get

ndl:test:
   [test] Thread.currentThread().getContextClassLoader() = *null*
BUILD SUCCESSFUL

Is there any reason for this, a workaround or anything to do ?

Nico.

Nicolas De Loof a écrit :



Hello,

I'm using maven 1.0.2 and try to create a plugin for an ant task, that 
itself uses Springframework.


As I get strange troubles, I've dropped all specific code to get only 
an ant task that creates a spring context.

The spring context is reduced to a single bean of type String.

When I run it as an ant task, it works fine, ie. the Spring context is 
loaded :

   >ant
   Buildfile: build.xml
 test:
   Trying to override old definition of task test
[test] TEST 
[test] 13 oct. 2005 17:33:06 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader 
loadBeanDefinitions
[test] INFO: Loading XML bean definitions from file 
[D:\workspace\ant-maven-failure\Designer-context.xml]

...

When I run it from a maven.xml goal (ndl:test) it fails with a strange 
error :


   >maven -e ndl:test
__  __
   |  \/  |__ _Apache__ ___
   | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
   |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
 build:start:
 ndl:init:
   [taskdef] Trying to override old definition of task test
 ndl:test:
   [test] TEST 
 BUILD FAILED
   org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'reverse' defined in file 
[D:\workspace\ant-maven-failure\Designer-context.xml]: Instantiation 
of bean failed; nested exception is java.lang.IllegalStateException: 
Bean definition does not carry a resolved bean class 
java.lang.IllegalStateException: Bean definition does not carry a 
resolved bean class
   at 
org.springframework.beans.factory.support.AbstractBeanDefinition.getBeanClass(AbstractBeanDefinition.java:205) 




Does anybody have any suggestion to investigate and solve this ?

You can download the project from  
http://loof.free.fr/ant-maven-failure.zip (3Mo)

run "ant" and compare with "maven ndl:test"

Nico.

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



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




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