avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Carey <scottca...@apache.org>
Subject Re: [jira] [Commented] (AVRO-890) Maven archetype for creating Avro service projects
Date Thu, 22 Sep 2011 00:37:01 GMT
I think we can bind it to 'install' -- it will then run after all the
things it depends on have run 'install'.  It might end up running the test
after it packages and installs to the local repo and then fail, but that
is acceptable for the archetype IMO.  It won't 'deploy' without the test
completing however.


On 9/21/11 4:29 PM, "Stephen Gargan" <steve.gargan@gmail.com> wrote:

>This sounds good, we'll need to veto the normal integration-testing but I
>think removing the archetype build extension will take care of this. To
>insure it runs before 'install' it might make sense to bind it to the
>'verify' stage. I'll play around with it and see what can be done.
>On Wed, Sep 21, 2011 at 11:54 PM, Scott Carey <scottcarey@apache.org>
>> On 9/21/11 3:48 PM, "Doug Cutting" <cutting@apache.org> wrote:
>> >On 09/21/2011 02:55 PM, Stephen Gargan wrote:
>> >> As a suggestion, I could try to veto the integration testing as part
>> >>the
>> >> normal build and separate it into a profile. The profile could be run
>> >>during
>> >> development but otherwise be omitted from builds. It would remove the
>> >> independent verification you get from the continuous integration,
>>but it
>> >> might be acceptable in this situation as the sample projects are
>> >> static.
>> >
>> >Could we change it so that this integration test is only run with 'mvn
>> >install' and not with 'mvn verify'?
>> I think we can do that by binding the execution phase of the integration
>> test to install.  If that works, it would be the best option IMO -- we
>> won't catch problems with simple 'mvn test', but will surely before a
>> release.  These samples will rarely need to change anyway, and if so the
>> change should be minor.
>> >
>> >Doug

View raw message