Re: Is maven so inflexible?

2009-04-21 Thread João Pereira
Here's the scenario

I have a the Alfresco SDK which depends on a lot of libraries, some of them
I can find in the standard repos, others I don't. I wish  that the SDK was
made of only of one Jar wit no dependencies. I know that someone  have their
public repo with alfresco sdk, but I need different versions which could not
be found on their repo.

Now, my aproach is to have the jars, which I cannot find in any public repo,
deployed to my own repo then use them as dependencies... But I'm lazzy and
this consumes time :)

Regarding the wsdls, I'll put them in a jar as suggested.


thanks for your help, and I understand that Maven dependency management is
the correct one... I used Ant for +4 years and I know the problems...

thank you

On Tue, Apr 21, 2009 at 2:48 AM, Dan Tran dant...@gmail.com wrote:

 can you use jaxws-maven-plugin to manage your wsdl files?

 -D

 On Mon, Apr 20, 2009 at 6:36 PM, David C. Hicks dhi...@i-hicks.org
 wrote:
  Are the jars part of the project, or are they artifacts that you depend
 on?
   That seems to be a large part of what you may need to change.  If the
 jars
  are artifacts that can be found in a standard repository, just mark them
 up
  as dependencies.  If they are generated by your project, they should end
 up
  in the reactor when you build.  Why you would have them in a directory in
  your project is something of a mystery to me, but I suppose there are
 always
  exceptions to the rule.
 
  Properties files can easily be put into the src/main/resources directory
 and
  will end up in the classpath by default.  I'm afraid I can't speak for
 the
  WSDL.
 
  Dave
 
 
  On 4/20/09 9:11 PM, João Pereira wrote:
 
  2009/4/21 João Pereirajoaomiguel.pere...@gmail.com
 
 
 
  Hello,
  Fisrt I used to love maven, at this moment I'm not sure.
 
  I have a folder with a bunch of jars+wsdls+properties that need to be
 in
  the class path for my project compile in maven. How I do that without
  having
  to deploy each jar to the local repository or a remote repository? How
 do
  I
  deal with the wsdl files?
 
 
 
  --
  João Miguel Pereira, PMP
  http://jpereira.eu
  http://www.linkedin.com/in/joaomiguelpereira
  joaomiguel.pere...@gmail.com
  (351) 96 275 68 58
 
 
 
 
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-- 
João Miguel Pereira, PMP
http://jpereira.eu
http://www.linkedin.com/in/joaomiguelpereira
joaomiguel.pere...@gmail.com
(351) 96 275 68 58


Re: Is maven so inflexible?

2009-04-21 Thread David C. Hicks
I think the maven-dependency-plugin is probably what you need to use, in 
this case.



On 4/21/09 5:52 AM, João Pereira wrote:

Here's the scenario

I have a the Alfresco SDK which depends on a lot of libraries, some of them
I can find in the standard repos, others I don't. I wish  that the SDK was
made of only of one Jar wit no dependencies. I know that someone  have their
public repo with alfresco sdk, but I need different versions which could not
be found on their repo.

Now, my aproach is to have the jars, which I cannot find in any public repo,
deployed to my own repo then use them as dependencies... But I'm lazzy and
this consumes time :)

Regarding the wsdls, I'll put them in a jar as suggested.


thanks for your help, and I understand that Maven dependency management is
the correct one... I used Ant for +4 years and I know the problems...

thank you

On Tue, Apr 21, 2009 at 2:48 AM, Dan Trandant...@gmail.com  wrote:

   

can you use jaxws-maven-plugin to manage your wsdl files?

-D

On Mon, Apr 20, 2009 at 6:36 PM, David C. Hicksdhi...@i-hicks.org
wrote:
 

Are the jars part of the project, or are they artifacts that you depend
   

on?
 

  That seems to be a large part of what you may need to change.  If the
   

jars
 

are artifacts that can be found in a standard repository, just mark them
   

up
 

as dependencies.  If they are generated by your project, they should end
   

up
 

in the reactor when you build.  Why you would have them in a directory in
your project is something of a mystery to me, but I suppose there are
   

always
 

exceptions to the rule.

Properties files can easily be put into the src/main/resources directory
   

and
 

will end up in the classpath by default.  I'm afraid I can't speak for
   

the
 

WSDL.

Dave


On 4/20/09 9:11 PM, João Pereira wrote:
   

2009/4/21 João Pereirajoaomiguel.pere...@gmail.com


 

Hello,
Fisrt I used to love maven, at this moment I'm not sure.

I have a folder with a bunch of jars+wsdls+properties that need to be
   

in
 

the class path for my project compile in maven. How I do that without
having
to deploy each jar to the local repository or a remote repository? How
   

do
 

I
deal with the wsdl files?



--
João Miguel Pereira, PMP
http://jpereira.eu
http://www.linkedin.com/in/joaomiguelpereira
joaomiguel.pere...@gmail.com
(351) 96 275 68 58


   



 

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


 



   


Re: Is maven so inflexible?

2009-04-20 Thread João Pereira
2009/4/21 João Pereira joaomiguel.pere...@gmail.com

 Hello,
 Fisrt I used to love maven, at this moment I'm not sure.

 I have a folder with a bunch of jars+wsdls+properties that need to be in
 the class path for my project compile in maven. How I do that without having
 to deploy each jar to the local repository or a remote repository? How do I
 deal with the wsdl files?



 --
 João Miguel Pereira, PMP
 http://jpereira.eu
 http://www.linkedin.com/in/joaomiguelpereira
 joaomiguel.pere...@gmail.com
 (351) 96 275 68 58




-- 
João Miguel Pereira, PMP
http://jpereira.eu
http://www.linkedin.com/in/joaomiguelpereira
joaomiguel.pere...@gmail.com
(351) 96 275 68 58


RE: Is maven so inflexible?

2009-04-20 Thread Bryan Loofbourrow

 Fisrt I used to love maven, at this moment I'm not sure.

 I have a folder with a bunch of jars+wsdls+properties that need to be in
 the class path for my project compile in maven. How I do that without having
 to deploy each jar to the local repository or a remote repository? 

IMO, you don't. The best thing about Maven is that it brings order to the chaos 
that came before it, with respect to orderly management of dependencies. The 
existence of free-floating jars in a folder somewhere is exactly the sort of 
chaos that Maven was designed to bring order to. Deploy them to a repository.

 How do I
 deal with the wsdl files?

Put them in a jar and deploy them to a repository? Seriously. If you need them 
to compile your project, then your project depends on them. Maven provides ways 
to declare and manage such a relationship. Why not use it, rather than seek to 
bypass it?




 --
 João Miguel Pereira, PMP
 http://jpereira.eu
 http://www.linkedin.com/in/joaomiguelpereira
 joaomiguel.pere...@gmail.com
 (351) 96 275 68 58




-- 
João Miguel Pereira, PMP
http://jpereira.eu
http://www.linkedin.com/in/joaomiguelpereira
joaomiguel.pere...@gmail.com
(351) 96 275 68 58

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Is maven so inflexible?

2009-04-20 Thread David C. Hicks
Are the jars part of the project, or are they artifacts that you depend 
on?  That seems to be a large part of what you may need to change.  If 
the jars are artifacts that can be found in a standard repository, just 
mark them up as dependencies.  If they are generated by your project, 
they should end up in the reactor when you build.  Why you would have 
them in a directory in your project is something of a mystery to me, but 
I suppose there are always exceptions to the rule.


Properties files can easily be put into the src/main/resources directory 
and will end up in the classpath by default.  I'm afraid I can't speak 
for the WSDL.


Dave


On 4/20/09 9:11 PM, João Pereira wrote:

2009/4/21 João Pereirajoaomiguel.pere...@gmail.com

   

Hello,
Fisrt I used to love maven, at this moment I'm not sure.

I have a folder with a bunch of jars+wsdls+properties that need to be in
the class path for my project compile in maven. How I do that without having
to deploy each jar to the local repository or a remote repository? How do I
deal with the wsdl files?



--
João Miguel Pereira, PMP
http://jpereira.eu
http://www.linkedin.com/in/joaomiguelpereira
joaomiguel.pere...@gmail.com
(351) 96 275 68 58

 




   


Re: Is maven so inflexible?

2009-04-20 Thread Dan Tran
can you use jaxws-maven-plugin to manage your wsdl files?

-D

On Mon, Apr 20, 2009 at 6:36 PM, David C. Hicks dhi...@i-hicks.org wrote:
 Are the jars part of the project, or are they artifacts that you depend on?
  That seems to be a large part of what you may need to change.  If the jars
 are artifacts that can be found in a standard repository, just mark them up
 as dependencies.  If they are generated by your project, they should end up
 in the reactor when you build.  Why you would have them in a directory in
 your project is something of a mystery to me, but I suppose there are always
 exceptions to the rule.

 Properties files can easily be put into the src/main/resources directory and
 will end up in the classpath by default.  I'm afraid I can't speak for the
 WSDL.

 Dave


 On 4/20/09 9:11 PM, João Pereira wrote:

 2009/4/21 João Pereirajoaomiguel.pere...@gmail.com



 Hello,
 Fisrt I used to love maven, at this moment I'm not sure.

 I have a folder with a bunch of jars+wsdls+properties that need to be in
 the class path for my project compile in maven. How I do that without
 having
 to deploy each jar to the local repository or a remote repository? How do
 I
 deal with the wsdl files?



 --
 João Miguel Pereira, PMP
 http://jpereira.eu
 http://www.linkedin.com/in/joaomiguelpereira
 joaomiguel.pere...@gmail.com
 (351) 96 275 68 58








-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org