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 <[email protected]> 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 <[email protected]> > 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 Pereira<[email protected]> > >> > >> > >>> > >>> 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 > >>> [email protected] > >>> (351) 96 275 68 58 > >>> > >>> > >> > >> > >> > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- João Miguel Pereira, PMP http://jpereira.eu http://www.linkedin.com/in/joaomiguelpereira [email protected] (351) 96 275 68 58
