You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ferry97 <vr...@yahoo.com> on 2007/12/05 08:14:36 UTC
Include library (jar file) in sar
Hi,
I need to put a jar file in a sar file,
myfile.sar
+-- com (classes)
+-- lib
+-- mylib.jar
+-- META-INF
+-- jboss-service.xml
I have search everywhere but I can not find a plug-in that can do the job
(adding a jar file).
Does anyone know how to do it ?
Perhaps I miss something.
Thanks.
Regards,
Ferry
--
View this message in context: http://www.nabble.com/Include-library-%28jar-file%29-in-sar-tf4947837s177.html#a14166394
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Include library (jar file) in sar
Posted by ferry97 <vr...@yahoo.com>.
I have tried the dependency-plugin with copy goal, it copy my dependency to a
directory, while what I need is to have the dependency bundled together in
my SAR file. Is there any specific configuration that I need to be aware of
?
Thank you.
Ian Springer-2 wrote:
>
> Use the copy goal from the dependency plugin:
> http://maven.apache.org/plugins/maven-dependency-plugin/usage.html
>
> ferry97 wrote:
>> Hi,
>> I need to put a jar file in a sar file,
>> myfile.sar
>> +-- com (classes)
>> +-- lib
>> +-- mylib.jar
>> +-- META-INF
>> +-- jboss-service.xml
>>
>> I have search everywhere but I can not find a plug-in that can do the job
>> (adding a jar file).
>> Does anyone know how to do it ?
>> Perhaps I miss something.
>> Thanks.
>> Regards,
>> Ferry
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Include-library-%28jar-file%29-in-sar-tf4947837s177.html#a14184655
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Include library (jar file) in sar
Posted by Ian Springer <ia...@redhat.com>.
Use the copy goal from the dependency plugin:
http://maven.apache.org/plugins/maven-dependency-plugin/usage.html
ferry97 wrote:
> Hi,
> I need to put a jar file in a sar file,
> myfile.sar
> +-- com (classes)
> +-- lib
> +-- mylib.jar
> +-- META-INF
> +-- jboss-service.xml
>
> I have search everywhere but I can not find a plug-in that can do the job
> (adding a jar file).
> Does anyone know how to do it ?
> Perhaps I miss something.
> Thanks.
> Regards,
> Ferry
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org