You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Stephane Nicoll <sn...@kiala.com> on 2004/01/16 10:22:48 UTC

cactus plugin for maven broken?

Ooops, forgot the stacktrace in -X mode, see attach


On Fri, 2004-01-16 at 10:20, Stephane Nicoll wrote:
> Hello list,
> 
> I just checked cactus CVS head, build the new plugin and tried to run
> the sample EJB. I have exactly the same error. Anybody can tell me where
> I should look like (apparently it's a problem with my maven
> installation).
> 
> I use maven 1.0RC1 and the ear plugin 1.3
> 
> Regards,
> 
> Stephane
> 
> On Wed, 2004-01-14 at 08:22, Stephane Nicoll wrote:
> > All,
> > 
> > As you can see below I was trying to use the latest version of cactus
> > plugin for maven (the CVS head). I got fancy errors while trying to 
> > build the ear.
> > 
> > Vincent, I tried with the sample ejb below and I got exactly the same 
> > error. Is there something wrong with the plugin or what?
> > 
> > java:compile:
> >     [echo] Compiling to
> > /home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb/target/classes
> > 
> > java:jar-resources:
> > 
> > test:prepare-filesystem:
> > 
> > test:test-resources:
> > 
> > test:compile:
> >     [echo] No test source files to compile.
> > 
> > test:test:
> >     [echo] No tests to run.
> > 
> > 
> > ejb:ejb:
> >     [echo] Building ejb maven-cactus-sample-ejb-1.0
> >     [jar] Building jar:
> > /home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb/target/maven-cactus-sample-ejb-1.0.jar
> > 
> >     [ear] error while reading original manifest: Is a directory
> >     [ear] Building ear:
> > /home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb
> > 
> > BUILD FAILED
> > File...... file:/home/snicoll/.maven/plugins/cactus-maven-1.6dev/
> > Element... ant:ear
> > Line...... 764
> > Column.... 53
> > Problem creating ear:
> > /home/snicoll/workspace/CACTUS/jakarta-cactus/integration/maven/samples/ejb (Is a directory) (and the archive is probably corrupt but I could not delete it)
> > Total time: 7 seconds
> > Finished at: Wed Jan 14 08:19:56 CET 2004
> > 
> > I have maven RC1 and the ear plugin version 1.3
> > 
> > I didn't change anything on my local copy of the CVS repository.
> > 
> > Any idea?
> > 
> > Regards,
> > 
> > Stephane
> > 
> > 
> > On Tue, 2004-01-13 at 23:37, Vincent Massol wrote:
> > > Hi Stephane,
> > > 
> > > Here it is:
> > > 
> > > http://cvs.apache.org/viewcvs.cgi/jakarta-cactus/integration/maven/sampl
> > > es/ejb/
> > > 
> > > I don't see how the JBoss local interfaces could be a problem with
> > > Cactus.
> > > 
> > > Thanks
> > > -Vincent
> > > 
> > > > -----Original Message-----
> > > > From: Stephane Nicoll [mailto:snicoll@kiala.com]
> > > > Sent: 13 January 2004 23:24
> > > > To: Vincent Massol; cactus-dev@jakarta.apache.org
> > > > Subject: RE: DO NOT REPLY [Bug 25983] - jboss port is not changed if
> > > > cactus.port is used
> > > > 
> > > > 
> > > > Vincent,
> > > > 
> > > > I checked CVS and it uses ant, not maven (I mean the cactus maven
> > > plugin
> > > > wich
> > > > is currently in CVS). Any maven sample somewhere?
> > > > 
> > > > Also I am fighting with JBoss and local interfaces. Seems I am unable
> > > to
> > > > use
> > > > them in my cactus tests. Any info?
> > > > 
> > > > Regards,
> > > > 
> > > > Stephane
> > > > 
> > > > -----Original Message-----
> > > > From:	Vincent Massol [mailto:vmassol@pivolis.com]
> > > > Sent:	Mon 1/12/2004 10:30
> > > > To:	'Cactus Developers List'
> > > > Cc:	Stephane Nicoll
> > > > Subject:	RE: DO NOT REPLY [Bug 25983]  -     jboss port is not
> > > changed
> > > > if cactus.port is used
> > > > Hi Stephane,
> > > > 
> > > > There is an ejb sample in CVS. It's in samples/ejb. Could you try it
> > > and
> > > > see if it works for you?
> > > > 
> > > > For the full cycle, it must be because I've changed something
> > > yesterday.
> > > > I'll have a look later in the week.
> > > > 
> > > > Thanks
> > > > -Vincent
> > > > 
> > > > > -----Original Message-----
> > > > > From: Stephane Nicoll [mailto:snicoll@kiala.com]
> > > > > Sent: 12 January 2004 10:05
> > > > > To: Vincent Massol
> > > > > Subject: RE: DO NOT REPLY [Bug 25983] - jboss port is not changed if
> > > > > cactus.port is used
> > > > >
> > > > > Vincent,
> > > > >
> > > > > Using 1.6dev I am not able to cactify my ear anymore. My plugin was
> > > > the
> > > > > original one (maven-cactus-plugin-3.1) patched with a patch I found
> > > on
> > > > > JIRA
> > > > > to support EAR.
> > > > >
> > > > > Well can you quickly tell me which properties I need to set to be
> > > able
> > > > to
> > > > > generate the cactus ear?
> > > > >
> > > > > Here's the error I got:
> > > > >
> > > > > ejb:ejb:
> > > > >     [echo] Building ejb kserver-b2b-inbound-1.10.2
> > > > >
> > > > >     [ear] error while reading original manifest: Is a directory
> > > > >     [ear] Building ear:
> > > > > /home/snicoll/workspace/KSERVER/kserver/modules/b2b-inbound
> > > > >
> > > > > BUILD FAILED
> > > > > File...... file:/home/snicoll/.maven/plugins/cactus-maven-1.6dev/
> > > > > Element... ant:ear
> > > > > Line...... 764
> > > > > Column.... 53
> > > > > Problem creating ear:
> > > > > /home/snicoll/workspace/KSERVER/kserver/modules/b2b-inbound (Is a
> > > > > directory)
> > > > > (and the archive is probably corrupt but I could not delete it)
> > > > > Total time: 36 seconds
> > > > > Finished at: Mon Jan 12 10:04:20 CET 2004
> > > > >
> > > > >
> > > > > Also, when I do cactus:test-ear It will go through the complete
> > > cycle
> > > > > several
> > > > > times (that is compile, jar, unit test), which is really annoying.
> > > Any
> > > > way
> > > > > to
> > > > > do this only once?
> > > > >
> > > > > Regards,
> > > > >
> > > > > Stephane
> > > > >
> > > > > -----Original Message-----
> > > > > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > > > > Sent: Monday, January 12, 2004 9:42 AM
> > > > > To: 'Cactus Developers List'
> > > > > Cc: Stephane Nicoll
> > > > > Subject: RE: DO NOT REPLY [Bug 25983] - jboss port is not changed if
> > > > > cactus.port is used
> > > > >
> > > > >
> > > > > Hi Stephane,
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: bugzilla@apache.org [mailto:bugzilla@apache.org]
> > > > > > Sent: 12 January 2004 07:09
> > > > > > To: cactus-dev@jakarta.apache.org
> > > > > > Subject: DO NOT REPLY [Bug 25983] - jboss port is not changed if
> > > > > > cactus.port is used
> > > > > >
> > > > >
> > > > > [snip]
> > > > >
> > > > > >
> > > > > > PS: maybe a stupid question, but how the hell can I jar the maven
> > > > > plugin
> > > > > > from  CVS?
> > > > >
> > > > > You need Maven installed first. Then cd to integration/maven and
> > > type
> > > > > "maven plugin:install". That will not only create a jar but also
> > > > install
> > > > > it as a plugin in your Maven install. If you want to only generate a
> > > > > jar, type "maven jar".
> > > > >
> > > > > Thanks
> > > > > -Vincent
> > > > 
> > > > 
> > > > 
> > > > 
> > > 
> > > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>