users@glassfish.java.net

Re: maven-embedded-glassfish-plugin: documentation?

From: Bhavanishankar <bshankar_at_sun.com>
Date: Thu, 03 Feb 2011 19:29:25 +0530

If you configure surefire to run the tests during integration-test
phase, the destination target/yourapp.[war|jar|ear] would have all the
dependencies pulled into it.

You can follow one of the pom.xml from my devtests.

_Bhavani.


On 02/03/2011 07:21 PM, Bhavanishankar wrote:
> Do you mean that when you do 'mvn clean install', your dependent
> classes don't get pulled into target/classes? Did you have to refer to
> something outside the current directory when you use scattered archive?
>
> _Bhavani.
>
> On 02/03/2011 07:12 PM, Laird Nelson wrote:
>> I have some classes in my target/classes directory and others that
>> should be pulled into the associated persistence unit in other
>> dependencies. I'm not sure how a single file supplied as a value to
>> the plugin's <app> parameter can account for these.
>>
>> Best,
>> Laird
>>
>> On Thu, Feb 3, 2011 at 1:16 AM, Bhavanishankar <bshankar_at_sun.com
>> <mailto:bshankar_at_sun.com>> wrote:
>>
>> Since you know your project type, you can specify it as
>> 'packaging' element in the pom.xml, and the appropriate artifact
>> will get built under ${project.build.outputDirectory} which can
>> then be deployed using embedded plugin.
>>
>> I don't quite understand the requirement of built-in scattered
>> archive support in the embedded plugin. Because maven already
>> gives you all the packaging types which embedded plugin needs.
>>
>> _Bhavani.
>>
>>
>> On 02/03/2011 04:24 AM, Laird Nelson wrote:
>>> Thanks. That tells me what I feared: that the app configuration
>>> parameter takes a single file or a single directory, and cannot
>>> be somehow transformed into a ScatteredArchive. :-(
>>>
>>> (That's quite a URL. :-) )
>>>
>>> Best,
>>> Laird
>>>
>>> On Wed, Feb 2, 2011 at 5:46 PM, Siraj Ghaffar
>>> <Siraj.Ghaffar_at_oracle.com <mailto:Siraj.Ghaffar_at_oracle.com>> wrote:
>>>
>>>
>>> http://download.oracle.com/docs/cd/E19798-01/821-1754/gijhs/index.html
>>> should help.
>>>
>>>
>>> On 2/2/11 4:26 PM, Laird Nelson wrote:
>>>
>>> Is there any documentation on the
>>> maven-embedded-glassfish-plugin? I couldn't find a
>>> website, it lacks a "help" goal, and mvn help:describe
>>> doesn't document its parameters.
>>>
>>> Thanks,
>>> Laird
>>>
>>>
>>>
>>