performance unit testing with maven 2

2007-11-27 Thread dev dev
We are trying to find out which are the best ways for us to create
performance unit tests directly to our already existing test cases. Have
anyone have a good way to do that (we are looking at junitperf performance
unit testing framework) but we are not sure how to integrate with maven
pom.xml so that we can just run "mvn test"?

Thanks
dev


Maven-Scm Plugin with CVS: Wrong password exception

2007-11-27 Thread Usman Chaudhry
I am trying to use maven scm plugin to checkout some files from CVS but 
I always get a "Wrong Password" exception. Here is what I am tying:


   
   org.apache.maven.plugins
   maven-scm-plugin
   1.0
   
   
   checkout
   package
   
   checkout
   
   
   
scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvs/idev:module

   abc123
   
   
   
   

I am sure that password is correct but what can be wrong then?

Regards,
Usman


"deploy:deploy-file" with URL just "http://"

2007-11-27 Thread Xtonic
I found in wagon doc. that it does not support deployment for HTTP
(and HTTP lightweight). It makes sense with URL like "dav:http://";,
"file://" or "scpexe:" with explicit protocol. What happen if it is
just plain "http://";? Which protocol will be used between maven and
the remote repository?

I have Proximity to host the remote repostoritory, I found that I can do both:

mvn -deploy:deploy-file -DrepositoryId= -Durl=http://..
and
mvn -deploy:deploy-file -DrepositoryId= -Durl=dav:http://..

I just not sure why both of them work?

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



Re: Problem with MANIFEST.MF in maven-jar-plugin

2007-11-27 Thread Stuart McCulloch
On 28/11/2007, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> What do you mean "my jar does not work out"? How does it break?
>
> Please review the JAR spec -- I am reasonably certain the
> Maven-produced manifest.mf is correct:
>
> http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Notes%20on%20Manifest%20and%20Signature%20Files
>
> Line length:
> No line may be longer than 72 bytes (not characters), in its
> UTF8-encoded form. If a value would make the initial line longer than
> this, it should be continued on extra lines (each starting with a
> single SPACE).


that's correct - you'll see the same effect when using plain old jar:

   jar cfm foo.jar src/main/resources/META-INF/MANIFEST.MF
   jar xf foo.jar

and META-INF/MANIFEST.MF will be formatted with the 72 char limit

as Wayne said, could you explain more about "does not work out"?
do you see any exceptions / errors when using your jar? are those
jarfiles listed in Class-Path, in the same directory as your jar.

note Class-Path does not allow you to refer to embedded jars, see:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4648386
for the (long-running!) saga...

Wayne
>
> On 11/27/07, helio <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I am using maven-jar-plugin on maven 2.0.7.
> > I added this in my pom.xml:
> >
> > 
> >  
> >
> >  org.apache.maven.plugins
> >  maven-jar-plugin
> >  
> >
> >
> > src/main/resources/META-INF/MANIFEST.MF
> >
> >  
> >
> >  
> > 
> >
> > In src/main/resources/META-INF/MANIFEST.MF I have:
> >
> > Manifest-Version: 1.0
> > Class-Path: activation.jar commons-logging.jar getopt.jar javassist.jar
> > jaxb-api.jar jaxb-impl.jar jbossall-client.jar jboss-ejb3x.jar
> > jboss-j2ee.jar jboss-jaxrpc.jar jboss-jaxws.jar jboss-saaj.jar
> > jbossws-client.jar jbossws-spi.jar jboss-xml-binding.jar jtds-1.2.jar
> > log4j.jar mail.jar mysql-connector-java-3.1.12-bin.jar policy.jar
> > stax-api.jar wsdl4j.jar wstx.jar xercesImpl.jar
> > Main-Class: com.Claudio
> >
> > But when I run mvn clean package, into jar´s MANIFEST.MF I got:
> >
> > Manifest-Version: 1.0
> > Archiver-Version: Plexus Archiver
> > Created-By: Apache Maven
> > Built-By: claudior
> > Build-Jdk: 1.5.0_06
> > Main-Class: com.Claudio
> > Class-Path: activation.jar commons-logging.jar getopt.jar javassist.ja
> >  r jaxb-api.jar jaxb-impl.jar jbossall-client.jar jboss-ejb3x.jar jbos
> >  s-j2ee.jar jboss-jaxrpc.jar jboss-jaxws.jar jboss-saaj.jar jbossws-cl
> >  ient.jar jbossws-spi.jar jboss-xml-binding.jar jtds-1.2.jar log4j.jar
> >  mail.jar mysql-connector-java-3.1.12-bin.jar policy.jar stax-api.jar
> >  wsdl4j.jar wstx.jar xercesImpl.jar
> >
> > The plugin maven-jar-plugin adds breaklines in Class-Path and my jar
> > does not work out!!!
> >
> > Please, help me.
> >
> > Helio
> >
> > -
> > 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]
>
>


-- 
Cheers, Stuart


[ANN] Maven Help Plugin 2.0.2 Released

2007-11-27 Thread Dennis Lundberg

The Maven team is pleased to announce the release of Maven Help
Plugin, version 2.0.2.

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


Release Notes - Maven 2.x Help Plugin - Version 2.0.2


** Bug
* [MPH-16] - help:active-profiles doesn't include profiles derived 
from the parent pom.
* [MPH-21] - Help;effective-pom: don't aggregrate when called from 
lifecycle

* [MPH-25] - Simplify Help Plugin - Add medium describe flag

** Improvement
* [MPH-18] - Plugin site out of date?


Enjoy!

- The Maven Team

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



Re: Maven Usage on Enterprise Application

2007-11-27 Thread Siarhei Dudzin
It only compiles classes you changed (and that's not unique to just maven).
If you want to control which projects/modules 'to build or not to build' -
you can define that in profiles.
If you want to build only specific files in a project then probably your
project isn't well organized (most likely too big and needs a split up).
Besides you can always build only module you want.

For getting started please refer to
http://maven.apache.org/guides/getting-started/index.html

On 11/27/07, nash4403 <[EMAIL PROTECTED]> wrote:
>
>
> That answers the environment and variable substitution part.
> But how would maven help me in building parts of the project.
>
> Say I want to build only a file in the subdirectory like make abc.java
> or make [which builds just the subdirectory and dependent jave files from
> the parent and grand parent root directories]
>
>
> This will help the DEV teams they dont need to run the complete build
> instead just build that changed class to test.
>
> Thanks for your response earlier regarding profiles and filter resource
> files.
>
>
>
>
>
>
>
> Siarhei Dudzin wrote:
> >
> > Did you look into filtering and profiles?
> >
> >
> http://maven.apache.org/guides/getting-started/index.html#How_do_I_filter_resource_files
> >
> >
> http://maven.apache.org/guides/introduction/introduction-to-profiles.html
> >
> > Regards,
> > Siahrei
> >
> > On Nov 27, 2007 11:04 PM, nash4403 <[EMAIL PROTECTED]> wrote:
> >
> >>
> >> Our problems
> >>
> >>  1. Multi environment like DEV,QA, STAGING and PROD.A Perl script will
> >> take
> >> two parameters .One for environment and other for application and
> produce
> >> the configuration XML file.
> >>
> >> 2.We use GNU M4 for variable substitution to substitute variables from
> >> configuration XML file to substitute dynamic variables in tomcat/conf
> or
> >> httpd/conf files.How do I do this in Maven and eliminate M4 for
> variable
> >> substitution?
> >>
> >> 3.We use GNU Make to build and deploy.4. There are makefiles in each
> >> subdirectory thus helping us build that subdirectory or build a java
> file
> >> in
> >> that subdirectory
> >> like Make abc.java or say make on that directory,
> >>
> >> This gives us flexibility to make only that subdirectory .We did
> provide
> >> intelligence to that make process to compile the classes in that
> >> subdirectory and also compile only the depenedent classes if any from
> the
> >> root source.
> >>
> >> How can Maven help us here to eliminate MAKE all together?
> >>
> >> Our environment consists of PERL,cvs,ANT,GNU MAKE,GNU M4.
> >>
> >>
> >> Gurus please post your proposed solutions of using Maven?
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Maven-Usage-on-Enterprise-Application-tf4884771s177.html#a13980963
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Maven-Usage-on-Enterprise-Application-tf4884771s177.html#a13981495
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: dependency:tree not working in maven 2.0.7

2007-11-27 Thread Wendy Smoak
On 11/27/07, bryan ward <[EMAIL PROTECTED]> wrote:

> Thanks for the informative reply.  It leaves me wondering though why
> functionality that is not currently available via the standard maven install
> is listed in the plugin documentation?

My fault. :)  A while back I had the brilliant idea of publishing the
latest-and-greatest plugin docs with new features clearly marked as
"Since X.X".  It ended up causing too much confusion, so we switched
back to only publishing docs for the latest release.

The next time the dependency plugin is released, the docs for
2.0-alpha-5 will be published, and they will stay on the site until
the next version is ready.

(I can't do it from here, but someone could check out the tag for
2.0-alpha-4 and deploy the site... might need to update the parent pom
locally to v10 to pick up recent changes.)

-- 
Wendy

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



Maven 2.0.8 Release

2007-11-27 Thread Brian Fox
The Apache Maven team would like to announce the availability of Maven
2.0.8. We closed out 32 issues and no major issues upgrading are
expected.

There is one slight change to be aware of, the test-classes folder is
now before the classes in the classpath to allow test resources to
override runtime for testing purposes
(http://jira.codehaus.org/browse/MNG-3118)


You can find the binaries here:

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

You can find the release notes here:

http://maven.apache.org/release-notes.html

You can find the roadmap here:

http://jira.codehaus.org/browse/MNG?report=com.atlassian.jira.plugin.system.project:roadmap-panel

Thanks,

The Apache Maven Team

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



Re: Maven Usage on Enterprise Application

2007-11-27 Thread nash4403

That answers the environment and variable substitution part.
But how would maven help me in building parts of the project.

Say I want to build only a file in the subdirectory like make abc.java
or make [which builds just the subdirectory and dependent jave files from
the parent and grand parent root directories]


This will help the DEV teams they dont need to run the complete build
instead just build that changed class to test.

Thanks for your response earlier regarding profiles and filter resource
files.







Siarhei Dudzin wrote:
> 
> Did you look into filtering and profiles?
> 
> http://maven.apache.org/guides/getting-started/index.html#How_do_I_filter_resource_files
> 
> http://maven.apache.org/guides/introduction/introduction-to-profiles.html
> 
> Regards,
> Siahrei
> 
> On Nov 27, 2007 11:04 PM, nash4403 <[EMAIL PROTECTED]> wrote:
> 
>>
>> Our problems
>>
>>  1. Multi environment like DEV,QA, STAGING and PROD.A Perl script will
>> take
>> two parameters .One for environment and other for application and produce
>> the configuration XML file.
>>
>> 2.We use GNU M4 for variable substitution to substitute variables from
>> configuration XML file to substitute dynamic variables in tomcat/conf or
>> httpd/conf files.How do I do this in Maven and eliminate M4 for variable
>> substitution?
>>
>> 3.We use GNU Make to build and deploy.4. There are makefiles in each
>> subdirectory thus helping us build that subdirectory or build a java file
>> in
>> that subdirectory
>> like Make abc.java or say make on that directory,
>>
>> This gives us flexibility to make only that subdirectory .We did provide
>> intelligence to that make process to compile the classes in that
>> subdirectory and also compile only the depenedent classes if any from the
>> root source.
>>
>> How can Maven help us here to eliminate MAKE all together?
>>
>> Our environment consists of PERL,cvs,ANT,GNU MAKE,GNU M4.
>>
>>
>> Gurus please post your proposed solutions of using Maven?
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Maven-Usage-on-Enterprise-Application-tf4884771s177.html#a13980963
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-Usage-on-Enterprise-Application-tf4884771s177.html#a13981495
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: dependency:tree not working in maven 2.0.7

2007-11-27 Thread Brian E. Fox
The site does say that the goal is available since 2.0-alpha-5.

dependency:tree

Displays the dependency tree for this project.

Mojo Attributes:

* Requires a Maven 2.0 project to execute.
* Requires dependency resolution of artifacts in scope: test
* Since version: 2.0-alpha-5


-Original Message-
From: bryan ward [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 27, 2007 2:10 PM
To: users@maven.apache.org
Subject: Re: dependency:tree not working in maven 2.0.7


Hi,

Thanks for the informative reply.  It leaves me wondering though why
functionality that is not currently available via the standard maven
install
is listed in the plugin documentation?  

Thanks,

Bryan



Wayne Fay wrote:
> 
> Assuming the plugin has been released, you have two options:
> 1. Specify the plugin version in your pom.
> 2. Use the "full" name of the plugin on the command line:
> mvn groupId:artifactId:version:goal eg
> mvn org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5:tree
> 
> Unfortunately, this plugin version is still in development, so this is
> not sufficient. You can see the latest versions here:
>
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-dependency-
plugin/
> 
> If you must use this new version, you will need to add the Apache
> snapshot repo to your pom or settings.xml, or pull the code from SVN
> and build/install it locally.
> 
> Wayne
> 
> On 11/27/07, bryan ward <[EMAIL PROTECTED]> wrote:
>>
>> I looked in my local repository and it currently has version
2.0-alpha-4
>> of
>> the dependency plugin.  Do you know how A) it chose to use
2.0-alpha-4
>> and
>> B) how do I change it to use alpha-5 (or the latest available).
>>
>> Thanks!
>>
>> Bryan
>>
>>
>>
>> dennisl-2 wrote:
>> >
>> > You need at least version 2.0-alpha-5 of the dependency-plugin. The
>> tree
>> > goal was introduced in that version as indicated here:
>> >
>> >
http://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html
>> >
>> > bryan ward wrote:
>> >> Hi,
>> >>
>> >> I would like to run some of the dependency goals listed in the
>> >> documentation
>> >>
>> >> http://maven.apache.org/plugins/maven-dependency-plugin/
>> >>
>> >> however when I do, I get an error stating that the goal cannot be
>> found?
>> >> Does anyone know why this is?
>> >>
>> >>
>> >> /cygdrive/c/hasdev/servicesImpl$ mvn -e dependency:tree
>> >> + Error stacktraces are turned on.
>> >> [INFO] Scanning for projects...
>> >> [INFO] Searching repository for plugin with prefix: 'dependency'.
>> >> [INFO]
>> >>
>>

>> >> [ERROR] BUILD FAILURE
>> >> [INFO]
>> >>
>>

>> >> [INFO] Required goal not found: dependency:tree
>> >> [INFO]
>> >>
>>

>> >> [INFO] Trace
>> >> org.apache.maven.BuildFailureException: Required goal not found:
>> >> dependency:tree
>> >> at
>> >>
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De
faultLifecycleExe
>> >> cutor.java:1538)
>> >> at
>> >>
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAgg
regationNeeds(Def
>> >> aultLifecycleExecutor.java:386)
>> >> at
>> >>
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java
>> >> :138)
>> >> at
>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>> >> at
>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>> >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>> >> at
>> >>
>>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
>> >> at
>> >>
>>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
>> >> at java.lang.reflect.Method.invoke(Method.java:585)
>> >> at
>> >>
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> >> at
org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> >> at
>> >>
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> >> at
org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> >> [INFO]
>> >>
>>

>> >> [INFO] Total time: < 1 second
>> >> [INFO] Finished at: Tue Nov 27 11:14:47 MST 2007
>> >> [INFO] Final Memory: 2M/4M
>> >> [INFO]
>> >>
>>

>> >>
>> >>
>> >
>> >
>> > --
>> > Dennis Lundberg
>> >
>> >
-
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/dependen

Re: [ANNOUNCE] Archiva 1.0 Released

2007-11-27 Thread bflaherty

To the Archiva team,

Great job.  We are looking forward to leveraging this new release.

Brian


Maria Odea Ching-5 wrote:
> 
>  Hi Everyone,
> 
> The Maven Archiva team is pleased to announce the release of Archiva
> 1.0final.
> 
> Archiva is a build artifact repository manager for use with build tools
> such
> as Maven, Continuum and Ant.
> 
> It has features like repository search and browse, securing repositories,
> identifying unknown artifacts and reporting of repository problems.
> 
> Aside from these, it can also act as a nearby (proxy) cache of popular
> global repositories.
> 
> 
> The latest release is now available here:
> 
> http://maven.apache.org/archiva/download.html
> 
> 
> The site has also been updated, you can visit it at:
> 
> http://maven.apache.org/archiva
> 
> 
> Below are the jira issues that were resolved for Archiva 1.0:
> 
> Release Notes - Archiva - Version 1.0
> 
> 
> ** Bug
> * [MRM-545] - Documentation for configuring for Tomcat is invalid
> * [MRM-586] - entire proxy request fails if a queried remote
> repository
> throws a proxyexception
> * [MRM-595] - regression : server-side relocation fails
> * [MRM-596] - regression : cannot get java-sources anymore from maven1
> * [MRM-598] - Validation error on new repository creation
> 
> 
> 
> ** Task
> * [MRM-583] - Finalise and publish updated web site
> * [MRM-587] - further changes to logging needed
> 
> 
> 
> Thanks,
> Deng
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-ANNOUNCE--Archiva-1.0-Released-tf4880761.html#a13981482
Sent from the archiva-users mailing list archive at Nabble.com.



Re: repository and database

2007-11-27 Thread Maria Odea Ching

Julien CARSIQUE wrote:
More information : deleting the local repository (only the groupId) 
fix the problem, artifact is then correctly downloaded. Is it due to 
corruption during download or what else ?
This wasn't often happening until upgrade to beta-4 and then 1.0; now 
this error seems to occur more often.


Could you post some log snippets from this error you encountered?



Julien CARSIQUE a écrit :

Hi,

What's the difference between repositories scanning cron and database 
update cron ?

Is there some recommended values ?

Could you give me a cron example please ? I already asked and you 
answered me to see quartz but there is two different cron patterns 
using the web interface; even I know cron, I don't understand the 6th 
value for repositories and not for database. Usually it's about a 
user but here I don't know and didn't find doc in quartz about how 
you use the library.


Hmm.. I think both the repository scanning cron and the database cron 
have the same number of values (up to the 6th) by default. Actually, a 
valid cron expression should have 6 to 7 fields. I'm not certain about 
this but I think I remember there was a jira before that one of the 
default cron expressions set were invalid, maybe the database cron 
expression for your configuration was still a leftover from the old 
archiva having that issue :)





Last, I currently have a strange issue happening sometimes (why I 
suspect the scanning process) : maven can't find some artifacts 
whereas they are present in the filesystem and findable using the web 
ui.
In archiva logs, I can lines saying it didn't find the wanted 
artifact (and many many others). Could this be link to a 
misconfigured cron ?


Thanks,
Julien




Thanks,
Deng



Re: Maven Usage on Enterprise Application

2007-11-27 Thread Siarhei Dudzin
Did you look into filtering and profiles?

http://maven.apache.org/guides/getting-started/index.html#How_do_I_filter_resource_files

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

Regards,
Siahrei

On Nov 27, 2007 11:04 PM, nash4403 <[EMAIL PROTECTED]> wrote:

>
> Our problems
>
>  1. Multi environment like DEV,QA, STAGING and PROD.A Perl script will
> take
> two parameters .One for environment and other for application and produce
> the configuration XML file.
>
> 2.We use GNU M4 for variable substitution to substitute variables from
> configuration XML file to substitute dynamic variables in tomcat/conf or
> httpd/conf files.How do I do this in Maven and eliminate M4 for variable
> substitution?
>
> 3.We use GNU Make to build and deploy.4. There are makefiles in each
> subdirectory thus helping us build that subdirectory or build a java file
> in
> that subdirectory
> like Make abc.java or say make on that directory,
>
> This gives us flexibility to make only that subdirectory .We did provide
> intelligence to that make process to compile the classes in that
> subdirectory and also compile only the depenedent classes if any from the
> root source.
>
> How can Maven help us here to eliminate MAKE all together?
>
> Our environment consists of PERL,cvs,ANT,GNU MAKE,GNU M4.
>
>
> Gurus please post your proposed solutions of using Maven?
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Maven-Usage-on-Enterprise-Application-tf4884771s177.html#a13980963
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: dependency:tree not working in maven 2.0.7

2007-11-27 Thread bryan ward

Hi,

Thanks for the informative reply.  It leaves me wondering though why
functionality that is not currently available via the standard maven install
is listed in the plugin documentation?  

Thanks,

Bryan



Wayne Fay wrote:
> 
> Assuming the plugin has been released, you have two options:
> 1. Specify the plugin version in your pom.
> 2. Use the "full" name of the plugin on the command line:
> mvn groupId:artifactId:version:goal eg
> mvn org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5:tree
> 
> Unfortunately, this plugin version is still in development, so this is
> not sufficient. You can see the latest versions here:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/
> 
> If you must use this new version, you will need to add the Apache
> snapshot repo to your pom or settings.xml, or pull the code from SVN
> and build/install it locally.
> 
> Wayne
> 
> On 11/27/07, bryan ward <[EMAIL PROTECTED]> wrote:
>>
>> I looked in my local repository and it currently has version 2.0-alpha-4
>> of
>> the dependency plugin.  Do you know how A) it chose to use 2.0-alpha-4
>> and
>> B) how do I change it to use alpha-5 (or the latest available).
>>
>> Thanks!
>>
>> Bryan
>>
>>
>>
>> dennisl-2 wrote:
>> >
>> > You need at least version 2.0-alpha-5 of the dependency-plugin. The
>> tree
>> > goal was introduced in that version as indicated here:
>> >
>> > http://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html
>> >
>> > bryan ward wrote:
>> >> Hi,
>> >>
>> >> I would like to run some of the dependency goals listed in the
>> >> documentation
>> >>
>> >> http://maven.apache.org/plugins/maven-dependency-plugin/
>> >>
>> >> however when I do, I get an error stating that the goal cannot be
>> found?
>> >> Does anyone know why this is?
>> >>
>> >>
>> >> /cygdrive/c/hasdev/servicesImpl$ mvn -e dependency:tree
>> >> + Error stacktraces are turned on.
>> >> [INFO] Scanning for projects...
>> >> [INFO] Searching repository for plugin with prefix: 'dependency'.
>> >> [INFO]
>> >>
>> 
>> >> [ERROR] BUILD FAILURE
>> >> [INFO]
>> >>
>> 
>> >> [INFO] Required goal not found: dependency:tree
>> >> [INFO]
>> >>
>> 
>> >> [INFO] Trace
>> >> org.apache.maven.BuildFailureException: Required goal not found:
>> >> dependency:tree
>> >> at
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExe
>> >> cutor.java:1538)
>> >> at
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(Def
>> >> aultLifecycleExecutor.java:386)
>> >> at
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
>> >> :138)
>> >> at
>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>> >> at
>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>> >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >> at
>> >>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> >> at
>> >>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >> at java.lang.reflect.Method.invoke(Method.java:585)
>> >> at
>> >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> >> at
>> >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> >> [INFO]
>> >>
>> 
>> >> [INFO] Total time: < 1 second
>> >> [INFO] Finished at: Tue Nov 27 11:14:47 MST 2007
>> >> [INFO] Final Memory: 2M/4M
>> >> [INFO]
>> >>
>> 
>> >>
>> >>
>> >
>> >
>> > --
>> > Dennis Lundberg
>> >
>> > -
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/dependency%3Atree-not-working-in-maven-2.0.7-tf4883555s177.html#a13979033
>> Sent from the Maven - Users mailing list archive at Nabble.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]
> 
> 
> 

Maven Usage on Enterprise Application

2007-11-27 Thread nash4403

Our problems

 1. Multi environment like DEV,QA, STAGING and PROD.A Perl script will take
two parameters .One for environment and other for application and produce
the configuration XML file.

2.We use GNU M4 for variable substitution to substitute variables from
configuration XML file to substitute dynamic variables in tomcat/conf or
httpd/conf files.How do I do this in Maven and eliminate M4 for variable
substitution?

3.We use GNU Make to build and deploy.4. There are makefiles in each
subdirectory thus helping us build that subdirectory or build a java file in
that subdirectory
like Make abc.java or say make on that directory,

This gives us flexibility to make only that subdirectory .We did provide
intelligence to that make process to compile the classes in that
subdirectory and also compile only the depenedent classes if any from the
root source.

How can Maven help us here to eliminate MAKE all together?

Our environment consists of PERL,cvs,ANT,GNU MAKE,GNU M4.


Gurus please post your proposed solutions of using Maven?



-- 
View this message in context: 
http://www.nabble.com/Maven-Usage-on-Enterprise-Application-tf4884771s177.html#a13980963
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Problem with MANIFEST.MF in maven-jar-plugin

2007-11-27 Thread Wayne Fay
What do you mean "my jar does not work out"? How does it break?

Please review the JAR spec -- I am reasonably certain the
Maven-produced manifest.mf is correct:
http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Notes%20on%20Manifest%20and%20Signature%20Files

Line length:
No line may be longer than 72 bytes (not characters), in its
UTF8-encoded form. If a value would make the initial line longer than
this, it should be continued on extra lines (each starting with a
single SPACE).

Wayne

On 11/27/07, helio <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using maven-jar-plugin on maven 2.0.7.
> I added this in my pom.xml:
>
> 
>  
>
>  org.apache.maven.plugins
>  maven-jar-plugin
>  
>
>
> src/main/resources/META-INF/MANIFEST.MF
>
>  
>
>  
> 
>
> In src/main/resources/META-INF/MANIFEST.MF I have:
>
> Manifest-Version: 1.0
> Class-Path: activation.jar commons-logging.jar getopt.jar javassist.jar
> jaxb-api.jar jaxb-impl.jar jbossall-client.jar jboss-ejb3x.jar
> jboss-j2ee.jar jboss-jaxrpc.jar jboss-jaxws.jar jboss-saaj.jar
> jbossws-client.jar jbossws-spi.jar jboss-xml-binding.jar jtds-1.2.jar
> log4j.jar mail.jar mysql-connector-java-3.1.12-bin.jar policy.jar
> stax-api.jar wsdl4j.jar wstx.jar xercesImpl.jar
> Main-Class: com.Claudio
>
> But when I run mvn clean package, into jar´s MANIFEST.MF I got:
>
> Manifest-Version: 1.0
> Archiver-Version: Plexus Archiver
> Created-By: Apache Maven
> Built-By: claudior
> Build-Jdk: 1.5.0_06
> Main-Class: com.Claudio
> Class-Path: activation.jar commons-logging.jar getopt.jar javassist.ja
>  r jaxb-api.jar jaxb-impl.jar jbossall-client.jar jboss-ejb3x.jar jbos
>  s-j2ee.jar jboss-jaxrpc.jar jboss-jaxws.jar jboss-saaj.jar jbossws-cl
>  ient.jar jbossws-spi.jar jboss-xml-binding.jar jtds-1.2.jar log4j.jar
>  mail.jar mysql-connector-java-3.1.12-bin.jar policy.jar stax-api.jar
>  wsdl4j.jar wstx.jar xercesImpl.jar
>
> The plugin maven-jar-plugin adds breaklines in Class-Path and my jar
> does not work out!!!
>
> Please, help me.
>
> Helio
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Problem with MANIFEST.MF in maven-jar-plugin

2007-11-27 Thread helio

Hi,

I am using maven-jar-plugin on maven 2.0.7.
I added this in my pom.xml:


 
   
 org.apache.maven.plugins
 maven-jar-plugin
 
   
 
src/main/resources/META-INF/MANIFEST.MF

   
 
   
 


In src/main/resources/META-INF/MANIFEST.MF I have:

Manifest-Version: 1.0
Class-Path: activation.jar commons-logging.jar getopt.jar javassist.jar 
jaxb-api.jar jaxb-impl.jar jbossall-client.jar jboss-ejb3x.jar 
jboss-j2ee.jar jboss-jaxrpc.jar jboss-jaxws.jar jboss-saaj.jar 
jbossws-client.jar jbossws-spi.jar jboss-xml-binding.jar jtds-1.2.jar 
log4j.jar mail.jar mysql-connector-java-3.1.12-bin.jar policy.jar 
stax-api.jar wsdl4j.jar wstx.jar xercesImpl.jar

Main-Class: com.Claudio

But when I run mvn clean package, into jar´s MANIFEST.MF I got:

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: claudior
Build-Jdk: 1.5.0_06
Main-Class: com.Claudio
Class-Path: activation.jar commons-logging.jar getopt.jar javassist.ja
r jaxb-api.jar jaxb-impl.jar jbossall-client.jar jboss-ejb3x.jar jbos
s-j2ee.jar jboss-jaxrpc.jar jboss-jaxws.jar jboss-saaj.jar jbossws-cl
ient.jar jbossws-spi.jar jboss-xml-binding.jar jtds-1.2.jar log4j.jar
 mail.jar mysql-connector-java-3.1.12-bin.jar policy.jar stax-api.jar
 wsdl4j.jar wstx.jar xercesImpl.jar

The plugin maven-jar-plugin adds breaklines in Class-Path and my jar 
does not work out!!!


Please, help me.

Helio

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



Re: dependency:tree not working in maven 2.0.7

2007-11-27 Thread Wayne Fay
Assuming the plugin has been released, you have two options:
1. Specify the plugin version in your pom.
2. Use the "full" name of the plugin on the command line:
mvn groupId:artifactId:version:goal eg
mvn org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5:tree

Unfortunately, this plugin version is still in development, so this is
not sufficient. You can see the latest versions here:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/

If you must use this new version, you will need to add the Apache
snapshot repo to your pom or settings.xml, or pull the code from SVN
and build/install it locally.

Wayne

On 11/27/07, bryan ward <[EMAIL PROTECTED]> wrote:
>
> I looked in my local repository and it currently has version 2.0-alpha-4 of
> the dependency plugin.  Do you know how A) it chose to use 2.0-alpha-4 and
> B) how do I change it to use alpha-5 (or the latest available).
>
> Thanks!
>
> Bryan
>
>
>
> dennisl-2 wrote:
> >
> > You need at least version 2.0-alpha-5 of the dependency-plugin. The tree
> > goal was introduced in that version as indicated here:
> >
> > http://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html
> >
> > bryan ward wrote:
> >> Hi,
> >>
> >> I would like to run some of the dependency goals listed in the
> >> documentation
> >>
> >> http://maven.apache.org/plugins/maven-dependency-plugin/
> >>
> >> however when I do, I get an error stating that the goal cannot be found?
> >> Does anyone know why this is?
> >>
> >>
> >> /cygdrive/c/hasdev/servicesImpl$ mvn -e dependency:tree
> >> + Error stacktraces are turned on.
> >> [INFO] Scanning for projects...
> >> [INFO] Searching repository for plugin with prefix: 'dependency'.
> >> [INFO]
> >> 
> >> [ERROR] BUILD FAILURE
> >> [INFO]
> >> 
> >> [INFO] Required goal not found: dependency:tree
> >> [INFO]
> >> 
> >> [INFO] Trace
> >> org.apache.maven.BuildFailureException: Required goal not found:
> >> dependency:tree
> >> at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExe
> >> cutor.java:1538)
> >> at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(Def
> >> aultLifecycleExecutor.java:386)
> >> at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
> >> :138)
> >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> at
> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >> at
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >> at java.lang.reflect.Method.invoke(Method.java:585)
> >> at
> >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >> at
> >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >> [INFO]
> >> 
> >> [INFO] Total time: < 1 second
> >> [INFO] Finished at: Tue Nov 27 11:14:47 MST 2007
> >> [INFO] Final Memory: 2M/4M
> >> [INFO]
> >> 
> >>
> >>
> >
> >
> > --
> > Dennis Lundberg
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/dependency%3Atree-not-working-in-maven-2.0.7-tf4883555s177.html#a13979033
> Sent from the Maven - Users mailing list archive at Nabble.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]



The specified resource isn't a file or the protocol used isn't allowed - Please Help

2007-11-27 Thread I am Who i am
Hi All

I just installed continuum-1.1 and trying to setup maven2 project with
clearcase

1. i created pom.xml with entry
   


scm:clearcase|buildsvr_myview|/home/me/config_spec.txt|My_VOB|STREAM



  
  saved it to /home/me/pom.xml

2. opened continuum in browser went thru creating maven2projects and gave
POM Url as file:///home/pom.xml , but i'm getting
   "The specified resource isn't a file or the protocol used isn't allowed."

3. i checked the file, it is there

4. This is what i see in wrapper.log
INFO   | jvm 1| 2007/11/27 14:17:54 | 2007-11-27 14:17:54,628
[SocketListener0-0] WARN
com.opensymphony.webwork.dispatcher.multipart.MultiPartRequest  - Item is a
file upload of 0 size, ignoring
INFO   | jvm 1| 2007/11/27 14:17:54 | 2007-11-27 14:17:54,632
[SocketListener0-0] ERROR
com.opensymphony.webwork.dispatcher.DispatcherUtils  - Error setting
character encoding to 'UTF-8' - ignoring.
INFO   | jvm 1| 2007/11/27 14:17:54 | java.lang.IllegalStateException:
getReader() or getInputStream() called
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.jetty.servlet.ServletHttpRequest.setCharacterEncoding(
ServletHttpRequest.java:602)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
javax.servlet.ServletRequestWrapper.setCharacterEncoding(
ServletRequestWrapper.java:112)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
com.opensymphony.webwork.dispatcher.DispatcherUtils.prepare(
DispatcherUtils.java:438)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(
FilterDispatcher.java:160)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java
:118)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java
:52)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(
ActionContextCleanUp.java:88)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
WebApplicationHandler.java:471)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.jetty.servlet.WebApplicationContext.handle(
WebApplicationContext.java:633)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.http.HttpServer.service(HttpServer.java:909)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
INFO   | jvm 1| 2007/11/27 14:17:54 |   at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)



What am i doing wrong, please help


Re: dependency:tree not working in maven 2.0.7

2007-11-27 Thread bryan ward

I looked in my local repository and it currently has version 2.0-alpha-4 of
the dependency plugin.  Do you know how A) it chose to use 2.0-alpha-4 and
B) how do I change it to use alpha-5 (or the latest available).

Thanks!

Bryan



dennisl-2 wrote:
> 
> You need at least version 2.0-alpha-5 of the dependency-plugin. The tree 
> goal was introduced in that version as indicated here:
> 
> http://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html
> 
> bryan ward wrote:
>> Hi, 
>> 
>> I would like to run some of the dependency goals listed in the
>> documentation 
>> 
>> http://maven.apache.org/plugins/maven-dependency-plugin/
>> 
>> however when I do, I get an error stating that the goal cannot be found? 
>> Does anyone know why this is?
>> 
>> 
>> /cygdrive/c/hasdev/servicesImpl$ mvn -e dependency:tree
>> + Error stacktraces are turned on.
>> [INFO] Scanning for projects...
>> [INFO] Searching repository for plugin with prefix: 'dependency'.
>> [INFO]
>> 
>> [ERROR] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Required goal not found: dependency:tree
>> [INFO]
>> 
>> [INFO] Trace
>> org.apache.maven.BuildFailureException: Required goal not found:
>> dependency:tree
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExe
>> cutor.java:1538)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(Def
>> aultLifecycleExecutor.java:386)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
>> :138)
>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> [INFO]
>> 
>> [INFO] Total time: < 1 second
>> [INFO] Finished at: Tue Nov 27 11:14:47 MST 2007
>> [INFO] Final Memory: 2M/4M
>> [INFO]
>> 
>> 
>> 
> 
> 
> -- 
> Dennis Lundberg
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/dependency%3Atree-not-working-in-maven-2.0.7-tf4883555s177.html#a13979033
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: dependency:tree not working in maven 2.0.7

2007-11-27 Thread Siarhei Dudzin
I simply generate site to see the dependency tree...

On Nov 27, 2007 7:40 PM, Dennis Lundberg <[EMAIL PROTECTED]> wrote:

> You need at least version 2.0-alpha-5 of the dependency-plugin. The tree
> goal was introduced in that version as indicated here:
>
> http://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html
>
> bryan ward wrote:
> > Hi,
> >
> > I would like to run some of the dependency goals listed in the
> documentation
> >
> > http://maven.apache.org/plugins/maven-dependency-plugin/
> >
> > however when I do, I get an error stating that the goal cannot be found?
> > Does anyone know why this is?
> >
> >
> > /cygdrive/c/hasdev/servicesImpl$ mvn -e dependency:tree
> > + Error stacktraces are turned on.
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'dependency'.
> > [INFO]
> > 
> > [ERROR] BUILD FAILURE
> > [INFO]
> > 
> > [INFO] Required goal not found: dependency:tree
> > [INFO]
> > 
> > [INFO] Trace
> > org.apache.maven.BuildFailureException: Required goal not found:
> > dependency:tree
> > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
> (DefaultLifecycleExe
> > cutor.java:1538)
> > at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds
> (Def
> > aultLifecycleExecutor.java:386)
> > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java
> > :138)
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> :334)
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:585)
> > at
> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > at
> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > [INFO]
> > 
> > [INFO] Total time: < 1 second
> > [INFO] Finished at: Tue Nov 27 11:14:47 MST 2007
> > [INFO] Final Memory: 2M/4M
> > [INFO]
> > 
> >
> >
>
>
> --
> Dennis Lundberg
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Javadocs during install phase

2007-11-27 Thread Antonio Petrelli
2007/11/27, Dennis Lundberg <[EMAIL PROTECTED]>:
> Antonio Petrelli wrote:
> > 2007/11/27, rmatthews <[EMAIL PROTECTED]>:
> >>
> >> true
> >
> >
> >
> > This is the problem :-(
> > http://jira.codehaus.org/browse/MJAVADOC-116
> > 22 votes and 15 watches, and no one that takes care of it :-(
>
> Please, feel free to attach a patch to that issue ;-)

If I was able to correct it, I would have fixed it a long time ago.
But I think that I helped anyway, because I made a small test case,
attached to the issue, to help developers in debugging the issue.

Sorry
Antonio

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



Re: maven-archetype-webapp Directory Structure?

2007-11-27 Thread Siarhei Dudzin
It is also JEE standard to include jars in WEB-INF/lib. There is a
difference between a standard and recommendation.
Another possible perspective for you is avoiding potential classloading
problems. If you work with various vendors you may notice not all vendors
are as moderate to how your archives are packaged.

On Nov 27, 2007 8:18 PM, Thomas Van de Velde <[EMAIL PROTECTED]>
wrote:

> That's interesting. Isn't the JEE standard to store servlet classes under
> WEB-INF/classes? What's the value of creating a separate JAR file for
> servlets? It seems to me that this adds unnecessary complexity. Having
> worked on several large projects, I've never seen servlets being packaged
> in
> multiple jar files. I do see how this can be valuable for architectural
> code, domain classes, services and repositories (DAO's). Any other
> perspectives on this?
>
> On Nov 27, 2007 10:07 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> > On 11/27/07, Thomas Van de Velde <[EMAIL PROTECTED]> wrote:
> >
> > > I was trying out maven-archetype-webapp with Maven 2.0.7 and
> > maven-archetype
> > > 1.0-alpha-7 and noticed that the following directory structure is
> > created:
> > ...
> > > Is there not supposed to be a directory structure for Java source code
> > and
> > > unit test source code and resources?
> > >
> > > Is this a bug or am I missing out on a best practice?
> >
> > It's intentional.  The recommendation is to have a separate module for
> > the Java code and resources, and to declare it as a dependency in your
> > webapp.
> >
> > (However, there's nothing stopping you from creating the directories
> > and using them, which is often fine for simple webapps, example apps
> > for frameworks for example.)
> >
> > --
> > Wendy
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


Re: Include source, javadocs, etc in installed artifact

2007-11-27 Thread Dennis Lundberg

lightbulb432 wrote:

From where can I download maven-javadoc-plugin 2.4? There's a documented IBM

JVM-specific bug that's fixed in 2.4 that I need to download. Unfortunately,
it doesn't look like it's released yet (is it?), with the latest version
being 2.3 (see
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-javadoc-plugin).

When will 2.4 be released, and how can I use a currently-unreleased version
at this time? How do I build a version I can deploy to my local repository
for use in my project?

If I check out the SVN link corresponding to trunk/maven-javadoc-plugin/,
which contains src/ and pom.xml, what mvn command would I use to build it?


"mvn install" to install it in your local repo.


Also, would I be able to check out only trunk/maven-javadoc-plugin, or do I
need to check out the folder structure higher up in the hierarchy?


No, you'll get everything else (parent pom etc.) from the central 
repository.



Thanks.



Yaakov Chaikin wrote:

As part of your plugins configuration, do this;


  maven-source-plugin
  
false
  
  

  package
  
jar
  

  


If you're using Eclipse, you can then do this (after closing eclipse):
mvn eclipse:clean eclipse:eclipse -DdownloadSources=true

Eclipse will parse the JavaDocs for you from the source. However, if
you still want javadocs, do this in the pom:

  maven-javadoc-plugin
  
true
  


Similarly, for Eclipse, you would now add this to the line:
mvn eclipse:clean eclipse:eclipse -DdownloadSource=true
-DdownloadJavadocs=true

Hope this helps.

Yaakov.


On 11/4/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote:

This was answered on October 31. on this list. Check the archives for a
thread titled "Attaching source code".

lightbulb432 wrote:

When I run the mvn install, install:install, or install:install-file

command,

only the JAR itself is put into my local repository. How can I get the
source, Javadocs, and other things to also be put into the local

repository?

I looked at the following link for any parameters to add, but nothing
relating to this was mentioned.

http://maven.apache.org/plugins/maven-install-plugin/install-mojo.html

Also, what's the difference between the three types of install commands
specified above? "install" is a phase, while the other two are goals?

Does

the install phase by default call one of those two goals?

Thanks.


--
Dennis Lundberg

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








--
Dennis Lundberg

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



Re: HTTP 500 on proxyConnectors.action

2007-11-27 Thread Julien CARSIQUE
Ok, it's fixed removing the proxy connectors def and redo it via the web 
interface.



Re,

I've updated to archiva 1.0 and still have the same issue

Julien CARSIQUE a écrit :

Hello,

I get an error going on archiva/admin/proxyConnectors.action

Here's what I see on the client side in Firefox : |
   HTTP ERROR: 500|

|Exception in JSP: /WEB-INF/jsp/admin/proxyConnectors.jsp:127

124:   "/>
125:   ${connector.targetRepoId}
126:   class="name">${repoMap[connector.targetRepoId].name}
127:   href="${repoMap[connector.targetRepoId].url}">${repoMap[connector.targetRepoId].url} 


128: 
129: 130: onclick="Effect.toggle('proxySettings_${connector.sourceRepoId}_${connector.targetRepoId}','slide'); 
return false;">Expand

Stacktrace:
||RequestURI=/archiva/admin/prox||yConnectors.action|

And here's what I see on the server side in the logs :

   INFO   | jvm 1| 2007/11/27 16:24:11 | Nov 27, 2007 4:24:11 PM 
org.mortbay.jetty.servlet.ServletHandler handle
   INFO   | jvm 1| 2007/11/27 16:24:11 | WARNING: 
/archiva/admin/proxyConnectors.action:
   INFO   | jvm 1| 2007/11/27 16:24:11 | 
javax.servlet.jsp.el.ELException: Unable to find a value for "url" in 
object of class 
"org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration" 
using operator "."
   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.Logger.logError(Logger.java:481)
   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.Logger.logError(Logger.java:498)
   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.Logger.logError(Logger.java:611)
   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:340)
   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:932) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jsp.WEB_002dINF.jsp.admin.proxyConnectors_jsp._jspx_meth_c_forEach_1(proxyConnectors_jsp.java:658) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jsp.WEB_002dINF.jsp.admin.proxyConnectors_jsp._jspx_meth_c_forEach_0(proxyConnectors_jsp.java:569) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jsp.WEB_002dINF.jsp.admin.proxyConnectors_jsp._jspx_meth_c_otherwise_0(proxyConnectors_jsp.java:518) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jsp.WEB_002dINF.jsp.admin.proxyConnectors_jsp._jspx_meth_c_choose_0(proxyConnectors_jsp.java:460) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jsp.WEB_002dINF.jsp.admin.proxyConnectors_jsp._jspService(proxyConnectors_jsp.java:166) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)



Thanks for help,

Julien








Re: maven-archetype-webapp Directory Structure?

2007-11-27 Thread Thomas Van de Velde
That's interesting. Isn't the JEE standard to store servlet classes under
WEB-INF/classes? What's the value of creating a separate JAR file for
servlets? It seems to me that this adds unnecessary complexity. Having
worked on several large projects, I've never seen servlets being packaged in
multiple jar files. I do see how this can be valuable for architectural
code, domain classes, services and repositories (DAO's). Any other
perspectives on this?

On Nov 27, 2007 10:07 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote:

> On 11/27/07, Thomas Van de Velde <[EMAIL PROTECTED]> wrote:
>
> > I was trying out maven-archetype-webapp with Maven 2.0.7 and
> maven-archetype
> > 1.0-alpha-7 and noticed that the following directory structure is
> created:
> ...
> > Is there not supposed to be a directory structure for Java source code
> and
> > unit test source code and resources?
> >
> > Is this a bug or am I missing out on a best practice?
>
> It's intentional.  The recommendation is to have a separate module for
> the Java code and resources, and to declare it as a dependency in your
> webapp.
>
> (However, there's nothing stopping you from creating the directories
> and using them, which is often fine for simple webapps, example apps
> for frameworks for example.)
>
> --
> Wendy
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


finding the dependency artifact name for filtering

2007-11-27 Thread deckrider
Hello,

I have the following dependency on a war artifact (contains a bundle
of jnlp/webstart apps):


  foo.bar
  webstart-apps
  [8,)
  war
  runtime


I'm planning to use the assembly plugin to bundle some files,
including one that will provide a URL to these webstart apps.

My guess is that I will filter this file containing the URL, since
before the build I don't necessarily know what it will be.  For
instance, if the war file is this:

webstart-apps-8.5.2.war

Then it seems that 'webstart-apps-8.5.2' must be part of the URL.  Is
there some variable I can use to provide this artifact's name during
the build?  Or some other standard approach?  And some documentation I
should like to read about for these kinds of questions?

Thanks in advance.

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



Re: Best way of changing project version

2007-11-27 Thread Arnaud HERITIER
I forgot to add :
  If you have an inheritence, you don't have to define the version in each
submodule (just the parent) and for dependencies you can use ${pom.version}
in each dependency or in the dependencyManagement of the parent like Kalle
proposed.
  The problem is with the parent part of the pom because you have to always
define the version. For that I think that the release plugin is the best
choice.

Arnaud

On Nov 27, 2007 7:57 PM, Kalle Korhonen <[EMAIL PROTECTED]> wrote:

> Is there a reason why you just don't set the versions of the child modules
> in the dependencyManagement section of the parent pom?
>
> Kalle
>
> On 11/27/07, Enrique Gaona <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > Greets,
> >
> > I have a big maven project  that has about 300 pom files in
> > it.  Currently,
> > the  is hardcoded on all the pom.xml files and moving from one
> > version to another is a PITA.   My question is, what's the best way of
> > doing away with the hardcoded value and moving to a variable where it
> can
> > be set in the parent pom.   Right now, I'm experimenting by setting
> > version
> > to ${build_version}  and added in my parent pom
> > 2.2.  For
> the
> > most part, this works fine, but  there are some sub-components in the
> > project where ${build_version} is not getting expanded, which is quite
> > annoying, to say the least.
> >
> > Here's a sample output where the variable is not getting expanded.
> >
> > [INFO]
> >
> >
> 
> > [INFO] Building CSDPRoleMappingPortlet
> > [INFO]task-segment: [clean, antrun:run, install, rpm:rpm]
> > [INFO]
> >
> >
> 
> > [INFO] [clean:clean]
> > [INFO] Deleting directory
> >
> >
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target
> > [INFO] Deleting directory
> >
> >
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/WebContent/WEB-INF/classes
> > [INFO] Deleting directory
> >
> >
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target/test-classes
> > Downloading:
> >
> >
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> > [WARNING] Unable to get resource from repository csdpFtpRepository
> > (
> >
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository
> > )
> > Downloading:
> >
> >
> ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> > [WARNING] Unable to get resource from repository csdpFtpRepository
> > (ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> > Downloading:
> >
> >
> http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> > [WARNING] Unable to get resource from repository csdpRepository
> > (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> > Downloading:
> >
> >
> http://www.ibiblio.net/pub/packages/maven2/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> > [WARNING] Unable to get resource from repository central
> > (http://repo1.maven.org/maven2)
> > [INFO]
> > 
> > [ERROR] BUILD ERROR
> > [INFO]
> > 
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: com.ibm.csdp.prereq
> > ArtifactId: com.ibm.csdp.prereq
> > Version: ${csdp_version}
> >
> > Reason: Unable to download the artifact from any repository
> >
> >   com.ibm.csdp.prereq:com.ibm.csdp.prereq:pom:${csdp_version}
> >
> > from the specified remote repositories:
> >   Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
> >   central (http://repo1.maven.org/maven2),
> >   csdpRepository
> > (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository),
> >   csdpFtpRepository
> > (
> >
> ftp://ausgsa

Re: Best way of changing project version

2007-11-27 Thread Nick Stolwijk

Best way of changing the project version is by not doing it (yourself).

Please have a look at the maven release plugin, which will make a tag in 
your scm and change the version number.


So for example, if your trunk is at version 0.1.0-SNAPSHOT.

When you run mvn release:prepare and mvn release:perform you have a tag 
of version 0.1.0, your 0.1.0 is deployed in your repository and your 
trunk is at 0.1.1-SNAPSHOT.


See [1] for the documentation,

Hth,

Nick Stolwijk

[1] http://maven.apache.org/plugins/maven-release-plugin/

Enrique Gaona wrote:

Greets,

I have a big maven project  that has about 300 pom files in it.  Currently,
the  is hardcoded on all the pom.xml files and moving from one
version to another is a PITA.   My question is, what's the best way of
doing away with the hardcoded value and moving to a variable where it can
be set in the parent pom.   Right now, I'm experimenting by setting version
to ${build_version}  and added in my parent pom
2.2.  For the
most part, this works fine, but  there are some sub-components in the
project where ${build_version} is not getting expanded, which is quite
annoying, to say the least.

Here's a sample output where the variable is not getting expanded.

[INFO]

[INFO] Building CSDPRoleMappingPortlet
[INFO]task-segment: [clean, antrun:run, install, rpm:rpm]
[INFO]

[INFO] [clean:clean]
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/WebContent/WEB-INF/classes
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target/test-classes
Downloading:
ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
[WARNING] Unable to get resource from repository csdpFtpRepository
(ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository)
Downloading:
ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
[WARNING] Unable to get resource from repository csdpFtpRepository
(ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
Downloading:
http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
[WARNING] Unable to get resource from repository csdpRepository
(http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
Downloading:
http://www.ibiblio.net/pub/packages/maven2/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

GroupId: com.ibm.csdp.prereq
ArtifactId: com.ibm.csdp.prereq
Version: ${csdp_version}

Reason: Unable to download the artifact from any repository

  com.ibm.csdp.prereq:com.ibm.csdp.prereq:pom:${csdp_version}

from the specified remote repositories:
  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
  central (http://repo1.maven.org/maven2),
  csdpRepository
(http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository),
  csdpFtpRepository
(ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository)


[INFO]

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

[INFO] Total time: 1 minute 21 seconds
[INFO] Finished at: Tue Nov 27 12:36:55 CST 2007
[INFO] Final Memory: 11M/30M
[INFO]



Any ideas?  Thanks.

Enrique

  


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



Re: Best way of changing project version

2007-11-27 Thread Kalle Korhonen
Is there a reason why you just don't set the versions of the child modules
in the dependencyManagement section of the parent pom?

Kalle

On 11/27/07, Enrique Gaona <[EMAIL PROTECTED]> wrote:
>
>
>
> Greets,
>
> I have a big maven project  that has about 300 pom files in
> it.  Currently,
> the  is hardcoded on all the pom.xml files and moving from one
> version to another is a PITA.   My question is, what's the best way of
> doing away with the hardcoded value and moving to a variable where it can
> be set in the parent pom.   Right now, I'm experimenting by setting
> version
> to ${build_version}  and added in my parent pom
> 2.2.  For the
> most part, this works fine, but  there are some sub-components in the
> project where ${build_version} is not getting expanded, which is quite
> annoying, to say the least.
>
> Here's a sample output where the variable is not getting expanded.
>
> [INFO]
>
> 
> [INFO] Building CSDPRoleMappingPortlet
> [INFO]task-segment: [clean, antrun:run, install, rpm:rpm]
> [INFO]
>
> 
> [INFO] [clean:clean]
> [INFO] Deleting directory
>
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target
> [INFO] Deleting directory
>
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/WebContent/WEB-INF/classes
> [INFO] Deleting directory
>
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target/test-classes
> Downloading:
>
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository csdpFtpRepository
> (
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository
> )
> Downloading:
>
> ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository csdpFtpRepository
> (ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> Downloading:
>
> http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository csdpRepository
> (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> Downloading:
>
> http://www.ibiblio.net/pub/packages/maven2/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to resolve artifact.
>
> GroupId: com.ibm.csdp.prereq
> ArtifactId: com.ibm.csdp.prereq
> Version: ${csdp_version}
>
> Reason: Unable to download the artifact from any repository
>
>   com.ibm.csdp.prereq:com.ibm.csdp.prereq:pom:${csdp_version}
>
> from the specified remote repositories:
>   Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
>   central (http://repo1.maven.org/maven2),
>   csdpRepository
> (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository),
>   csdpFtpRepository
> (
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository
> )
>
>
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: 1 minute 21 seconds
> [INFO] Finished at: Tue Nov 27 12:36:55 CST 2007
> [INFO] Final Memory: 11M/30M
> [INFO]
> 
>
>
> Any ideas?  Thanks.
>
> Enrique
>


Re: Best way of changing project version

2007-11-27 Thread Arnaud HERITIER
Can't you use the release plugin ? It will automatically update it for you


Arnaud

On Nov 27, 2007 7:41 PM, Enrique Gaona <[EMAIL PROTECTED]> wrote:

>
>
> Greets,
>
> I have a big maven project  that has about 300 pom files in it.
>  Currently,
> the  is hardcoded on all the pom.xml files and moving from one
> version to another is a PITA.   My question is, what's the best way of
> doing away with the hardcoded value and moving to a variable where it can
> be set in the parent pom.   Right now, I'm experimenting by setting
> version
> to ${build_version}  and added in my parent pom
> 2.2.  For the
> most part, this works fine, but  there are some sub-components in the
> project where ${build_version} is not getting expanded, which is quite
> annoying, to say the least.
>
> Here's a sample output where the variable is not getting expanded.
>
> [INFO]
>
> 
> [INFO] Building CSDPRoleMappingPortlet
> [INFO]task-segment: [clean, antrun:run, install, rpm:rpm]
> [INFO]
>
> 
> [INFO] [clean:clean]
> [INFO] Deleting directory
>
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target
> [INFO] Deleting directory
>
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/WebContent/WEB-INF/classes
> [INFO] Deleting directory
>
> /home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target/test-classes
> Downloading:
>
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository csdpFtpRepository
> (
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository
> )
> Downloading:
>
> ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository csdpFtpRepository
> (ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> Downloading:
>
> http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository csdpRepository
> (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
> Downloading:
>
> http://www.ibiblio.net/pub/packages/maven2/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to resolve artifact.
>
> GroupId: com.ibm.csdp.prereq
> ArtifactId: com.ibm.csdp.prereq
> Version: ${csdp_version}
>
> Reason: Unable to download the artifact from any repository
>
>  com.ibm.csdp.prereq:com.ibm.csdp.prereq:pom:${csdp_version}
>
> from the specified remote repositories:
>  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
>  central (http://repo1.maven.org/maven2),
>  csdpRepository
> (http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository),
>  csdpFtpRepository
> (
> ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository
> )
>
>
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: 1 minute 21 seconds
> [INFO] Finished at: Tue Nov 27 12:36:55 CST 2007
> [INFO] Final Memory: 11M/30M
> [INFO]
> 
>
>
> Any ideas?  Thanks.
>
> Enrique
>



-- 
..
Arnaud HERITIER
..
OCTO Technology - aheritier AT octo DOT com
w

Re: HTTP 500 on proxyConnectors.action

2007-11-27 Thread Julien CARSIQUE

Re,

I've updated to archiva 1.0 and still have the same issue

Julien CARSIQUE a écrit :

Hello,

I get an error going on archiva/admin/proxyConnectors.action

Here's what I see on the client side in Firefox : |
   HTTP ERROR: 500|

|Exception in JSP: /WEB-INF/jsp/admin/proxyConnectors.jsp:127

124:   "/>
125:   ${connector.targetRepoId}
126:   class="name">${repoMap[connector.targetRepoId].name}
127:   href="${repoMap[connector.targetRepoId].url}">${repoMap[connector.targetRepoId].url} 


128: 
129: 130: onclick="Effect.toggle('proxySettings_${connector.sourceRepoId}_${connector.targetRepoId}','slide'); 
return false;">Expand

Stacktrace:
||RequestURI=/archiva/admin/prox||yConnectors.action|

And here's what I see on the server side in the logs :

   INFO   | jvm 1| 2007/11/27 16:24:11 | Nov 27, 2007 4:24:11 PM 
org.mortbay.jetty.servlet.ServletHandler handle
   INFO   | jvm 1| 2007/11/27 16:24:11 | WARNING: 
/archiva/admin/proxyConnectors.action:
   INFO   | jvm 1| 2007/11/27 16:24:11 | 
javax.servlet.jsp.el.ELException: Unable to find a value for "url" in 
object of class 
"org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration" 
using operator "."
   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.Logger.logError(Logger.java:481)
   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.Logger.logError(Logger.java:498)
   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.Logger.logError(Logger.java:611)
   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:340)
   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:932) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jsp.WEB_002dINF.jsp.admin.proxyConnectors_jsp._jspx_meth_c_forEach_1(proxyConnectors_jsp.java:658) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jsp.WEB_002dINF.jsp.admin.proxyConnectors_jsp._jspx_meth_c_forEach_0(proxyConnectors_jsp.java:569) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jsp.WEB_002dINF.jsp.admin.proxyConnectors_jsp._jspx_meth_c_otherwise_0(proxyConnectors_jsp.java:518) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jsp.WEB_002dINF.jsp.admin.proxyConnectors_jsp._jspx_meth_c_choose_0(proxyConnectors_jsp.java:460) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jsp.WEB_002dINF.jsp.admin.proxyConnectors_jsp._jspService(proxyConnectors_jsp.java:166) 

   INFO   | jvm 1| 2007/11/27 16:24:11 |   at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)



Thanks for help,

Julien





Best way of changing project version

2007-11-27 Thread Enrique Gaona


Greets,

I have a big maven project  that has about 300 pom files in it.  Currently,
the  is hardcoded on all the pom.xml files and moving from one
version to another is a PITA.   My question is, what's the best way of
doing away with the hardcoded value and moving to a variable where it can
be set in the parent pom.   Right now, I'm experimenting by setting version
to ${build_version}  and added in my parent pom
2.2.  For the
most part, this works fine, but  there are some sub-components in the
project where ${build_version} is not getting expanded, which is quite
annoying, to say the least.

Here's a sample output where the variable is not getting expanded.

[INFO]

[INFO] Building CSDPRoleMappingPortlet
[INFO]task-segment: [clean, antrun:run, install, rpm:rpm]
[INFO]

[INFO] [clean:clean]
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/WebContent/WEB-INF/classes
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.pm.selfcare/CSDPRoleMappingPortlet/target/test-classes
Downloading:
ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
[WARNING] Unable to get resource from repository csdpFtpRepository
(ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository)
Downloading:
ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
[WARNING] Unable to get resource from repository csdpFtpRepository
(ftp://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
Downloading:
http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
[WARNING] Unable to get resource from repository csdpRepository
(http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository)
Downloading:
http://www.ibiblio.net/pub/packages/maven2/com/ibm/csdp/prereq/com.ibm.csdp.prereq/${csdp_version}/com.ibm.csdp.prereq-${csdp_version}.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

GroupId: com.ibm.csdp.prereq
ArtifactId: com.ibm.csdp.prereq
Version: ${csdp_version}

Reason: Unable to download the artifact from any repository

  com.ibm.csdp.prereq:com.ibm.csdp.prereq:pom:${csdp_version}

from the specified remote repositories:
  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
  central (http://repo1.maven.org/maven2),
  csdpRepository
(http://ausgsa.ibm.com/projects/c/csdpbuildrepository/maven/repository),
  csdpFtpRepository
(ftp://ausgsa.austin.ibm.com/projects/c/csdpbuildrepository/maven/repository)


[INFO]

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

[INFO] Total time: 1 minute 21 seconds
[INFO] Finished at: Tue Nov 27 12:36:55 CST 2007
[INFO] Final Memory: 11M/30M
[INFO]



Any ideas?  Thanks.

Enrique


Re: dependency:tree not working in maven 2.0.7

2007-11-27 Thread Dennis Lundberg
You need at least version 2.0-alpha-5 of the dependency-plugin. The tree 
goal was introduced in that version as indicated here:


http://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html

bryan ward wrote:
Hi, 

I would like to run some of the dependency goals listed in the documentation 


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

however when I do, I get an error stating that the goal cannot be found? 
Does anyone know why this is?



/cygdrive/c/hasdev/servicesImpl$ mvn -e dependency:tree
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Required goal not found: dependency:tree
[INFO]

[INFO] Trace
org.apache.maven.BuildFailureException: Required goal not found:
dependency:tree
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExe
cutor.java:1538)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(Def
aultLifecycleExecutor.java:386)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
:138)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]

[INFO] Total time: < 1 second
[INFO] Finished at: Tue Nov 27 11:14:47 MST 2007
[INFO] Final Memory: 2M/4M
[INFO]






--
Dennis Lundberg

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



Re: Version moving up fast

2007-11-27 Thread Borut Bolčina
Hello,

2007/11/27, [EMAIL PROTECTED]
<[EMAIL PROTECTED]
>:
>
> It sounds odd to have that many release version per day.


Yes indeed. Well, not per day, but per week. Nevertheless, it is odd.

Version range
> notation would be perfect for what you need..


The first thing we will try is to use ranges like [2.1,)
If I understand ranges correctly, then whenever we release this fast moving
artifact (the version moves up) all the clients will pick the latest release
version. Someone mentioned 2.0.7 has problems with ranges? Is there a JIRA
issue?

Cheers,
Borut


i.e.,
>
> [2.1, )
>
> Having said that I found a number of problems with using version range and
> I am stuck with 2.0.6 because 2.0.7 gives me NPE when it tries to resolve
> conflict between version ranges.
>
> Cheers,
> rOnn c.
>
>
>
>
>
> "Borut Bolčina" <[EMAIL PROTECTED]>
> 11/26/2007 06:31 PM
> Please respond to
> "Maven Users List" < users@maven.apache.org>
>
>
> To
> Maven 
> cc
>
> Subject
> Version moving up fast
>
>
>
>
>
>
> Hello maven users,
>
> if one of our in-house jars (lets call it A.jar) is progressing fast in
> terms of artifact version numbers (several times per week: 2.1 -> 2.2
> -> 2.3-> ... - >
> 2.678 -> 2.679 -> ...), what is the best way for other artifacts which
> depend on this "fast one" to always use the last one? All the artifacts
> which depend on the A, would have to have their poms modified to
> 2.1-SNAPSHOT, 2.2-SNAPSHOT etc. because the SNAPSHOT version is in the
> trunk. This is error prone. I haven't looked into the release plugin yet,
> but I don't think it addresses this issue.
>
> One solution might be to name the A's version to something like
> 999-SNAPSHOT
> and then all the other jars would have their dependencies to this version.
> This smells like a dead fish in the sewer to me.
>
> What do you say?
>
>
> ##
> DISCLAIMER:
> This email and any attachment may contain confidential information.
> If you are not the intended recipient you are not authorized to copy
> or disclose all or any part of it without the prior written consent
> of Toyota.
>
> Opinions expressed in this email and any attachments are those of the
> sender and not necessarily the opinions of Toyota.
> Please scan this email and any attachment(s) for viruses.
> Toyota does not accept any responsibility for problems caused by
> viruses, whether it is Toyota's fault or not.
> ##
>


dependency:tree not working in maven 2.0.7

2007-11-27 Thread bryan ward

Hi, 

I would like to run some of the dependency goals listed in the documentation 

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

however when I do, I get an error stating that the goal cannot be found? 
Does anyone know why this is?


/cygdrive/c/hasdev/servicesImpl$ mvn -e dependency:tree
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Required goal not found: dependency:tree
[INFO]

[INFO] Trace
org.apache.maven.BuildFailureException: Required goal not found:
dependency:tree
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExe
cutor.java:1538)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(Def
aultLifecycleExecutor.java:386)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
:138)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]

[INFO] Total time: < 1 second
[INFO] Finished at: Tue Nov 27 11:14:47 MST 2007
[INFO] Final Memory: 2M/4M
[INFO]



-- 
View this message in context: 
http://www.nabble.com/dependency%3Atree-not-working-in-maven-2.0.7-tf4883555s177.html#a13976690
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: maven-archetype-webapp Directory Structure?

2007-11-27 Thread Wendy Smoak
On 11/27/07, Thomas Van de Velde <[EMAIL PROTECTED]> wrote:

> I was trying out maven-archetype-webapp with Maven 2.0.7 and maven-archetype
> 1.0-alpha-7 and noticed that the following directory structure is created:
...
> Is there not supposed to be a directory structure for Java source code and
> unit test source code and resources?
>
> Is this a bug or am I missing out on a best practice?

It's intentional.  The recommendation is to have a separate module for
the Java code and resources, and to declare it as a dependency in your
webapp.

(However, there's nothing stopping you from creating the directories
and using them, which is often fine for simple webapps, example apps
for frameworks for example.)

-- 
Wendy

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



Re: maven-archetype-webapp Directory Structure?

2007-11-27 Thread Wayne Fay
I think you probably should use maven-archetype-quickstart for a
standard Java app.

Wayne

On 11/27/07, Thomas Van de Velde <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I was trying out maven-archetype-webapp with Maven 2.0.7 and maven-archetype
> 1.0-alpha-7 and noticed that the following directory structure is created:
>
> /src
>  /main
>/resources
>/webapp
>
> However I was expecting this:
>
> /src
>  /main
>/java
>/resources
>/webapp
>  /test
>/java
>/resources
>
> Is there not supposed to be a directory structure for Java source code and
> unit test source code and resources?
>
> Is this a bug or am I missing out on a best practice?
>
> Thomas
>

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



maven-archetype-webapp Directory Structure?

2007-11-27 Thread Thomas Van de Velde
Hey,

I was trying out maven-archetype-webapp with Maven 2.0.7 and maven-archetype
1.0-alpha-7 and noticed that the following directory structure is created:

/src
  /main
/resources
/webapp

However I was expecting this:

/src
  /main
/java
/resources
/webapp
  /test
/java
/resources

Is there not supposed to be a directory structure for Java source code and
unit test source code and resources?

Is this a bug or am I missing out on a best practice?

Thomas


Re: How to deploy a zip produce with the assempbly plugin ?

2007-11-27 Thread mxmtycoder

For me, for some reason using just the assembly plugin didn't work.
I solved using the   http://mojo.codehaus.org/build-helper-maven-plugin/
build-helper-maven-plugin 

JC Walmetz wrote:
> 
> So simple. I missed that in the doc.  Thanks
> 
> Antonio Petrelli-3 wrote:
>> 
>> 2007/11/27, Wendy Smoak <[EMAIL PROTECTED]>:
>>>
>>> On Nov 27, 2007 7:18 AM, JC Walmetz <[EMAIL PROTECTED]> wrote:
>>>
>>> > Is it possible to configure the assembly plugin in order that the zip
>>> > produced will be deployed in repo during install or deploy ??
>>>
>>> I think you want the 'attached' goal.  See "Building an Assembly as
>>> part of the Build Lifecycle" here:
>>> http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
>> 
>> 
>> 
>> As an addition to what Wendy wrote, see a working example at Tiles (look
>> at
>> the "release" profile):
>> http://svn.apache.org/repos/asf/tiles/framework/trunk/assembly/pom.xml
>> 
>> Antonio
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-deploy-a-zip-produce-with-the-assempbly-plugin---tf4882049s177.html#a13975979
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Interpolation of Pom Properties in Assembly Descriptor

2007-11-27 Thread Wayne Fay
I've seen that mentioned on this list a couple times, and I generally
use this notation myself as well for no particular reason.

Wayne

On 11/27/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
> Some time back I encountered a problem with properties in the pom using
> a dot-notation. I solved that by using camelHump-notation instead. In
> your case that would mean replacing "my.path" with "myPath". Not sure if
> it will work in this case, but it's worth a try.
>
> Mark Reynolds wrote:
> > I was using maven-assembly-plugin 2.2-SNAPSHOT and tried to switch to
> > 2.2-beta-2-SNAPSHOT but encountered a problem.
> >
> > I reference properties from my pom in the assembly descriptor, like this:
> >
> > 
> >   ...
> >   
> > myapp/WEB-INF
> >   
> >   ..
> > 
> >
> >
> > 
> >   ...
> >   
> > 
> >   ${basedir}/target/config/somefile.conf
> >   ${my.path}/etc
> > 
> >   
> >   ...
> > 
> >
> > In 2.2-SNAPSHOT, the value was substituted but in 2.2-beta-2-SNAPSHOT the
> > literal ${my.path} is used. Is this a regression, a removed feature, or has
> > the syntax for doing this changed?
> >
> > -- Mark R
> >
>
>
> --
> Dennis Lundberg
>
> -
> 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: Javadocs during install phase

2007-11-27 Thread Dennis Lundberg

Antonio Petrelli wrote:

2007/11/27, rmatthews <[EMAIL PROTECTED]>:


true




This is the problem :-(
http://jira.codehaus.org/browse/MJAVADOC-116
22 votes and 15 watches, and no one that takes care of it :-(


Please, feel free to attach a patch to that issue ;-)



Antonio




--
Dennis Lundberg

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



Re: Interpolation of Pom Properties in Assembly Descriptor

2007-11-27 Thread Dennis Lundberg
Some time back I encountered a problem with properties in the pom using 
a dot-notation. I solved that by using camelHump-notation instead. In 
your case that would mean replacing "my.path" with "myPath". Not sure if 
it will work in this case, but it's worth a try.


Mark Reynolds wrote:

I was using maven-assembly-plugin 2.2-SNAPSHOT and tried to switch to
2.2-beta-2-SNAPSHOT but encountered a problem.

I reference properties from my pom in the assembly descriptor, like this:


  ...
  
myapp/WEB-INF
  
  ..




  ...
  

  ${basedir}/target/config/somefile.conf
  ${my.path}/etc

  
  ...


In 2.2-SNAPSHOT, the value was substituted but in 2.2-beta-2-SNAPSHOT the
literal ${my.path} is used. Is this a regression, a removed feature, or has
the syntax for doing this changed?

-- Mark R




--
Dennis Lundberg

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



Re: Adding a folder to the surefire classpath

2007-11-27 Thread Doug Douglass
Similar to what Trent described...

We add src/main/webapp as a test resource in the parent pom of all our web
applications so we can render our view templates (Freemarker) via unit tests
-- very, very handy!

You could do something similar in your pom:

...

...

  
src/main/config
  
  
src/test/resources
  

...
  


HTH,
Doug

On Nov 27, 2007 10:16 AM, Trent Rosenbaum <[EMAIL PROTECTED]>
wrote:

> Hi Nathan,
>
> I had a similar issue when I wanted to run seam integration tests from
> within Maven.  I needed to add the web.xml file onto the classpath.
> In the end I configured up the maven antrun plugin to copy my seam
> configuration files to the test-classes directory under target.  I
> bound this plugin to run on one of the test lifecycle phases.  I was
> then able to run the tests as shown within the seam documentation.
>
> Trent
>
>
> On 27/11/2007, Silberman, Nathan <[EMAIL PROTECTED]> wrote:
> > Is there  away to add a resource or config folder to the surefire
> > classpath? I want to ensure that my src/main/config folder is on the
> > classpath but I cannot find any documentation that would support this
> > requirement
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Wrong behavior of notifactions

2007-11-27 Thread Martin Alejandro Villalobos

Hi,
I have a list of notifiers in my project. When the 
false ,Continuum send emails to the notifiers 
in each status change, sending in success/error/warning in the right way.
However, if I set true, continuum send a email 
in each build, but in a wrong way, sending for all events 
(success,/error/warning).
I want send a notification always, don't care the status's change but 
only in the selected events, in error, for example.


Thanks .

Martin.


Re: Adding a folder to the surefire classpath

2007-11-27 Thread Trent Rosenbaum
Hi Nathan,

I had a similar issue when I wanted to run seam integration tests from
within Maven.  I needed to add the web.xml file onto the classpath.
In the end I configured up the maven antrun plugin to copy my seam
configuration files to the test-classes directory under target.  I
bound this plugin to run on one of the test lifecycle phases.  I was
then able to run the tests as shown within the seam documentation.

Trent


On 27/11/2007, Silberman, Nathan <[EMAIL PROTECTED]> wrote:
> Is there  away to add a resource or config folder to the surefire
> classpath? I want to ensure that my src/main/config folder is on the
> classpath but I cannot find any documentation that would support this
> requirement
>

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



Re: latest version of maven-dependency-plugin - missing excludes on ArtifactItem

2007-11-27 Thread Erez Nahir
Thank you.

Any plans to publish 2.0-alpha-5 soon?


On Nov 27, 2007 6:17 PM, Brian E. Fox <[EMAIL PROTECTED]> wrote:
> The excludes is used for unpacking and it's available in
> 2.0-alpha-5-SNAPSHOT
>
>
> -Original Message-
> From: Erez Nahir [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 26, 2007 2:53 AM
> To: users@maven.apache.org
> Subject: latest version of maven-dependency-plugin - missing excludes on
> ArtifactItem
>
> Hi,
>
> I'm trying to use maven-dependency-plugin with  tag in my
> configuration part:
>  
>org.apache.maven.plugins
>maven-dependency-plugin
>
>
>get-resources
>process-resources
>
>copy
>
>
>
>
>
> my.company.groupid
>myartifact
>${my.version}
>**/*.class
>foo
>
> my-foo.zip
>zip
>
> ...
> 
> But, I get this error:
> [INFO] Using default encoding to copy filtered resources.
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to configure plugin parameters for:
> org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4
>
>
>
> Cause: Cannot find setter nor field in
> org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem for
> 'excludes'
>
>
> Looking at javadoc and sources of maven-dependency-plugin I can see
> setExcludes(String excludes).
> In which version does "excludes" cofniguration is available and how
> can I get it?
>
> Thanks,
> Erez.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: Maven release plugin: Address already in use!

2007-11-27 Thread Wayne Fay
It might be nice if Maven could be coded to watch for/parse this
exception and provide a more user-friendly error message, though.

Wayne

On 11/27/07, Jorg Heymans <[EMAIL PROTECTED]> wrote:
> It is not a maven limitation, but a java one. I would like the embedded
> maven to still be launched with MAVEN_OPTS in any case. It is up to the
> developer to not set things in there that cannot be executed concurrently.
>
>
> Jorg
>
> On Nov 26, 2007 7:03 PM, Bashar Jawad <[EMAIL PROTECTED]> wrote:
>
> > Yup, that was the problem, removing the remote debug args fixed it.
> > Should I file a Jira issue about it?
> >
> > Bashar
> >
> > Jorg Heymans wrote:
> > > I've seen this happening when MAVEN_OPTS is set to enable remote
> > debugging.
> > > What happens is that the release plugin invokes a system exec of some
> > sort
> > > of mvn which then tries to use the same MAVEN_OPTS and fails because the
> > > debug port is already taken.
> > >
> > > Makes sense?
> > >
> > > Jorg
> > >
> > > On Nov 26, 2007 5:11 PM, Bashar Jawad <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >> I still can't resolve this issue. I am using Maven 2.0.7. This is a
> > >> major blocker issue for me so I would really appreciate any help. Does
> > >> anyone at least know what port the release plugin uses ?
> > >>
> > >> Thanks,
> > >>
> > >> Bashar Jawad wrote:
> > >>
> > >>> I am trying to use the maven-release-plugin to prepare and perform a
> > >>> release. I simply created a new empty maven 2 project and added the
> > >>> required scm information in the POM. However any time I run the
> > >>> command: mvn release:clean release:prepare maven asks me for
> > >>> release/tag/developement version information and then exists with the
> > >>> following error:
> > >>>
> > >>> [INFO] Transforming 'Unnamed -
> > >>> ReleasePluginDemo:ReleasePluginDemo:jar:1.0-SNAPSHOT'...
> > >>> [INFO] Not generating release POMs
> > >>> [INFO] Executing goals 'clean verify'...
> > >>> [INFO] Executing: mvn clean verify --no-plugin-updates -P default
> > >>>ERROR: transport error 202: bind failed: Address already in use
> > >>> ["transport.c",L41]
> > >>>FATAL ERROR in native method: JDWP No transports initialized,
> > >>> jvmtiError=JVMTI_ERROR_INTERNAL(113)
> > >>>ERROR: JDWP Transport dt_socket failed to initialize,
> > >>> TRANSPORT_INIT(510) ["debugInit.c",L500]
> > >>>JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports
> > initialized
> > >>> [INFO]
> > >>>
> > 
> > >>> [ERROR] BUILD ERROR
> > >>> [INFO]
> > >>>
> > 
> > >>> [INFO] Maven execution failed, exit code: '1'
> > >>>
> > >>> [INFO]
> > >>>
> > 
> > >>> [INFO] Trace
> > >>> org.apache.maven.lifecycle.LifecycleExecutionException: Maven
> > >>> execution failed, exit code: '1'
> > >>>at
> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > >>>
> > >> DefaultLifecycleExecutor.java:564)
> > >>
> > >>>at
> > >>>
> > >>>
> > >>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
> > >> DefaultLifecycleExecutor.java:493)
> > >>
> > >>>at
> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > >>>
> > >> DefaultLifecycleExecutor.java:463)
> > >>
> > >>>at
> > >>>
> > >>>
> > >>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > >> (DefaultLifecycleExecutor.java:311)
> > >>
> > >>>at
> > >>>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> > >>>
> > >> DefaultLifecycleExecutor.java:224)
> > >>
> > >>>at
> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> > >>>
> > >> DefaultLifecycleExecutor.java:143)
> > >>
> > >>>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> > :334)
> > >>>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> > >>>at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> > >>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >>>at
> > >>> sun.reflect.NativeMethodAccessorImpl.invoke(
> > >>>
> > >> NativeMethodAccessorImpl.java:39)
> > >>
> > >>>at
> > >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > >>>
> > >> DelegatingMethodAccessorImpl.java:25)
> > >>
> > >>>at java.lang.reflect.Method.invoke(Method.java:585)
> > >>>at
> > >>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > >>>at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > >>>at
> > >>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > >>>at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > >>> Caused by: org.apache.maven.plugin.MojoExecutionException: Maven
> > >>> execution failed,

RE: latest version of maven-dependency-plugin - missing excludes on ArtifactItem

2007-11-27 Thread Brian E. Fox
The excludes is used for unpacking and it's available in
2.0-alpha-5-SNAPSHOT

-Original Message-
From: Erez Nahir [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 26, 2007 2:53 AM
To: users@maven.apache.org
Subject: latest version of maven-dependency-plugin - missing excludes on
ArtifactItem

Hi,

I'm trying to use maven-dependency-plugin with  tag in my
configuration part:
 
org.apache.maven.plugins
maven-dependency-plugin


get-resources
process-resources

copy




 
my.company.groupid
myartifact
${my.version}
**/*.class
foo
 
my-foo.zip
zip

...

But, I get this error:
[INFO] Using default encoding to copy filtered resources.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4



Cause: Cannot find setter nor field in
org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem for
'excludes'


Looking at javadoc and sources of maven-dependency-plugin I can see
setExcludes(String excludes).
In which version does "excludes" cofniguration is available and how
can I get it?

Thanks,
Erez.

-
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 deploy a zip produce with the assempbly plugin ?

2007-11-27 Thread JC Walmetz

So simple. I missed that in the doc.  Thanks

Antonio Petrelli-3 wrote:
> 
> 2007/11/27, Wendy Smoak <[EMAIL PROTECTED]>:
>>
>> On Nov 27, 2007 7:18 AM, JC Walmetz <[EMAIL PROTECTED]> wrote:
>>
>> > Is it possible to configure the assembly plugin in order that the zip
>> > produced will be deployed in repo during install or deploy ??
>>
>> I think you want the 'attached' goal.  See "Building an Assembly as
>> part of the Build Lifecycle" here:
>> http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
> 
> 
> 
> As an addition to what Wendy wrote, see a working example at Tiles (look
> at
> the "release" profile):
> http://svn.apache.org/repos/asf/tiles/framework/trunk/assembly/pom.xml
> 
> Antonio
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-deploy-a-zip-produce-with-the-assempbly-plugin---tf4882049s177.html#a13972127
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: How to deploy a zip produce with the assempbly plugin ?

2007-11-27 Thread Antonio Petrelli
2007/11/27, Wendy Smoak <[EMAIL PROTECTED]>:
>
> On Nov 27, 2007 7:18 AM, JC Walmetz <[EMAIL PROTECTED]> wrote:
>
> > Is it possible to configure the assembly plugin in order that the zip
> > produced will be deployed in repo during install or deploy ??
>
> I think you want the 'attached' goal.  See "Building an Assembly as
> part of the Build Lifecycle" here:
> http://maven.apache.org/plugins/maven-assembly-plugin/usage.html



As an addition to what Wendy wrote, see a working example at Tiles (look at
the "release" profile):
http://svn.apache.org/repos/asf/tiles/framework/trunk/assembly/pom.xml

Antonio


Re: How to deploy a zip produce with the assempbly plugin ?

2007-11-27 Thread Wendy Smoak
On Nov 27, 2007 7:18 AM, JC Walmetz <[EMAIL PROTECTED]> wrote:

> Is it possible to configure the assembly plugin in order that the zip
> produced will be deployed in repo during install or deploy ??

I think you want the 'attached' goal.  See "Building an Assembly as
part of the Build Lifecycle" here:
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html

-- 
Wendy

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



How to deploy a zip produce with the assempbly plugin ?

2007-11-27 Thread JC Walmetz

I have a module with a packaging pom. Purpose of this module is to produce a
zip assembly and to deploy in the local repo (with mvn install) or in one of
my archiva repo (mvn deploy). 

zip is produced during the package phase. Unfortunately, in the install
phase zip is not copied into the local repo. 

Is it possible to configure the assembly plugin in order that the zip
produced will be deployed in repo during install or deploy ??

Regards
-- 
View this message in context: 
http://www.nabble.com/How-to-deploy-a-zip-produce-with-the-assempbly-plugin---tf4882049s177.html#a13971688
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Dependency issue (war and jar) in multimodule project

2007-11-27 Thread Juven Xu
Anand:

  I can't really understand your "dependency". Why not configure dependency
like this:


  
  test
  child2
  1.0-SNAPSHOT
  


  And when you have dependency on war file, you should use
maven-warpath-plugin.

Thanks,
Juven

On Nov 27, 2007 4:51 PM, Anand Rathi <[EMAIL PROTECTED]> wrote:

> Yes. I have included war in dependency declaration. Below is
> a pom snapshot.
> * POM - START *
> 
> http://maven.apache.org/POM/4.0.0";
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>  4.0.0
>  test
>  child2
>  1.0-SNAPSHOT
>  child2
>  war
>  child2
>  
>  test
>  parent
>  1.0-SNAPSHOT
>  ../parent/pom.xml
>  
>  
>  
>   
>src/main/resources
>   
>   
>src/main/java
>  true
>
> **/*.properties
>
>   
>  
>  
>   
> 
> src/test/resources
>  
> 
>**/*.properties
>**/*.xml
>  
>
>  
>  
>   
>org.apache.maven.plugins
>maven-jar-plugin
>2.1
>
> 
>  
>   target/classes
>   child2-1.0-SNAPSHOT
>   target
>  
>  package
>  Create JAR in project
>  
>   jar
>  
> 
>
>   
>   
>org.apache.maven.plugins
>maven-war-plugin
>2.0.2-SNAPSHOT
>
> false
> 
>  
>   
> ${basedir}/src/main/config/torque
>   
>   
>**/*model
>   
>   WEB-INF/data
>  
>  
>   
> ${basedir}/src/main/resources
>   
>   
>**/hibernate.properties
>   
>   WEB-INF/classes
>  
> 
>
> WEB-INF/classes/hibernate.properties
>
>
> 
>  validate
>  copy jars
>  
>   exploded
>  
> 
>
>   
>   
>org.apache.maven.plugins
>maven-install-plugin
>2.2
>
> 
>  
>   target/child2-1.0-SNAPSHOT.war
>   default
>   test
>   child2
>   1.0-SNAPSHOT
>   war
>   true
>  
>  install
>  install WAR in M2 repos
>  
>   install-file
>  
> 
> 
>  
>   target/child2-1.0-SNAPSHOT.jar
>   default
>   test
>   child2
>   1.0-SNAPSHOT
>   jar
>   true
>  
>  install
>  install JAR in M2 repos
>  
>   install-file
>  
> 
>
>   
>
>   
>org.apache.maven.plugins
>maven-surefire-plugin
>2.3-SNAPSHOT
>
> 
> 
> true
>
>   
>  
>  maven-clean-plugin
>  
>   
>
>   ${basedir}/src/main/etc
>   
>setup.properties
>*.tmp
>utils/**
>   
>   false
>  
>  
>  ${basedir}/src/main/webapp/WEB-INF/classes
>  false
>  
>  
>   ${basedir}/src/main/java
>   
>report.om.generation
>   
>  
>   
>  
>  
>  
>  
>  
>  
>  
>   test
>   child1
>   1.0-SNAPSHOT
>   war
>  
>  
>  
>  
>   
>org.apache.maven.plugins
>maven-surefire-report-plugin
>   
>   
>org.apache.maven.plugins
>maven-javadoc-plugin
>
> 128m
> 512m
>
>   
>  
>  
> 
>
> * POM - END *
>
> thanks,
> Anand
>
> - Original Message 
> From: Wayne Fay <[EMAIL PROTECTED]>
> To: Maven Users List 
> Sent: Tuesday, 27 November, 2007 12:32:13 PM
> Subject: Re: Dependency issue (war and jar) in multimodule project
>
> In your dependency declaration, did you include war for
> the child1 dep in the child2 pom? Or how are you declaring the
> dependency?
>
> Perhaps show us your pom(s).
>
> Wayne
>
> On 11/26/07, Anand Rathi <[EMAIL PROTECTED]> wrote:
> > Hi Juven,
> > I removed child1 jar dependency and only kept child1 war dependency but
> while building child2 project, it is still expanding child1 jar file instead
> of child1 war file. Also it is picking up 'child1-1.0-SNAPSHOT.jar' from
> 'child1\target' folder instead of repository. This is happening only in
> multi-module build environment. If I build child2 seperately, it is building
> successfully.
> >
> > Following message is shown in log:
> > [DEBUG] Processing: child1-1.0-SNAPSHOT.war
> > [INFO] Expanding: D:\temp\child1\target\child1-1.0-SNAPSHOT.jar into
> D:\temp\child2\target\war\work\child1-1.0-SNAPSHOT
> >
> > thanks,
> > Anand
> >
> >
> > - Original Message 
> > From: Juven Xu <[EMAIL PROTECTED]>
> > To: Maven Users List 
> > Sent: Tuesday, 27 November, 2007 7:01:59 AM
> > Subject: Re: Dependency issue (war and jar) in multimodule project
> >
> > Hi, Anand:
> >
> >  If child2 has a dependency on child1 war, I think you don't need to
> make
> > dependency on child1 jar. Cause all the xml file and class file will be
> > inherited.
> >
> >  Thanks,
> >  Juven
> >
> > On Nov 26, 2007 3:34 PM, Anand Rathi <[EMAIL PROTECTED]> wrote:
> >
> > > Hi,
> > >
> > > I have a

Re: Maven release plugin: Address already in use!

2007-11-27 Thread Jorg Heymans
It is not a maven limitation, but a java one. I would like the embedded
maven to still be launched with MAVEN_OPTS in any case. It is up to the
developer to not set things in there that cannot be executed concurrently.


Jorg

On Nov 26, 2007 7:03 PM, Bashar Jawad <[EMAIL PROTECTED]> wrote:

> Yup, that was the problem, removing the remote debug args fixed it.
> Should I file a Jira issue about it?
>
> Bashar
>
> Jorg Heymans wrote:
> > I've seen this happening when MAVEN_OPTS is set to enable remote
> debugging.
> > What happens is that the release plugin invokes a system exec of some
> sort
> > of mvn which then tries to use the same MAVEN_OPTS and fails because the
> > debug port is already taken.
> >
> > Makes sense?
> >
> > Jorg
> >
> > On Nov 26, 2007 5:11 PM, Bashar Jawad <[EMAIL PROTECTED]> wrote:
> >
> >
> >> I still can't resolve this issue. I am using Maven 2.0.7. This is a
> >> major blocker issue for me so I would really appreciate any help. Does
> >> anyone at least know what port the release plugin uses ?
> >>
> >> Thanks,
> >>
> >> Bashar Jawad wrote:
> >>
> >>> I am trying to use the maven-release-plugin to prepare and perform a
> >>> release. I simply created a new empty maven 2 project and added the
> >>> required scm information in the POM. However any time I run the
> >>> command: mvn release:clean release:prepare maven asks me for
> >>> release/tag/developement version information and then exists with the
> >>> following error:
> >>>
> >>> [INFO] Transforming 'Unnamed -
> >>> ReleasePluginDemo:ReleasePluginDemo:jar:1.0-SNAPSHOT'...
> >>> [INFO] Not generating release POMs
> >>> [INFO] Executing goals 'clean verify'...
> >>> [INFO] Executing: mvn clean verify --no-plugin-updates -P default
> >>>ERROR: transport error 202: bind failed: Address already in use
> >>> ["transport.c",L41]
> >>>FATAL ERROR in native method: JDWP No transports initialized,
> >>> jvmtiError=JVMTI_ERROR_INTERNAL(113)
> >>>ERROR: JDWP Transport dt_socket failed to initialize,
> >>> TRANSPORT_INIT(510) ["debugInit.c",L500]
> >>>JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports
> initialized
> >>> [INFO]
> >>>
> 
> >>> [ERROR] BUILD ERROR
> >>> [INFO]
> >>>
> 
> >>> [INFO] Maven execution failed, exit code: '1'
> >>>
> >>> [INFO]
> >>>
> 
> >>> [INFO] Trace
> >>> org.apache.maven.lifecycle.LifecycleExecutionException: Maven
> >>> execution failed, exit code: '1'
> >>>at
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> >>>
> >> DefaultLifecycleExecutor.java:564)
> >>
> >>>at
> >>>
> >>>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
> >> DefaultLifecycleExecutor.java:493)
> >>
> >>>at
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> >>>
> >> DefaultLifecycleExecutor.java:463)
> >>
> >>>at
> >>>
> >>>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> >> (DefaultLifecycleExecutor.java:311)
> >>
> >>>at
> >>>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> >>>
> >> DefaultLifecycleExecutor.java:224)
> >>
> >>>at
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> >>>
> >> DefaultLifecycleExecutor.java:143)
> >>
> >>>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> :334)
> >>>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> >>>at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> >>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>at
> >>> sun.reflect.NativeMethodAccessorImpl.invoke(
> >>>
> >> NativeMethodAccessorImpl.java:39)
> >>
> >>>at
> >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> >>>
> >> DelegatingMethodAccessorImpl.java:25)
> >>
> >>>at java.lang.reflect.Method.invoke(Method.java:585)
> >>>at
> >>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >>>at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >>>at
> >>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >>>at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >>> Caused by: org.apache.maven.plugin.MojoExecutionException: Maven
> >>> execution failed, exit code: '1'
> >>>at
> >>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(
> >>>
> >> PrepareReleaseMojo.java:131)
> >>
> >>>at
> >>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> >>>
> >> DefaultPluginManager.java:443)
> >>
> >>>at
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> >>>
> >> DefaultLifecycleExecutor.java:539)
> >>
> >>>... 16 more
> >>> Caused by

junit fails in "install" but not in "test"

2007-11-27 Thread Jan Torben Heuer
Hi,

I can test my multimodule-project with mvn test - no problems.
However when I run mvn install, it fails.
And it fails because resources are not found.

What is difference between the two commands, test and install, while
testing?


Jan




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



Re: [ANNOUNCE] Archiva 1.0 Released

2007-11-27 Thread Brett Porter
It will get there eventually - it just takes a little time to sync.
out (even to the "backup")

- Brett

On 27/11/2007, ben short <[EMAIL PROTECTED]> wrote:
> Hi,
>
> None of the mirrors have the war for download
>
> http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-archiva-1.0.war
>
> Ben
>
> On Nov 27, 2007 9:49 AM, Maria Odea Ching <[EMAIL PROTECTED]> wrote:
> >  Hi Everyone,
> >
> > The Maven Archiva team is pleased to announce the release of Archiva 
> > 1.0final.
> >
> > Archiva is a build artifact repository manager for use with build tools such
> > as Maven, Continuum and Ant.
> >
> > It has features like repository search and browse, securing repositories,
> > identifying unknown artifacts and reporting of repository problems.
> >
> > Aside from these, it can also act as a nearby (proxy) cache of popular
> > global repositories.
> >
> >
> > The latest release is now available here:
> >
> > http://maven.apache.org/archiva/download.html
> >
> >
> > The site has also been updated, you can visit it at:
> >
> > http://maven.apache.org/archiva
> >
> >
> > Below are the jira issues that were resolved for Archiva 1.0:
> >
> > Release Notes - Archiva - Version 1.0
> >
> >
> > ** Bug
> > * [MRM-545] - Documentation for configuring for Tomcat is invalid
> > * [MRM-586] - entire proxy request fails if a queried remote repository
> > throws a proxyexception
> > * [MRM-595] - regression : server-side relocation fails
> > * [MRM-596] - regression : cannot get java-sources anymore from maven1
> > * [MRM-598] - Validation error on new repository creation
> >
> >
> >
> > ** Task
> > * [MRM-583] - Finalise and publish updated web site
> > * [MRM-587] - further changes to logging needed
> >
> >
> >
> > Thanks,
> > Deng
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/

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



Re: [ANNOUNCE] Archiva 1.0 Released

2007-11-27 Thread ben short
Hi,

None of the mirrors have the war for download

http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-archiva-1.0.war

Ben

On Nov 27, 2007 9:49 AM, Maria Odea Ching <[EMAIL PROTECTED]> wrote:
>  Hi Everyone,
>
> The Maven Archiva team is pleased to announce the release of Archiva 1.0final.
>
> Archiva is a build artifact repository manager for use with build tools such
> as Maven, Continuum and Ant.
>
> It has features like repository search and browse, securing repositories,
> identifying unknown artifacts and reporting of repository problems.
>
> Aside from these, it can also act as a nearby (proxy) cache of popular
> global repositories.
>
>
> The latest release is now available here:
>
> http://maven.apache.org/archiva/download.html
>
>
> The site has also been updated, you can visit it at:
>
> http://maven.apache.org/archiva
>
>
> Below are the jira issues that were resolved for Archiva 1.0:
>
> Release Notes - Archiva - Version 1.0
>
>
> ** Bug
> * [MRM-545] - Documentation for configuring for Tomcat is invalid
> * [MRM-586] - entire proxy request fails if a queried remote repository
> throws a proxyexception
> * [MRM-595] - regression : server-side relocation fails
> * [MRM-596] - regression : cannot get java-sources anymore from maven1
> * [MRM-598] - Validation error on new repository creation
>
>
>
> ** Task
> * [MRM-583] - Finalise and publish updated web site
> * [MRM-587] - further changes to logging needed
>
>
>
> Thanks,
> Deng
>

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



[ANNOUNCE] Archiva 1.0 Released

2007-11-27 Thread Maria Odea Ching
 Hi Everyone,

The Maven Archiva team is pleased to announce the release of Archiva 1.0final.

Archiva is a build artifact repository manager for use with build tools such
as Maven, Continuum and Ant.

It has features like repository search and browse, securing repositories,
identifying unknown artifacts and reporting of repository problems.

Aside from these, it can also act as a nearby (proxy) cache of popular
global repositories.


The latest release is now available here:

http://maven.apache.org/archiva/download.html


The site has also been updated, you can visit it at:

http://maven.apache.org/archiva


Below are the jira issues that were resolved for Archiva 1.0:

Release Notes - Archiva - Version 1.0


** Bug
* [MRM-545] - Documentation for configuring for Tomcat is invalid
* [MRM-586] - entire proxy request fails if a queried remote repository
throws a proxyexception
* [MRM-595] - regression : server-side relocation fails
* [MRM-596] - regression : cannot get java-sources anymore from maven1
* [MRM-598] - Validation error on new repository creation



** Task
* [MRM-583] - Finalise and publish updated web site
* [MRM-587] - further changes to logging needed



Thanks,
Deng


Re: Javadocs during install phase

2007-11-27 Thread Antonio Petrelli
2007/11/27, rmatthews <[EMAIL PROTECTED]>:
>
>
> true



This is the problem :-(
http://jira.codehaus.org/browse/MJAVADOC-116
22 votes and 15 watches, and no one that takes care of it :-(

Antonio


Javadocs during install phase

2007-11-27 Thread rmatthews

After adding javadoc plugin to the build plugins section Maven fails to
compile my code anymore.

Before, with nothing in the local repository, Maven would compile and test
each module, and then install it in the repository.

Now it state "No goals needed for project - skipping" for each project and
then, after working through each module in the same ways, tries to download
the artifacts it should have just created.  This fails as the repository
hasn't had them added yet (with a typical "failed to load artifact"
message).

This is what has been added to the build element of the parent pom (note -
it is not within the reporting element as my aim is to subsequently include
the javadocs in a generated assembly).

   

org.apache.maven.plugins

maven-javadoc-plugin




false

install



jar







false

true



Why is this not working? Am I taking the wrong approach? What more
information can I provide?

Many thanks.
-- 
View this message in context: 
http://www.nabble.com/Javadocs-during-install-phase-tf4880601s177.html#a13967427
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Dependency issue (war and jar) in multimodule project

2007-11-27 Thread Anand Rathi
Yes. I have included war in dependency declaration. Below is a pom 
snapshot.
* POM - START *

http://maven.apache.org/POM/4.0.0";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
 4.0.0
 test
 child2
 1.0-SNAPSHOT
 child2
 war
 child2
 
  test
  parent
  1.0-SNAPSHOT
  ../parent/pom.xml
 
 
  
   
src/main/resources
   
   
src/main/java
  true

 **/*.properties

   
  
  
   
 
 src/test/resources
  
 
**/*.properties
**/*.xml 
  
   


  
   
org.apache.maven.plugins
maven-jar-plugin
2.1

 
  
   target/classes
   child2-1.0-SNAPSHOT
   target
  
  package
  Create JAR in project
  
   jar
  
 

   
   
org.apache.maven.plugins
maven-war-plugin
2.0.2-SNAPSHOT

 false
 
  
   
 ${basedir}/src/main/config/torque
   
   
**/*model
   
   WEB-INF/data
  
  
   
 ${basedir}/src/main/resources
   
   
**/hibernate.properties
   
   WEB-INF/classes
  
 
 
WEB-INF/classes/hibernate.properties


 
  validate
  copy jars
  
   exploded
  
 

   
   
org.apache.maven.plugins
maven-install-plugin
2.2

 
  
   target/child2-1.0-SNAPSHOT.war
   default
   test
   child2
   1.0-SNAPSHOT
   war
   true
  
  install
  install WAR in M2 repos
  
   install-file
  
 
 
  
   target/child2-1.0-SNAPSHOT.jar
   default
   test
   child2
   1.0-SNAPSHOT
   jar
   true
  
  install
  install JAR in M2 repos
  
   install-file
  
 

  
   
   
org.apache.maven.plugins
maven-surefire-plugin
2.3-SNAPSHOT

 
 
 true

   
  
  maven-clean-plugin
  
   

   ${basedir}/src/main/etc
   
setup.properties
*.tmp
utils/**
   
   false
  
  
  ${basedir}/src/main/webapp/WEB-INF/classes
  false
  
  
   ${basedir}/src/main/java
   
report.om.generation
   
  
   
  
  
  
 
 
  
  
   test
   child1
   1.0-SNAPSHOT
   war
   
 
 
  
   
org.apache.maven.plugins
maven-surefire-report-plugin
   
   
org.apache.maven.plugins
maven-javadoc-plugin

 128m
 512m

   
  
 


* POM - END *

thanks,
Anand

- Original Message 
From: Wayne Fay <[EMAIL PROTECTED]>
To: Maven Users List 
Sent: Tuesday, 27 November, 2007 12:32:13 PM
Subject: Re: Dependency issue (war and jar) in multimodule project

In your dependency declaration, did you include war for
the child1 dep in the child2 pom? Or how are you declaring the
dependency?

Perhaps show us your pom(s).

Wayne

On 11/26/07, Anand Rathi <[EMAIL PROTECTED]> wrote:
> Hi Juven,
> I removed child1 jar dependency and only kept child1 war dependency but while 
> building child2 project, it is still expanding child1 jar file instead of 
> child1 war file. Also it is picking up 'child1-1.0-SNAPSHOT.jar' from 
> 'child1\target' folder instead of repository. This is happening only in 
> multi-module build environment. If I build child2 seperately, it is building 
> successfully.
>
> Following message is shown in log:
> [DEBUG] Processing: child1-1.0-SNAPSHOT.war
> [INFO] Expanding: D:\temp\child1\target\child1-1.0-SNAPSHOT.jar into 
> D:\temp\child2\target\war\work\child1-1.0-SNAPSHOT
>
> thanks,
> Anand
>
>
> - Original Message 
> From: Juven Xu <[EMAIL PROTECTED]>
> To: Maven Users List 
> Sent: Tuesday, 27 November, 2007 7:01:59 AM
> Subject: Re: Dependency issue (war and jar) in multimodule project
>
> Hi, Anand:
>
>  If child2 has a dependency on child1 war, I think you don't need to make
> dependency on child1 jar. Cause all the xml file and class file will be
> inherited.
>
>  Thanks,
>  Juven
>
> On Nov 26, 2007 3:34 PM, Anand Rathi <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > I have a multimodule project as shown below:
> > - parent (pom)
> >- child1 (war)
> >- child2 (war)
> >
> > child2 project has a dependency on child1 jar as well as war. This is
> > required because child1 war contains some xml files which I need at the
> > child2 war creation time.
> >
> > I am building this project from parent folder using 'mvn clean install'
> > command. It builds child1 module successfully and installs jar as well as
> > war in repository.
> >
> > But while building child2 

Re: overriding jspc-maven-plugin

2007-11-27 Thread Stephen Connolly
Put your config in a  and that way the war projects
need only specify


   org.codehaus.mojo.jspc
   jspc-maven-plugin


and they'll pick up the config from the plugin management section.

Alternatively, use two parent poms, one for the jars and the other for the wars

These need not require a change in directory structure

/pom.xml (the super pom)
/jar-common-config/pom.xml (the jar common parent)
/war-common-config/pom.xml (the war common parent)
/jar-a/pom.xml
/jar-b/pom.xml
...
/war-a/pom.xml
/war-b/pom.xml

where /pom.xml has


...

jar-common-config
war-common-config
jar-a
jar-b
...
war-a
war-b
...


That will allow building all the modules from the root pom

/jar-a/pom.xml's parent would be jar-common-config with
../jar-common-config/pom.xml (although
I'm unsure if this is needed I think it's to do with release)
and
/war-a/pom.xml's parent would be war-common-config...

I prefer using the  technique, but the separate
parents can work also.

-Stephen
On Nov 27, 2007 1:49 AM, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Many plugins offer a  configuration option. Check the plugin
> docs to see if jspc-m-p does, and if it does not, file a JIRA to
> request that someone else add it or do it yourself. Then you could
> simply add the plugin in the parent, and declare it with
> true in the non-WAR children projects.
>
> Wayne
>
>
> On 11/26/07, Amir Mistric <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > I have a super-parent POM that all of my projects inherit...
> > 90% of the projects are WAR files and few are multi module JARs
> >
> > I would like to define a JSPC compile plugin at the super-parent POM level 
> > but the problem arises when building non-WAR projects
> >
> > How can I "redefine" specific project's POMs (the ones that are JARs) not 
> > to "consider" JSPC plugin?
> >
> >
> > The obvious solution is not to define jspc-maven-plugin at the super-parent 
> > POM level but in each project individually...
> > But that means I have to specify something like this in multiple places 
> > which I am trying to avoid:
> >
> >  
> >org.codehaus.mojo.jspc
> >jspc-maven-plugin
> >2.0-alpha-1
> >
> >  
> >
> >  compile
> >
> >  
> >
> >
> >  
> >org.codehaus.mojo.jspc
> >jspc-compiler-tomcat5
> >2.0-alpha-1
> >  
> >
> >
> >  
> >${basedir}/src/main/resources/
> >
> >  **/*.jsp
> >
> >  
> >  1.6
> >  1.6
> >  1
> >
> >  
> >
> >
> > Is there a way to do this? Currently I get following error when I try to 
> > build one of my JAR projects:
> >
> > [WARNING] Compiled JSPs will not be added to the project and web.xml will 
> > not be modified, either because includeInProject is set to false or because 
> > the project's packaging is not 'war'.
> > [INFO] Created dir: 
> > C:\mycompany\project\COOLP\mycompany-common\target\jsp-source
> > [INFO] Created dir: 
> > C:\mycompany\project\COOLP\mycompany-common\target\classes
> > [INFO] Compiling JSP source files to 
> > C:\mycompany\project\COOLP\mycompany-common\target/jsp-source
> > [INFO] 
> > 
> > [ERROR] FATAL ERROR
> > [INFO] 
> > 
> > [INFO] The -uriroot option must specify a pre-existing directory
> > [INFO] 
> > 
> > [INFO] Trace
> > org.apache.jasper.JasperException: The -uriroot option must specify a 
> > pre-existing directory
> >
> >
>
> -
> 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]