Re: Maven Plugin For Weblogic

2004-01-16 Thread James CE Johnson
[EMAIL PROTECTED] wrote: Hi, I was wondering, if there is a Maven Plugin for Weblogic? I have a plugin that does deployment using WebLogic's deployer. Email me off the list if you'd like a copy. Thanks in advance, -Conrad -

Question about scm:checkout-project goal

2004-02-04 Thread James CE Johnson
I'm interested in extending this to support Perforce but before I go down that road I have a question... If I do 'maven scm:checkout-project build-my-project' and the result of scm:checkout-project is to checkout a new project.xml and/or maven.xml and/or project.properties will the subsequent buil

Dependencies of dependent projects

2003-03-19 Thread James CE Johnson
Hey All, [If you get something like six copies of this pleas forgive me. I'm having a heck of a time posting today.] This one is whacky... I've got a project that has three sub-projects. We'll call them A, B and C just for grins. Now... Project A creates a jarfile (cleverly named A.jar) To crea

Re: Dependencies of dependent projects

2003-03-19 Thread James CE Johnson
> On Wed, 2003-03-19 at 14:06, James CE Johnson wrote: >> Hey All, >> >> [If you get something like six copies of this pleas forgive me. I'm >> having a heck of a time posting today.] >> >> This one is whacky... >> >> I've got a proje

Re: Dependencies of dependent projects

2003-03-19 Thread James CE Johnson
> > On Wed, 2003-03-19 at 14:55, James CE Johnson wrote: > > > > > Or is there a better way to handle that? Maybe I could use > > to push the files around and then list that directory's > > contents in order to build my manifest... > > I would do t

Re: Dependencies of dependent projects

2003-03-19 Thread James CE Johnson
I've nearly got it solved. Just one final sticking point... First I borrowed some code from deploy:copy-deps to create jar_copier:copy_jars value="${listOfJ

Reactor and dependencies...

2003-03-24 Thread James CE Johnson
Heya, I've got two sub-projects A & B. A creates a jarfile of deployable EJBs. I need to deploy those before I can deploy the warfile created by B. [A has a JMS queue that B submits things into] In the parent directory of A & B I have a maven.xml that invokes the reactor: B doesn'

RE: Reactor and dependencies...

2003-03-24 Thread James CE Johnson
. Maybe I should have B/maven.xml use the maven:maven tag to jump over to A's project and invoke its deploy goal... > > Aslak > >> -Original Message- >> From: James CE Johnson [mailto:[EMAIL PROTECTED] >> Sent: 24. mars 2003 17:39 >> To: [EMAIL PROTECTE

Sharing goals between maven.xml files w/o a plugin

2003-03-26 Thread James CE Johnson
Heya, I've got a project with a half-dozen sub-projects. Several of those (not all) need to share some common custom goals. I don't really want to create a plugin because the goals are specific to this one project. Is there another way to make shared goals available? Thanks, J -

RE: Sharing goals between maven.xml files w/o a plugin

2003-03-26 Thread James CE Johnson
" the global plugin space with 'em. > Eric > > -----Original Message- > From: James CE Johnson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 26, 2003 8:52 AM > To: [EMAIL PROTECTED] > Subject: Sharing goals between maven.xml files w/o a plugin > > >

Re: Sharing goals between maven.xml files w/o a plugin

2003-03-26 Thread James CE Johnson
cing on the cake! In case I haven't said it lately: You guys Rock! > >> -Vincent >> >> Quoting James CE Johnson <[EMAIL PROTECTED]>: >> >> > Heya, >> > >> > I've got a project with a half-dozen sub-projects. Several of those &

Re: Sharing goals between maven.xml files w/o a plugin

2003-03-26 Thread James CE Johnson
> allow > you to >> share common custom goals. >> >> -Vincent >> >> Quoting James CE Johnson <[EMAIL PROTECTED]>: >> >> > Heya, >> > >> > I've got a project with a half-dozen sub-projects. Several of those >> (not

Re: Example project.xml for J2EE project

2003-03-27 Thread James CE Johnson
Hey Chad, At http://www.tragus.org/~jcej/maven-examples/ are project.xml and maven.xml files that build both an ear and a war. In the top-level directory are files that are used in the subprojects. The 'service' subproject builds an ear of EJBs. The 'view' subproject builds a war for a webapp

Having a problem with uberjar

2003-05-29 Thread James CE Johnson
This is on an older version of Beta-9 pulled from CVS... I have an application that is one java file, a log4j.properties and a jndi.properties. That all gets compiled into a jar file (My.jar). That jar plus a number of dependencies are then uberjar'd into a single massive executable jar. Now, wh

b10 installation question

2003-07-11 Thread James CE Johnson
Hi all, After quite some time on b9 I'm making the jump to b10. I notice that after bootstrapping I have things in ~/.maven. I understand this is to support the concept of a shared (read-only) installation. That's exactly what I need to create. Is it enough to simply set maven.repo.local to /usr/l

Re: 1.0 beta 10 : Repositories

2003-07-15 Thread James CE Johnson
Jason van Zyl wrote: On Tue, 2003-07-15 at 15:39, Andy Jefferson wrote: Trying to use the Beta 10 and having problems with repositories. I've changed nothing in the configs and if I now do a 'maven clean' I get failure to download for all dependencies. I have maven installed on Linux in /usr/

Getting current date/time?

2003-07-16 Thread James CE Johnson
Hey all, Is there any way for my maven.xml to fetch the current date/time so that I can subsequently write (using

Re: RE : Getting current date/time?

2003-07-16 Thread James CE Johnson
> You can use (which is an ant tag). It set 2 properties DSTAMP > and TSTAMP with date and time (see ant documentation for more details) > > Ex: > > > Great! That's exactly what I was after and I just couldn't find it. > > > -----Message d'origin

Re: b10 problem compiling (resources:copy missing)

2003-07-22 Thread James CE Johnson
I ran into this yesterday. It turned out that my project.xml was missing its tag. I inserted at the end and all is well. YMMV > There really is a resources:copy dynamic tag defined, it's in maven.jar > in a file called driver.jelly. > > Can you post the result of running 'maven -e '?? > -- > dI

Re: couple of questions

2003-07-29 Thread James CE Johnson
Joshua Spiewak wrote: Hi there, I just started using Maven and had a couple of questions. I am using version 1.0-beta-10 on Windows XP with Cygwin tools and Emacs (with JDEE). The first question is why are the plugins and local repository created in C:\Documents and Settings\Joshua\.maven wh

Re: Fixes and changes for maven 1.0

2003-07-31 Thread James CE Johnson
> I can't seem to find the reactor Is that the problem where some funky sequence of reactor usage causes maven to forget what goals it has? I agree that's critical. Most of my reactor-based goals now have to a new maven instance in order for the build to proceed :-( > & console problems in jira,

Re: install not working with reactor

2003-07-31 Thread James CE Johnson
I think this is a known problem, dunno if it's in jira. I know I've experienced something very similar if not out right identical and I *think* there was some discussion of it here a week or two ago. As I recall it has something to do with the goals getting "lost" when the reactor is invoked th

I clearly don't understand artifact:install

2003-08-01 Thread James CE Johnson
In my maven.xml I do this: And maven does this: Copying: from '/home/jcej/projects/Extranet/PortfolioAnalytics/security/target/Extranet-PortfolioAnalytics-Security-2.0-client.jar' to: '/home/jcej/tools/lib/Extranet/jars/Extranet-PortfolioAnalytics-Security-2.0.jar' Why, oh why, did it drop

Re: maven & mockdoclet

2003-08-25 Thread James CE Johnson
> Sorry, I should be more precise: > Mockdoclet is part of XDoclet. They provide a XDoclet plugin for maven > and I'm just wondering if somebody ever worked with the mockobject part > of it. This is what we've done: Generating Mock Object Source

Re: Usability issues & general ranting

2003-09-10 Thread James CE Johnson
> Sounds like a good idea. > > Volunteering to write it? I once wrote a perl script to convert a maven b4 repository to b5 format. It should still work and I'm certainly happy to donate it (again) to the cause :-) > -- > dIon Gillard, Multitask Consulting > Blog: http://blogs.codehaus.org/pe

Re: Could a goal defined in maven.xml overwrite a plugin's goal?

2003-09-10 Thread James CE Johnson
> Why not preGoal on the distribution goal and set the extra things up. -- That might work for some things but I had one case (can't remember it now) where I needed to entirely replace the existing goal's functionality with my own. Due to other goals' prerequisites I couldn't just create a new goa

Non-artifact dependencies

2003-10-27 Thread James CE Johnson
Forgive me if this has come up before... I've got a project with many sub-projects. Most of them create a jar file that others can depend upon. However, I have two "special" sub-projects: 'schema' and 'domainData'. My 'schema' subproject doesn't depend on anything at all and has only two useful

Making a massive earfile...

2003-10-29 Thread James CE Johnson
I'm looking for some advice on the best way to make a single massive ear file for the app I'm building. Currently, my project consists of: - one jar of plain old objects - two jars of EJBs - one war of the webapp bits Each of these four things are subprojects within my larger project. I want to

Re: Making a massive earfile...

2003-10-30 Thread James CE Johnson
lity in bundling a JAR for project A but not for project B > or the other way round. > > -) It is possible to define a JAR more than once and possibly with > different version :-( > > > Cheers, > > Siegfried Goeschl > > > On 29 Oct 2003 at 16:54, James CE

Using jelly script in project.xml

2003-10-30 Thread James CE Johnson
This bit from project.xml: ${dep.id} ${dep.groupId} ${dep.version} And this bit from maven.xml: Doesn't produce what I was hoping for. That is, I want this project's project.xml to include

Re: Using jelly script in project.xml

2003-10-30 Thread James CE Johnson
d on the POM similar > to that what MEVENIDE does (or should do) > > Thanks in advance, > > Siegfried Goeschl > > On 30 Oct 2003 at 8:56, James CE Johnson wrote: > >> This bit from project.xml: >> >> >> >> >projectDesc

Re: Using jelly script in project.xml

2003-10-30 Thread James CE Johnson
> The project.xml file isn't executed as a jelly script. It's treated as > an expression. Drat. I guess that also explains why I can't set properties/variables in maven.xml and have them evaluated in project.xml: maven.xml: ... project.xml: foo ${foo.version} ---

Re: Using jelly script in project.xml

2003-10-31 Thread James CE Johnson
properties are available at interpolation >> time. -- >>dIon Gillard, Multitask Consulting >>Blog: http://blogs.codehaus.org/people/dion/ >>Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc >> >> >>Stephen McConnell <[EMAIL PROTECTED]> wr

Classloader issue?

2007-04-03 Thread James CE Johnson
I'm writting a MoJo that uses a utility Iwhich, in turn, uses Spring. When I invoke the utility (with the correct classpath) from the command line everything works fine. When I invoke the MoJo from Eclipse everything still works fine. However, when I invoke the MoJo from mvn it tells me: org.sprin

Re: Using containing project's classpath within mojo...

2007-04-03 Thread James CE Johnson
James, Johan, Please copy me on this if it goes off-list. I'm trying to write a MoJo that uses a utility that uses Spring and I'm getting what I think is a classloader issue. If you solve it for your case I suspect I can use the same solution for my own issue: http://rafb.net/p/fOEW5I52.html Than

Re: Classloader issue?

2007-04-04 Thread James CE Johnson
ution from within Eclipse. Here we see that all of the dependencies are in the system classloader. Perhaps Spring is looking to the (mostly empty) system classloader in the case where it fails? Any insights would be appreciated. Thanks! James > On 4/3/07, James CE Johnson <[EMAIL PROTEC

Re: Classloader issue? -- Solved

2007-04-04 Thread James CE Johnson
ect's classpath I also used ${project.runtimeClasspathElements} to import that list. The relevant solution bits are shown at: http://rafb.net/p/TmK9TL26.html Thanks for the pointers Jerome. I would still be beating my head on the desk without your help! > On 4/4/07, James CE Johnson <

Re: Classloader issue? -- Solved

2007-04-05 Thread James CE Johnson
main.execute(new String[] { inputDirectory }); } > > Thanks for the pointers Jerome. I would still be beating my head on the > desk without your help! > >> On 4/4/07, James CE Johnson <[EMAIL PROTECTED]> wrote: >>> Hi Jerome, >>> >>> My latest n

Writting mojos in Groovy?

2007-04-11 Thread James CE Johnson
Can anybody point me to a how-to or recipe or good blog entry on creating a mojo in groovy? Thanks, James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Writting mojos in Groovy?

2007-04-11 Thread James CE Johnson
te it by hand or (b) tell it to generate it from MyMojo.groovy. > James CE Johnson wrote: >> Can anybody point me to a how-to or recipe or good blog entry on >> creating a mojo in groovy? >> >> Thanks, >> James > > You're in luck! > The Groovy Ma

Re: Writting mojos in Groovy?

2007-04-12 Thread James CE Johnson
Maven+Mojos > Hope that is some help. > > Thanks, > Martin. > > > - Original message - > From: "Dennis Lundberg" <[EMAIL PROTECTED]> > To: "Maven Users List" <[EMAIL PROTECTED]> > Date: Thu, 12 Apr 2007 21:17:10 +0200 > Subje

Oddness with the site plugin

2007-04-24 Thread James CE Johnson
Apparently I have something of an odd use-case in the way I'm structuring my projects. I'm open to advice... I have the following project structure: .../util/pom.xml .../util/build/pom.xml .../util/lang/pom.xml .../util/io/pom.xml .../util/misc/pom.xml .../util/build/pom.xml defines my common dep

Re: Oddness with the site plugin

2007-04-25 Thread James CE Johnson
hat, I'm a little surprised that maven didn't throw an exception because I had, effectively, project A with child (module) B which had parent C. > James CE Johnson wrote: >> Apparently I have something of an odd use-case in the way I'm >> structuring my projects. I&#x

How to invoke a plugin from within a plugin?

2007-03-20 Thread James CE Johnson
To be fair, my question is based on an implementation I have in mind for a more abstract problem. If you will indulge me a moment I'll describe that issue and maybe you will tell me my implementation is all wrong... Consider the hypothetical project: myProject myProject/appserver myProject/d

Oddness with release:prepare

2009-01-30 Thread James CE Johnson
(Forgive me if this is a double-post. I had to re-subscribe to the list.) This is with maven 2.0.9 on Solaris 10 with Java 1.6.0_11 I have a project laid out thusly: myproject/pom.xml myproject/myproject-pom/pom.xml myproject/myproject-api/pom.xml myproject/myproject-common/pom.xml myproject/myp

Re: Oddness with release:prepare

2009-01-30 Thread James CE Johnson
You nailed it. That box has the 1.5.3 svn client. So I can leave my workaround in place until SVN gets fixed or roll back to 1.4. The server is still 1.4.x so rolling back the client wouldn't be any big thing. Thanks for the quick info! > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > What

Oddness with release:prepare

2009-02-02 Thread James CE Johnson
This is with maven 2.0.9 on Solaris 10 with Java 1.6.0_11 I have a project laid out thusly: myproject/pom.xml myproject/myproject-pom/pom.xml myproject/myproject-api/pom.xml myproject/myproject-common/pom.xml myproject/myproject-console/pom.xml The top-level pom is a minimal parent pom whose onl