Re: [m2] how to import 3rd party native libraries

2005-12-07 Thread Allan Ramirez

Hi Martin,

I think you need to put/install those libraries in your repo,

Please refer to these pages for more information on installing 3rd party 
jars

http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html
http://docs.codehaus.org/display/MAVENUSER/FAQs

Then make those libraries as a dependency of your project.

regards,
-allan

Martin van der Plas wrote:


Hi,

I need to import native libraries into the repository and be able to 
put them in the library path for testing etc. What is the maven 
certified method to handle this?


Thanks,

Martin



-
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] Deplyoment into different repository ?

2005-12-07 Thread Allan Ramirez

Hi Christian,

Please refer to this page http://docs.codehaus.org/display/MAVENUSER/FAQs
and look for the question "How to install artifacts in a remote repository?"

This may not be the best practice but i hope it will help.

regards,
-allan

Christian Schulte wrote:


Hi,

I want to deploy some aritfacts into our internal development 
repository. Currently I have to edit every POM to point the 
distributionMnagement-Section to the correct repository. Is it 
possible to deploy without changing the pom ? E.g. I need to provide 
current snapshots of maven 2 and some other things I am currently 
building myself to our developers via our internal repository. What is 
the "best practice" to get this done ?




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

Re: JavaPolis

2005-12-07 Thread Milos Kleint
the work on a M2 version has started, not publicly released though. I'll be
showing it there at the bazaar as well.

Milos


On 12/7/05, Frank Russo <[EMAIL PROTECTED]> wrote:
>
> Is this working for m2 yet?
>
> Frank Russo
> Senior Developer
> FX Alliance, LLC
>
>
> -Original Message-
> From: Milos Kleint [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 07, 2005 4:50 PM
> To: Maven Users List
> Subject: Re: JavaPolis
>
>
> I'll be showing maven+netbeans IDE integration (
> http://mevenide.codehaus.org/mevenide-netbeans-project) at the plugin
> bazaar.
>
> Milos Kleint
>
> On 12/7/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
> >
> > Vincent Massol too, for a presentation.
> >
> > Emmanuel
> >
> > Stephane Nicoll a écrit :
> > > I'll be there.
> > >
> > > Cheers,
> > > Stéphane
> > >
> > > On 12/7/05, ir. ing. Jan Dockx <[EMAIL PROTECTED]> wrote:
> > >
> > >>Will Maven People (nice ring, no? :-) ) meet at JavaPolis next week?
> > >>
> > >>
> > >>Met vriendelijke groeten,
> > >>
> > >>Jan Dockx
> > >>
> > >>PeopleWare NV - Head Office
> > >>Cdt.Weynsstraat 85
> > >>B-2660 Hoboken
> > >>Tel: +32 3 448.33.38
> > >>Fax: +32 3 448.32.66
> > >>
> > >>PeopleWare NV - Branch Office Geel
> > >>Kleinhoefstraat 5
> > >>B-2440 Geel
> > >>Tel: +32 14 57.00.90
> > >>Fax: +32 14 58.13.25
> > >>
> > >>http://www.peopleware.be/
> > >>http://www.mobileware.be/
> > >>
> > >>
> > >
> > >
> > >
> > > --
> > > .::You're welcome ::.
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


composite artifacts

2005-12-07 Thread Edwin Park
Hi,

I have a non-trivial application component (let's call it ComponentA) which
is itself divided into subcomponent modules (let's call these ComponentX,
ComponentY, ComponentZ):

ComponentA
 ComponentX
 ComponentY
 ComponentZ

The relationship between ComponentA and components X, Y and Z is not really
a dependency relationship - it is a structural composition relationship.
What I am finding is that although Maven handles dependency relationships
very nicely, it does not handle composition relationships particularly well.

I have made ComponentA a multi-module project with no code of its own - just
module references to ComponentX, Y and Z:


 ComponentX
 ComponentY
 ComponentZ


This allows me to maintain the useful separation of X, Y, Z subcomponents,
while at the same time allowing me to build all of them at once from the
ComponentA project. Maven's multi-module support works nicely for this, but
the problem comes when you decide you want to deal with a modularized
component such as ComponentA as a *single entity* rather than a collection
of individual modules. Separating my application component into subcomponent
modules is a good thing from a *development* point of view, but I do not
want to *distribute* the component as a lot of little jar files: I want to
distribute it as a single jar.

Presumably the way to compose my modularized component into a single jar is
by using the Maven assembly plugin. But the assembly plugin merely packages
things together into a single archive. It does not take the important
additional step of treating the assembled archive as a first-class maven
artifact. This means that the assembled archive can not be treated as a
dependency. If another component, e.g. ComponentB, wishes to use the
aggregated ComponentA, it can not express a dependency on it directly since
the aggregation is not a Maven artifact and has no pom. Instead, it must
express individual dependencies on components X, Y and Z.

Now let me tell you about some of the hoops I've been jumping through in
order to get my 'single jar' and the issues I've encountered along the way.
Keep one thought in the back of your mind as you read the rest of this: how
much simpler would things be if Maven had first-class support for
composition relationships? What if Maven had a nice way to construct
composite artifacts?

In order for the assembly plugin to work, I had to convert my module
references to components X, Y and Z to dependency references instead,
because the assembly plugin can only refer to fileSets or dependencySets:


 
  mygroup
  ComponentX
  1.0-SNAPSHOT
 
 
  mygroup
  ComponentZ
  1.0-SNAPSHOT
 
 
  mygroup
  ComponentZ
  1.0-SNAPSHOT
 


Also, because I didn't want to include all of the transitive dependencies of
components X, Y and Z, I had to list explicit includes in the assembly.xml:


 ...
 
  mygroup:ComponentX
  mygroup:ComponentY
  mygroup:ComponentZ
 


At this point, i can run assembly:assembly and I get my nice composite jar
file, but:
1. The mutli-project build doesn't work anymore, because I don't have a
 section. I could put the  section back, but then I would
be specifying my composition relationship in 3 different places: ,
 in pom.xml and  in assembly.xml. This works, but
this is ridiculous.
2. As noted above, I can't refer to the composite ComponentA in a dependency
relationship. Aside from the previously mentioned consequences, this also
means that if I want to create a higher-level assembly of ComponentA
together with ComponentB and ComponentC in a single distribution archive
(and I do), I can't do it since the assembly plugin can only assemble
dependencies (well, the assembly plugin can also assemble files, but you
don't want to refer to file resources outside of the current project).

The upshot is that composition is a different concept from dependency, and
deserves recognition and support in the build system. I have more thoughts
on how composition might be handled in Maven and on potential pitfalls, but
this post is long enough for now. I'd love to know if this is already a
known problem and work is already going on to address composition issues, or
if I'm totally off base and there are already ways of doing what I want to
do here, or not.

Thanks,
Edwin


Dependency on a non-maven project?Need advice

2005-12-07 Thread li pan
Hi,
If my project depends on another project which is neither writen by myself
nor has a maven POM(there are tons of these type on www.sf.net), what is the
best way to include it in my project?
Thanks


Re: [M2] [Ibiblio] Catalina 4.1.31

2005-12-07 Thread Tomislav Stojcevich
It's out there now, along with all of the other tomcat 4.1.31 jars.  I
asked the Tomcat team to post it to the Apache repository and it
eventually got sync'd.

--
tom

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



RE: [m2] Encrypting proxy passwords in settings.xml

2005-12-07 Thread Treloar, Barrie (SAPOL)
Or just as useful, prompting for it?

-Original Message-
From: Michael McCrann [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 8 December 2005 10:15 AM
To: Maven Users List
Subject: [m2] Encrypting proxy passwords in settings.xml

Hi,

Is there any way to encrypt a user's proxy password in the settings.xml
file?

Michael


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


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

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



[m2] Encrypting proxy passwords in settings.xml

2005-12-07 Thread Michael McCrann
Hi,

Is there any way to encrypt a user's proxy password in the settings.xml
file?

Michael


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


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



Re: scpexe from win XP to W2K

2005-12-07 Thread dan tran
On 12/7/05, Michael Fiedler <[EMAIL PROTECTED]> wrote:

> Dan,
>
>   That could be the case, but the user is getting signed on and has admin
> privileges.  Did I miss something?  Any other ideas?


You can try with scpexe, to see if it sees the same problem.  But so far,
all cases i see with "ACK 1" is the directory creation problem


>   I have read that a few jira entries exist for deploying.  If nothing
> else, I am waiting eagerly along with everyone else for the next release.
>
> Thank you, Michael
>
>
> -Original Message-
> From: dan tran [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 07, 2005 3:16 PM
> To: Maven Users List
> Subject: Re: scpexe from win XP to W2K
>
>
> Michael, the regular scp using a java implementation, it has lots
> intemitten
> problems.  Lots of ppl are complaining about
> this problem. There is a JIRA issue for this as well.  It works very fine
> on
> one my my machine and fails baddly on othe machine.
>
> However, base on your log, it seems you have a directory permission
> problem at remote host.
>
> -Dan
>
>
> On 12/7/05, Michael Fiedler <[EMAIL PROTECTED]> wrote:
> >
> > Thank you, I'll try that.  When I was using scp, I was getting an error
> -
> > "Error while deploying metadata".  Did you ever see this problem?  The
> > error:
> >
> > ...
> > [INFO] [deploy:deploy]
> > was able to get the following files uploaded before the error:
> > [INFO] [deploy:deploy]
> > host - private computer system & equipment: Uploading:
> > scp://host/com/werner/modules/1.0-QA/modules-1.0-QA.pom
> > ...
> > host - private computer system & equipment: host - private computer
> system
> > & equipment: Uploading:
> > scp://host/com/werner/modules/1.0-QA/modules-1.0-QA-javadoc.pom
> > ...
> > [INFO] [deploy:deploy]
> > host - private computer system & equipment: Uploading:
> > scp://host/com/werner/util/1.0-QA/util-1.0-QA.jar
> > ...
> > host - private computer system & equipment: host - private computer
> system
> > & equipment: Uploading:
> > scp://host/com/werner/util/1.0-QA/util-1.0-QA-javadoc.jar
> > ...
> > host - private computer system & equipment: Uploading:
> > scp://host/com/werner/util/1.0-QA/util-1.0-QA-sources.jar
> > ...
> > [INFO] [deploy:deploy]
> > host - private computer system & equipment: Uploading:
> > scp://host/com/werner/exception/1.0-QA/exception-1.0-QA.jar
> > ...
> > 67K uploaded
> > [INFO] Retrieving previous metadata from M2_repo
> > host - private computer system & equipment: [INFO] Uploading repository
> > metadata for: 'artifact com.werner:exception'
> > host - private computer system & equipment: [INFO]
> >
> 
> > [ERROR] BUILD ERROR
> > [INFO]
> >
> 
> > [INFO] Error installing artifact's metadata: Error while deploying
> > metadata: Did receive proper ACK: '1'
> >
> >
> > Thank you, Michael
> >
> > -Original Message-
> > From: dan tran [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, December 07, 2005 3:05 PM
> > To: Maven Users List
> > Subject: Re: scpexe from win XP to W2K
> >
> >
> > I dont know the magic behind scpexe, but scp comes with cygwin work for
> > me.
> > ( I have %CYGWIN_HOME%\bin in my path thou )
> >
> > -D
> >
> >
> > On 12/7/05, Michael Fiedler <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > >   I am trying to use scpexe instead of scp.  The client and the host
> > both
> > > have OpenSSH installed.
> > >
> > >   To guide me through the process, I am using
> > > http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html.
> > >
> > >   However, I am still getting an error:
> > > ...
> > > [INFO] [deploy:deploy]
> > > [INFO] Retrieving previous build number from M2_repo_scpexe
> > > done
> > > Uploading:
> > >
> >
> scpexe://host_name/com/werner/modules/1.5.2.1-SNAPSHOT/modules-1.5.2.1-20051207.201409-1.pom
> > > [INFO]
> > >
> >
> 
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> >
> 
> > > [INFO] Error deploying artifact: Exit code: 1 - /usr/bin/ssh: No such
> > file
> > > or directory
> > > lost connection
> > >
> > >My question in two forms:
> > >1.  What is causing it to look for /usr/bin/ssh (instead of
> > plink)?
> > >2.  If I did not provide ssh as an sshExecutable, why is it
> > trying
> > > to use ssh?
> > >
> > >
> > >The environment is:
> > >Win XP, sp2 client running OpenSSH, Putty, jdk 5.x, Maven2,
> > > wagon-ssh-external
> > 1.0-alpha-5
> > > ...
> > >settings file contains:
> > > plink
> > >path includes OpenSSH\bin & ...\Putty
> > >W2K host, running OpenSSH
> > >
> > >My file structure is:
> > >pom.xml -- executed from here
> > >-apps
> > >   |_pom.xml
> > >-modules
> 

Re: [m2] Repository question - plz help!

2005-12-07 Thread dan tran
On 12/7/05, Vernik, Gary <[EMAIL PROTECTED]> wrote:

> Dan,
>
> First of, thank you for a prompt reply!
> Second, I couldn't figure how to post my reply to the mailing list. I am
> using this archive (
> http://www.mail-archive.com/users@maven.apache.org/msg30199.html) and it
> only shows "reply to Dan")...
>
> Now to your message:
>
> >  - Checkin all your dependencies to SCM using maven format.
> Exactly what I was planning.
>
> >Then mirror it to a web server ( use a cron to regularly update the
> webserver).
> >Then specify the web server as one of your repo.
> This seems to be overly complicated and I am pretty sure that it won't fly
> by the build team. They are using ant and make and probably not looking into
> making their life more complicated.
>

Sorry, i thought you are using maven at your comp.  Understood that it is
tough to move to new modernizied build system when
you have every thing in place.


> >And if one day, you can convince your team, maven repo is safe to use
> ;-),
> >then you dont need the SCM for your dependencies any more.
> It is not that I don't trust you but you are over-simplifying the problem.
> public maven repo has a tiny subset of dependencies we will end up using.
> 1. Not all open source libraries are part of maven repo.
> 2. We will be buying 3rd party libraries and they need to be stored into
> SCM anyways.
> 3. All builds needs to be 100% reproducible from scratch at any point of
> time (including 10 years from now). Thus we need a total control which can
> be achieved thru SCM only.
>

1. You can request to upload missing OS libraries maven repo.
2. I place i all my private thirdparty libraries in my internal maven repo.
3. If internal maven repo is protected ( itself is a SCM for binary
artifacts), i dont see any reason, maven can not repoduce the build.

Sorry I am just optimistic ;-)

 My further investigation showed that I can do
> either
>   file://.\repo
> or
>   file://${basedir}/repo
> Do you see any problems with that? Any other suggestions?
>

yes, but i seems that you will have a repo for each maven project?




>
> BTW, when I am installing 3rd party's library into my local repo with
> install:install-file, is there a way to generate md5 checksum for it?
>
>

I think the lastest maven-install-plugin may have that, you now can deploy
file as well using deploy:deploy-file
otherwise, open a JIRA for it.

There is also some work at maven-scm to store and retreive artfifacts from
SCM.  You may want to tune in for this project.


> Dan, again, I greatly appreciate your attention!!
>
> Thanks,
> *Gary Vernik*
> *Member of Technical Staff*
> *System Management Software*
> *Network Appliance*
> *408-822-3120*
>
>


[M2] multi-module executing plugin after all children are executed

2005-12-07 Thread Ruel Loehr
Guys,

I have a multi-module build.   I would like to be able to execute a
plugin AFTER all of the children have been executed.

In my root module, I declare a dependency on each artifact produced by
the child modules.  The first time I build (mvn install), things are
great.  All children are executed and finally, the root module is
executed.

The second time I build, the root module sees all of its dependencies as
satisfied.  The root module is then executed, followed by each of its
children.

The question is where would I define a plugin that I want to execute
after all the children are built?  I can't do it in the root, because of
reasons stated above.

Am I missing something simple?

Ruel Loehr
JBoss QA
 
-
512-347-7840 ext 2011
Yahoo: ruelloehr
Skype: ruelloehr
AOL: dokoruel


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



Re: [M1] preparing release of checkstyle plugin 3.0 with support for java 1.5

2005-12-07 Thread Arnaud HERITIER
FYI

In the cargo project we have some problems with the checkstyle plugin
3.0-SNAPSHOT
We have some custom settings and checkstyle find new errors in our code (it
fails our build because we stop it if there are style errors).
I think it's not related to the plugin but to checkstyle itself.

Arnaud

On 12/7/05, Joshua Smith <[EMAIL PROTECTED]> wrote:
>
> Thanks Lukas. I appreciate it.
>
> Joshua
>
> On 12/6/05, Lukas Theussl <[EMAIL PROTECTED]> wrote:
> >
> > We are working on it right now but we are having difficulties
> > maintaining backwards compatibility with m1.0.2 in many cases. A bunch
> > of plugins should be released in the coming two weeks (just hope I'm not
> > promising too much here ... ;) . In any case, we will re-publish all
> > maven core plugins before the next maven-1.1 beta (or rc).
> >
> > -Lukas
> >
>
>


Re: [M1] preparing release of checkstyle plugin 3.0 with support for java 1.5

2005-12-07 Thread Joshua Smith
Thanks Lukas. I appreciate it.

Joshua

On 12/6/05, Lukas Theussl <[EMAIL PROTECTED]> wrote:
>
> We are working on it right now but we are having difficulties
> maintaining backwards compatibility with m1.0.2 in many cases. A bunch
> of plugins should be released in the coming two weeks (just hope I'm not
> promising too much here ... ;) . In any case, we will re-publish all
> maven core plugins before the next maven-1.1 beta (or rc).
>
> -Lukas
>


RE: JavaPolis

2005-12-07 Thread Frank Russo
Is this working for m2 yet?

Frank Russo
Senior Developer
FX Alliance, LLC


-Original Message-
From: Milos Kleint [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 07, 2005 4:50 PM
To: Maven Users List
Subject: Re: JavaPolis


I'll be showing maven+netbeans IDE integration (
http://mevenide.codehaus.org/mevenide-netbeans-project) at the plugin bazaar.

Milos Kleint

On 12/7/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
>
> Vincent Massol too, for a presentation.
>
> Emmanuel
>
> Stephane Nicoll a écrit :
> > I'll be there.
> >
> > Cheers,
> > Stéphane
> >
> > On 12/7/05, ir. ing. Jan Dockx <[EMAIL PROTECTED]> wrote:
> >
> >>Will Maven People (nice ring, no? :-) ) meet at JavaPolis next week?
> >>
> >>
> >>Met vriendelijke groeten,
> >>
> >>Jan Dockx
> >>
> >>PeopleWare NV - Head Office
> >>Cdt.Weynsstraat 85
> >>B-2660 Hoboken
> >>Tel: +32 3 448.33.38
> >>Fax: +32 3 448.32.66
> >>
> >>PeopleWare NV - Branch Office Geel
> >>Kleinhoefstraat 5
> >>B-2440 Geel
> >>Tel: +32 14 57.00.90
> >>Fax: +32 14 58.13.25
> >>
> >>http://www.peopleware.be/
> >>http://www.mobileware.be/
> >>
> >>
> >
> >
> >
> > --
> > .::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]



Re: JavaPolis

2005-12-07 Thread Milos Kleint
I'll be showing maven+netbeans IDE integration (
http://mevenide.codehaus.org/mevenide-netbeans-project) at the plugin
bazaar.

Milos Kleint

On 12/7/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
>
> Vincent Massol too, for a presentation.
>
> Emmanuel
>
> Stephane Nicoll a écrit :
> > I'll be there.
> >
> > Cheers,
> > Stéphane
> >
> > On 12/7/05, ir. ing. Jan Dockx <[EMAIL PROTECTED]> wrote:
> >
> >>Will Maven People (nice ring, no? :-) ) meet at JavaPolis next week?
> >>
> >>
> >>Met vriendelijke groeten,
> >>
> >>Jan Dockx
> >>
> >>PeopleWare NV - Head Office
> >>Cdt.Weynsstraat 85
> >>B-2660 Hoboken
> >>Tel: +32 3 448.33.38
> >>Fax: +32 3 448.32.66
> >>
> >>PeopleWare NV - Branch Office Geel
> >>Kleinhoefstraat 5
> >>B-2440 Geel
> >>Tel: +32 14 57.00.90
> >>Fax: +32 14 58.13.25
> >>
> >>http://www.peopleware.be/
> >>http://www.mobileware.be/
> >>
> >>
> >
> >
> >
> > --
> > .::You're welcome ::.
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: scpexe from win XP to W2K

2005-12-07 Thread Michael Fiedler
Dan,

   That could be the case, but the user is getting signed on and has admin 
privileges.  Did I miss something?  Any other ideas?

   I have read that a few jira entries exist for deploying.  If nothing else, I 
am waiting eagerly along with everyone else for the next release.  

Thank you, Michael


-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 3:16 PM
To: Maven Users List
Subject: Re: scpexe from win XP to W2K


Michael, the regular scp using a java implementation, it has lots intemitten
problems.  Lots of ppl are complaining about
this problem. There is a JIRA issue for this as well.  It works very fine on
one my my machine and fails baddly on othe machine.

However, base on your log, it seems you have a directory permission
problem at remote host.

-Dan


On 12/7/05, Michael Fiedler <[EMAIL PROTECTED]> wrote:
>
> Thank you, I'll try that.  When I was using scp, I was getting an error -
> "Error while deploying metadata".  Did you ever see this problem?  The
> error:
>
> ...
> [INFO] [deploy:deploy]
> was able to get the following files uploaded before the error:
> [INFO] [deploy:deploy]
> host - private computer system & equipment: Uploading:
> scp://host/com/werner/modules/1.0-QA/modules-1.0-QA.pom
> ...
> host - private computer system & equipment: host - private computer system
> & equipment: Uploading:
> scp://host/com/werner/modules/1.0-QA/modules-1.0-QA-javadoc.pom
> ...
> [INFO] [deploy:deploy]
> host - private computer system & equipment: Uploading:
> scp://host/com/werner/util/1.0-QA/util-1.0-QA.jar
> ...
> host - private computer system & equipment: host - private computer system
> & equipment: Uploading:
> scp://host/com/werner/util/1.0-QA/util-1.0-QA-javadoc.jar
> ...
> host - private computer system & equipment: Uploading:
> scp://host/com/werner/util/1.0-QA/util-1.0-QA-sources.jar
> ...
> [INFO] [deploy:deploy]
> host - private computer system & equipment: Uploading:
> scp://host/com/werner/exception/1.0-QA/exception-1.0-QA.jar
> ...
> 67K uploaded
> [INFO] Retrieving previous metadata from M2_repo
> host - private computer system & equipment: [INFO] Uploading repository
> metadata for: 'artifact com.werner:exception'
> host - private computer system & equipment: [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Error installing artifact's metadata: Error while deploying
> metadata: Did receive proper ACK: '1'
>
>
> Thank you, Michael
>
> -Original Message-
> From: dan tran [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 07, 2005 3:05 PM
> To: Maven Users List
> Subject: Re: scpexe from win XP to W2K
>
>
> I dont know the magic behind scpexe, but scp comes with cygwin work for
> me.
> ( I have %CYGWIN_HOME%\bin in my path thou )
>
> -D
>
>
> On 12/7/05, Michael Fiedler <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> >   I am trying to use scpexe instead of scp.  The client and the host
> both
> > have OpenSSH installed.
> >
> >   To guide me through the process, I am using
> > http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html.
> >
> >   However, I am still getting an error:
> > ...
> > [INFO] [deploy:deploy]
> > [INFO] Retrieving previous build number from M2_repo_scpexe
> > done
> > Uploading:
> >
> scpexe://host_name/com/werner/modules/1.5.2.1-SNAPSHOT/modules-1.5.2.1-20051207.201409-1.pom
> > [INFO]
> >
> 
> > [ERROR] BUILD ERROR
> > [INFO]
> >
> 
> > [INFO] Error deploying artifact: Exit code: 1 - /usr/bin/ssh: No such
> file
> > or directory
> > lost connection
> >
> >My question in two forms:
> >1.  What is causing it to look for /usr/bin/ssh (instead of
> plink)?
> >2.  If I did not provide ssh as an sshExecutable, why is it
> trying
> > to use ssh?
> >
> >
> >The environment is:
> >Win XP, sp2 client running OpenSSH, Putty, jdk 5.x, Maven2,
> > wagon-ssh-external
> 1.0-alpha-5
> > ...
> >settings file contains:
> > plink
> >path includes OpenSSH\bin & ...\Putty
> >W2K host, running OpenSSH
> >
> >My file structure is:
> >pom.xml -- executed from here
> >-apps
> >   |_pom.xml
> >-modules
> >  |_pom.xml
> >  |_mod1
> >  |_mod2
> >  |_mod3
> >  |_mod4
> >
> >
> > Thank you,
> > Michael Fiedler
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail

Maven Javadoc plugin

2005-12-07 Thread Karthik Manimaran
Hi,

I am generating Javadoc for a J2EE project using the Javadoc plugin. Is
there a way to generate the Javadocs for all the modules in the ear
(ejb-jars, utility jars etc) as a single javadoc at some specified
folder/location. Currently the javadocs get generated in the target folder
of each project/module.

Thanks and regards,
Karthik.


Re: [m2] Repository question - plz help!

2005-12-07 Thread dan tran
How about this.

  - Checkin all your dependencies to SCM using maven format.
Then mirror it to a web server ( use a cron to regularly update the web
server).

  - Then specify the web server as one of your repo.

And if one day, you can convince your team, maven repo is safe to use ;-),
then you dont need the SCM for your dependencies any more.

Really, maven repo is basically a SCM for binary dependency.  As long as you

can track, and protect it.


-Dan


On 12/7/05, Vernik, Gary <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am starting a new project and considering using Maven for it. Our
> build team has a requirement that ALL project dependencies have to be
> stored in the source control system along with the project.
> I was thinking of creating a project (C:\MyProject), adding pom
> (C:\MyProject\pom.xml) and creating an internal repository (containing
> all the dependencies) under the project directory
> (C:\MyProject\repository). Then I need to specify the repository in my
> project pom.xml
>
>  my-repo
>  file:///C:/MyProject/repository/
>
>
> And here is the problem: I don't want to hardcode absolute paths in my
> pom.xml (to be platform independent). Is it possible to specify a
> relative path (like file:///./repository/) or create
> environment variable (set MYPROJ=C:/MyProject) and specify that in pom
> (like file:///MYPROJ/repository/)?
>
> I am sure I am not the first person who has to deal with this kind of
> requirements so I'd appreciate any advise.
>
> Thanks,
> Gary
>
>
>


Re: disable maven i18n output message

2005-12-07 Thread Lukas Theussl
Hmm, I am not a Windows user but you should be able to set the encoding 
for your console (or the Windows system encoding?) somewhere in your 
Preferences.


-Lukas


Ken Perl wrote:

I am sorry that I didn't discribe my problem clearly when previous mail post.

I don't use browser and the encoding problem is not on the browser.
The issue happens on the cmd windows on Win2k non English environments
during the maven is trying to download some jars from the remote
repository, the question mark is displayed before and after the jar
file name, I guess it is telling me that maven is downloading the jar
file, but the message appears in question mark like  file.name.jar
??.

On 12/7/05, Lukas Theussl <[EMAIL PROTECTED]> wrote:


Hi Ken,

First make sure that your browser's encoding property is set to UTF-8.
But then, there may be still problems with some reports as has been
discussed recently here [1], you will also find some hints in this
thread about encoding properties to set.

Good luck!
Lukas


[1]
http://www.nabble.com/-M-1.1b1-Maven-Reports%3A-Encoding-Problems-t556735.html#a1503583

Ken Perl wrote:


Hi,
I have trouble to view the maven 's i18n message in my computer, it
displays many questions mark ??? in its output.
How could disable the i18n output message and view English output only?
I am using maven 1.1-beta-2.

--
perl -e 'print unpack(u,"62V5N\"FME;G\!E

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






--
perl -e 'print unpack(u,"62V5N\"FME;G\!E

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



Re: scpexe from win XP to W2K

2005-12-07 Thread dan tran
Michael, the regular scp using a java implementation, it has lots intemitten
problems.  Lots of ppl are complaining about
this problem. There is a JIRA issue for this as well.  It works very fine on
one my my machine and fails baddly on othe machine.

However, base on your log, it seems you have a directory permission
problem at remote host.

-Dan


On 12/7/05, Michael Fiedler <[EMAIL PROTECTED]> wrote:
>
> Thank you, I'll try that.  When I was using scp, I was getting an error -
> "Error while deploying metadata".  Did you ever see this problem?  The
> error:
>
> ...
> [INFO] [deploy:deploy]
> was able to get the following files uploaded before the error:
> [INFO] [deploy:deploy]
> host - private computer system & equipment: Uploading:
> scp://host/com/werner/modules/1.0-QA/modules-1.0-QA.pom
> ...
> host - private computer system & equipment: host - private computer system
> & equipment: Uploading:
> scp://host/com/werner/modules/1.0-QA/modules-1.0-QA-javadoc.pom
> ...
> [INFO] [deploy:deploy]
> host - private computer system & equipment: Uploading:
> scp://host/com/werner/util/1.0-QA/util-1.0-QA.jar
> ...
> host - private computer system & equipment: host - private computer system
> & equipment: Uploading:
> scp://host/com/werner/util/1.0-QA/util-1.0-QA-javadoc.jar
> ...
> host - private computer system & equipment: Uploading:
> scp://host/com/werner/util/1.0-QA/util-1.0-QA-sources.jar
> ...
> [INFO] [deploy:deploy]
> host - private computer system & equipment: Uploading:
> scp://host/com/werner/exception/1.0-QA/exception-1.0-QA.jar
> ...
> 67K uploaded
> [INFO] Retrieving previous metadata from M2_repo
> host - private computer system & equipment: [INFO] Uploading repository
> metadata for: 'artifact com.werner:exception'
> host - private computer system & equipment: [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Error installing artifact's metadata: Error while deploying
> metadata: Did receive proper ACK: '1'
>
>
> Thank you, Michael
>
> -Original Message-
> From: dan tran [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 07, 2005 3:05 PM
> To: Maven Users List
> Subject: Re: scpexe from win XP to W2K
>
>
> I dont know the magic behind scpexe, but scp comes with cygwin work for
> me.
> ( I have %CYGWIN_HOME%\bin in my path thou )
>
> -D
>
>
> On 12/7/05, Michael Fiedler <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> >   I am trying to use scpexe instead of scp.  The client and the host
> both
> > have OpenSSH installed.
> >
> >   To guide me through the process, I am using
> > http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html.
> >
> >   However, I am still getting an error:
> > ...
> > [INFO] [deploy:deploy]
> > [INFO] Retrieving previous build number from M2_repo_scpexe
> > done
> > Uploading:
> >
> scpexe://host_name/com/werner/modules/1.5.2.1-SNAPSHOT/modules-1.5.2.1-20051207.201409-1.pom
> > [INFO]
> >
> 
> > [ERROR] BUILD ERROR
> > [INFO]
> >
> 
> > [INFO] Error deploying artifact: Exit code: 1 - /usr/bin/ssh: No such
> file
> > or directory
> > lost connection
> >
> >My question in two forms:
> >1.  What is causing it to look for /usr/bin/ssh (instead of
> plink)?
> >2.  If I did not provide ssh as an sshExecutable, why is it
> trying
> > to use ssh?
> >
> >
> >The environment is:
> >Win XP, sp2 client running OpenSSH, Putty, jdk 5.x, Maven2,
> > wagon-ssh-external
> 1.0-alpha-5
> > ...
> >settings file contains:
> > plink
> >path includes OpenSSH\bin & ...\Putty
> >W2K host, running OpenSSH
> >
> >My file structure is:
> >pom.xml -- executed from here
> >-apps
> >   |_pom.xml
> >-modules
> >  |_pom.xml
> >  |_mod1
> >  |_mod2
> >  |_mod3
> >  |_mod4
> >
> >
> > Thank you,
> > Michael Fiedler
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [m2]is ejbdoclet-maven-plugin available in maven2?

2005-12-07 Thread Ashley Williams

Hi,

The ejbdoclet-maven-plugin is in the sandbox. Make sure you build the  
mant project first, also in the sandbox.
In order to see the how to use it, take a look at the sister plugin  
webdoclet-maven-plugin since under that directory
there is a sample project that consists of three artifacts: an ejb  
project, a war project and an ear project that contains

the both of them. The resultant ear can be deployed straight to jboss.

There are readme files at the top of each plugin with instructions.

Having trouble keeping up with mailing list, please cc me direct if  
you have any difficulties.


Thanks
- Ashley

On 7 Dec 2005, at 18:04, Sokolova, Galina wrote:



And if so, where can it be found?

I am getting
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to  
build project for plugin 'org.codehaus.mojo:ejbdoclet-maven- 
plugin': POM 'org.codehaus.mojo:ejbdoclet-maven-plugin' not found  
in repository: Unable to download the artifact from any repository

  org.codehaus.mojo:ejbdoclet-maven-plugin:1.0-beta-1:pom

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


-
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] Repository question - plz help!

2005-12-07 Thread Vernik, Gary
Hi,
 
I am starting a new project and considering using Maven for it. Our
build team has a requirement that ALL project dependencies have to be
stored in the source control system along with the project.
I was thinking of creating a project (C:\MyProject), adding pom
(C:\MyProject\pom.xml) and creating an internal repository (containing
all the dependencies) under the project directory
(C:\MyProject\repository). Then I need to specify the repository in my
project pom.xml
 
  my-repo 
  file:///C:/MyProject/repository/
 
 
And here is the problem: I don't want to hardcode absolute paths in my
pom.xml (to be platform independent). Is it possible to specify a
relative path (like file:///./repository/) or create
environment variable (set MYPROJ=C:/MyProject) and specify that in pom
(like file:///MYPROJ/repository/)?
 
I am sure I am not the first person who has to deal with this kind of
requirements so I'd appreciate any advise.
 
Thanks,
Gary



RE: scpexe from win XP to W2K

2005-12-07 Thread Michael Fiedler
Thank you, I'll try that.  When I was using scp, I was getting an error - 
"Error while deploying metadata".  Did you ever see this problem?  The error:

...
[INFO] [deploy:deploy]
was able to get the following files uploaded before the error: 
[INFO] [deploy:deploy] 
host - private computer system & equipment: Uploading: 
scp://host/com/werner/modules/1.0-QA/modules-1.0-QA.pom 
... 
host - private computer system & equipment: host - private computer system & 
equipment: Uploading: 
scp://host/com/werner/modules/1.0-QA/modules-1.0-QA-javadoc.pom 
... 
[INFO] [deploy:deploy] 
host - private computer system & equipment: Uploading: 
scp://host/com/werner/util/1.0-QA/util-1.0-QA.jar 
... 
host - private computer system & equipment: host - private computer system & 
equipment: Uploading: scp://host/com/werner/util/1.0-QA/util-1.0-QA-javadoc.jar 
... 
host - private computer system & equipment: Uploading: 
scp://host/com/werner/util/1.0-QA/util-1.0-QA-sources.jar 
... 
[INFO] [deploy:deploy] 
host - private computer system & equipment: Uploading: 
scp://host/com/werner/exception/1.0-QA/exception-1.0-QA.jar 
... 
67K uploaded 
[INFO] Retrieving previous metadata from M2_repo 
host - private computer system & equipment: [INFO] Uploading repository 
metadata for: 'artifact com.werner:exception' 
host - private computer system & equipment: [INFO] 
 
[ERROR] BUILD ERROR 
[INFO] 
 
[INFO] Error installing artifact's metadata: Error while deploying metadata: 
Did receive proper ACK: '1'


Thank you, Michael

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 3:05 PM
To: Maven Users List
Subject: Re: scpexe from win XP to W2K


I dont know the magic behind scpexe, but scp comes with cygwin work for me.
( I have %CYGWIN_HOME%\bin in my path thou )

-D


On 12/7/05, Michael Fiedler <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>   I am trying to use scpexe instead of scp.  The client and the host both
> have OpenSSH installed.
>
>   To guide me through the process, I am using
> http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html.
>
>   However, I am still getting an error:
> ...
> [INFO] [deploy:deploy]
> [INFO] Retrieving previous build number from M2_repo_scpexe
> done
> Uploading:
> scpexe://host_name/com/werner/modules/1.5.2.1-SNAPSHOT/modules-1.5.2.1-20051207.201409-1.pom
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Error deploying artifact: Exit code: 1 - /usr/bin/ssh: No such file
> or directory
> lost connection
>
>My question in two forms:
>1.  What is causing it to look for /usr/bin/ssh (instead of plink)?
>2.  If I did not provide ssh as an sshExecutable, why is it trying
> to use ssh?
>
>
>The environment is:
>Win XP, sp2 client running OpenSSH, Putty, jdk 5.x, Maven2,
> wagon-ssh-external1.0-alpha-5
> ...
>settings file contains:
> plink
>path includes OpenSSH\bin & ...\Putty
>W2K host, running OpenSSH
>
>My file structure is:
>pom.xml -- executed from here
>-apps
>   |_pom.xml
>-modules
>  |_pom.xml
>  |_mod1
>  |_mod2
>  |_mod3
>  |_mod4
>
>
> Thank you,
> Michael Fiedler
>
>
> -
> 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: scpexe from win XP to W2K

2005-12-07 Thread dan tran
I dont know the magic behind scpexe, but scp comes with cygwin work for me.
( I have %CYGWIN_HOME%\bin in my path thou )

-D


On 12/7/05, Michael Fiedler <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>   I am trying to use scpexe instead of scp.  The client and the host both
> have OpenSSH installed.
>
>   To guide me through the process, I am using
> http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html.
>
>   However, I am still getting an error:
> ...
> [INFO] [deploy:deploy]
> [INFO] Retrieving previous build number from M2_repo_scpexe
> done
> Uploading:
> scpexe://host_name/com/werner/modules/1.5.2.1-SNAPSHOT/modules-1.5.2.1-20051207.201409-1.pom
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Error deploying artifact: Exit code: 1 - /usr/bin/ssh: No such file
> or directory
> lost connection
>
>My question in two forms:
>1.  What is causing it to look for /usr/bin/ssh (instead of plink)?
>2.  If I did not provide ssh as an sshExecutable, why is it trying
> to use ssh?
>
>
>The environment is:
>Win XP, sp2 client running OpenSSH, Putty, jdk 5.x, Maven2,
> wagon-ssh-external1.0-alpha-5
> ...
>settings file contains:
> plink
>path includes OpenSSH\bin & ...\Putty
>W2K host, running OpenSSH
>
>My file structure is:
>pom.xml -- executed from here
>-apps
>   |_pom.xml
>-modules
>  |_pom.xml
>  |_mod1
>  |_mod2
>  |_mod3
>  |_mod4
>
>
> Thank you,
> Michael Fiedler
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


[m2] Missing breadcrumb text

2005-12-07 Thread Kristian Andersen
Hi,

After switching to the latest and greatest(?) version of the
site-plugin, 2.0-beta-5-SNAPSHOT, the breadcrumb text has dissapeared.
It used to display the "Last published" date

Is this

a) A bug, as indicated by JIRA issue MNG-1706

b) A change that requires me to update site.xml etc.?


Maven 1.x also had the option to display the versionnumber in the
breadcrumb-section.
Is this feature planned for 2.0 as well?


Regards,
Kristian Andersen
[EMAIL PROTECTED]

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



scpexe from win XP to W2K

2005-12-07 Thread Michael Fiedler
Hi,

   I am trying to use scpexe instead of scp.  The client and the host both have 
OpenSSH installed.  

   To guide me through the process, I am using 
http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html.  

   However, I am still getting an error:
...
[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from M2_repo_scpexe
done
Uploading: 
scpexe://host_name/com/werner/modules/1.5.2.1-SNAPSHOT/modules-1.5.2.1-20051207.201409-1.pom
[INFO] 

[ERROR] BUILD ERROR
[INFO] 

[INFO] Error deploying artifact: Exit code: 1 - /usr/bin/ssh: No such file or 
directory
lost connection

My question in two forms:
1.  What is causing it to look for /usr/bin/ssh (instead of plink)?  
2.  If I did not provide ssh as an sshExecutable, why is it trying to 
use ssh?


The environment is:
Win XP, sp2 client running OpenSSH, Putty, jdk 5.x, Maven2, 
wagon-ssh-external1.0-alpha-5...
settings file contains: plink
path includes OpenSSH\bin & ...\Putty
W2K host, running OpenSSH

My file structure is:
pom.xml -- executed from here
-apps
   |_pom.xml
-modules
  |_pom.xml
  |_mod1
  |_mod2
  |_mod3
  |_mod4


Thank you,
Michael Fiedler


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



RE: Creating my own shared repository

2005-12-07 Thread Brian E. Fox
Setup the repository in house and then set a mirror on "central" to
point to it. Since maven uses central by default, redirecting if
effectively chops off the outside world. You can't really stop users
from adding more repositories to their settings though. 

-Original Message-
From: Jim Babka [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 07, 2005 1:27 PM
To: users@maven.apache.org
Subject: Creating my own shared repository

I have looked through the documentation and come up empty.  I need to
create a local repository to be shared for development here because we
need to control the versions of the JARs that we get.  I can get the
JARs initially from ibiblio, but then I need to lock them down so that
we are insulated from problems like corrupt JARs, broken new versions,
etc.  There are several tantalizing references to doing this in the
documentation, but either the links to follow are broken, or else the
pages linked have no real content.  Is there anything that will tell me
how to set up my own (much smaller) version of ibiblio, so that I can
have maven point to that instead of ibiblio itself?

 

Jim Babka

Senior Software Engineer

Main: (512) 334 3200

Direct: (512) 334 3237

Email: [EMAIL PROTECTED]

 

Webify Solutions

Enabling the On Demand Enterprise(tm)

www.webifysolutions.com  

 




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



Creating my own shared repository

2005-12-07 Thread Jim Babka
I have looked through the documentation and come up empty.  I need to
create a local repository to be shared for development here because we
need to control the versions of the JARs that we get.  I can get the
JARs initially from ibiblio, but then I need to lock them down so that
we are insulated from problems like corrupt JARs, broken new versions,
etc.  There are several tantalizing references to doing this in the
documentation, but either the links to follow are broken, or else the
pages linked have no real content.  Is there anything that will tell me
how to set up my own (much smaller) version of ibiblio, so that I can
have maven point to that instead of ibiblio itself?

 

Jim Babka

Senior Software Engineer

Main: (512) 334 3200

Direct: (512) 334 3237

Email: [EMAIL PROTECTED]

 

Webify Solutions

Enabling the On Demand Enterprise(tm)

www.webifysolutions.com  

 



[m2]is ejbdoclet-maven-plugin available in maven2?

2005-12-07 Thread Sokolova, Galina

And if so, where can it be found?

I am getting 
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build project 
for plugin 'org.codehaus.mojo:ejbdoclet-maven-plugin': POM 
'org.codehaus.mojo:ejbdoclet-maven-plugin' not found in repository: Unable to 
download the artifact from any repository
  org.codehaus.mojo:ejbdoclet-maven-plugin:1.0-beta-1:pom

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


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



eclipse plugin and xml validation

2005-12-07 Thread Kevin Galligan
I've been using maven with the eclipse plugin for a little while now.  
It was working great for me.  This was version 2.0-beta-2.  Then I had 
some trouble with duplicate project/dependency references in my 
.classpath file, so I got the source and built it in the hopes that that 
issue had been taken care of.  That issue still persisted, but I had a 
new problem.  Eclipse just seems to get stuck doing endless validation 
or whatever.  I looked at the project file, and a few other build 
commands and natures were added.  Now, it probably doesn't help that I'm 
running  WTP 1.0M9.  The issue is probably somewhere in there.  However, 
I'd really like to just have the java builder and natures added, and 
have an easy option to avoid the rest.  Any thoughts?  If I've got 
something set up horribly wrong with eclipse, also please let me know 
that (M2_REPO is set up without issue).


Currently, I'm running the full form plugin call to avoid issues...

org.apache.maven.plugins:maven-eclipse-plugin:2.0-beta-2:eclipse

Now, I'll still have the other issue with duplicate entries in the 
.classpath file.  I can't figure out what strange setting I have in my 
pom to force that to happen.   However, I have no build trouble, so I 
was thinking the eclipse plugin should be able to avoid it.  I don't 
have the modified source in front of me, but basically all I did was add 
a Set object which I checked paths against to see if they were already 
added to the file.  Looking at unmodified source, I think my changes 
were to the 'addDependency' method in 'EclipseClasspathWriter'.  The 
issue was if the same artifact came into that method, it would just 
blindly write it out, and eclipse can deal with duplicates.  Because 
there's a lot of transitive dependency stuff going on these days, I 
think its very possible that some others ran into the same issue.


Anyway, thanks in advance,
-Kevin

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



Re: JavaPolis

2005-12-07 Thread Emmanuel Venisse

Vincent Massol too, for a presentation.

Emmanuel

Stephane Nicoll a écrit :

I'll be there.

Cheers,
Stéphane

On 12/7/05, ir. ing. Jan Dockx <[EMAIL PROTECTED]> wrote:


Will Maven People (nice ring, no? :-) ) meet at JavaPolis next week?


Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85
B-2660 Hoboken
Tel: +32 3 448.33.38
Fax: +32 3 448.32.66

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/






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




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



Re: JavaPolis

2005-12-07 Thread Stephane Nicoll
I'll be there.

Cheers,
Stéphane

On 12/7/05, ir. ing. Jan Dockx <[EMAIL PROTECTED]> wrote:
>
> Will Maven People (nice ring, no? :-) ) meet at JavaPolis next week?
>
>
> Met vriendelijke groeten,
>
> Jan Dockx
>
> PeopleWare NV - Head Office
> Cdt.Weynsstraat 85
> B-2660 Hoboken
> Tel: +32 3 448.33.38
> Fax: +32 3 448.32.66
>
> PeopleWare NV - Branch Office Geel
> Kleinhoefstraat 5
> B-2440 Geel
> Tel: +32 14 57.00.90
> Fax: +32 14 58.13.25
>
> http://www.peopleware.be/
> http://www.mobileware.be/
>
>


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


JavaPolis

2005-12-07 Thread ir. ing. Jan Dockx
Will Maven People (nice ring, no? :-) ) meet at JavaPolis next week?


Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/

smime.p7s
Description: S/MIME cryptographic signature


Re: How to take back-up and restore the postgresql database?? using maven

2005-12-07 Thread Daniel Beland
You may be able to do it in maven.xml with jelly scripting.
But I guess it woulde be a lot easier to develop your own plugin.

I havan't had to develop one myself so far so I cannot really give you
advices on how to do it.

You should use the JDBC driver provided by the PostgeSQL team for the
specific version of the database you have installed.


On 12/7/05, charles Anto <[EMAIL PROTECTED]> wrote:
>
> Many thanx daniel.
> How can i integrate these code with maven scripts. which driver i shd
> use postgresql or jdbc...?
> should i declear following code in the project.properties file?
> java.lang.Class.forName("org.postgresql.Driver");
>java.sql.Connection jdbcConnection = DriverManager.getConnection
> ("jdbc:postgresql://localhost:5432/database", "postgres", "postgres");
>DatabaseConnection databaseConnection = new
> DatabaseConnection(jdbcConnection, "public");
>
>
> Thanks & Regards
> Charles
>
> On 12/7/05, Daniel Beland <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> >
> > It is quite easy to backup a database using DBUnit in java. So I gues
> you
> > would have to create a plugin to best achieve it.
> >
> > But the steps you will need to execute are:
> >
> > create a new DatabaseConnection object. (note the use of the public
> schema
> > for postgresql when the tables are not in a specific schema)
> >
> > Something like:
> >java.lang.Class.forName("org.postgresql.Driver");
> >java.sql.Connection jdbcConnection = DriverManager.getConnection
> > ("jdbc:postgresql://localhost:5432/database", "postgres", "postgres");
> >DatabaseConnection databaseConnection = new
> > DatabaseConnection(jdbcConnection, "public");
> >
> >
> > Create the dataSet of the data to backup (can use complex queries to
> > filter
> > data) and write it in a file. The XmlDataSet format is hard to read
> > compared
> > to FlatXmlDataSet but is better to handle null values.
> >
> >QueryDataSet dataSet = new QueryDataSet(databaseConnection);
> >dataSet.addTable("table1");
> >dataSet.addTable("table2");
> >dataSet.addTable("table3", "select * from table3 where xxx >
> > 5000");
> >
> >XmlDataSet.write(dataSet, new
> > FileOutputStream("C:/tmp/dataSet.xml"));
> >
> >
> > Then re-import the data when it is done
> >
> >XmlDataSet dataSet2 = new XmlDataSet(new
> > FileInputStream("C:/tmp/dataSet.xml"));
> >DatabaseOperation.CLEAN_INSERT.execute(databaseConnection,
> > dataSet2);
> >
> >
> > Hope it can help
> >
> > Daniel
> >
> >
> >
> > On 12/7/05, Charles A <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > Hi All,
> > >
> > >   I'm using Hibernate and Postgresql DB in our project. Now my
> > > maven script creating .War file.
> > > But problem is i have to take back-up and delete my database
> > > before run the maven script and restore the back-up database, once new
> > > database has created.
> > > I have checked DBUNIT and ddlutils site, but i didn't get
> clear
> > > idea where to start? and  how to proceed?
> > >
> > > Thanks in advance
> > >
> > > Thanks & Regards
> > > Charles
> > >
> > >
> > >
> >
> >
>
>


Re: How to take back-up and restore the postgresql database?? using maven

2005-12-07 Thread charles Anto
Many thanx daniel.
How can i integrate these code with maven scripts. which driver i shd
use postgresql or jdbc...?
should i declear following code in the project.properties file?
 java.lang.Class.forName("org.postgresql.Driver");
   java.sql.Connection jdbcConnection = DriverManager.getConnection
("jdbc:postgresql://localhost:5432/database", "postgres", "postgres");
   DatabaseConnection databaseConnection = new
DatabaseConnection(jdbcConnection, "public");


Thanks & Regards
Charles

On 12/7/05, Daniel Beland <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
> It is quite easy to backup a database using DBUnit in java. So I gues you
> would have to create a plugin to best achieve it.
>
> But the steps you will need to execute are:
>
> create a new DatabaseConnection object. (note the use of the public schema
> for postgresql when the tables are not in a specific schema)
>
> Something like:
>java.lang.Class.forName("org.postgresql.Driver");
>java.sql.Connection jdbcConnection = DriverManager.getConnection
> ("jdbc:postgresql://localhost:5432/database", "postgres", "postgres");
>DatabaseConnection databaseConnection = new
> DatabaseConnection(jdbcConnection, "public");
>
>
> Create the dataSet of the data to backup (can use complex queries to
> filter
> data) and write it in a file. The XmlDataSet format is hard to read
> compared
> to FlatXmlDataSet but is better to handle null values.
>
>QueryDataSet dataSet = new QueryDataSet(databaseConnection);
>dataSet.addTable("table1");
>dataSet.addTable("table2");
>dataSet.addTable("table3", "select * from table3 where xxx >
> 5000");
>
>XmlDataSet.write(dataSet, new
> FileOutputStream("C:/tmp/dataSet.xml"));
>
>
> Then re-import the data when it is done
>
>XmlDataSet dataSet2 = new XmlDataSet(new
> FileInputStream("C:/tmp/dataSet.xml"));
>DatabaseOperation.CLEAN_INSERT.execute(databaseConnection,
> dataSet2);
>
>
> Hope it can help
>
> Daniel
>
>
>
> On 12/7/05, Charles A <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi All,
> >
> >   I'm using Hibernate and Postgresql DB in our project. Now my
> > maven script creating .War file.
> > But problem is i have to take back-up and delete my database
> > before run the maven script and restore the back-up database, once new
> > database has created.
> > I have checked DBUNIT and ddlutils site, but i didn't get clear
> > idea where to start? and  how to proceed?
> >
> > Thanks in advance
> >
> > Thanks & Regards
> > Charles
> >
> >
> >
>
>


RE: [m2] new ejbdoclet+webdoclet plugin announcement

2005-12-07 Thread Dário Luís Coneglian Oliveros
Hi there,

After a couple of attempts I got the webdoclet working. I´ve used the xdoclet 
plugin with a webdoclet task. Please see POM below:


  
org.codehaus.mojo
xdoclet-maven-plugin
1.0-alpha-2

  
generate-sources

  xdoclet


  

  
  

  

  

  


Note that I had to provide the 'destdir' attribute. Hope this can be default in 
the future.

Regards,
Dário


-Original Message-
From: Dário Luís Coneglian Oliveros 
Sent: terça-feira, 6 de dezembro de 2005 15:59
To: Maven Users List
Subject: RE: [m2] new ejbdoclet+webdoclet plugin announcement


Hi Ashley,

I´ve been having problem with the webdoclet plugin and can´t figure out how to 
get it working.
Still not sure which plugin to use (xdoclet or webdoclet) nor its respective 
repository.
Here´s a snippet of my POM:


  
org.codehaus.mojo
xdoclet-maven-plugin
1.0-alpha-2

  
generate-sources

  xdoclet


  

  

  


It seems that no action is taken when running 'mvn compile' even though it 
displays that task was executed. See output below:

[INFO] [xdoclet:xdoclet {execution: default}]
[INFO] Initializing DocletTasks!!!
[INFO] Executing tasks
[INFO] Executed tasks

Then I tried to change the POM by replacing the plugins section according to 
https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/webdoclet-maven-plugin/sample-ear-proj/trading-web/pom.xml.
 No success at all. This time the webdoclet-maven-plugin couldn´t be found.

Output
--
Reason: Unable to download the artifact from any repository
  org.codehaus.mojo:webdoclet-maven-plugin:1.0-beta-1:pom
--


Any tips ?

Thanks,
Dário

-Original Message-
From: Ashley Williams [mailto:[EMAIL PROTECTED]
Sent: sexta-feira, 25 de novembro de 2005 09:03
To: Maven Users List
Subject: Re: [m2] new ejbdoclet+webdoclet plugin announcement


Hi Marcel,

Reading between the lines I think you are asking if you need to have  
an ant
installation on your machine - the answer is no, since the plugin  
brings in
ant as one of its dependencies.

Some background: everybody has their own theory but mine is that  
maven intends
to replace all of the functionality of the ant tasks out there - and  
as a long term
goal I see no problem with that. However in the short term I see the  
following problems:

1. I need stuff that works well right now and can't wait for months  
and years. Even
when we do get maven replacements they won't have had the advantage  
of being
extensively user tested for quite some time.

2. Everybody knows ant syntax so familiarity is a big plus for  
somebody coming to maven
for the first time. I do wish that even when pure maven replacements  
come along they would
retain syntax compatibility with a reasonable subset of ant.

3. With the other ant integration stuff we already have in maven we  
don't have the
ability to easily map maven properties to ant attributes (correct me  
if I'm wrong). For me this
seemingly small point ends up being a real killer as I personally  
find it very troublesome
to supply values such as destDir="{project.output}/generated-sources/ 
main/java" (see I've
probably got that wrong and I'd have to look it up!!!) by hand and  
keep them all synchronized.

4. I create a temporary build file because I really can't get to  
grips with the slippery
ant api. Many methods are be private so I'd have to use reflection,  
also seeing problems
such as running tasks individually would work but run them as part of  
the same build
would fail. Glad to abandon that approach.

---

On balance I do look forward to the ant-maven integration plugins  
being retired
but can't see it happening any time soon.

- Ashley

On 25 Nov 2005, at 08:11, Marcel Dullaart wrote:

> Hi Ashley,
>
> sounds good, I'll try-out the webdoclet ASAP.
> Since you create an ant script on the fly, does that mean that  
> using your
> xdoclet plugin requires ant?
> Is that a good idea?
>
> Cheers,
> Marcel
> Ashley Williams <[EMAIL PROTECTED]> wrote on 25-11-2005 01:08:04:
>
>> I have placed new ejbdoclet and webdoclet plugins in the sandbox here
>> https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/
>>
>> And to see their use in a sample ear project try the following link:
>> https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/sample-ear- 
>> proj/
>>
>> ---
>>
>> Briefly they provide the following features:
>>
>> 1. Familiar ant xdoclet syntax can be used in configuration
>>
>> 2. Maven properties are automatically applied to the ant task - for
>> example
>> you don't have to specify attributes such as destDir="target/
>> generated-sources",
>> because the plugin applies a list of known mappings!
>>
>>

[m2] antlib problem, please help

2005-12-07 Thread Yuriy Ivanov
Please, help with a problem!

I have a problem with using antlib.

 

I am new in maven 2. I have maven 2.0 release.

 

I have a parent project pom and a child project pom. The parent project
doesn't have any sources and needed only for storing common info for
different children projects. 

 

I want to install/deploy my current build and then run it on other computers
without building.

 

I do mvn deploy from the root and it successful deploys both parent and
child projects to my local repository. Then I am trying to retrieve child
dependence  in my build.xml file.

 

  



  

  

  



  

 

After ant test

it prints 

 [artifact:dependencies] An error has occurred while processing the Maven
artifact tasks.

[artifact:dependencies]  Diagnosis:

[artifact:dependencies]

[artifact:dependencies] Unable to resolve artifact: Unable to get dependency

information: Unable to read the metadata file for artifact
'com.offshorecreations:gameserverframework:jar': POM 'com.offshorecreations:

gameplatform' not found in repository: Unable to download the artifact from
any repository

[artifact:dependencies]com.offshorecreations:gameplatform:0.0.1-SNAPSHOT:pom

[artifact:dependencies]

[artifact:dependencies] from the specified remote repositories:

[artifact:dependencies]   remote (http://ivanov:7070/repository2)

[artifact:dependencies]com.offshorecreations:gameserverframework:0.0.1-SNAPS
HOT:jar

[artifact:dependencies]

[artifact:dependencies] from the specified remote repositories:

[artifact:dependencies]   remote (http://ivanov:7070/repository2)

[artifact:dependencies] Path to dependency:

[artifact:dependencies] 1) unspecified:unspecified:jar:0.0

 

 

Then when I checked what is in the repository my parent project has
gameplatform.jar but it was gameplatform.pom actually. And there is no any
gameplatform.pom in that directory. Why gameplatform.jar has the content of
pom?

 

My child project linked to the parent project like this - 



com.offshorecreations

gameplatform

0.0.1-SNAPSHOT



 

Best Regards,

Yuri Ivanov

E-Mail:  
[EMAIL PROTECTED]

MSN:   [EMAIL PROTECTED]

ICQ: 147038971



Re: How to take back-up and restore the postgresql database?? using maven

2005-12-07 Thread Daniel Beland
Hi,


It is quite easy to backup a database using DBUnit in java. So I gues you
would have to create a plugin to best achieve it.

But the steps you will need to execute are:

create a new DatabaseConnection object. (note the use of the public schema
for postgresql when the tables are not in a specific schema)

Something like:
java.lang.Class.forName("org.postgresql.Driver");
java.sql.Connection jdbcConnection = DriverManager.getConnection
("jdbc:postgresql://localhost:5432/database", "postgres", "postgres");
DatabaseConnection databaseConnection = new
DatabaseConnection(jdbcConnection, "public");


Create the dataSet of the data to backup (can use complex queries to filter
data) and write it in a file. The XmlDataSet format is hard to read compared
to FlatXmlDataSet but is better to handle null values.

QueryDataSet dataSet = new QueryDataSet(databaseConnection);
dataSet.addTable("table1");
dataSet.addTable("table2");
dataSet.addTable("table3", "select * from table3 where xxx > 5000");

XmlDataSet.write(dataSet, new
FileOutputStream("C:/tmp/dataSet.xml"));


Then re-import the data when it is done

XmlDataSet dataSet2 = new XmlDataSet(new
FileInputStream("C:/tmp/dataSet.xml"));
DatabaseOperation.CLEAN_INSERT.execute(databaseConnection,
dataSet2);


Hope it can help

Daniel



On 12/7/05, Charles A <[EMAIL PROTECTED]> wrote:
>
>
> Hi All,
>
>   I'm using Hibernate and Postgresql DB in our project. Now my
> maven script creating .War file.
> But problem is i have to take back-up and delete my database
> before run the maven script and restore the back-up database, once new
> database has created.
> I have checked DBUNIT and ddlutils site, but i didn't get clear
> idea where to start? and  how to proceed?
>
> Thanks in advance
>
> Thanks & Regards
> Charles
>
>
>


[m1] changelog and ssh scm's (need a ssh client? How?)

2005-12-07 Thread Weston, Toby
Hi Folks,

Just wondering if someone could fill in the blanks when using
maven-changelog-plugin:report with a repository that uses ssh.

I've been trying;

(setting CVS_RSH=ssh first)


 
scm:cvs:extssh:[EMAIL PROTECTED]:/cvshome/:project


And


scm:cvs:ext:[EMAIL PROTECTED]:/cvshome/:project


But I don't have a ssh client on my Windows machine? Or do I? I can get this
working fine when its over pserver.

Also, where would I put my password? Otherwise, I don't want to use pserver
so can I setup CVS with ssh annonymous access? Would I want to?

Cheers,
Toby

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



Re: [m2] MavenProxy maven-proxy.rb Proximity

2005-12-07 Thread Cservenak Tamas
Hi Michael,

About proximity: it is a simple Proxy-like app that it COULD be used
with maven1 or 2... but the md5 issue is here also (removing by hand
partially downloaded or broken artifacts...).

Proximity currently simply "mirrors" the remote repository-s dirlayout...

~t~

Michael McCrann wrote:
> Has anyone had any experience with MavenProxy alternatives:
> maven-proxy.rb and Proximity; do they work with Maven 2 respositories?
>   


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