You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by nsowatsk <ns...@cisco.com> on 2009/10/29 14:09:53 UTC

How can I create a dependency on my dar archive?

Hi all

Justin explained how to create a new packaging type:

http://stackoverflow.com/questions/1427722/how-do-i-create-a-new-packagi
ng-type-for-maven 

So I now have my .dar type. Cool :-)

BUT, I also need to create a dependency to that type. As matters stand, it
seems that a dependency must be a .jar file.

The dependency lookup fails if it is a .dar file.

Any ideas?

Thanks

Nathan

-- 
Nathan Sowatskey (nsowatsk@cisco.com) - Technical Leader, NMTG XMP -
+34-638-083-675


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


Re: How can I create a dependency on my dar archive?

Posted by nsowatsk <ns...@cisco.com>.
Cool, thanks, that worked!

Now I can go get lunch ;-)

Nathan

On 29/10/2009 14:13, "Nick Stolwijk" <ni...@gmail.com> wrote:

> See the pom reference [1]. You will need to set the type to dar instead of
> jar.
> 
> [1] http://maven.apache.org/pom.html#Dependencies
> 
> Hth,
> 
> Nick Stolwijk
> ~Java Developer~
> 
> IPROFS BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> http://www.iprofs.nl
> 
> 
> On Thu, Oct 29, 2009 at 2:09 PM, nsowatsk <ns...@cisco.com> wrote:
> 
>> Hi all
>> 
>> Justin explained how to create a new packaging type:
>> 
>> http://stackoverflow.com/questions/1427722/how-do-i-create-a-new-packagi
>> ng-type-for-maven<http://stackoverflow.com/questions/1427722/how-do-i-create-
>> a-new-packagi%0Ang-type-for-maven>
>> 
>> So I now have my .dar type. Cool :-)
>> 
>> BUT, I also need to create a dependency to that type. As matters stand, it
>> seems that a dependency must be a .jar file.
>> 
>> The dependency lookup fails if it is a .dar file.
>> 
>> Any ideas?
>> 
>> Thanks
>> 
>> Nathan
>> 
>> --
>> Nathan Sowatskey (nsowatsk@cisco.com) - Technical Leader, NMTG XMP -
>> +34-638-083-675
>> 
>> 
>> ---------------------------------------------------------------------
>> 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


Re: How can I create a dependency on my dar archive?

Posted by Nick Stolwijk <ni...@gmail.com>.
See the pom reference [1]. You will need to set the type to dar instead of
jar.

[1] http://maven.apache.org/pom.html#Dependencies

Hth,

Nick Stolwijk
~Java Developer~

IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl


On Thu, Oct 29, 2009 at 2:09 PM, nsowatsk <ns...@cisco.com> wrote:

> Hi all
>
> Justin explained how to create a new packaging type:
>
> http://stackoverflow.com/questions/1427722/how-do-i-create-a-new-packagi
> ng-type-for-maven<http://stackoverflow.com/questions/1427722/how-do-i-create-a-new-packagi%0Ang-type-for-maven>
>
> So I now have my .dar type. Cool :-)
>
> BUT, I also need to create a dependency to that type. As matters stand, it
> seems that a dependency must be a .jar file.
>
> The dependency lookup fails if it is a .dar file.
>
> Any ideas?
>
> Thanks
>
> Nathan
>
> --
> Nathan Sowatskey (nsowatsk@cisco.com) - Technical Leader, NMTG XMP -
> +34-638-083-675
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>