Assemblies?

2009-07-09 Thread Jim Collings
I have a *.war file that is already constructed. All I want to do is Zip it together with some OpenSSO jars and an installation script. Problem is that I don't have a sufficient understanding of how the assembly file tools work. They don't seem to behave in a standard manner. Anyone know where I

Add a directory to an assembly?

2009-07-09 Thread Jim Collings
So what I want to produce is a zip file that contains: An installation script A directory with OpenSSO files for the app server. Possibly a directory with the app server itself. Problem: I can't, for the life of me, figure out how to copy and zip a directory into an assembly. I've been trying to

Assembly plugin Question

2009-07-17 Thread Jim Collings
So I have a project which builds several submodules but culminates in the construction of a war file out of those submodules. In the end, all I need is the war file. How can I run an assembly AFTER and ONLY AFTER everything else is done and exclusive of the submodules? Jim C.

Re: Assembly plugin Question

2009-07-17 Thread Jim Collings
So in other terms, I want to run an assembly in a specified phase for a specified module. On Fri, Jul 17, 2009 at 9:10 AM, Jim Collingsjlistn...@gmail.com wrote: So I have a project which builds several submodules but culminates in the construction of a war file out of those submodules.  In the

Re: Assembly plugin Question

2009-07-17 Thread Jim Collings
I figured a way to make this work. The way the project is arranged, there is the parent module... but there is also a submodule which generates the war and has all the others as dependencies. Put the assembly code in this module and it only runs when that module runs. :-) On Fri, Jul 17, 2009 at

Re: Assembly plugin Question

2009-07-19 Thread Jim Collings
Brian E. Fox wrote: Make a new module that builds your assembly and place a dependency on the war so that it will run last. Hey, that's a great idea! That will also allow me to separate the assembly from the rest, making is easier for other Dev's to understand. Thanks! :-) Jim C.

Prevent Install of Assembly

2009-07-23 Thread Jim Collings
So I have a sub module that has an assembly. It is associated with the package goal. Each time I run install though, the zip file created is placed in the repository. There is no need for this. How can I prevent it? Jim C. -

Re: Prevent Install of Assembly

2009-07-23 Thread Jim Collings
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html So the docs I found at the link above had this to say: When the assembly is created it will use the assemblyId as the artifact's classifier and will attach the created assembly to the project and will be uploaded into the

Re: Prevent Install of Assembly

2009-07-23 Thread Jim Collings
Didn't work. Neither did changing appendAssemblyId to false. Anybody have additional ideas? On Thu, Jul 23, 2009 at 11:25 AM, Jim Collingsjlistn...@gmail.com wrote: http://maven.apache.org/plugins/maven-assembly-plugin/usage.html So the docs I found at the link above had this to say: When

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, Jamesjn...@nds.com 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

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 KRkmoh@gmail.com wrote: set the attachfalse/attach in the plugin config.

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 Collingsjlistn...@gmail.com 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
Well, I tried this in the configuration section of the assembly but it didn't seem to change anything. skipAssemblyinstall/skipAssembly In the documentation it metions an expression: ${skipAssembly} What does this represent? Jim C. On Fri, Jul 24, 2009 at 12:16 PM, Dan Trandant...@gmail.com

SkipAssembly usage

2009-07-27 Thread Jim Collings
Found here: http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#skipAssembly I've been trying to use it to keep the assembly from building twice. Phase is set to package and goal is single. Typically the build is constructed by calling mvn clean install. Any Ideas? Jim C.

Re: Prevent Install of Assembly SOLVED

2009-07-28 Thread Jim Collings
Jim Collings wrote: OK, looks like the assembly building twice is an actual maven bug. On Fri, Jul 24, 2009 at 11:31 AM, Jim Collingsjlistn...@gmail.com 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

Need a separate jar from war in assembly

2009-08-28 Thread Jim Collings
So I have a jar that needs to be in an assembly but not in the war file. It's a jdbc driver for the appserver. How can I get it into the compressed archive but outside of the *.war file? - To unsubscribe, e-mail:

Assemblies - add driver jar to assembly archive

2009-08-30 Thread Jim Collings
So my container requires a jdbc driver for a resource and we are doing a scripted install of our war file. I need the jar but I need it outside the war file and inside the assembly zip file so that my installation script can put it in the container's classpath. Any suggestions as to how I might

Re: Need a separate jar from war in assembly

2009-08-31 Thread Jim Collings
The question in question was mine rather than Mr. Russo's. ;-) So I've created a SunWebserver module and added the jar as a dependency. What maven is producing now is nothing when I use the compile goal and a jar with manifest.mf, pom.xml, pom.properties etc. Still no jar though. Not even as a

Re: Need a separate jar from war in assembly

2009-08-31 Thread Jim Collings
BTW, I've tried this by using a dependancySet in the descriptor. This didn't work out. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Need a separate jar from war in assembly

2009-09-04 Thread Jim Collings
This is still a problem. Still not working. Clues anyone? On Mon, Aug 31, 2009 at 10:50 AM, Jim Collingsjlistn...@gmail.com wrote: BTW, I've tried this by using a dependancySet in the descriptor. This didn't work out. - To

Re: Need a separate jar from war in assembly

2009-09-04 Thread Jim Collings
  So, the recommended way is to have something like this, correct?   xx-weblogic (all code for web-application)   xx-webapp (the actual war, containing src/main/webapp, src/main/resources, but no src/main. Code is really included though .jar files in lib). I've created a xx-weblogic module.

Getting a jar from a repo directly to an assembly?

2009-09-04 Thread Jim Collings
Is there any way to do this? The jar in question is not part of my build but is part of my assembly as it needs to be installed into the web container by the installation script. I've had one suggestion so far that I should create a separate module for getting the jar but I'll need more details.

Re: Differences between app servers

2009-10-07 Thread Jim Collings
Not so much. Take Weblogic for example. You really can't deploy a Struts2 based WAR file to it because of library conflicts. It would be cool if I could specify somehow, somewhere that this is a Weblogic project. Then it would always build as an ear and would include a weblogic-application.xml

Porting maven generated war files and ear files to weblogic 10.3

2009-10-08 Thread Jim Collings
If we can figure this issue out, I'll see if I can't publish/post a maven-based solution in the Maven and Oracle forums so that others will not have to go through our pain. We are having all the usual problems regarding where Weblogic expects to find things and what exclusions need to be made in

Re: Differences between app servers

2009-10-08 Thread Jim Collings
But it still is incredibly annoying that I have to send the war file with all libraries to make it to work. Clarification? Are you installing the jar libraries as Oracle shared libraries or something? I'm totally gonna blow a gasket if I have to do that. I've created a new thread with more

Re: Porting maven generated war files and ear files to weblogic 10.3

2009-10-08 Thread Jim Collings
Exceptions when trying to deploy are as follows: INFO: ... initialized Struts-Spring integration successfully java.lang.Exception: Could not load servers/AdminServer/tmp//appmergegen_1254502686535_OurApp/war/WEB-INF/classes/com... I wonder if this might be related to staging but I've fiddled

Clue for setting assembly file name

2009-11-04 Thread Jim Collings
I want to append the subversion revision to the file name of the assembly but not the war file. I believe I already have access to the ${buildNumber} as it shows up in my manifest appropriately. Clue? Jim C. - To unsubscribe,

Execute a command cross-platform?

2009-11-04 Thread Jim Collings
Assume that a command exists on all OS's and is in the command execution path. 'svnversion', for example. Is there a plugin that will allow one to execute it? Jim C. - To unsubscribe, e-mail:

maven-build-number buggy

2009-11-04 Thread Jim Collings
It seems to me that the API only supports execution of the 'svn' command and it's various parameters and switches. The problem is that in subversion, a different executable command is used to retrieve a proper detailed version number of the local copy, that being 'svnversion'. Using this command,

How to prevent deployment on release

2009-12-10 Thread Jim Collings
The objective is to prevent maven's attempt at site deployment. Everything else, though, I want. Problem is that when I use the xml below, it ONLY installs. So I added goals with install: plugin groupIdorg.apache.maven.plugins/groupId

Re: How to prevent deployment on release

2009-12-10 Thread Jim Collings
-mojo.html#goals 2009/12/10 Jim Collings jlistn...@gmail.com: The objective is to prevent maven's attempt at site deployment. Everything else, though, I want. Problem is that when I use the xml below, it ONLY installs. So I added goals with install: plugin

Re: How to prevent deployment on release

2009-12-10 Thread Jim Collings
. There is an option for setting custom ones on the perform mojo: http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#releaseProfiles On Thu, 2009-12-10 at 09:25 -0500, Jim Collings wrote: The objective is to prevent maven's attempt at site deployment. Everything else, though, I want

Re: How to prevent deployment on release

2009-12-10 Thread Jim Collings
Aw crud. Thanks for your help guys but this turned out to be a case of developer headspace and timing. ;-) I forgot that I had to call maven:prepare first. My assumption at the time was that it would be called by maven:perform if it was required. Not the case though. Works great now. Jim C.

Deployment Properties file

2010-02-18 Thread Jim Collings
OK, so I've a project that uses two different containers. Sun Webserver 7 and Weblogic. I'm trying to set up an automated deployment that is easily configurable for the individual developers, cause they all have their stuff in different places. What I want is a properties file that the dev can

Re: Deployment Properties file

2010-02-18 Thread Jim Collings
all have their stuff in different places.  What I want is a properties file that the dev can stash in his home directory which will be read by Maven to establish installation parameters and JVM options for each Maybe use settings.xml in user home dir? Otherwise this calls for a profile.

Re: Deployment Properties file

2010-02-18 Thread Jim Collings
Profiles are used to just swap between configurations, run plugins that normally don't run, etc. Stuff you'd like to be able to switch on and off. If your goal is to just load properties, that seems like a good approach. Now if you had a properties file for each server type, then you'd

Deployment to Sun Weserver7 - Was: Deployment Properties file

2010-02-18 Thread Jim Collings
For those just starting this, I'm automating a deployment of a two-part project that has one part on Sun Webserver 7 and another on Weblogic. Each dev should be able to have his or her own special configuration so in the previous thread I figured out how to load stuff from a centralized properties

Re: Deployment Properties file

2010-02-18 Thread Jim Collings
On Thu, Feb 18, 2010 at 2:56 PM, Wayne Fay wayne...@gmail.com wrote: Profiles? Aren't those used for different platforms?  I think you mistake my meaning. We have a project that has two subcomponents, one of which runs on a full J2EE container, Weblogic and the other which runs on Sun

Re: Deployment to Sun Weserver7 - Was: Deployment Properties file

2010-02-19 Thread Jim Collings
Cargo supports Jetty and Tomcat, so it's not only for full Java EE containers no. /Anders OK, then I'll have a closer look. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail:

Re: Deployment to Sun Weserver7 - Was: Deployment Properties file

2010-02-19 Thread Jim Collings
This looks pretty complex... then again maybe I had better look again after I've had more sleep. ;-) On Fri, Feb 19, 2010 at 6:51 AM, Jim Collings jlistn...@gmail.com wrote: Cargo supports Jetty and Tomcat, so it's not only for full Java EE containers no. /Anders OK, then I'll have

Cargo Still Active Project?

2010-02-22 Thread Jim Collings
, 22 Feb 2010 06:04:25 -0800 (PST) Date: Mon, 22 Feb 2010 09:04:25 -0500 Message-ID: 8e3bcb0c1002220604i6a488740n48879cc0a2d6d...@mail.gmail.com Subject: subscribe From: Jim Collings jlistn...@gmail.com To: d...@cargo.codehaus.org Content-Type: text/plain; charset=ISO-8859-1 - Show quoted

Re: Cargo Still Active Project?

2010-02-22 Thread Jim Collings
Oh, wait. I think I found it. If you want to subscribe to one of the Cargo mailing lists, you have to go here: http://xircles.codehaus.org/projects/cargo/lists On Mon, Feb 22, 2010 at 9:16 AM, Jim Collings jlistn...@gmail.com wrote: I can't seem to subscribe to any of their lists

Tracking a logging/dependency problem

2010-03-29 Thread Jim Collings
Here is what I am seeing when I try to run mvn test: I've been poking around looking for someone else who might have been having similar problems but so far all I've been able to discover is that it is likely to be a transitive dependency problem with the logger. Could use some clues as to how I

Re: Tracking a logging/dependency problem

2010-03-29 Thread Jim Collings
Well, what I'm really looking for is an approach to figuring out the problem or if I can't get that, at least a better understanding of it. I'm not sure I understand your question, but in general, if you need to find a JAR containing an arbitrary class, you can use the Nexus search engine,