Re: [m2] filePermissions not being used on mvn deploy

2006-01-24 Thread Kathryn Huxtable
I have the same problem.

Please, someone, tell us where to report this.

-K


On 1/24/06 10:50 PM, "Treloar, Barrie (SAPOL)"
<[EMAIL PROTECTED]> wrote:

> I am finding that when I deploy my snapshots to our internal repository that
> the created files do not have group write permissions.
> 
> My umask on that unix machine is 022, but from what I can tell I should not
> have to change my umask because the  section of settings.xml can
> specify both filePermissions and directoryPermissions.
> 
> [EMAIL PROTECTED]:/usr/local/www/default/maven2_repositories > l
> inhouse_snapshot/XXX/XXX/0.0.1-SNAPSHOT/
> total 65
> drwxrwsr-x2 XXX  other1024 Jan 25 15:17 ./
> drwxrwsr-x3 XXX  other 512 Jan 24 15:59 ../
> -rw-r--r--1 XXX  other 340 Jan 25 15:17 maven-metadata.xml
> -rw-r--r--1 XXX  other  32 Jan 25 15:17
> maven-metadata.xml.md5
> -rw-r--r--1 XXX  other  40 Jan 25 15:17
> maven-metadata.xml.sha1
> ...
> -rw-r--r--1 XXX  other   10030 Jan 25 15:17
> XXX-0.0.1-20060125.044219-5.pom
> -rw-r--r--1 XXX  other  32 Jan 25 15:17
> XXX-0.0.1-20060125.044219-5.pom.md5
> -rw-r--r--1 XXX  other  40 Jan 25 15:17
> XXX-0.0.1-20060125.044219-5.pom.sha1
> 
> My settings.xml has the following entry:
> 
> inhouse_snapshot
> XXX
> XXX
> 664
> 775
> 
> 
> My pom.xml has:
> 
> 
> inhouse
> Internal Release Repository
> 
>  
> scp://XXX/usr/local/www/default/maven2_repositories/inhouse
> 
> 
> inhouse_snapshot
> Internal Snapshot Repository
> 
>  
> scp://XXX/usr/local/www/default/maven2_repositories/inhouse_snapshot
> 
> 
> website
> scp://XXX/usr/local/www/default/projects/XXX
> 
> 
> 
> There is one other email from the list on Nabble at
> http://www.nabble.com/-M2-directorypermissions-ignored-during-deploy-t436786
> .html#a1196148 that talks about directoryPermissions not working.  For them
> filePermissions works fine.
> 
> And a closed JIRA issue at http://jira.codehaus.org/browse/MNG-575 which
> looks like issue raised to get filePermissions and directoryPermissions
> added to settings.xml.
> 
> 
> Is anyone able to point out what I have missed to get this to work?
> 
> Cheers,
> Barrie
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

--
Kathryn Huxtable
Middleware Architect
Core Middleware
Information Technology, a division of Information Services
The University of Kansas


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



RE: [m2] Wagon fails with HTTP destination

2006-01-24 Thread Stefan Fritz
Yes I'm following this guide but instead of using scp I tried http.

It seems nobody has ever tried http.
I think I'll try FTP as I was not able to get it working with HTTP. :-(


-Original Message-
From: Treloar, Barrie (SAPOL) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 25, 2006 6:51 AM
To: 'Maven Users List'
Subject: RE: [m2] Wagon fails with HTTP destination

> 
>   
>   inhouse
>   Inhouse Internal Release Repository
>   http://myserver/maven/inhouse
>   
>   
>   inhouse_snapshot
>   Inhouse Internal Snapshot
> Repository
> http://myserver/maven/inhouse_snapshot
>   true
>   
>   
> 
> 
> But when I run 'mvn deploy' I get the following error:

I know it works via scp.

I doubt http worked unless wagon was doing WebDAV stuff, in which case
you
would have had to setup that in apache.

Err, are you following the guide I am writing at 

nment ?? Let me know if I need to make changes.



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


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



RE: [m2] Wagon fails with HTTP destination

2006-01-24 Thread Treloar, Barrie (SAPOL)
> 
>   
>   inhouse
>   Inhouse Internal Release Repository
>   http://myserver/maven/inhouse
>   
>   
>   inhouse_snapshot
>   Inhouse Internal Snapshot
> Repository
> http://myserver/maven/inhouse_snapshot
>   true
>   
>   
> 
> 
> But when I run 'mvn deploy' I get the following error:

I know it works via scp.

I doubt http worked unless wagon was doing WebDAV stuff, in which case you
would have had to setup that in apache.

Err, are you following the guide I am writing at 
http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+enviro
nment ?? Let me know if I need to make changes.



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



[m2] Wagon fails with HTTP destination

2006-01-24 Thread Stefan Fritz

Hi all,

I try to setup maven 2.0.2 for my team.
I have a webserver (apache) which I want to use as our internal
repository release/snapshot.

In my parent pom.xml I added the following entries:



inhouse
Inhouse Internal Release Repository
http://myserver/maven/inhouse


inhouse_snapshot
Inhouse Internal Snapshot
Repository
http://myserver/maven/inhouse_snapshot
true




But when I run 'mvn deploy' I get the following error:


C:\dev>mvn deploy
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Unnamed - com.progress.chat:dev:pom:1.0
[INFO]   Unnamed - com.progress.chat.dev:esb:pom:1.0
[INFO]   Unnamed - com.progress.chat.dev.esb:services:pom:1.0
[INFO]


[INFO] Building Unnamed - com.progress.chat:dev:pom:1.0
[INFO]task-segment: [deploy]
[INFO]


[INFO] Skipping missing optional mojo:
org.apache.maven.plugins:maven-site-plugin:attach-descriptor
[INFO] [install:install]
[INFO] Installing C:\dev\pom.xml to
C:\dev\var\local-repository\com\progress\chat\dev\1.0\dev-1.0.po
m
[INFO] [deploy:deploy]
Uploading:
http://myserver/maven/inhouse/com/progress/chat/dev/1.0/dev-1.0.pom
1K uploaded
[INFO]


[ERROR] BUILD ERROR
[INFO]


[INFO] Error deploying artifact: Unable to transfer file.
HttpURLConnection returned the response co
de: 405

[INFO]


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


[INFO] Total time: 1 second
[INFO] Finished at: Tue Jan 24 14:58:48 CET 2006
[INFO] Final Memory: 3M/6M
[INFO]



C:\dev>

Do I need any special apache settings to be able to upload files with
maven/wagon?

Regards
Stefan


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



[m2] filePermissions not being used on mvn deploy

2006-01-24 Thread Treloar, Barrie (SAPOL)
I am finding that when I deploy my snapshots to our internal repository that
the created files do not have group write permissions.

My umask on that unix machine is 022, but from what I can tell I should not
have to change my umask because the  section of settings.xml can
specify both filePermissions and directoryPermissions.

[EMAIL PROTECTED]:/usr/local/www/default/maven2_repositories > l
inhouse_snapshot/XXX/XXX/0.0.1-SNAPSHOT/
total 65
drwxrwsr-x2 XXX  other1024 Jan 25 15:17 ./
drwxrwsr-x3 XXX  other 512 Jan 24 15:59 ../
-rw-r--r--1 XXX  other 340 Jan 25 15:17 maven-metadata.xml
-rw-r--r--1 XXX  other  32 Jan 25 15:17
maven-metadata.xml.md5
-rw-r--r--1 XXX  other  40 Jan 25 15:17
maven-metadata.xml.sha1
...
-rw-r--r--1 XXX  other   10030 Jan 25 15:17
XXX-0.0.1-20060125.044219-5.pom
-rw-r--r--1 XXX  other  32 Jan 25 15:17
XXX-0.0.1-20060125.044219-5.pom.md5
-rw-r--r--1 XXX  other  40 Jan 25 15:17
XXX-0.0.1-20060125.044219-5.pom.sha1

My settings.xml has the following entry:

inhouse_snapshot
XXX
XXX
664
775


My pom.xml has:


inhouse
Internal Release Repository

 
scp://XXX/usr/local/www/default/maven2_repositories/inhouse


inhouse_snapshot
Internal Snapshot Repository

 
scp://XXX/usr/local/www/default/maven2_repositories/inhouse_snapshot


website
scp://XXX/usr/local/www/default/projects/XXX



There is one other email from the list on Nabble at
http://www.nabble.com/-M2-directorypermissions-ignored-during-deploy-t436786
.html#a1196148 that talks about directoryPermissions not working.  For them
filePermissions works fine.

And a closed JIRA issue at http://jira.codehaus.org/browse/MNG-575 which
looks like issue raised to get filePermissions and directoryPermissions
added to settings.xml.


Is anyone able to point out what I have missed to get this to work?

Cheers,
Barrie

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



Re: Dependency plugin support for time check on artifacts?

2006-01-24 Thread Sasvata Chatterjee
On 1/24/06, Brian E. Fox <[EMAIL PROTECTED]> wrote:
> Certainly. I have already undertaken a major refactoring of the code
> because it had growing pains. Go ahead and submit the patch and I'll
> include it with the refactor. BTW, the svn version 1.1 can control
> SNAPSHOT and release overwrites separately...maybe that's all you need?
>

Done: http://jira.codehaus.org/browse/MOJO-259.

I saw the overwrite option, but as I understand it, if I were to
choose SNAPSHOT overwrite, then all SNAPSHOT JARs would be overwritten
on every build.  What I am looking for is to expand only the JARs that
have actually changed since the last build.
The project I am working on has fine-grained selection of API/impl(s),
i.e. lots-o-dependencies, so it is important to cut down on any
expansions that are not absolutely required.

BTW, thanks for this plugin, an absolute godsend for what I needed.

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



[m2] antlib system scope dependencies

2006-01-24 Thread Tim Morrow
Hello,

Is it possible to reference system-scoped dependencies from a pom
using the antlib tasks such that those system-scoped dependencies
could be included in a compile classpath?

I created a pom for a project containing a number of "compile"
dependencies that were successfully downloaded from the central repo. 
It also has a couple of "system" scope dependencies on local jars. 
But those jars do not seem to get resolved correctly when declaring
and using a path id.

For example, in my pom.xml I have a system dependency as follows:
  
com.mycompany.myapp
my-jar
1.0
system
/path/to/jar/my-jar-1.0.jar
  

I defined the dependencies in my build.xml as follows:
  
  

  

The verbose setting lists the system jar as:
  com.mycompany.myapp:my-jar:jar:1.0 (selected)
however, it is not picked up during compilation using classpath
refid="compile.dependencies.path"

If I echo the pathId:
  
  ${out}
it lists (among all the other jars):
  /home/tim/.m2/repository/com/mycompany/myapp/my-jar/1.0/my-jar-1.0.jar

Cleary, that system dependency does not live there.

BTW, I also tried:
  

  
but got an Ant error when trying to print it out:
No files specified for filelist.

Is what I'm trying to do possible.  Should system scope dependencies
be resolved in the "compile" scope?

Obviously as a workaround I can simply add those other jars to the
classpath inside the ant build.xml, but I was trying to list all the
jars in a single location (the pom.xml).

Thanks in advance for any insight,

Cheers,

Tim

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



[ANN] Maven Help Plugin 2.0 Released

2006-01-24 Thread Brett Porter
The Maven Help plugin provides goals aimed at helping to make sense out of
the build environment. It includes the ability to view the effective
POM and settings files, after inheritance and active profiles
have been applied, as well as a describe a particular plugin goal to
give usage information.

eg.
mvn help:describe -Dplugin=help

NOTE: this plugin was formerly called the projecthelp plugin.

- The Maven Team


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



Re: [m2] does the eclipse plugin use the local repo from eclipse preferences?

2006-01-24 Thread Kathryn Huxtable
No, it doesn't process anything from settings.xml at this time. It sure
would be nice if it did. -K


On 1/24/06 5:06 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:

> 
> 
> 
> 
> 
> hello,
> 
> We're using Maven 2's Eclipse plugin.
> 
> In Eclipse preferences, Maven2, I selected a local repository.
> 
> When I compile a project I never see references to the local repository in
> the output,
> just to the central repository.
> 
> The local repository is getting populated with downloaded dependencies,
> but is the local repo examined for dependencies without any direct
> references in the log?
> 
> Thanks
> Tom
> 
> 
> 
>  
> This message is intended for the recipient only and is not meant to be
> forwarded or distributed in any other format. This communication is for
> informational purposes only.  It is not intended as an offer or solicitation
> for the purchase or sale of any financial instrument, or security, or as an
> official confirmation of any transaction.  Putnam does not accept purchase or
> redemptions of securities, instructions, or authorizations that are sent via
> e-mail.   All market prices, data and other information are not warranted as
> to completeness or accuracy and are subject to change without notice.  Any
> comments or statements made herein do not necessarily reflect those of Putnam,
> LLC (DBA Putnam Investments) and its subsidiaries and affiliates.  If you are
> not the intended recipient of this e-mail, please delete the e-mail.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

--
Kathryn Huxtable
Middleware Architect
Core Middleware
Information Technology, a division of Information Services
The University of Kansas


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



RE: Dependency plugin support for time check on artifacts?

2006-01-24 Thread Brian E. Fox
Certainly. I have already undertaken a major refactoring of the code
because it had growing pains. Go ahead and submit the patch and I'll
include it with the refactor. BTW, the svn version 1.1 can control
SNAPSHOT and release overwrites separately...maybe that's all you need? 

-Original Message-
From: Sasvata Chatterjee [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006 6:03 PM
To: Maven Users List
Subject: Dependency plugin support for time check on artifacts?

I am using the dependency plugin as the last step in a multiproject
build.  However when one or more dependent JARs are rebuilt, they are
not being expanded.  It is an either/or choice right now, to either
overwrite for all JARs, or to delete the marker dir.

Instead of checking if the marker exists, I tried a small change in
DependencyUtils to check if the artifact is newer  than the marker. 
This works great.  Works for the copy mojo as well.

Would this be an acceptable enhancement to the plugin? If so, I'll write
a JIRA issue and attach a patch.

Thanks,
Shash

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



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



[m2] does the eclipse plugin use the local repo from eclipse preferences?

2006-01-24 Thread Thomas_Perry





hello,

We're using Maven 2's Eclipse plugin.

In Eclipse preferences, Maven2, I selected a local repository.

When I compile a project I never see references to the local repository in
the output,
just to the central repository.

The local repository is getting populated with downloaded dependencies,
but is the local repo examined for dependencies without any direct
references in the log?

Thanks
Tom



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

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



Dependency plugin support for time check on artifacts?

2006-01-24 Thread Sasvata Chatterjee
I am using the dependency plugin as the last step in a multiproject
build.  However when one or more dependent JARs are rebuilt, they are
not being expanded.  It is an either/or choice right now, to either
overwrite for all JARs, or to delete the marker dir.

Instead of checking if the marker exists, I tried a small change in
DependencyUtils to check if the artifact is newer  than the marker. 
This works great.  Works for the copy mojo as well.

Would this be an acceptable enhancement to the plugin? If so, I'll
write a JIRA issue and attach a patch.

Thanks,
Shash

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



Re: Multiproject support in Maven 2

2006-01-24 Thread Mick Knutson

   
   common-jar
   common-war
   common-managers
   sequence-generator
   properties-configuration
   



Thanks
Mick Knutson

http://www.BASELogic.com
http://www.MickKnutson.com

MSN Messenger: [EMAIL PROTECTED]



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

To: 
Sent: Tuesday, January 24, 2006 1:52 PM
Subject: Multiproject support in Maven 2



Hi,
Anybody knows if multiproject or equivalent plug-in is
supported in Maven 2?
Thanks,
AJ

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



Shipping different environments - different property/xml files

2006-01-24 Thread stuart
Hi there,

Firstly, m2 rocks, it took some time to implement but what a great result.
Much faster, clearer esp. for web projects.

So my question, I have read the doco, reviewed the lists and found many
things that might fit this bill and am confused as to best practice. I
wonder even if an extra plug-in might be needed and if so, will write it.

Here is the issue:

deploy targets:

test
production

differences:

src/main/webapp/WEB-INF/applicationContext.hibernate.xml
src/main/webapp/WEB-INF/default.properties

So between the two WARs generated for these environments, I need to have
different settings in these xml/properties files. I figure that I could :

1. Create an overlay directory tree per env. and sort of merge the overlay
over the standard WAR.
2. Use profiles to somehow select one subdir for resources vs another.
3. Something else, much smarter.

Any ideas? It doesnt seem to be covered clearly in the doco or miniguides.
Unless of course I missed it!

If I was to write a plugin I would be looking to call this sort of thing:

m2 -Dship.to.env=test package

which would merge into the WAR the test environment differences and
probably call the result myapp-test.war

ATB

Stuart Guthrie


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



Re: You can only deploy to one remote repository?

2006-01-24 Thread Brett Porter
There is actually a maven-one-plugin for deploying to the m1 repository.

- Brett

On 1/24/06, Stephen Duncan <[EMAIL PROTECTED]> wrote:
> As a workaround:
>
> Create a profile with the distributionManagement defined for the
> second repository.  Then you can run deploy a second time with the
> profile specified to deploy to the second repostiory.
>
> -Stephen
>
>
> On 1/24/06, Matthew Beermann <[EMAIL PROTECTED]> wrote:
> > Unless I'm misreading the XSD file (which is entirely possible), it looks 
> > as if you can only deploy to one remote repository - that is, the 
> >  tag will only take one  item. This 
> > seems like an odd limitation to impose.
> >
> >   We'd like to deploy all of our artifacts to TWO remote repositories: one 
> > in the Maven 2 format, and one in the legacy Maven 1 format. This will make 
> > our upgrade path vastly simpler, as there are other teams within our 
> > organization that consume artifacts from our repository, but won't be ready 
> > to upgrade to M2 for a long while yet.
> >
> >   Is there a way to do this I'm not seeing? Surely it's something that 
> > someone somewhere has wanted to do before...
> >
> >   --Matthew Beermann
> >
> >
> > -
> >  Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on 
> > new and used cars.
> >
>
>
> --
> Stephen Duncan Jr
> www.stephenduncanjr.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: install-file generatePom not working in 2.0.2

2006-01-24 Thread Brett Porter
You have the latest version of the install plugin? Try adding -U to the command.

- Brett

On 1/24/06, Frank Russo <[EMAIL PROTECTED]> wrote:
> That sucks for me, eh?
>
> Does anyone know why this may be happening? I have the latest version...
>
> Frank Russo
> Senior Developer
> FX Alliance, LLC
>
>
> -Original Message-
> From: Kathryn Huxtable [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 24, 2006 3:01 PM
> To: Maven Users List
> Subject: Re: install-file generatePom not working in 2.0.2
>
> I just tried it and it worked for me. Go figure. -K
>
>
> On 1/24/06 1:47 PM, "Frank Russo" <[EMAIL PROTECTED]> wrote:
>
> > In the 2.0.1 release of Maven, the following worked:
> >
> >
> > mvn install:install-file -Dfile=my.jar -DgroupId=my-group
> > -DartifactId=my-art -Dpackaging=jar -Dversion=1.0 -DgeneratePom=true
> >
> > I just tried this for the first time with version 2.0.2, but no pom is
>
> > generated locally.
> >
> > Any ideas? Is there some way to turn this on, or is it broken again?
> >
> > Frank Russo
> > Senior Developer
> > FX Alliance, LLC
> > 900 Third Avenue, 3rd Floor
> > New York, NY 10022
> > 646.268.9949
> >
> >
>
> --
> Kathryn Huxtable
> Middleware Architect
> Core Middleware
> Information Technology, a division of Information Services The
> University of Kansas
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



RE: m2: I'd like some help with maven-proxy

2006-01-24 Thread Max Cooper
maven-proxy works great for us.

What would make maven-proxy look for a property named
repo.dist-codehaus-org#.url? I bet you have something like this in your
properties file:

repo.list=local-repo,www-ibiblio-org,dist-codehaus-org# comment?

If it isn't that exactly, search for "dist-codehaus-org#" and you should
find the problem.

A comment line has an ASCII '#' or '!' as its first non-white space
character, according to:
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html#load(java.io.InputStream)
So a # in the middle of a line does not start a comment.

-Max

On Tue, 2006-01-24 at 16:43 -0500, Frank Russo wrote:
> When trying to run maven-proxy, I get the following error:
> 
> Error while loading properties:
>   Missing property: repo.dist-codehaus-org#.url
> 
> This has to be wrong. Having a # sign in a line like that makes the rest
> of the line a comment. Has anyone gotten the maven-proxy to work,
> because I'm not having any luck?
> 
> It makes me a little nervous that this is a 0.1 version only as well. We
> need a solution that is going to be production ready. What are people
> using out there for production? Is anyone using Maven 2 for production
> at all?
> 
> Thanks...
> 
> 
> Frank Russo
> Senior Developer
> FX Alliance, LLC
> 
> 
> -Original Message-
> From: Tom Joad [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, January 24, 2006 9:22 AM
> To: Maven Users List
> Subject: Re: m2: I'd like some help with maven-proxy
> 
> Hello ,
> I can only give you some hints how I do it.
> All things are on the properties file.
> My Configuration
> A machine with internet connection. First maven proxy .I declare my
> company http-proxy and public maven repositories on which to search
> artifacts.
> repo.list=local-repo,www-ibiblio-org,www-ibiblio-pub-org,,dist-codehaus-
> org
> # This could also be achieved by having a local http repository, but
> this is less cumbersome
> repo.local-repo.url=file:///./
> repo.local-repo.description=Super Secret Custom Repository
> #If copy is true, jars are copied from the store to the proxy-repo.
> Only configurable for file:/// repos
> repo.local-repo.copy=false
> #If hardfail is true, any unexpected errors from the repository will
> cause
> #the client download to fail (typically with a 500 error)
> repo.local-repo.hardfail=true
> #Don't cache a file repository
> repo.local-repo.cache.period=0
> 
> 
> #www.ibiblio.org
> repo.www-ibiblio-org.url=http://www.ibiblio.org/maven2
> repo.www-ibiblio-org.description=www.ibiblio.org
> repo.www-ibiblio-org.proxy=one
> repo.www-ibiblio-org.hardfail=true
> #Cache this repository for 1 hour
> repo.www-ibiblio-org.cache.period=3600
> repo.www-ibiblio-org.cache.failures=true
> 
> etc
> 
> On a second machine with no internet connection, this is our internal
> repository.
> On the propertie file , I declare no proxy .
> In repo-list paragraph I declare the first maven-proxy like above
> repo.list=Myfirstrepo
> #www.ibiblio.org
> repo.www-ibiblio-org.url=http://myfirstrepo.org
> repo.www-ibiblio-org.description=myfirstrepo
> repo.www-ibiblio-org.proxy=one
> repo.www-ibiblio-org.hardfail=true
> 
> On setings.xml, Developpers declare the internal repository  in mirror
> tag
> First maven-proxy is accessible only ,because of  a private network
> configuration, by the second one. so developpers can't directly refer
> to it.
> It works fine. There is a good synchronisation between my two
> maven-proxies.
> 
> I wish that can help you,
> 
> Tom
> 
> 2006/1/23, Frank Russo <[EMAIL PROTECTED]>:
> > Can anyone point me to a good writeup on using maven-proxy in maven 2?
> > The docs on the maven-proxy site at codehaus are not only subpar, but
> > pretty much non-existant.
> >
> > Any help is much appreciated...
> >
> > Frank Russo
> > Senior Developer
> > FX Alliance, LLC
> > 900 Third Avenue, 3rd Floor
> > New York, NY 10022
> > 646.268.9949
> >
> >
> >
> >
> 
> -
> 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]



Multiproject support in Maven 2

2006-01-24 Thread jadejaanemail-subscriptions
Hi,
Anybody knows if multiproject or equivalent plug-in is
supported in Maven 2?
Thanks,
AJ

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



RE: install-file generatePom not working in 2.0.2

2006-01-24 Thread Frank Russo
That sucks for me, eh?  

Does anyone know why this may be happening? I have the latest version...

Frank Russo
Senior Developer
FX Alliance, LLC


-Original Message-
From: Kathryn Huxtable [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006 3:01 PM
To: Maven Users List
Subject: Re: install-file generatePom not working in 2.0.2

I just tried it and it worked for me. Go figure. -K


On 1/24/06 1:47 PM, "Frank Russo" <[EMAIL PROTECTED]> wrote:

> In the 2.0.1 release of Maven, the following worked:
>  
> 
> mvn install:install-file -Dfile=my.jar -DgroupId=my-group 
> -DartifactId=my-art -Dpackaging=jar -Dversion=1.0 -DgeneratePom=true
> 
> I just tried this for the first time with version 2.0.2, but no pom is

> generated locally.
>  
> Any ideas? Is there some way to turn this on, or is it broken again?
> 
> Frank Russo
> Senior Developer
> FX Alliance, LLC
> 900 Third Avenue, 3rd Floor
> New York, NY 10022
> 646.268.9949
> 
>  

--
Kathryn Huxtable
Middleware Architect
Core Middleware
Information Technology, a division of Information Services The
University of Kansas


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




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



RE: m2: I'd like some help with maven-proxy

2006-01-24 Thread Frank Russo
When trying to run maven-proxy, I get the following error:

Error while loading properties:
  Missing property: repo.dist-codehaus-org#.url

This has to be wrong. Having a # sign in a line like that makes the rest
of the line a comment. Has anyone gotten the maven-proxy to work,
because I'm not having any luck?

It makes me a little nervous that this is a 0.1 version only as well. We
need a solution that is going to be production ready. What are people
using out there for production? Is anyone using Maven 2 for production
at all?

Thanks...


Frank Russo
Senior Developer
FX Alliance, LLC


-Original Message-
From: Tom Joad [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006 9:22 AM
To: Maven Users List
Subject: Re: m2: I'd like some help with maven-proxy

Hello ,
I can only give you some hints how I do it.
All things are on the properties file.
My Configuration
A machine with internet connection. First maven proxy .I declare my
company http-proxy and public maven repositories on which to search
artifacts.
repo.list=local-repo,www-ibiblio-org,www-ibiblio-pub-org,,dist-codehaus-
org
# This could also be achieved by having a local http repository, but
this is less cumbersome
repo.local-repo.url=file:///./
repo.local-repo.description=Super Secret Custom Repository
#If copy is true, jars are copied from the store to the proxy-repo.
Only configurable for file:/// repos
repo.local-repo.copy=false
#If hardfail is true, any unexpected errors from the repository will
cause
#the client download to fail (typically with a 500 error)
repo.local-repo.hardfail=true
#Don't cache a file repository
repo.local-repo.cache.period=0


#www.ibiblio.org
repo.www-ibiblio-org.url=http://www.ibiblio.org/maven2
repo.www-ibiblio-org.description=www.ibiblio.org
repo.www-ibiblio-org.proxy=one
repo.www-ibiblio-org.hardfail=true
#Cache this repository for 1 hour
repo.www-ibiblio-org.cache.period=3600
repo.www-ibiblio-org.cache.failures=true

etc

On a second machine with no internet connection, this is our internal
repository.
On the propertie file , I declare no proxy .
In repo-list paragraph I declare the first maven-proxy like above
repo.list=Myfirstrepo
#www.ibiblio.org
repo.www-ibiblio-org.url=http://myfirstrepo.org
repo.www-ibiblio-org.description=myfirstrepo
repo.www-ibiblio-org.proxy=one
repo.www-ibiblio-org.hardfail=true

On setings.xml, Developpers declare the internal repository  in mirror
tag
First maven-proxy is accessible only ,because of  a private network
configuration, by the second one. so developpers can't directly refer
to it.
It works fine. There is a good synchronisation between my two
maven-proxies.

I wish that can help you,

Tom

2006/1/23, Frank Russo <[EMAIL PROTECTED]>:
> Can anyone point me to a good writeup on using maven-proxy in maven 2?
> The docs on the maven-proxy site at codehaus are not only subpar, but
> pretty much non-existant.
>
> Any help is much appreciated...
>
> Frank Russo
> Senior Developer
> FX Alliance, LLC
> 900 Third Avenue, 3rd Floor
> New York, NY 10022
> 646.268.9949
>
>
>
>

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



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



Re: [M2] Ant task

2006-01-24 Thread David H. DeWolf
Lee,

I think that all of the  plugin dependencies (for any plugin,
including antrun) should be in your local repository.

See: http://maven.apache.org/using/repositories.html

David

On 1/24/06, Lee Meador <[EMAIL PROTECTED]> wrote:
> So, where are the ant jars kept for the Maven antrun plugin?
>
> Excuse the repost but I got no response for 6 days. Perhaps nobody knows a
> thing about the problem but I did want the one question at the bottom
> answered if possible.
>
> Thanks
>
> -- Lee
>
> On 1/18/06, Lee Meador <[EMAIL PROTECTED]> wrote:
> >
> > Is there some reason I can't use the  task in ant when invoked
> > from within Maven2?
> >
> > Here is my POM.xml
> >
> > 
> > 
> > 
> > maven-antrun-plugin
> > 
> > 
> > generate-sources
> > 
> > 
> >  > target="wasWsdl2Java" inheritRefs="true" />
> > 
> > ${ project.build.directory
> > }/generated-sources/java
> > 
> > 
> > run
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > The line in build.xml is:
> >
> > 
> >> includes="**/*.java"/>
> > 
> >
> > I'm just trying to set the java files to readonly since they just got
> > generated by webspheres wsdl2java ant task. I don't want to be ... er ...
> > anybody to be ... modifying them by mistake.
> >
> > The error says
> >
> > [INFO]
> > 
> > [ERROR] BUILD ERROR
> > [INFO]
> > 
> >
> > [INFO] Error executing ant tasks
> >
> > Embedded error: The following error occurred while executing this line:
> > C:\java\eclipse31MavenWorkspace\31WebService\build.xml:110: Could not
> > create task or type of type: attrib.
> >
> > Ant could not find the task or a class this task relies upon.
> >
> > This is common and has a number of causes; the usual
> > solutions are to read the manual pages then download and
> > install needed JAR files, or fix the build file:
> >  - You have misspelt 'attrib'.
> >Fix: check your spelling.
> >  - The task needs an external JAR file to execute
> > 
> >
> > and so forth.
> >
> > If the answer isn't obvious I will need to track it down but I don't know
> > where the ant is coming from that maven 2 uses.
> >
> > Where is ant coming from?
> >
> > Thanks.
> >
> > -- Lee Meador
> > Sent from gmail. My real email address is [EMAIL PROTECTED]
>
>
>
>
> --
> -- Lee Meador
> Sent from gmail. My real email address is [EMAIL PROTECTED]
>
>

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



Re: Maven and IDE's (Idea, mostly)

2006-01-24 Thread cameron101
(sorry don't know how best to display this thread) see ..

http://mail-archives.apache.org/mod_mbox/maven-users/200512.mbox/[EMAIL 
PROTECTED]

http://mail-archives.apache.org/mod_mbox/maven-users/200512.mbox/[EMAIL 
PROTECTED]

http://mail-archives.apache.org/mod_mbox/maven-users/200512.mbox/[EMAIL 
PROTECTED]

http://mail-archives.apache.org/mod_mbox/maven-users/200512.mbox/[EMAIL 
PROTECTED]

http://mail-archives.apache.org/mod_mbox/maven-users/200512.mbox/[EMAIL 
PROTECTED]

http://mail-archives.apache.org/mod_mbox/maven-users/200512.mbox/[EMAIL 
PROTECTED]

http://mail-archives.apache.org/mod_mbox/maven-users/200512.mbox/[EMAIL 
PROTECTED]

the summary being ..integration appears to be minimal but there is hope for
M2 !



On 24/01/06, Willis Morse <[EMAIL PROTECTED]> wrote:
>
> I finally decided to look at Maven, and I'm wondering how what the
> actual workflow is when I use an IDE such as Idea.
>
> I used to use Eclipse, and I remember at one point there was a plugin
> that kept an Eclipse project (.project file) continuously in sync
> with the POM file. So if you use the Eclipse UI to add another source
> path or an external JAR, the POM gets updated automatically.
>
> With Idea, it looks like you can only take an existing POM and
> generate an Idea project file, and it seems like a oneway trip. Any
> modifications that you make to the project using Idea's UI will only
> live in the Idea project and will get wiped the next time you
> generate the project from the POM. Is this the case?
>
> Further, Idea has a refactoring that will move code between different
> Idea modules. If each Idea module corresponds to a Maven repository,
> is there any hope of having this refactoring work on the POMs, too?
>
> Thanks,
> Willis Morse
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Maven and IDE's (Idea, mostly)

2006-01-24 Thread Willis Morse
I finally decided to look at Maven, and I'm wondering how what the  
actual workflow is when I use an IDE such as Idea.


I used to use Eclipse, and I remember at one point there was a plugin  
that kept an Eclipse project (.project file) continuously in sync  
with the POM file. So if you use the Eclipse UI to add another source  
path or an external JAR, the POM gets updated automatically.


With Idea, it looks like you can only take an existing POM and  
generate an Idea project file, and it seems like a oneway trip. Any  
modifications that you make to the project using Idea's UI will only  
live in the Idea project and will get wiped the next time you  
generate the project from the POM. Is this the case?


Further, Idea has a refactoring that will move code between different  
Idea modules. If each Idea module corresponds to a Maven repository,  
is there any hope of having this refactoring work on the POMs, too?


Thanks,
Willis Morse

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



Re: Overriding default continuum goal

2006-01-24 Thread Emmanuel Venisse

Not yet.

Emmanuel

Olivier Lamy a écrit :

Hi,
Is-it possible to override the default goal clean install with a setting
in application.xml ?

Thanks,
- Olivier



This e-mail, any attachments and the information contained therein ("this 
message") are confidential and intended solely for the use of the addressee(s). If 
you have received this message in error please send it back to the sender and delete it. 
Unauthorized publication, use, dissemination or disclosure of this message, either in 
whole or in part is strictly prohibited.
** 
Ce message electronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci apres "le message" ), sont confidentiels et destines exclusivement a l'usage de la  personne a laquelle ils sont adresses. Si vous avez recu ce message par erreur, merci  de le renvoyer a son emetteur et de le detruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressement autorisees de ce message, sont interdites.
** 









War

2006-01-24 Thread Sommers, Elizabeth

I want to use the maven war plugin on a non-compliant (to maven2) directory
setup.  I think that the configuration takes place in the pom.xml - but I
have no idea how this needs to be configured.

Any help will be appreciated.

Thanks
liz sommers
[EMAIL PROTECTED]



 
http://www.pragmatics.com 

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



Re: install-file generatePom not working in 2.0.2

2006-01-24 Thread Kathryn Huxtable
I just tried it and it worked for me. Go figure. -K


On 1/24/06 1:47 PM, "Frank Russo" <[EMAIL PROTECTED]> wrote:

> In the 2.0.1 release of Maven, the following worked:
>  
> 
> mvn install:install-file -Dfile=my.jar -DgroupId=my-group
> -DartifactId=my-art -Dpackaging=jar -Dversion=1.0 -DgeneratePom=true
> 
> I just tried this for the first time with version 2.0.2, but no pom is
> generated locally.
>  
> Any ideas? Is there some way to turn this on, or is it broken again?
> 
> Frank Russo
> Senior Developer
> FX Alliance, LLC
> 900 Third Avenue, 3rd Floor
> New York, NY 10022
> 646.268.9949
> 
>  

--
Kathryn Huxtable
Middleware Architect
Core Middleware
Information Technology, a division of Information Services
The University of Kansas


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



RE: install-file generatePom not working in 2.0.2

2006-01-24 Thread Frank Russo
I just tried this with 2.0.1 as well, and that didn't work either. This
was in jira somewhere and was supposed to be included with the 2.0.1
release. 

Does anyone know why this wasn't included? I was marked as fixed.

Thanks.

Frank Russo
Senior Developer
FX Alliance, LLC


-Original Message-
From: Frank Russo 
Sent: Tuesday, January 24, 2006 2:48 PM
To: Maven Users List
Subject: install-file generatePom not working in 2.0.2

In the 2.0.1 release of Maven, the following worked:
 

mvn install:install-file -Dfile=my.jar -DgroupId=my-group
-DartifactId=my-art -Dpackaging=jar -Dversion=1.0 -DgeneratePom=true

I just tried this for the first time with version 2.0.2, but no pom is
generated locally. 
 
Any ideas? Is there some way to turn this on, or is it broken again?

Frank Russo
Senior Developer
FX Alliance, LLC
900 Third Avenue, 3rd Floor
New York, NY 10022
646.268.9949

 



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



install-file generatePom not working in 2.0.2

2006-01-24 Thread Frank Russo
In the 2.0.1 release of Maven, the following worked:
 

mvn install:install-file -Dfile=my.jar -DgroupId=my-group
-DartifactId=my-art -Dpackaging=jar -Dversion=1.0 -DgeneratePom=true

I just tried this for the first time with version 2.0.2, but no pom is
generated locally. 
 
Any ideas? Is there some way to turn this on, or is it broken again?

Frank Russo
Senior Developer
FX Alliance, LLC
900 Third Avenue, 3rd Floor
New York, NY 10022
646.268.9949

 


m2 site report cannot find resource bundle

2006-01-24 Thread tony nys
while generating a site report (for cobertura), I hav
an error about a missing resource bundle.
Where should I put a resource bundle and what should
be in it ?

java.util.MissingResourceException: Can't find bundle
for base name plugin-report, locale nl_BE
at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:837)
at
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:806)
at
java.util.ResourceBundle.getBundle(ResourceBundle.java:700)
at
org.apache.maven.plugin.plugin.PluginReport.getBundle(PluginReport.java:200)
at
org.apache.maven.plugin.plugin.PluginReport.getName(PluginReport.java:169)
at
org.apache.maven.plugins.site.ReportComparator.compare(ReportComparator.java:40)
at
java.util.Arrays.mergeSort(Arrays.java:1284)
at java.util.Arrays.sort(Arrays.java:1223)
at
java.util.Collections.sort(Collections.java:159)
at
org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:240)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: [m2] Generating was5 ejb code ?

2006-01-24 Thread Lee Meador
In the middle of this code:

   

you can add a classpath="" or classpathref="" to add references to the
various jars that supply the missing classes.

I don't know the property that would supply that but suspect there is one
(hint, hint)

I was doing the same thing for WAS 6 and have maven just execing my
build.xml which has the commands there. I came up with the list of jars for
it.

-- Lee Meador

On 1/23/06, Marcel Schutte <[EMAIL PROTECTED]> wrote:
>
> Hi Malcolm,
>
> Are the EJB classes it is complaining about inside the jar you are
> trying to generate the deploy code for? I seem to recall that WAS
> doesn't like it when EJB classes are not directly in the jar but
> instead are referenced through a manifest classpath entry.
>
> Regards,
> Marcel
>
> --- Malcolm Wong Ho <[EMAIL PROTECTED]> wrote:
>
> >
> > I am getting this error, any idea what the cause is ?
> >
> > [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSessionHome.java(5):
> > CHKJ2907E: Type ejbs.DefaultSessionHome, or one of its supertypes,
> > cannot be reflected. Check the classpath.
> > [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSessionBean.java(5):
> > CHKJ2907E: Type ejbs.DefaultSessionBean, or one of its supertypes,
> > cannot be reflected. Check the classpath.
> > [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSession.java(5):
> > CHKJ2907E: Type ejbs.DefaultSession, or one of its supertypes, cannot
> > be reflected. Check the classpath.
> > [wsejbdeploy] [*Error] ejbModule/META-INF/ejb-jar.xml(Enterprise
> > bean: DefaultSession): CHKJ2802E:  class
> > ejbs.DefaultSessionBean, or one of its supertypes, cannot be
> > reflected. Check the classpath.
> > [wsejbdeploy] [*Error] ejbModule/META-INF/ejb-jar.xml(Enterprise
> > bean: DefaultSession): CHKJ2803E:  interface
> > ejbs.DefaultSessionHome, or one of its supertypes, cannot be
> > reflected. Check the classpath.
> > [wsejbdeploy] [*Error] ejbModule/META-INF/ejb-jar.xml(Enterprise
> > bean: DefaultSession): CHKJ2804E:  interface
> > ejbs.DefaultSession, or one of its supertypes, cannot be reflected.
> > Check the classpath.
> >
>
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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


[m202] tools.jar causes exception in DependenciesReport

2006-01-24 Thread Guo, Jiaqi

After I switched to m202, "mvn site" fails for a NullPointerException.
The error disappears if I remove the tools.jar dependency. The
dependency is declared as

   
   sun.jdk
   tools
   system
   1.4
   ${java.home}/../lib/tools.jar
   

This was fine in m201 and some manually built later version. It seems to
fail because a POM is required. I attached the tracestack in the end of
this email. Any solution for it? Should I manually create a POM for
tools? Thanks.



--
Regards

Jiaqi Guo
http://www.cyclopsgroup.com



[INFO] Trace
java.lang.NullPointerException
   at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
   at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
   at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:386)
   at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:351)
   at 
org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
   at 
org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRenderer.renderBody(DependenciesReport.java:242)
   at 
org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
   at 
org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
   at 
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
   at 
org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)

   at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
   at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)

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

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

   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) 
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] 


[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Jan 24 10:48:50 CST 2006
[INFO] Final Memory: 7M/14M
[INFO] 






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



Re: mvn clean is slow

2006-01-24 Thread dan tran
also not sure why it is not fixed by sun and ibm, source very very major to
me

-Dan



On 1/24/06, dan tran <[EMAIL PROTECTED]> wrote:
>
> may be we should specialize the delete command per platform ;-)
>
> -D
>
>
>  On 1/24/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
> >
> > Same command. MacOSX is Unix. That's why I use it. A nice GUI and Unix
> > under
> > the hood and easily accessible with a terminal window.
> >
> > -K
> >
> >
> > On 1/24/06 10:50 AM, "Piéroni Raphaël" <[EMAIL PROTECTED]> wrote:
> >
> > > Don't forget the unix users System.exec("rm *")
> > >
> > > Or the Mac users (sorry i don't know the command).
> > >
> > > Regards,
> > >
> > > Raphaël
> > >
> > > 2006/1/24, Wim Deblauwe <[EMAIL PROTECTED] >:
> > >>
> > >> And this is in Maven 1 also I guess? Because there it is also very
> > slow.
> > >>
> > >> Call me crazy but wouldn't an System.exec("del *.*") be faster?
> > >>
> > >> regards,
> > >>
> > >> Wim
> > >>
> > >> 2006/1/24, Emmanuel Venisse <[EMAIL PROTECTED]>:
> > >>>
> > >>> yes, it's the same code ;-)
> > >>>
> > >>> Emmanuel
> > >>>
> > >>> dan tran a écrit :
> >  does Ant encounter the same issue?
> > 
> >  -D
> > 
> > 
> >  On 1/24/06, Torsten Curdt < [EMAIL PROTECTED]> wrote:
> > 
> > >
> > > On 24.01.2006, at 20:35, Emmanuel Venisse wrote:
> > >
> > >
> > >> Yes, it's intended due to Windows bug encountered in both Sun and
> > >> IBM JDKs.
> > >> We need to call System.gc() if a delete fail, wait few
> > milliseconds
> > >> and retry
> > >
> > > What about a bulk delete, a gc call and then a bulk test whether
> > the
> > > delete succeeded?
> > >
> > > cheers
> > > --
> > > Torsten
> > >
> > >
> > >
> > >
> > 
> > 
> > >>>
> > >>>
> > >>>
> > -
> > >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>> For additional commands, e-mail: [EMAIL PROTECTED]
> > >>>
> > >>>
> > >>
> > >>
> >
> > --
> > Kathryn Huxtable
> > Middleware Architect
> > Core Middleware
> > Information Technology, a division of Information Services
> > The University of Kansas
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


Re: tag command failed in release plugin

2006-01-24 Thread dan tran
try with -X

On 1/24/06, Soon Leong Yap <[EMAIL PROTECTED]> wrote:
>
> I enountered the following:
>
> [INFO] [release:prepare]
> [INFO] Tagging release with the label my-sample-tag.
> Provider message:
> The svn tag command failed.
> Command output:
> svn: Local, non-commit operations do not take a log message
>
> How can I fix it?
> How can I get the actual svn command? Isn't this info output by scm
> logger?
>
>
>
> -
> Meet your soulmate!
> Yahoo! Asia presents Meetic - where millions of singles gather
>


Re: mvn clean is slow

2006-01-24 Thread dan tran
may be we should specialize the delete command per platform ;-)

-D


On 1/24/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>
> Same command. MacOSX is Unix. That's why I use it. A nice GUI and Unix
> under
> the hood and easily accessible with a terminal window.
>
> -K
>
>
> On 1/24/06 10:50 AM, "Piéroni Raphaël" <[EMAIL PROTECTED]> wrote:
>
> > Don't forget the unix users System.exec("rm *")
> >
> > Or the Mac users (sorry i don't know the command).
> >
> > Regards,
> >
> > Raphaël
> >
> > 2006/1/24, Wim Deblauwe <[EMAIL PROTECTED]>:
> >>
> >> And this is in Maven 1 also I guess? Because there it is also very
> slow.
> >>
> >> Call me crazy but wouldn't an System.exec("del *.*") be faster?
> >>
> >> regards,
> >>
> >> Wim
> >>
> >> 2006/1/24, Emmanuel Venisse <[EMAIL PROTECTED]>:
> >>>
> >>> yes, it's the same code ;-)
> >>>
> >>> Emmanuel
> >>>
> >>> dan tran a écrit :
>  does Ant encounter the same issue?
> 
>  -D
> 
> 
>  On 1/24/06, Torsten Curdt <[EMAIL PROTECTED]> wrote:
> 
> >
> > On 24.01.2006, at 20:35, Emmanuel Venisse wrote:
> >
> >
> >> Yes, it's intended due to Windows bug encountered in both Sun and
> >> IBM JDKs.
> >> We need to call System.gc() if a delete fail, wait few milliseconds
> >> and retry
> >
> > What about a bulk delete, a gc call and then a bulk test whether the
> > delete succeeded?
> >
> > cheers
> > --
> > Torsten
> >
> >
> >
> >
> 
> 
> >>>
> >>>
> >>> -
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>
> >>
>
> --
> Kathryn Huxtable
> Middleware Architect
> Core Middleware
> Information Technology, a division of Information Services
> The University of Kansas
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Overriding default continuum goal

2006-01-24 Thread Olivier Lamy
Hi,
Is-it possible to override the default goal clean install with a setting
in application.xml ?

Thanks,
- Olivier



This e-mail, any attachments and the information contained therein ("this 
message") are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
** 
Ce message electronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci apres "le message" ), sont confidentiels et 
destines exclusivement a l'usage de la  personne a laquelle ils sont adresses. 
Si vous avez recu ce message par erreur, merci  de le renvoyer a son emetteur 
et de le detruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressement autorisees de ce 
message, sont interdites.
** 



Re: [m2] axistools:wsdl2java

2006-01-24 Thread Nathan Sowatskey
I fixed that by downloading the mojo-sandbox jar, but now the plugin  
doesn't work with 2.0 or 2.0.2, so I have managed to rescue a  
previous version which does.


Regards

Nathan


Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -  
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]


On 20 Jan 2006, at 19:02, Nathan Sowatskey wrote:


Hi

I have come back to the plugin, did a svn update, and now I have:

[INFO]  
-- 
--

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: POM  
'org.codehaus.mojo:mojo-sandbox' not found in repository: Unable to  
download the artifact from any repository

  org.codehaus.mojo:mojo-sandbox:2-SNAPSHOT:pom

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

Any ideas please?

Many thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -  
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco -  
[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: mvn clean is slow

2006-01-24 Thread Kathryn Huxtable
Same command. MacOSX is Unix. That's why I use it. A nice GUI and Unix under
the hood and easily accessible with a terminal window.

-K


On 1/24/06 10:50 AM, "Piéroni Raphaël" <[EMAIL PROTECTED]> wrote:

> Don't forget the unix users System.exec("rm *")
> 
> Or the Mac users (sorry i don't know the command).
> 
> Regards,
> 
> Raphaël
> 
> 2006/1/24, Wim Deblauwe <[EMAIL PROTECTED]>:
>> 
>> And this is in Maven 1 also I guess? Because there it is also very slow.
>> 
>> Call me crazy but wouldn't an System.exec("del *.*") be faster?
>> 
>> regards,
>> 
>> Wim
>> 
>> 2006/1/24, Emmanuel Venisse <[EMAIL PROTECTED]>:
>>> 
>>> yes, it's the same code ;-)
>>> 
>>> Emmanuel
>>> 
>>> dan tran a écrit :
 does Ant encounter the same issue?
 
 -D
 
 
 On 1/24/06, Torsten Curdt <[EMAIL PROTECTED]> wrote:
 
> 
> On 24.01.2006, at 20:35, Emmanuel Venisse wrote:
> 
> 
>> Yes, it's intended due to Windows bug encountered in both Sun and
>> IBM JDKs.
>> We need to call System.gc() if a delete fail, wait few milliseconds
>> and retry
> 
> What about a bulk delete, a gc call and then a bulk test whether the
> delete succeeded?
> 
> cheers
> --
> Torsten
> 
> 
> 
> 
 
 
>>> 
>>> 
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>> 
>>> 
>> 
>> 

--
Kathryn Huxtable
Middleware Architect
Core Middleware
Information Technology, a division of Information Services
The University of Kansas


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



Re: mvn clean is slow

2006-01-24 Thread Piéroni Raphaël
Don't forget the unix users System.exec("rm *")

Or the Mac users (sorry i don't know the command).

Regards,

Raphaël

2006/1/24, Wim Deblauwe <[EMAIL PROTECTED]>:
>
> And this is in Maven 1 also I guess? Because there it is also very slow.
>
> Call me crazy but wouldn't an System.exec("del *.*") be faster?
>
> regards,
>
> Wim
>
> 2006/1/24, Emmanuel Venisse <[EMAIL PROTECTED]>:
> >
> > yes, it's the same code ;-)
> >
> > Emmanuel
> >
> > dan tran a écrit :
> > > does Ant encounter the same issue?
> > >
> > > -D
> > >
> > >
> > > On 1/24/06, Torsten Curdt <[EMAIL PROTECTED]> wrote:
> > >
> > >>
> > >>On 24.01.2006, at 20:35, Emmanuel Venisse wrote:
> > >>
> > >>
> > >>>Yes, it's intended due to Windows bug encountered in both Sun and
> > >>>IBM JDKs.
> > >>>We need to call System.gc() if a delete fail, wait few milliseconds
> > >>>and retry
> > >>
> > >>What about a bulk delete, a gc call and then a bulk test whether the
> > >>delete succeeded?
> > >>
> > >>cheers
> > >>--
> > >>Torsten
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>


Re: mvn clean is slow

2006-01-24 Thread Emmanuel Venisse

yes, but del doesn't exist on all platforms.
del for windows, rm for linux/unix, and i don't know for others

Emmanuel

Wim Deblauwe a écrit :

And this is in Maven 1 also I guess? Because there it is also very slow.

Call me crazy but wouldn't an System.exec("del *.*") be faster?

regards,

Wim

2006/1/24, Emmanuel Venisse <[EMAIL PROTECTED]>:


yes, it's the same code ;-)

Emmanuel

dan tran a écrit :


does Ant encounter the same issue?

-D


On 1/24/06, Torsten Curdt <[EMAIL PROTECTED]> wrote:



On 24.01.2006, at 20:35, Emmanuel Venisse wrote:




Yes, it's intended due to Windows bug encountered in both Sun and
IBM JDKs.
We need to call System.gc() if a delete fail, wait few milliseconds
and retry


What about a bulk delete, a gc call and then a bulk test whether the
delete succeeded?

cheers
--
Torsten









-
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: mvn clean is slow

2006-01-24 Thread Wim Deblauwe
And this is in Maven 1 also I guess? Because there it is also very slow.

Call me crazy but wouldn't an System.exec("del *.*") be faster?

regards,

Wim

2006/1/24, Emmanuel Venisse <[EMAIL PROTECTED]>:
>
> yes, it's the same code ;-)
>
> Emmanuel
>
> dan tran a écrit :
> > does Ant encounter the same issue?
> >
> > -D
> >
> >
> > On 1/24/06, Torsten Curdt <[EMAIL PROTECTED]> wrote:
> >
> >>
> >>On 24.01.2006, at 20:35, Emmanuel Venisse wrote:
> >>
> >>
> >>>Yes, it's intended due to Windows bug encountered in both Sun and
> >>>IBM JDKs.
> >>>We need to call System.gc() if a delete fail, wait few milliseconds
> >>>and retry
> >>
> >>What about a bulk delete, a gc call and then a bulk test whether the
> >>delete succeeded?
> >>
> >>cheers
> >>--
> >>Torsten
> >>
> >>
> >>
> >>
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: You can only deploy to one remote repository?

2006-01-24 Thread Stephen Duncan
As a workaround:

Create a profile with the distributionManagement defined for the
second repository.  Then you can run deploy a second time with the
profile specified to deploy to the second repostiory.

-Stephen


On 1/24/06, Matthew Beermann <[EMAIL PROTECTED]> wrote:
> Unless I'm misreading the XSD file (which is entirely possible), it looks as 
> if you can only deploy to one remote repository - that is, the 
>  tag will only take one  item. This 
> seems like an odd limitation to impose.
>
>   We'd like to deploy all of our artifacts to TWO remote repositories: one in 
> the Maven 2 format, and one in the legacy Maven 1 format. This will make our 
> upgrade path vastly simpler, as there are other teams within our organization 
> that consume artifacts from our repository, but won't be ready to upgrade to 
> M2 for a long while yet.
>
>   Is there a way to do this I'm not seeing? Surely it's something that 
> someone somewhere has wanted to do before...
>
>   --Matthew Beermann
>
>
> -
>  Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new 
> and used cars.
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

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



Re: m2 webstart plugin update

2006-01-24 Thread jerome lacoste
On 1/24/06, Andrius Šabanas <[EMAIL PROTECTED]> wrote:
> jerome lacoste wrote:
> > Hi,
> >
> > the webstart plugin (in mojo sandbox), has been updated in the past
> > days. The following main changes have been made:
>
> 
>
>
> Hi Jerome, hi everybody,
>
> First of all, thank you very much for pushing forward the development of
> webstart plugin, I find it very useful. However, I have found some
> issues and incomplete functionality, so I created several fixes for that
> (removing existing jar signatures, for example).

This is being worked on right now. Do you remove the existing jar or
do you avoid signing already signed jars?

> What is the correct way to submit patches and bug reports for the plugin? Do 
> you have an issue
> tracker somewhere? I would be glad to contribute :-)

Issue tracker is on jira.codehaus.org

MOJO project, Sandbox component, add [webstart] as prefix to your issue title.

Attach your patches there. Feel free to ping me by mail.

If the issue is big, best it to try to create an entry in the issue
tracker and get feedback from us before starting coding things up to
see if it fits with what we are doing.

Thanks for your time, I wait for your patches (don't forget unit tests
and doc, where applicable)

Jerome


Re: [m2] Multiprojects and inherited SCM URLs

2006-01-24 Thread Yann Le Du
2006/1/24, Emmanuel Venisse <[EMAIL PROTECTED]>:
>
> Ok, it's a bug in
>
> http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java?rev=306518&view=markup
> in assembleScmInheritance method.
> This method append parent scm connection url and artifactId without look
> at relativePath.
> Please, file an issue about this problem.


Done, http://jira.codehaus.org/browse/MNG-2006

Emmanuel


- Yann


Re: m2 webstart plugin update

2006-01-24 Thread Andrius Šabanas

jerome lacoste wrote:

Hi,

the webstart plugin (in mojo sandbox), has been updated in the past
days. The following main changes have been made:





Hi Jerome, hi everybody,

First of all, thank you very much for pushing forward the development of 
webstart plugin, I find it very useful. However, I have found some 
issues and incomplete functionality, so I created several fixes for that 
(removing existing jar signatures, for example). What is the correct way 
to submit patches and bug reports for the plugin? Do you have an issue 
tracker somewhere? I would be glad to contribute :-)



thanks,

Andrius


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



tag command failed in release plugin

2006-01-24 Thread Soon Leong Yap
I enountered the following:

[INFO] [release:prepare]
[INFO] Tagging release with the label my-sample-tag.
Provider message:
The svn tag command failed.
Command output:
svn: Local, non-commit operations do not take a log message

How can I fix it?
How can I get the actual svn command? Isn't this info output by scm logger?
 


-
Meet your soulmate!
 Yahoo! Asia presents Meetic - where millions of singles gather 

Reference project source from Jar to War

2006-01-24 Thread stephane rodiere








Here my problem with MAVEN2:

 

I’ve got 2 projects : a Web project (projectWeb)
and a business one (projectJar). The projectWeb link to projectJar to build and
execute.

 

Using “maven-source-plugin », I generate a
project “projectJar.jar” and “projectJar-sources.jar” .

 

So, I would like that my projectWeb reference too the
“projectJar-sources.jar” in order that Eclipse knows where are
located projactJar sources (Source Attachment) . 

 

How can I do ?  What’s the right way ?

 

For information, this is Eclipse build path with no
Source Attachment for the Jar  :

 



 

 

Thanks a lot,

 

Stephane

 

 

 







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



You can only deploy to one remote repository?

2006-01-24 Thread Matthew Beermann
Unless I'm misreading the XSD file (which is entirely possible), it looks as if 
you can only deploy to one remote repository - that is, the 
 tag will only take one  item. This seems 
like an odd limitation to impose.
   
  We'd like to deploy all of our artifacts to TWO remote repositories: one in 
the Maven 2 format, and one in the legacy Maven 1 format. This will make our 
upgrade path vastly simpler, as there are other teams within our organization 
that consume artifacts from our repository, but won't be ready to upgrade to M2 
for a long while yet.
   
  Is there a way to do this I'm not seeing? Surely it's something that someone 
somewhere has wanted to do before...
   
  --Matthew Beermann


-
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new 
and used cars.

Re: mvn clean is slow

2006-01-24 Thread Emmanuel Venisse

yes, it's the same code ;-)

Emmanuel

dan tran a écrit :

does Ant encounter the same issue?

-D


On 1/24/06, Torsten Curdt <[EMAIL PROTECTED]> wrote:



On 24.01.2006, at 20:35, Emmanuel Venisse wrote:



Yes, it's intended due to Windows bug encountered in both Sun and
IBM JDKs.
We need to call System.gc() if a delete fail, wait few milliseconds
and retry


What about a bulk delete, a gc call and then a bulk test whether the
delete succeeded?

cheers
--
Torsten










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



Re: too many dependency excludes

2006-01-24 Thread Stephen Duncan
Gets kind of messy.  You'd actually need to separate
spring-orm-hibernate between spring-orm-hibernate2 and
spring-orm-hibernate3.  You'd need to split (for now, until Spring 2,
I think) spring-hibernate into spring-hibernate2 and
spring-hibernate3.  And then for Hibernate, you might have your
optional dependencies for different caching services, etc.  You'd
require someone else to make a POM for each of these scenarios too. 
What if you had both different optional caches & different optional
transaction managers?  The number of POM's necessary to maintain can
grow very quickly.

Seems easier to specify the dependencies you have explicitly.  You
don't just have a transitive dependency on hibernate that you don't
even know about, you explicitly have code written for hibernate
(mapping files, dao's, code directly using spring-hibernate, etc.)

-Stephen

On 24 Jan 2006 15:34:52 -, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> If the dependencies are optional, my POM has to explicitly state the 
> dependencies
> it wants.  Kind of defeats the whole purpose of transitive dependencies, 
> right?
>  There should simply be a seperate POM for each set of dependencies.
> ex:
>
> spring-orm-hibernate
> spring-orm-jdo
> spring-orm-toplink
> etc...
>
> Not sure
> I see what the problem is.  Almost all the dependencies are
> true,
> and therefore don't come through
> transitively.  Therefore you don't need
> to exclude them.
>
> -Stephen
>
> On 24 Jan 2006 04:40:00 -, [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote:
> > Why oh why is it so painful
> to setup a new project?Transitive dependencies
> > are actually causing
> more pain than they are helping me.  This is largely
> > due to the poor state
> of the spring POM's, but I think it's highly unrealistic
> > to expect new
> java projects to jump through the hoops of specifing a ton of
> > "excludes"
> in their POM.
> >
> > Spring is a perfect example of a framework that
> > is
> being adopted more and more every day.  How can maven2 claim to have 
> transitive
>
> > dependencies, and have it perform so poorly with one of the prime examples?
>
> >
> >
> > http://jroller.com/page/$entry.website.user.userName/?anchor=seperate_artifacts_for_seperate_dependencies
>
> >
> >
> >
> > -
>
> > 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]
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

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



Re: [M2] Ant task

2006-01-24 Thread Lee Meador
So, where are the ant jars kept for the Maven antrun plugin?

Excuse the repost but I got no response for 6 days. Perhaps nobody knows a
thing about the problem but I did want the one question at the bottom
answered if possible.

Thanks

-- Lee

On 1/18/06, Lee Meador <[EMAIL PROTECTED]> wrote:
>
> Is there some reason I can't use the  task in ant when invoked
> from within Maven2?
>
> Here is my POM.xml
>
> 
> 
> 
> maven-antrun-plugin
> 
> 
> generate-sources
> 
> 
>  target="wasWsdl2Java" inheritRefs="true" />
> 
> ${ project.build.directory
> }/generated-sources/java
> 
> 
> run
> 
> 
> 
> 
> 
> 
>
> The line in build.xml is:
>
> 
>includes="**/*.java"/>
> 
>
> I'm just trying to set the java files to readonly since they just got
> generated by webspheres wsdl2java ant task. I don't want to be ... er ...
> anybody to be ... modifying them by mistake.
>
> The error says
>
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
>
> [INFO] Error executing ant tasks
>
> Embedded error: The following error occurred while executing this line:
> C:\java\eclipse31MavenWorkspace\31WebService\build.xml:110: Could not
> create task or type of type: attrib.
>
> Ant could not find the task or a class this task relies upon.
>
> This is common and has a number of causes; the usual
> solutions are to read the manual pages then download and
> install needed JAR files, or fix the build file:
>  - You have misspelt 'attrib'.
>Fix: check your spelling.
>  - The task needs an external JAR file to execute
> 
>
> and so forth.
>
> If the answer isn't obvious I will need to track it down but I don't know
> where the ant is coming from that maven 2 uses.
>
> Where is ant coming from?
>
> Thanks.
>
> -- Lee Meador
> Sent from gmail. My real email address is [EMAIL PROTECTED]




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


Re: too many dependency excludes

2006-01-24 Thread wireframe . 14937378
If the dependencies are optional, my POM has to explicitly state the 
dependencies
it wants.  Kind of defeats the whole purpose of transitive dependencies, right?
 There should simply be a seperate POM for each set of dependencies. 
ex:

spring-orm-hibernate
spring-orm-jdo
spring-orm-toplink
etc...

Not sure
I see what the problem is.  Almost all the dependencies are
true,
and therefore don't come through
transitively.  Therefore you don't need
to exclude them.

-Stephen

On 24 Jan 2006 04:40:00 -, [EMAIL PROTECTED]

<[EMAIL PROTECTED]> wrote:
> Why oh why is it so painful
to setup a new project?Transitive dependencies
> are actually causing
more pain than they are helping me.  This is largely
> due to the poor state
of the spring POM's, but I think it's highly unrealistic
> to expect new
java projects to jump through the hoops of specifing a ton of
> "excludes"
in their POM.
>
> Spring is a perfect example of a framework that
> is
being adopted more and more every day.  How can maven2 claim to have transitive

> dependencies, and have it perform so poorly with one of the prime examples?

>
>
> http://jroller.com/page/$entry.website.user.userName/?anchor=seperate_artifacts_for_seperate_dependencies

>
>
>
> -

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

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



[m2] How to create multiple jars

2006-01-24 Thread Paolo Perrucci

Hi all,

to experiment with m2 I'm trying to define the pom for a "legacy" 
project build with ant.

The existing ant build process create two jar: with and without debug infos.
How can I use m2 to create the same jars without using the old ant build?

Thanks
Paolo




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



Best deployment solution for Eclipse

2006-01-24 Thread Christopher White


Hi,

We use Maven to build and deploy our application on our development server
and for integration and production builds. However, in the development
environment we use MyEclipse to hot deploy the application to an application
server on the developers machine. This allows us to debug on the fly and is
a very important consideration for us.

We package our application as an EAR file, containing several WAR files. The
dependencies of the WAR files (their JARs) are primarily packaged in root of
the EAR file (the "WEB-INF\lib" directory of the WAR files are generally
empty).

Maven handles this very well and allows us to automatically generate WAR
manifset files (there does seem to be a bug however - if we rename our jar
files there is no corresponding effect on generated Manifest classpath
entries...)

Our problem comes when trying to mimick this packaging structure using
MyEclipse. The tool is just not flexible enough and also seems to include a
host of bugs.

So, my question is...

Can anyone reccomend a solution to my problem ? I think that this would most
likely be a suggestion of a replacement for MyEclipse. I've taken a look at
WTP and JBossIDE and both of these solutions might just be OK for my
needs... 

I would be cery grateful for any suggestions and opinions !

Of course, if I could just use Maven for both builds that would be perfect.
However, I would loose the hot deployment which is very important to us.

Thanks !

Christopher WHITE

CEGEDIM
Paris


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



SV: [m2]How to get files into test classpath?

2006-01-24 Thread Bengt-Erik Fröberg
Lovely, thanks!

/B-E

-Ursprungligt meddelande-
Från: Kaare Nilsen [mailto:[EMAIL PROTECTED] 
Skickat: den 24 januari 2006 15:56
Till: Maven Users List
Ämne: Re: [m2]How to get files into test classpath?

You could do like this in your pom:

...



/accesscontro/srcl/WEB-INF

*.xml



...


But rememeber then you need to add your current test resources in
there also.. like .e.g.


...



/accesscontro/srcl/WEB-INF

*.xml



src/test/resources

*.*



...



/Kaare



On 24/01/06, Bengt-Erik Fröberg <[EMAIL PROTECTED]> wrote:
> Hi
>
>
>
> I want to add the path /accesscontro/srcl/WEB-INF/*.xml to the test
> classpath.
>
> There I have a sping configuration file.
>
> How do I do it?
>
>
>
> Regards,
>
>
>
> /B-E
>
>
>
>
>
> ==
>
> Bengt-Erik Fröberg, Databasadministratör
>
> Institutionen för Epidemiologi och Biostatistik (MEB)
>
> Karolinska Institutet
>
> Box 281
>
> 171 77 Stockholm
>
> Tel: (08)-524 823 76
>
> Internet:   http://www.meb.ki.se/
>
>
>
>
>

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




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



Re: [m2]How to get files into test classpath?

2006-01-24 Thread Kaare Nilsen
You could do like this in your pom:

...



/accesscontro/srcl/WEB-INF

*.xml



...


But rememeber then you need to add your current test resources in
there also.. like .e.g.


...



/accesscontro/srcl/WEB-INF

*.xml



src/test/resources

*.*



...



/Kaare



On 24/01/06, Bengt-Erik Fröberg <[EMAIL PROTECTED]> wrote:
> Hi
>
>
>
> I want to add the path /accesscontro/srcl/WEB-INF/*.xml to the test
> classpath.
>
> There I have a sping configuration file.
>
> How do I do it?
>
>
>
> Regards,
>
>
>
> /B-E
>
>
>
>
>
> ==
>
> Bengt-Erik Fröberg, Databasadministratör
>
> Institutionen för Epidemiologi och Biostatistik (MEB)
>
> Karolinska Institutet
>
> Box 281
>
> 171 77 Stockholm
>
> Tel: (08)-524 823 76
>
> Internet:   http://www.meb.ki.se/
>
>
>
>
>

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



Re: mvn clean is slow

2006-01-24 Thread dan tran
does Ant encounter the same issue?

-D


On 1/24/06, Torsten Curdt <[EMAIL PROTECTED]> wrote:
>
>
> On 24.01.2006, at 20:35, Emmanuel Venisse wrote:
>
> > Yes, it's intended due to Windows bug encountered in both Sun and
> > IBM JDKs.
> > We need to call System.gc() if a delete fail, wait few milliseconds
> > and retry
>
> What about a bulk delete, a gc call and then a bulk test whether the
> delete succeeded?
>
> cheers
> --
> Torsten
>
>
>
>


[m2]How to get files into test classpath?

2006-01-24 Thread Bengt-Erik Fröberg
Hi

 

I want to add the path /accesscontro/srcl/WEB-INF/*.xml to the test
classpath.

There I have a sping configuration file.

How do I do it?

 

Regards,

 

/B-E

 

 

==

Bengt-Erik Fröberg, Databasadministratör

Institutionen för Epidemiologi och Biostatistik (MEB)

Karolinska Institutet

Box 281

171 77 Stockholm

Tel: (08)-524 823 76

Internet:   http://www.meb.ki.se/

 



RE: m2: I'd like some help with maven-proxy

2006-01-24 Thread Frank Russo
That looks helpful. I'll try it out.

Thanks... 


Frank Russo
Senior Developer
FX Alliance, LLC


-Original Message-
From: Tom Joad [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006 9:22 AM
To: Maven Users List
Subject: Re: m2: I'd like some help with maven-proxy

Hello ,
I can only give you some hints how I do it.
All things are on the properties file.
My Configuration
A machine with internet connection. First maven proxy .I declare my
company http-proxy and public maven repositories on which to search
artifacts.
repo.list=local-repo,www-ibiblio-org,www-ibiblio-pub-org,,dist-codehaus-
org
# This could also be achieved by having a local http repository, but
this is less cumbersome
repo.local-repo.url=file:///./
repo.local-repo.description=Super Secret Custom Repository
#If copy is true, jars are copied from the store to the proxy-repo.
Only configurable for file:/// repos
repo.local-repo.copy=false
#If hardfail is true, any unexpected errors from the repository will
cause
#the client download to fail (typically with a 500 error)
repo.local-repo.hardfail=true
#Don't cache a file repository
repo.local-repo.cache.period=0


#www.ibiblio.org
repo.www-ibiblio-org.url=http://www.ibiblio.org/maven2
repo.www-ibiblio-org.description=www.ibiblio.org
repo.www-ibiblio-org.proxy=one
repo.www-ibiblio-org.hardfail=true
#Cache this repository for 1 hour
repo.www-ibiblio-org.cache.period=3600
repo.www-ibiblio-org.cache.failures=true

etc

On a second machine with no internet connection, this is our internal
repository.
On the propertie file , I declare no proxy .
In repo-list paragraph I declare the first maven-proxy like above
repo.list=Myfirstrepo
#www.ibiblio.org
repo.www-ibiblio-org.url=http://myfirstrepo.org
repo.www-ibiblio-org.description=myfirstrepo
repo.www-ibiblio-org.proxy=one
repo.www-ibiblio-org.hardfail=true

On setings.xml, Developpers declare the internal repository  in mirror
tag
First maven-proxy is accessible only ,because of  a private network
configuration, by the second one. so developpers can't directly refer
to it.
It works fine. There is a good synchronisation between my two
maven-proxies.

I wish that can help you,

Tom

2006/1/23, Frank Russo <[EMAIL PROTECTED]>:
> Can anyone point me to a good writeup on using maven-proxy in maven 2?
> The docs on the maven-proxy site at codehaus are not only subpar, but
> pretty much non-existant.
>
> Any help is much appreciated...
>
> Frank Russo
> Senior Developer
> FX Alliance, LLC
> 900 Third Avenue, 3rd Floor
> New York, NY 10022
> 646.268.9949
>
>
>
>

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




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



Re: m2: I'd like some help with maven-proxy

2006-01-24 Thread Tom Joad
Hello ,
I can only give you some hints how I do it.
All things are on the properties file.
My Configuration
A machine with internet connection. First maven proxy .I declare my
company http-proxy and public maven repositories on which to search
artifacts.
repo.list=local-repo,www-ibiblio-org,www-ibiblio-pub-org,,dist-codehaus-org
# This could also be achieved by having a local http repository, but
this is less cumbersome
repo.local-repo.url=file:///./
repo.local-repo.description=Super Secret Custom Repository
#If copy is true, jars are copied from the store to the proxy-repo.
Only configurable for file:/// repos
repo.local-repo.copy=false
#If hardfail is true, any unexpected errors from the repository will cause
#the client download to fail (typically with a 500 error)
repo.local-repo.hardfail=true
#Don't cache a file repository
repo.local-repo.cache.period=0


#www.ibiblio.org
repo.www-ibiblio-org.url=http://www.ibiblio.org/maven2
repo.www-ibiblio-org.description=www.ibiblio.org
repo.www-ibiblio-org.proxy=one
repo.www-ibiblio-org.hardfail=true
#Cache this repository for 1 hour
repo.www-ibiblio-org.cache.period=3600
repo.www-ibiblio-org.cache.failures=true

etc

On a second machine with no internet connection, this is our internal
repository.
On the propertie file , I declare no proxy .
In repo-list paragraph I declare the first maven-proxy like above
repo.list=Myfirstrepo
#www.ibiblio.org
repo.www-ibiblio-org.url=http://myfirstrepo.org
repo.www-ibiblio-org.description=myfirstrepo
repo.www-ibiblio-org.proxy=one
repo.www-ibiblio-org.hardfail=true

On setings.xml, Developpers declare the internal repository  in mirror tag
First maven-proxy is accessible only ,because of  a private network
configuration, by the second one. so developpers can't directly refer
to it.
It works fine. There is a good synchronisation between my two maven-proxies.

I wish that can help you,

Tom

2006/1/23, Frank Russo <[EMAIL PROTECTED]>:
> Can anyone point me to a good writeup on using maven-proxy in maven 2?
> The docs on the maven-proxy site at codehaus are not only subpar, but
> pretty much non-existant.
>
> Any help is much appreciated...
>
> Frank Russo
> Senior Developer
> FX Alliance, LLC
> 900 Third Avenue, 3rd Floor
> New York, NY 10022
> 646.268.9949
>
>
>
>

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



[m2] failed to deploy to server via HTTP

2006-01-24 Thread Stefan Fritz
Hi all,

I try to setup maven 2.0.2 for my team.
I have a webserver (apache) which I want to use as our internal
repository release/snapshot.

In my parent pom.xml I added the following entries:



inhouse
Inhouse Internal Release Repository
http://myserver/maven/inhouse


inhouse_snapshot
Inhouse Internal Snapshot
Repository
http://myserver/maven/inhouse_snapshot
true




But when I run 'mvn deploy' I get the following error:


C:\dev>mvn deploy
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Unnamed - com.progress.chat:dev:pom:1.0
[INFO]   Unnamed - com.progress.chat.dev:esb:pom:1.0
[INFO]   Unnamed - com.progress.chat.dev.esb:services:pom:1.0
[INFO]


[INFO] Building Unnamed - com.progress.chat:dev:pom:1.0
[INFO]task-segment: [deploy]
[INFO]


[INFO] Skipping missing optional mojo:
org.apache.maven.plugins:maven-site-plugin:attach-descriptor
[INFO] [install:install]
[INFO] Installing C:\dev\pom.xml to
C:\dev\var\local-repository\com\progress\chat\dev\1.0\dev-1.0.po
m
[INFO] [deploy:deploy]
Uploading:
http://myserver/maven/inhouse/com/progress/chat/dev/1.0/dev-1.0.pom
1K uploaded
[INFO]


[ERROR] BUILD ERROR
[INFO]


[INFO] Error deploying artifact: Unable to transfer file.
HttpURLConnection returned the response co
de: 405

[INFO]


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


[INFO] Total time: 1 second
[INFO] Finished at: Tue Jan 24 14:58:48 CET 2006
[INFO] Final Memory: 3M/6M
[INFO]



C:\dev>

Do I need any special apache settings to be able to upload files with
maven/wagon?

Regards
Stefan

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



Re: [m2] multiple repositories storing different versions of a plugin

2006-01-24 Thread jerome lacoste
On 1/24/06, jerome lacoste <[EMAIL PROTECTED]> wrote:
> Isn't it possible to have a plugin deployed as version x on one
> repository and version y on another one?
>
> The keytool-maven-plugin is deployed as 0.3-SNAPSHOT on the snapshots
> codehaus repository and I've built  a newer version (0.4-SNAPSHOT)
> deployed in my internal repository, but it's not picked up:
>
> It looks like it found the plugin on snapshots, but not with the
> requested version and failed instead of looking further.
>
> Is it expected?

created http://jira.codehaus.org/browse/MNG-2005 as I think it is an
issue in the DefaultArtifactCollector.

Any help appreciated.

jerome

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



Running Proximity

2006-01-24 Thread Michael Böckling

Hi there,

did anyone manage to use the proximity application 
(https://is-micro.myip.hu/projects/ismicro-commons/proximity)?

I'm getting NPEs, even though I use Tomcat 5.5 and Java 1.5.
I'm posting this here because
a) there is no usable official maven proxy and
b) mails to the listed developers are non deliverable.
I'm thankful for every hint!

Regards,
Michael



Contents of manager.log:

INFO: HTMLManager: start: Starting web application at '/px-webapp'
24.01.2006 14:40:49 org.apache.catalina.core.ApplicationContext log
SCHWERWIEGEND: FEHLER - Anwendung mit Kontext Pfad /px-webapp konnte 
nicht gestartet werden

java.lang.NullPointerException
   at org.apache.log4j.NDC.get(NDC.java:209)
   at org.apache.log4j.spi.LoggingEvent.getNDC(LoggingEvent.java:238)
   at 
org.apache.log4j.helpers.PatternParser$BasicPatternConverter.convert(PatternParser.java:401)
   at 
org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64)

   at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
   at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
   at 
org.apache.log4j.DailyRollingFileAppender.subAppend(DailyRollingFileAppender.java:358)

   at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
   at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
   at 
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)

   at org.apache.log4j.Category.callAppenders(Category.java:203)
   at org.apache.log4j.Category.forcedLog(Category.java:388)
   at org.apache.log4j.Category.log(Category.java:853)
   at 
org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:193)
   at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3731)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)
   at 
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1175)
   at 
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:527)
   at 
org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:104)

   at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
   at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
   at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

   at java.lang.Thread.run(Unknown Source)
24.01.2006 14:40:49 org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'

--
Giniality AG - Michael Böckling; Steinenberg 21, CH-4051 Basel
P: +41 61 226 99 63 - F: +41 61 226 99 69
[EMAIL PROTECTED]; http://www.giniality.com/



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



Re: [M2] Is generating an application.xml with connector module possible?

2006-01-24 Thread Stephane Nicoll
Yes, you need to install the sar mojo :)

It should be available from the mojo project
(http://mojo.codehaus.org/). If not, ping me and I will implement it.

Cheers,
Stéphane

On 1/23/06, Peschier J. (Jeroen) <[EMAIL PROTECTED]> wrote:
>
> You are right about the the connector module being for RAR modules only. I 
> read up on it and it seems SARs are not deployed from application.xml, but 
> jboss-app.xml instead. My bad.
>
> I currently build my SAR module as a jar since sar is not working for me as a 
> packaging type. I noticed sarModule is expecting 
> groupId:artifactId:sar:version in the repository. I rename the .jar to .sar 
> in my local repository, so Maven can find it. The SAR module is now correctly 
> included in the EAR.
>
> I noticed the needed jboss-app.xml is not generated for the sar. So I wrote 
> wrote my own and configured the earSourceDirectory:
>
> 
>   org.apache.maven.plugins
>   maven-ear-plugin
>   2.1
>   
> true
> ${basedir}/include 
> 
>   
> myGroup
> myArtifact
>   
> ...
>
> After some fiddling I got it working but it's not clean yet. I still need to 
> manually rename the .jar to .sar in the repository for each build.
>
> How do I create an artifact of the type sar? Within my SAR project I tried 
> setting the packaging type to sar in the POM but it gives me this exception:
>   org.apache.maven.lifecycle.LifecycleExecutionException: Cannot find 
> lifecycle mapping for packaging: 'sar'.
>
> This seems odd as the maven-ear-module seems to "know" the sar package type 
> just fine. Am I missing something here?
>
>
>
> -Oorspronkelijk bericht-
> Van: Stephane Nicoll [mailto:[EMAIL PROTECTED]
> Verzonden: donderdag 19 januari 2006 20:22
> Aan: Maven Users List
> Onderwerp: Re: [M2] Is generating an application.xml with connector module 
> possible?
>
> On 1/19/06, Peschier J. (Jeroen) <[EMAIL PROTECTED]> wrote:
> >
> > My use-case:
> > - Using the maven-ear-plugin to generate the application.xml deployment
> > descriptor.
> > - Want to include a SAR module in the deployment descriptor.
> > - Found out about ejbModule, warModule and javaModule but could not find
> > any info on how to generate a connector module. So I tried the obvious:
>
> A connector is a rar file as per spec. JBoss has its own sar format
> which is supported in the EAR plugin. If you have a dependency of type
> 'sar' it should work out of the box.
>
> You don't need to configure it in the  section (regarding
> includeInApplicationXml which is javaModule specific)
>
>
> > I read the plugin
> > configuration doc and found that "modules" is of type "EarModule". Where
> > can I find info on the definition of "EarModule"?
>
> FYI, the supported implementations of EarModule are:
>
> * jar
> * ejb
> * ejb-client
> * ejb3
> * par
> * rar
> * war
> * sar
>
> This is a good idea, I will update the doc for the next plugin's release.
>
> Cheers,
> Stéphane
>
>
>
> --
> .::You're welcome ::.
>
> -
> 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]
>
>


--
.::You're welcome ::.

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



[m2] multiple repositories storing different versions of a plugin

2006-01-24 Thread jerome lacoste
Isn't it possible to have a plugin deployed as version x on one
repository and version y on another one?

The keytool-maven-plugin is deployed as 0.3-SNAPSHOT on the snapshots
codehaus repository and I've built  a newer version (0.4-SNAPSHOT)
deployed in my internal repository, but it's not picked up:

It looks like it found the plugin on snapshots, but not with the
requested version and failed instead of looking further.

Is it expected?

[INFO] 

[ERROR] BUILD ERROR
[INFO] 

[INFO] Failed to resolve artifact.

Couldn't find a version in [0.3-SNAPSHOT] to match range [0.3,)
  org.codehaus.mojo:keytool-maven-plugin:jar:null

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.maven.codehaus.org/maven2/),
  embedded (file://${basedir}/tmp/m2repos),
  myrepo (http://myrepository/)


[INFO] 

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Couldn't find
a version in [0.3-SNAPSHOT] to match range [0.3,)
  org.codehaus.mojo:keytool-maven-plugin:jar:null

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.maven.codehaus.org/maven2/),
  embedded (file://${basedir}/tmp/m2repos),
  myrepo (http://myrepository/)

at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:548)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.versioning.OverConstrainedVersionException:
Couldn't find a version in [0.3-SNAPSHOT] to match range [0.3,)
  org.codehaus.mojo:keytool-maven-plugin:jar:null

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.maven.codehaus.org/maven2/),
  embedded (file://${basedir}/tmp/m2repos),
  myrepo (http://myrepository/)

at 
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:266)
at 
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:67)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:223)
at org.apache.m[INFO]

[ERROR] BUILD ERROR
[INFO] 

[INFO] Failed to resolve artifact.

Couldn't find a version in [0.3-SNAPSHOT] to match range [0.3,)
  org.codehaus.mojo:keytool-maven-plugin:jar:null

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.maven.codehaus.org/maven2/),
  embedded (file://${basedir}/tmp/m2repos),
  myrepo (http://myrepository/)


[INFO] 

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Couldn't find
a version in [0.3-SNAPSHOT] to match range [0.3,)
  org.codehaus.mojo:keytool-maven-plugin:jar:null

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.maven.codehaus.org/maven2/),
  embedded (file://${basedir}/tmp/m2repos),
  myrepo (http://myrepository/)

at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:548)
at 
org.apache.

Re: [m2] what does par stand for?

2006-01-24 Thread cameron101
.par  == persistence archive

On 24/01/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> in package, there are jar, war, rar, ear, etc.
>
> there is one called PAR:
> http://cvs.peopleware.be/training/maven/maven2/
> buildLifecyclePhases.html#par
>
>
> does it stand for ejb3's par module  or  (Perl Archive Toolkit)?
>
> ~manchi
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [m2] Multiprojects and inherited SCM URLs

2006-01-24 Thread Emmanuel Venisse
Ok, it's a bug in 
http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java?rev=306518&view=markup 
in assembleScmInheritance method.

This method append parent scm connection url and artifactId without look at 
relativePath.
Please, file an issue about this problem.

Emmanuel

Yann Le Du a écrit :

Here's what I've done :
  1. Remove all maven-scm-*-1.0-beta-2.jar in continuum/lib . Replace them
with maven-scm-*-1.0-beta-3-20060115.041342-*.jar
  2. Restart Continuum
  3. Add parent in Continuum. module is also added. If I click on module,
Scm Url is scm:svn:svn://host/PROJECT/parent/module
  4. Build parent. OK
  5. Build module. Error : svn: URL 'svn://host/PROJECT/parent/module'
doesn't exist
  6. Delete module.
  7. Add module. If I click on module, Scm Url is the same as in 3.
  8. Build module. Same error as in 5.

parent :
scm:svn:svn://host/PROJECT/parent/
../module

module :
../parent/pom.xml

Thanks again for your time,

- Yann

2006/1/24, Emmanuel Venisse <[EMAIL PROTECTED]>:


The problem was fixed on Jan 12th and we have some tests that check the
patch.

Do you have remove old maven-scm jars?

Where do you obtain the scm url?

You're not the only one that can't build some provider, but for now, we
don't know why. We are
several people that run them without problem.

Emmanuel

Yann Le Du a écrit :


Emmanuel, I couldn't build maven-scm trunk, there are test failures in
maven-scm-provider-svn

I tried to put the deployed 20060115.041342 SNAPSHOTs in continuum/lib


and


to use relativePath, but I got the same problem when I add the module in
Continuum : the URL is resolved as svn://host/PROJECT/parent/module

Was the problem fixed on Jan 15th ?

- Yann

2006/1/20, Yann Le Du <[EMAIL PROTECTED]>:



Thanks Emmanuel, I'll try with maven-scm trunk then.

- Yann

2006/1/19, Emmanuel Venisse < [EMAIL PROTECTED]>:



Actually, you need to define scm url in all your modules if you want to
use relative path.
This problem is fixed in maven-scm trunk.

Emmanuel

Yann Le Du a écrit :



Hi,

In order to ease Continuum use, we want to have the following project
structure :

~  PROJECT
~  +-- parent
~  +-- pom.xml
~  +-- module
~  +-- pom.xml

module has obviously parent for parent

parent defines this SCM URL :
scm:svn:svn://host/PROJECT/parent

In module, this is inheirted as :
scm:svn:svn://host/PROJECT/parent/module
... which is not what we want

Note that in parent the module is correctly defined :
../module

Is there way to inherit correct URL (e.g. through relativePath), or is


the



only solution to put correct URL directly in module ?

TIA,

- Yann




-
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: several deployment sites using different configurations?

2006-01-24 Thread Emmanuel Venisse

How do you deploy on the place where continuum is installed?

Emmanuel

Francisco Gallego a écrit :

Hello,

I started to work with continuum and I'm trying to set several 
deployment sites with continuum but don't find how. I just can deploy on 
the place where continuum is installed.


Does anyone know how to several set deployment sites using different 
configurations in each one?? For example, deploy the development branch 
in the development site and deploy the production branch in the 
production site. Links to manuals or howtos are welcome.


Thanks and regards.

Fran





Re: [m2] Multiprojects and inherited SCM URLs

2006-01-24 Thread Yann Le Du
Here's what I've done :
  1. Remove all maven-scm-*-1.0-beta-2.jar in continuum/lib . Replace them
with maven-scm-*-1.0-beta-3-20060115.041342-*.jar
  2. Restart Continuum
  3. Add parent in Continuum. module is also added. If I click on module,
Scm Url is scm:svn:svn://host/PROJECT/parent/module
  4. Build parent. OK
  5. Build module. Error : svn: URL 'svn://host/PROJECT/parent/module'
doesn't exist
  6. Delete module.
  7. Add module. If I click on module, Scm Url is the same as in 3.
  8. Build module. Same error as in 5.

parent :
scm:svn:svn://host/PROJECT/parent/
../module

module :
../parent/pom.xml

Thanks again for your time,

- Yann

2006/1/24, Emmanuel Venisse <[EMAIL PROTECTED]>:
>
> The problem was fixed on Jan 12th and we have some tests that check the
> patch.
>
> Do you have remove old maven-scm jars?
>
> Where do you obtain the scm url?
>
> You're not the only one that can't build some provider, but for now, we
> don't know why. We are
> several people that run them without problem.
>
> Emmanuel
>
> Yann Le Du a écrit :
> > Emmanuel, I couldn't build maven-scm trunk, there are test failures in
> > maven-scm-provider-svn
> >
> > I tried to put the deployed 20060115.041342 SNAPSHOTs in continuum/lib
> and
> > to use relativePath, but I got the same problem when I add the module in
> > Continuum : the URL is resolved as svn://host/PROJECT/parent/module
> >
> > Was the problem fixed on Jan 15th ?
> >
> > - Yann
> >
> > 2006/1/20, Yann Le Du <[EMAIL PROTECTED]>:
> >
> >>Thanks Emmanuel, I'll try with maven-scm trunk then.
> >>
> >>- Yann
> >>
> >>2006/1/19, Emmanuel Venisse < [EMAIL PROTECTED]>:
> >>
> >>>Actually, you need to define scm url in all your modules if you want to
> >>>use relative path.
> >>>This problem is fixed in maven-scm trunk.
> >>>
> >>>Emmanuel
> >>>
> >>>Yann Le Du a écrit :
> >>>
> Hi,
> 
> In order to ease Continuum use, we want to have the following project
> structure :
> 
> ~  PROJECT
> ~  +-- parent
> ~  +-- pom.xml
> ~  +-- module
> ~  +-- pom.xml
> 
> module has obviously parent for parent
> 
> parent defines this SCM URL :
> scm:svn:svn://host/PROJECT/parent
> 
> In module, this is inheirted as :
> scm:svn:svn://host/PROJECT/parent/module
> ... which is not what we want
> 
> Note that in parent the module is correctly defined :
> ../module
> 
> Is there way to inherit correct URL (e.g. through relativePath), or is
> >>>
> >>>the
> >>>
> only solution to put correct URL directly in module ?
> 
> TIA,
> 
> - Yann
> 
> >>>
> >>>
> >>>-
> >>>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: mvn clean is slow

2006-01-24 Thread Torsten Curdt


On 24.01.2006, at 20:35, Emmanuel Venisse wrote:

Yes, it's intended due to Windows bug encountered in both Sun and  
IBM JDKs.
We need to call System.gc() if a delete fail, wait few milliseconds  
and retry


What about a bulk delete, a gc call and then a bulk test whether the  
delete succeeded?


cheers
--
Torsten



PGP.sig
Description: This is a digitally signed message part


Re: mvn clean is slow

2006-01-24 Thread Emmanuel Venisse

Yes, it's intended due to Windows bug encountered in both Sun and IBM JDKs.
We need to call System.gc() if a delete fail, wait few milliseconds and retry

Emmanuel

dan tran a écrit :

Today I noticed mvn clean implementation transverses to all files and does a
remove one by one.
is it intended? why can we just do a bulk remove.  It is quite slow
specially with clearcase dynamic view.

-D




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



[m2] what does par stand for?

2006-01-24 Thread Man-Chi Leung

hi,

in package, there are jar, war, rar, ear, etc.

there is one called PAR:
http://cvs.peopleware.be/training/maven/maven2/ 
buildLifecyclePhases.html#par



does it stand for ejb3's par module  or  (Perl Archive Toolkit)?

~manchi

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



mvn clean is slow

2006-01-24 Thread dan tran
Today I noticed mvn clean implementation transverses to all files and does a
remove one by one.
is it intended? why can we just do a bulk remove.  It is quite slow
specially with clearcase dynamic view.

-D


Re: Fwd: Re: [m2] jdepend plugin works, but how to convert in a html view?

2006-01-24 Thread Fredy
Hi,
thats is right ;-) You have to build it on your own. There must be an thread 
about it!

If you add this to your pom and the "${reports}" to your site.xml, all works 
fine. Assumed you have build the "2.0-beta-1-SNAPSHOT" version in your local or 
inner repository!

...

org.codehaus.mojo
jdepend-maven-plugin
2.0-beta-1-SNAPSHOT



Fredy


tony nys <[EMAIL PROTECTED]> schrieb am 24.01.06 07:32:41:



--- tony nys <[EMAIL PROTECTED]> wrote:

> Date: Mon, 23 Jan 2006 04:36:33 -0800 (PST)
> From: tony nys <[EMAIL PROTECTED]>
> Subject: Re: [m2] jdepend plugin works, but how to
> convert in a html view?
> To: Maven Users List 
> 
> Hi fredy,
> I am also trying to run jdpend in maven 2
> but I allways have the error that it cannot find the
> plugin,
> could you mail your pom.xml ?
> 
> thanks
> 
> Tony
> 
> 
> --- Fredy <[EMAIL PROTECTED]> wrote:
> 
> > Hi all,
> > the plugIn generates the jdepend-report.xml, but
> is
> > there a posibillity to convert it to html with
> > maven2 ? 
> > 
> > Fredy
> > 
> >
>
-
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
Mit freundlichen Grüßen
Fred Robert Hauschel

http://www.Hauschel.de

Mobil:0179  - 6917092
Telefon:  07427 - 91179
Fax:  07427 - 91178



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



Re: Collecting metrics / reports

2006-01-24 Thread Emmanuel Venisse

The publication of junit reports is planned for 1.1 for maven.
We can't add junit reports (and emma) for ant projects because the output directory of these reports 
aren't standardized with ant. The only way to see them in continuum, is to look at them in working 
directory page.

You can publish your reports on a website in your ant script so you'll can view 
them.

Emmanuel

Eric Crahen a écrit :

Hi,

I've just started to look at continuum. It looks very nice, but I'm having
some trouble finding out about the reporting features. Let me give you a use
case. I want to build an ant project that runs junit and emma. I'd like to
get the emma output published with the build results and the stats regarding
which junit tests failed and which passed. Can anyone point me at some
examples or the documentation that explains this?

--
- Eric




Re: [m2] Multiprojects and inherited SCM URLs

2006-01-24 Thread Emmanuel Venisse

The problem was fixed on Jan 12th and we have some tests that check the patch.

Do you have remove old maven-scm jars?

Where do you obtain the scm url?

You're not the only one that can't build some provider, but for now, we don't know why. We are 
several people that run them without problem.


Emmanuel

Yann Le Du a écrit :

Emmanuel, I couldn't build maven-scm trunk, there are test failures in
maven-scm-provider-svn

I tried to put the deployed 20060115.041342 SNAPSHOTs in continuum/lib and
to use relativePath, but I got the same problem when I add the module in
Continuum : the URL is resolved as svn://host/PROJECT/parent/module

Was the problem fixed on Jan 15th ?

- Yann

2006/1/20, Yann Le Du <[EMAIL PROTECTED]>:


Thanks Emmanuel, I'll try with maven-scm trunk then.

- Yann

2006/1/19, Emmanuel Venisse < [EMAIL PROTECTED]>:


Actually, you need to define scm url in all your modules if you want to
use relative path.
This problem is fixed in maven-scm trunk.

Emmanuel

Yann Le Du a écrit :


Hi,

In order to ease Continuum use, we want to have the following project
structure :

~  PROJECT
~  +-- parent
~  +-- pom.xml
~  +-- module
~  +-- pom.xml

module has obviously parent for parent

parent defines this SCM URL :
scm:svn:svn://host/PROJECT/parent

In module, this is inheirted as :
scm:svn:svn://host/PROJECT/parent/module
... which is not what we want

Note that in parent the module is correctly defined :
../module

Is there way to inherit correct URL (e.g. through relativePath), or is


the


only solution to put correct URL directly in module ?

TIA,

- Yann




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



several deployment sites using different configurations?

2006-01-24 Thread Francisco Gallego

Hello,

I started to work with continuum and I'm trying to set several 
deployment sites with continuum but don't find how. I just can deploy on 
the place where continuum is installed.


Does anyone know how to several set deployment sites using different 
configurations in each one?? For example, deploy the development branch 
in the development site and deploy the production branch in the 
production site. Links to manuals or howtos are welcome.


Thanks and regards.

Fran

--



Re: A way to force builds?

2006-01-24 Thread Emmanuel Venisse
We have an issue for 1.1 to force a build if a dependant continuum project have changed (new build 
in success) since last build. We can't check modified jars in repo.


Emmanuel

Punkin Head a écrit :

One more question about this:
Would there be a way to force it to build if any of the other modules JAR
files changed that it had dependencies on?

Thanks,

Adam

On 1/23/06, Punkin Head <[EMAIL PROTECTED]> wrote:


Ok. Filed as http://jira.codehaus.org/browse/CONTINUUM-568

On 1/22/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:


You can't because a forced build is actually a manual operation. Please,
file an issue.

Emmanuel

Punkin Head a écrit :


Hi all,
Thanks again for you help on the last issue I had.  I have another


question:


Is there a way to schedule forced builds in Continuum?  I would like


for


just one of my
modules to build every hour if there is a change or not.

Thanks,

Adam






--
www.punkinshred.net  // punkin'head official homepage

www.myspace.com/punkinhead <-- for true shred






--
www.punkinshred.net  // punkin'head official homepage

www.myspace.com/punkinhead <-- for true shred





RE: [m2] how to disable download from repo1.maven.org/maven2

2006-01-24 Thread Fredy
Hi,
i extend the pom:


...
...


my-repo
My Repository
file:///h:/Development/mavenRepository




And that is also the solution for the problem i had the last days. I'm not very 
common with the file:// Protocoll and i've never seen something like this:
"file:///h:/" But if i doubleClick an *.html under "Networkenviroment" in 
WindowsExplorer it makes an Url like this. And so i've inserted it into the pom 
and lo and behold it works. But so it depend on the local device name, that is 
n ot very nice.

Fredy

"Maven Users List"  schrieb am 23.01.06 17:17:45:

Fredy,

How did you tell Maven to search your internal repository first?

-->John 

-Original Message-
From: Fredy [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006 10:45 AM
To: users@maven.apache.org
Subject: [m2] how to disable download from repo1.maven.org/maven2

Hi all,
i'm getting crazy, the internet here is more than slow, it seems to be
not present ,-

How can i disable downloading from "repo1.maven.org/maven2" ??

I've already defined a internal repository. Maven searches there an if
it didn't find anything, it searches in "repo1.maven.org/maven2".
And that takes very long...

Another question:
I've installed the axis 1.1 jars in my internal repository. But "mvn
install:install-file" doesn't create a *.pom! Is that ok? Because if i
start mvn compile,
so maven searches "axis/axis-jaxrpc/1.1/axis-jaxrpc-1.1.pom" ??? If i
create an *.pom by hand:


  4.0.0
  axis
  axis-jaxrpc
  1.1


maven anyway didn't find it. Why? But the build is SUCCESSFUL

Thanks
Fredy


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


-- 
Mit freundlichen Grüßen
Fred Robert Hauschel

http://www.Hauschel.de

Mobil:0179  - 6917092
Telefon:  07427 - 91179
Fax:  07427 - 91178



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



Re: m2: I'd like some help with maven-proxy

2006-01-24 Thread Man-Chi Leung
 this article is wonderful on setting up multiple repository on  
maven-proxy.


http://cvs.peopleware.be/training/maven/maven2/repositories.html

do a search from nabble:
http://www.nabble.com/forum/Search.jtp?forum=178&local=y&query=maven- 
proxy


I recalled that I had a number of Q & A on maven-proxy recently.

~Manchi

On Jan 23, 2006, at 10:28 PM, Frank Russo wrote:


Can anyone point me to a good writeup on using maven-proxy in maven 2?
The docs on the maven-proxy site at codehaus are not only subpar, but
pretty much non-existant.

Any help is much appreciated...

Frank Russo
Senior Developer
FX Alliance, LLC
900 Third Avenue, 3rd Floor
New York, NY 10022
646.268.9949





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



Re: [m2] log4j.properties: where in the standard layout should this b e saved?

2006-01-24 Thread Man-Chi Leung
btw, I am also keen to know the different practice in both dir. any  
one can advise?



src/main/resources
src/main/config/


~manchi


On Jan 24, 2006, at 12:05 PM, Kathryn Huxtable wrote:


On 1/23/06 7:44 PM, "Treloar, Barrie (SAPOL)"
<[EMAIL PROTECTED]> wrote:

Where in the standard layout should log4.properties go?

src/main/resources
- so that it is available on the classpath

src/main/config/log4j
- because it is a configuration file

If I have missed the documentation that discusses where different  
artefacts

live a pointer to that documentation would be appreciated.


I've been putting it in src/main/resources.

--
Kathryn Huxtable
Middleware Architect
Core Middleware
Information Technology, a division of Information Services
The University of Kansas


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




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



Re: [m2] Doxia & color

2006-01-24 Thread jean-laurent de morlhon
I thought Doxia was some kind of abstraction layer enabling to create
report for other things than html (like pdf or anything else).

But, fair enough for css then.

On 1/15/06, Brett Porter <[EMAIL PROTECTED]> wrote:
> Color should ideally be done by CSS.
>
> Is there some reason we'd need this for other sinks that don't support CSS?
>
> - Brett
>
> On 1/13/06, jean-laurent de morlhon <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Is there a way using doxia to write a portion of text in color ?
> > I mean something around this :
> >
> >   sink.color( RED );
> >   sink.text( "SomeTextToPutInColor" );
> >   sink.color_();
> >
> > The above does not exist, but I can't find a way to do it. Is it even
> > possible today ?
> >
> > I just want to put in red an error-like within the javancss plugin for
> > maven2 and don't know how to do it, just to say it's not to do fancy
> > things.
> >
> > thx in advance
> > --
> > Jean-Laurent
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Jean-Laurent

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