Can I use WAR Overlay before packaging?

2009-07-24 Thread Néstor Boscán
Hi Is there a way to use WAR Overlay before packaging?. I would like to access the overlaid JSP files from my project. Is this possible? Regards, Néstor Boscán

Maven Proguard How to obfuscate a war file?

2009-07-24 Thread Néstor Boscán
Hi I’ve checked the web searching how to obfuscate the .class files on a war file and I read that I have to set proguard on the process-classes goal. I’ve tried to do this but I don’t know how to specify to generate the obfuscated classes or jar file to the war file. Can somebody give me an exa

maven - building OSGi components? also - PAR files?

2009-07-24 Thread Zac Thompson
I'm still wrapping my head around OSGi in general, but when it comes to delivering the bundles there seem to be a number of options around. The Maven cookbook suggests the pax plugin from OPS4j: http://www.ops4j.org/projects/pax/construct/maven-pax-plugin/ Felix has the maven-bundle-plugin: http:

Serialized Object

2009-07-24 Thread Mike McGrady
I need to send, in order, a set of JAR files and, then, a Serializable object while also using messaging. So, essentially I need a setup like the following. Mike McGrady Principal Investigator AF081-028 AFRL SBIR Senior Engineer Topia Technology, Inc. 1.253.720.3365 mmcgr...@topiatechnolo

javadoc:aggregate Problem

2009-07-24 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I want to have javadoc-reports per module as well as one aggregated javadoc for the project. Is this possible at all with a single site:stage call? I tried http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html but it

Re: Properties conditional on phase?

2009-07-24 Thread Stephen Connolly
tell us a bit more about *why* you think you need to do this and we might be able to point you towards tge maven way Sent from my [rhymes with myPod] ;-) On 24 Jul 2009, at 18:17, "Mark H. Wood" wrote: I want to have a property defined only during certain phases -- I want to make certain th

Properties conditional on phase?

2009-07-24 Thread Mark H. Wood
I want to have a property defined only during certain phases -- I want to make certain that it doesn't leak out into the packaging, for example. Is there a way to do that? -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Friends don't let friends publish revisable-form documents. pgpG

RE: Primary and secondary dependencies

2009-07-24 Thread Jonathan Woods
I find the phrase "they are not transitive" a bit confusing here. Anyway, the way it should work is shown in the table at http://maven.apache.org/guides/introduction/introduction-to-dependency-mecha nism.html#Dependency_Scope, which shows that the scope of dependencies contributed by your 'provide

Re: Prevent Install of Assembly

2009-07-24 Thread Jim Collings
Well, I tried this in the section of the assembly but it didn't seem to change anything. install In the documentation it metions an expression: ${skipAssembly} What does this represent? Jim C. On Fri, Jul 24, 2009 at 12:16 PM, Dan Tran wrote: > http://maven.apache.org/plugins/maven-assembly-p

Re: Primary and secondary dependencies

2009-07-24 Thread monkeyden
Based on this definition, which comes from the maven docs, I should NOT get the "primary" dependency in my build, but what about the transitive dependencies? Do you suggest I should not be seeing this behavior when the primary dependency is provided? thanks again. provided provided dependencies

Re: Primary and secondary dependencies

2009-07-24 Thread Juven Xu
they are _transitive_ dependencies :) but you name them _secondary_ dependencies :) you would want to read this document: http://www.sonatype.com/books/maven-book/reference/pom-relationships-sect-project-dependencies.html On Sat, Jul 25, 2009 at 12:41 AM, monkeyden wrote: > > I have the scope o

Primary and secondary dependencies

2009-07-24 Thread monkeyden
I have the scope of some 3rd party dependencies set to "provided", but keep getting all the secondary dependencies in my build. I have 3 versions of ant, when I don't even need 1. How best to prevent secondary dependencies from being added to the build? Do the secondary dependencies inherit s

Re: release:prepare ignores system property on tests

2009-07-24 Thread Stephen Connolly
Put the properties inside a profile and activate the profile while preparing and performing the release. The forked maven lifecycle is not inheriting the properties, but it should inherit the profile -Stephen P.S. not sure if this is a bug, a side-effect, or by design 2009/7/24 Thor > Hi, com

Re: Prevent Install of Assembly

2009-07-24 Thread Jim Collings
OK, looks like the assembly building twice is an actual maven bug. On Fri, Jul 24, 2009 at 11:31 AM, Jim Collings wrote: > OK, thanks!  That keeps if from installing.  Now if I can just keep it > from building the assembly twice. I'll have it made. ;-/ > > Jim C. > > On Fri, Jul 24, 2009 at 11:14

Re: Migration existing java project to maven2

2009-07-24 Thread Juven Xu
1. central is the biggest, but not the only repo in this world, so you might be able to search out some other repos containing your required artifacts. 2. if 1) does not work, you can set up a local repo using Nexus ( http://nexus.sonatype.org), then deploy the jars into it manually. On Mon, Jul

Re: Prevent Install of Assembly

2009-07-24 Thread Dan Tran
http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#skipAssembly On Fri, Jul 24, 2009 at 8:31 AM, Jim Collings wrote: > OK, thanks!  That keeps if from installing.  Now if I can just keep it > from building the assembly twice. I'll have it made. ;-/ > > Jim C. > > On Fri, Jul 24

Re: Prevent Install of Assembly

2009-07-24 Thread Jim Collings
OK, thanks! That keeps if from installing. Now if I can just keep it from building the assembly twice. I'll have it made. ;-/ Jim C. On Fri, Jul 24, 2009 at 11:14 AM, Mohan KR wrote: > set the false in the plugin config. - To

Re: Disk upgrades on Central

2009-07-24 Thread Brian Fox
The maintenance has been completed and the repo never went offline thanks to Contegix. On Thu, Jul 23, 2009 at 10:34 PM, Brian Fox wrote: > We're scheduling a disk upgrade tonight at midnight pst. During this > time, the repository may be offline while data is moved to larger > disks. > > Thanks,

Re: [ANN] Maven Project Info Reports Plugin 2.1.2 Released

2009-07-24 Thread David C. Hicks
Maybe I misunderstand the meaning of some of this message. MPIR-160 is listed in the release notes. Does this mean it should be fixed in this release? I bumped the version of this plugin in my current project. It still seems to be fetching artifacts remotely. Dave Dennis Lundberg wrote: > The

RE: Prevent Install of Assembly

2009-07-24 Thread Mohan KR
set the false in the plugin config. Thanks, mohan kr -Original Message- From: Jim Collings [mailto:jlistn...@gmail.com] Sent: Friday, July 24, 2009 9:52 AM To: Maven Users List Subject: Re: Prevent Install of Assembly Yes. I've been reading this page. Can you be more specific? On Thu,

Help solve Internal error in the plugin manager?

2009-07-24 Thread David Delbecq
Hello, I received a strange error message from maven: [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.doxia:doxia-maven-plugin:1.1.1:render-books': Unable to load the mojo 'org.apache.maven.doxia:doxia-maven-plugin:1.1.1:render-books' in the plugin 'org.apache.maven.d

release:prepare ignores system property on tests

2009-07-24 Thread Thor
Hi, community I'm facing a really strange problem. When I run release:prepare on my multimodule project it crashes telling me that there are test failures. When i look into the surefire reports I find that my tests aren't capable of loading a resource file: ServiceResources.properties (java.io.File

Re: Prevent Install of Assembly

2009-07-24 Thread Jim Collings
Yes. I've been reading this page. Can you be more specific? On Thu, Jul 23, 2009 at 11:50 AM, Nord, James wrote: > http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#attach > >> -Original Message- >> From: Jim Collings [mailto:jlistn...@gmail.com] >> Sent: 23 July 2009

RE: property files management: best practices?

2009-07-24 Thread Jeudy, Guillaume
Hi, Make a separate module containing your test properties in src/main/resources. Then include this module as a test scope dependency to other modules that need them for tests. Guillaume Jeudy - Sr. Java developer Java and Open Source Application Development - Montreal Solutions Centre 1801,

Re: property files management: best practices?

2009-07-24 Thread Alexander Vaysberg
Hi, the maven can it make with many possibility, the first is separete the test configuration from production configuration. For this has maven /src/test/resources. Alexander Vaysberg florian.cavagn...@ingdirect.fr schrieb: Hi I know that by convention the property files of a java maven pr

websphere - was6 and mapping application roles to groups

2009-07-24 Thread Jim Sellers
Hi all. I'm using the was6-maven-plugin to successful deploy ears. However, when I do this the app roles to group mappings ("Security role to user/group mapping") get lost. Is there any way to configure the role to group mappings so that it's correctly mapped without having to go into the admin

property files management: best practices?

2009-07-24 Thread florian.cavagnini
Hi I know that by convention the property files of a java maven project are in src/main/resources. But in my case, I have a pom which have about 50 modules, each module is a jar project. Some property files are common, as connection to database, spring configuration files, etc... I want to have

Re: Packaging external jars used within the ejb...

2009-07-24 Thread Wayne Fay
> I have ejb that uses some external libraries, I have configured my pom.xml > for that and the jars are found during compile time and the ejb jar is > generated. What I want to do is to package the libs used by the ejb with the > ejb itself i.e. placing those lib under The Assembly plugin is your

RE: [ANN] Maven Reporting Implementation 2.0.4.2 Released

2009-07-24 Thread EJ Ciramella
Woah - a four digit build number? Is this now supported in maven 2 (wrt ranges and such)? -Original Message- From: Dennis Lundberg [mailto:denn...@apache.org] Sent: Fri 7/24/2009 2:54 AM To: annou...@maven.apache.org; Maven Users List Cc: Maven Developers List Subject: [ANN] Maven Repor

Re: Packaging external jars used within the ejb...

2009-07-24 Thread n000b
Bump! n000b wrote: > > Hi all, > > I have ejb that uses some external libraries, I have configured my pom.xml > for that and the jars are found during compile time and the ejb jar is > generated. What I want to do is to package the libs used by the ejb with > the ejb itself i.e. placing those

Re: copy\move plugin

2009-07-24 Thread Alexander Vaysberg
yes, but this possibility only for max 2 jars. I think in case of the Alexander, it is a solution. That the same as for EJB 2. Thanks. Alexander schrieb: Oh, I found assembly plugin suitable for my needs. Thanks lot to all! 2009/7/23 Alexander Vaysberg mailto:w...@vaisberg.de>> I think,