Re: sql server jars
Wayne Fay wrote: I'm not an official member/representative of Apache in any way so take this with a grain of salt... I think you'll need a Maven PMC member to look into things and potentially send this issue to [EMAIL PROTECTED] to get their approval etc and then assuming it all works out, it can be posted into the Maven repo. But even this seems like a lot of work -- why can't MSFT just release some things (like for example a SQL Server client connection library) under a license which freely permits redistribution rights, like so many other libraries/products already hosted by Maven? Even Sun has seen the "error" of their ways and is busy relicensing things under CDDL of late... I agree, it's a pain in the butt, I guess being a big company has it's drawbacks. Having to deal with legal is always a problem and indeed the EULA is filled with stuff in which they wave their responsibility more than anything else. However, can maven accept the terms or not? Srgjan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto create an assembly of dependencies
Hi Barrie, I searched the List but I still did not found a solution. Is there a way to make include the dependencies of the child modules? I have not found any option like that. And I don't want to move all dependencies from the child poms to the parent pom. Barrie Treloar wrote: Use dependencySets instead. Search the archives and you should find enough examples that I have posted to help solve your problems. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto create an assembly of dependencies
Search for posts by baerrach and assembly. I show step by step how I have a separate module called "-build" which creates an uber-archive of the dependencies and includes scripts for invoking the main class, etc. It also explains the difference between a dependency and a module. (briefly a module is just a convenient way for maven to package things so that you can invoke a command and have it run across those modules. Modules do not affect depenencies) On 10/1/06, Dennis Kempin <[EMAIL PROTECTED]> wrote: Hi Barrie, I searched the List but I still did not found a solution. Is there a way to make include the dependencies of the child modules? I have not found any option like that. And I don't want to move all dependencies from the child poms to the parent pom. Barrie Treloar wrote: > Use dependencySets instead. > Search the archives and you should find enough examples that I have > posted to help solve your problems. > - 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: Howto create an assembly of dependencies
On 10/1/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: Search for posts by baerrach and assembly. I show step by step how I have a separate module called "-build" which creates an uber-archive of the dependencies and includes scripts for invoking the main class, etc. It also explains the difference between a dependency and a module. (briefly a module is just a convenient way for maven to package things so that you can invoke a command and have it run across those modules. Modules do not affect depenencies) Once you figure it out, please consider contributing an example to the MAVENUSER wiki: http://docs.codehaus.org/display/MAVENUSER/Home -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: Patching plugins
I hope that you might be willing/able to share your patches back with the Maven community to improve the overall quality of these plugins for everyone... unless of course they've already been submitted and are simply waiting on a formal release. Wayne On 9/30/06, Andreas Guther <[EMAIL PROTECTED]> wrote: Maintain an internal repository and put there your own jars and plug-ins and whatever you have patched for your own purposes. To distinguish your own patched versions you can use the classifier marker in the dependency declaration. Andreas -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of jan_bar Sent: Saturday, September 30, 2006 1:11 PM To: users@maven.apache.org Subject: Re: Patching plugins Hi, sorry for misunderstanding. My question is about how I can share the patched plugins with my team. Most of the patches were already done by someone else, but there is no public SNAPSHOT build. Jan "Kenney Westerhof" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi, > > Not that I'm aware of, but it's basically the same as providing patches > for any open source project: check out the source, modify it, svn diff > patch > and attach the patch to the issue tracker so others can benefit. > > What part of the wiki is unclear? > > -- Kenney > > jan_bar wrote: > > Hi, > > > > I need to patch several plugins, but it seems too complicated to do. I > > already read > > http://docs.codehaus.org/display/MAVENUSER/Patching+Maven+Plugins, but I do > > not fully understand it. Are there any other resources about this topic? > > > > Thanks, Jan > > > > List of needed patches: > > * xmlbeans-maven-plugin - use xbeans-2.2 instead of xbeans-2.0 > > * maven-ejb-plugin - use 2.1-SNAPSHOT (EJB3 support) > > * xdoclet-maven-plugin - use xjavadoc-1.1-j5-v4, xjavadoc-1.1 chokes on Java > > 5 annotations > > > > > > > > > > - > > 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Packaging dependencies in expanded format
Please address the list directly. But I thought I already answer. Hower,you assembly descriptor looks troublesome since both input and ouput point to the same directory -D On 10/1/06, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]> wrote: Hi Dan. If you have a chance, may you please provide further guidance for me for this issue? Thanks so much. -- *From:* Morgovsky, Alexander (US - Glen Mills) *Sent:* Friday, September 29, 2006 11:28 AM *To:* 'dan tran' *Subject:* RE: Packaging dependencies in expanded format Hey. Thanks. jar false target target -- *From:* dan tran [mailto:[EMAIL PROTECTED] *Sent:* Friday, September 29, 2006 11:26 AM *To:* Morgovsky, Alexander (US - Glen Mills) *Subject:* Re: Packaging dependencies in expanded format show your assembly descriptor -D On 9/29/06, Morgovsky, Alexander (US - Glen Mills) < [EMAIL PROTECTED]> wrote: > > Thanks Dan. I got it work, but there is one more issue left. I want > to use the assembly plugin to generate a .jar file of all the contents in > /target. When I do this, the "target" folder is part of each path inside in > the resulting .jar. I tried using > false, but that did not help. > Is there a way to exclude the parent directory "target" from the resulting > paths inside the binary? Thanks a lot for the previous help as well. > > > This message (including any attachments) contains confidential > information intended for a specific individual and purpose, and is protected > by law. If you are not the intended recipient, you should delete this > message. > > Any disclosure, copying, or distribution of this message, or the taking > of any action based on it, is strictly prohibited. [v.E.1] >
RE: Excluding depencencies inherited from parent
Try http://www.nabble.com/Maven-2-pom.xml-tf2359171.html#a6572411 Thanks Lakshman > -Original Message- > From: Tom Hurley [mailto:[EMAIL PROTECTED] > Sent: Saturday, 30 September 2006 10:31 AM > To: Maven Users List > Subject: Excluding depencencies inherited from parent > > Hi: > > Is it possible to exclude dependencies inherited from a parent pom in a > child's pom. > > I have a multi level project where each project inherits dependencies from > its parent. However in one of the children, one of its dependencies is > causing some problems with one of the inherited dependencies. Is it possible > to exclude this? > > Any help would be greatly appreciated. > > Thanks, > > Tom. > > > - > 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]
Creating a shared Maven 2 repository
> Thanks Andreas. I would like to extend my question since I now know > what I need to do on the server side. I have a local Maven 2 > repository which has the necessary artifacts for the application. > What is the best way to export this local repository to the shared > Maven repository? Should I use a script like rsync? The alternative > would be to deploy each artifact individually, but this would take a > long time. I would like to know if there is some bulk method for > doing an export of the local repository to a shared repository. > Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
Re: How to get external properties values to maven
I had the same issue and wrote a simple plugin to actually read the file and make it part of a profile's properties using the Profile.setProperties(..) method. You can either do that or transfer the contents of the property file to your pom.xml using the syntax: Raghurajan Zarar Siddiqi On 9/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi All I'm trying to get some value from external properties file how can i get it For eg, I have one external property like "ext.properties" inthat i have property defined ad "myName=Raghurajan" Now i need to have this value in manifest file so i included as follows org.apache.maven.plugins maven-ear-plugin ${myname} true But when manifest is created i just see "Personname ${myname}" its not susituted i with the actual value... is there something wron i'm doing here ?? i have filtering as true for this property file in my resource section still its not working Can anyone advise please Thanks, Raghurajan Gurunathan - This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiproject Rector
Only one way to find out: try it out. I'm going to guess dependency but the bigger question might be why you are even using 1.0.2? On 9/30/06, Neeraj Bisht <[EMAIL PROTECTED]> wrote: hi all i am unable to get answer of my Question regarding maven 1.0.2 i want to know that while building the multiple project through reactor in maven 1.0.2 , is build on the bases of dependency based on each othere or its build in the sorted order Regards Neeraj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiproject Rector
It's based on dependencies specified by the projects. On 9/30/06, Neeraj Bisht <[EMAIL PROTECTED]> wrote: hi all i am unable to get answer of my Question regarding maven 1.0.2 i want to know that while building the multiple project through reactor in maven 1.0.2 , is build on the bases of dependency based on each othere or its build in the sorted order Regards Neeraj -- http://www.multitask.com.au/people/dion/ Rule of Acquisition #91: Hear all, trust nothing. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
VS: Re: test-jar - unknown artefact type
Thanks. I can't see any good reason for this though. It seems that this would be a pretty common use case - including test jars inside an ear. Ken -Alkuperäinen viesti- Lähettäjä: Tom Huybrechts [mailto:[EMAIL PROTECTED] Lähetetty: 29. syyskuuta 2006 16:16 Vastaanottaja: Maven Users List Aihe: Re: Re: test-jar - unknown artefact type The maven-ear-plugin only handles a limited number of artifact types, and test-jar is not one of them. See https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-ear-plugin/src/ma in/java/org/apache/maven/plugin/ear/EarModuleFactory.java Tom On 9/29/06, Ken Helmes <[EMAIL PROTECTED]> wrote: > > Tom, > > (This comes as a new post since I was unsubscribed. I am subscribed > again.) > > I am working almost exactly from the directions given here: > > http://maven.apache.org/guides/mini/guide-attached-tests.html > > module1 - t2_config (ear level) - multilevel build creates a > t2_config_logic-1.28-SNAPSHOT-tests.jar including its unit tests. > The jar level pom includes this and works. > > maven-jar-plugin > > > > > > > > test-jar > > > > > > > > module2 - t2_test (ear level) - multilevel build wants to include > t2_config > test-jar in its ear. > The ear packaging pom tries to include this: > > > > t2.1_0_0.t2_config > > t2_config_logic > > 1.28-SNAPSHOT > > test-jar > > > > Putting test results in a successful ear build, but the > t2_config-logic.-tests.jar is not included in the module2 ear. > > Regards, > Ken > > > >Can you give us some more context for the error ? > >Try giving your test-jar dependency a test > > >Tom > > >On 9/29/06, Ken Helmes <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > > > > > Has anyone run into this error when trying to use the "test-jar" type: > > > > > > > > "Embedded error: Unknown artefact type[test-jar]" > > > > > > > > - Maven 2.0.4 > > > > - The actual test-jar is created correctly and can be found > from > > the repository. It is when being used that the error comes: > > > > > > > > config > > > > config_logic > > > > 1.28-SNAPSHOT > > > > test-jar > > > > > > > > > > > > Ken Helmes > > > > > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]