Thank you very much Tim.

I'll probably do so as you write.

Best regards, buters


Tim Kettler wrote:
> 
> What you can do, is to declare the dependencies on the jboss jars you 
> need in a wrapper pom (with an artifactId jboss-all for example) and 
> deploy/install that to your repository. You then have to declare the 
> many depencies just once and in your projects you can just declare a 
> dependency on the wrapper pom.
> 
> Regarding your question about the importance of bulk-importing jars, I 
> can only say that I think this is a very bad idea. Maven is all about 
> unambiguousness and repeatability of builds and so every dependency of a 
> project should be well-defined, which is certainly not the case when 
> bulk importing a directory of jars.
> 
> .Tim
> 
> buters schrieb:
>> I was simply trying to avoid 30 dependencies in my pom.xml. I thought
>> that I
>> can only have one reference to all libraries. Furthermore I don't know
>> versions of plugins, that jboss uses. Here jar-files stand without any
>> version, not as in the repository. But that is important, sometimes or?
>> 
>> regards, buters
>> 
>> 
>> Tim Kettler wrote:
>>> What does accessing the jboss jars has to do with plugins?
>>>
>>> Anyway, JBoss maintains an own maven repository [1] you can add to 
>>> settings.xml or pom. I don't know if the specific jars you need are 
>>> available from there, but it's worth a try.
>>>
>>> -Tim
>>>
>>> [1] http://repository.jboss.com/maven2/
>>>
>>> buters schrieb:
>>>> This difficult way I want to avoid. This is difficult because I have to
>>>> do
>>>> with a number of plugins. It is me circumstantially for every plugin
>>>> "mvn
>>>> install:install-file" to execute. I want to find a better way.
>>>>
>>>>
>>>> Wayne Fay wrote:
>>>>> The proper way to do this is to refer to the JBoss dependencies just
>>>>> like any other dep, with a <dependency> tag.
>>>>>
>>>>> If you can't find the specific file/version of the jar you need
>>>>> already deployed in Central, then you can use "mvn
>>>>> install:install-file" to install it into your local repo cache
>>>>> directly, then add the <dependency> tag to add it to your project.
>>>>>
>>>>> Wayne
>>>>>
>>>>> On 7/5/08, buters <[EMAIL PROTECTED]> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> how can I access e.g. to jboss jars? I know that ${env.JBOSS_HOME}
>>>>>> can
>>>>>> be
>>>>>> used. But how can I use this, that I don't know. What schould I
>>>>>> insert
>>>>>> in
>>>>>> my
>>>>>> pom.xml?
>>>>>>
>>>>>> Thanks beforehand,
>>>>>> best regards, buters
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/Access-to-e.g.-jboss-lib-tp18290267p18290267.html
>>>>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Access-to-e.g.-jboss-lib-tp18290267p18300080.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to