You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sri Sankaran <Sr...@sas.com> on 2003/10/13 17:19:28 UTC

Custom tag not being invoked

Using: Maven 1.0 rc1

Problem: A tag from my custom tag library is not being invoked from the plugin.jelly

I have written & installed (to my local repository) a custom tag library.

I am now trying to use a tag from this library in a plug-in I am writing.  The plug-in correctly states the dependency on this tag library in its project.xml.  However, Maven seems to blow right past the tag with nary an error.

I have gone so far as to throw an (un-conditional) exception in the doTag() of tag in question.

Even that isn't being raised.

Am I missing a step as far as using custom tag libraties?

Sri


plugin:jelly

<project xmlns:mine="com.sas.mis.jelly.tags.MisTagLibrary">
  <goal name="foo-goal">
    <mine:set .../>
  </goal>
</project>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to include j2ee.jar

Posted by Steve Lewis <sp...@yahoo.com>.
Okay, I got it to work by just using the local repo,
adding a j2ee/ directory and putting the jar in jars/.
 I should have read a bit more before trying the
mailing list.

Thanks,
Steve

--- Martin Jaeger <mj...@netcetera.ch> wrote:
> Hi Steve
> 
> If you don't want to use the maven jar system
> (central repository) you can
> override the stated dependencies.
> 
> Please refer to:
>
http://maven.apache.org/reference/user-guide.html#Storing
> JARs in CVS
> 
> Bye
> Martin
> 
> 
> On Mon, 13 Oct 2003, Steve Lewis wrote:
> 
> > From: Steve Lewis <sp...@yahoo.com>
> > To: Maven Users List <us...@maven.apache.org>
> > Subject: Trying to include j2ee.jar
> > Date: Mon, 13 Oct 2003 08:24:20 -0700 (PDT)
> >
> > I'm very new to maven and I'm trying to figure out
> how
> > to include j2ee.jar as a dependency.
> >
> > Is it possible to do a "file://" in the URL, like
> so:
> >
> >   <dependency>
> > 	  <id>j2ee</id>
> >
> >
>
<url>file:///c:\\java\\j2sdkee1.3.1\\lib\\j2ee.jar</url>
> > 	  <jar>j2ee.jar</jar>
> > 	</dependency>
> >
> > Something tells me I'm going about this completely
> the
> > wrong way.  Do I need to set up a "j2ee" directory
> in
> > my local repository?
> >
> > Steve
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Shopping - with improved product
> search
> > http://shopping.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> > For additional commands, e-mail:
> users-help@maven.apache.org
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to include j2ee.jar

Posted by Martin Jaeger <mj...@netcetera.ch>.
Hi Steve

If you don't want to use the maven jar system (central repository) you can
override the stated dependencies.

Please refer to:
http://maven.apache.org/reference/user-guide.html#Storing JARs in CVS

Bye
Martin


On Mon, 13 Oct 2003, Steve Lewis wrote:

> From: Steve Lewis <sp...@yahoo.com>
> To: Maven Users List <us...@maven.apache.org>
> Subject: Trying to include j2ee.jar
> Date: Mon, 13 Oct 2003 08:24:20 -0700 (PDT)
>
> I'm very new to maven and I'm trying to figure out how
> to include j2ee.jar as a dependency.
>
> Is it possible to do a "file://" in the URL, like so:
>
>   <dependency>
> 	  <id>j2ee</id>
>
> <url>file:///c:\\java\\j2sdkee1.3.1\\lib\\j2ee.jar</url>
> 	  <jar>j2ee.jar</jar>
> 	</dependency>
>
> Something tells me I'm going about this completely the
> wrong way.  Do I need to set up a "j2ee" directory in
> my local repository?
>
> Steve
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Trying to include j2ee.jar

Posted by Steve Lewis <sp...@yahoo.com>.
I'm very new to maven and I'm trying to figure out how
to include j2ee.jar as a dependency.  

Is it possible to do a "file://" in the URL, like so:

  <dependency>
	  <id>j2ee</id>
	 
<url>file:///c:\\java\\j2sdkee1.3.1\\lib\\j2ee.jar</url>
	  <jar>j2ee.jar</jar>
	</dependency>

Something tells me I'm going about this completely the
wrong way.  Do I need to set up a "j2ee" directory in
my local repository?

Steve

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org