You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Andreas Pieber <an...@gmail.com> on 2011/11/06 18:21:45 UTC

Release PaxExam Karaf Testframework 0.4.0

Hey Guys,

I've finished the fourth feature release of the Pax Exam Karaf Testframework
today and pushed it to maven central (should be there within the next
hours). You might want to give it shot if you need to do integration tests
on Karafbase. It is as simple as adding the following to your pom...

<dependency>
  <groupId>org.openengsb.labs.paxexam.karaf</groupId>
  <artifactId>paxexam-karaf-container</artifactId>
  <version>0.4.0</version>
  <scope>test</scope>
</dependency>
<dependency>
  <groupId>org.ops4j.pax.exam</groupId>
  <artifactId>pax-exam-junit4</artifactId>
  <version>2.3.0.M1</version>
  <scope>test</scope>
</dependency>


... reference your karaf based distribution ...

<dependency>
  <groupId>org.apache.karaf</groupId>
  <artifactId>apache-karaf</artifactId>
  <version>2.2.4</version>
  <type>zip</type>
  <scope>test</scope>
  <exclusions>
    <exclusion>
      <groupId>org.apache.karaf.shell</groupId>
      <artifactId>org.apache.karaf.shell.dev</artifactId>
    </exclusion>
  </exclusions>
</dependency>



... and the following configuration section ...

@Configuration
public Option[] config() {
    return new Option[]{ karafDistributionConfiguration().frameworkUrl(
      maven().groupId("org.apache.karaf").artifactId("apache-karaf").type("zip").versionAsInProject())
};
}


... and your integration tests will run on the framework you've just
configured. The full documentation could be found here [1]. The changeset
of the new feature release could be found here [2]. Have fun and
don't hesitate to report any problems you encounter at this list or here
[3]. Btw, all sources are under Apache 2 License here [4] and will be
included in the karaf 3 release. It's just out of the ASF repos right now
so that it can be developed/released in faster cycles. BTW, hopefully this
is the last release outside the ASF. I'll start to replace our current
integration tests at Karaf and merge the source into the trunk by next
week...

Special thanks to all of you who have provide feature requests and bug
reports! Except for two open feature requests all of them are included now
:-)

Kind regards,
Andreas

[1] https://github.com/openengsb/labs-paxexam-karaf/wiki
[2] https://github.com/openengsb/labs-paxexam-karaf/wiki/V0.4.0
[3] http://issues.openengsb.org/jira/browse/lab
[4] https://github.com/openengsb/labs-paxexam-karaf

Re: Release PaxExam Karaf Testframework 0.4.0

Posted by Andreas Pieber <an...@gmail.com>.
So, finally the packages have reached maven central; thanks for the tip
again and for your patience

Kind regards,
Andreas

On Mon, Nov 7, 2011 at 11:36, Andreas Pieber <an...@gmail.com> wrote:

> oha... my mistake... now the artifacts are relly on their way... Thanks
> for pointing this out Andreas!
>
> Kind regards,
> Andreas
>
>
> On Mon, Nov 7, 2011 at 08:41, akuhtz <an...@gmail.com> wrote:
>
>> Hi Andreas,
>>
>> Thanks for all the work you've done for making testing with karaf easy!
>>
>> PS: the artifacts are not yet available in central repo, is there a
>> problem
>> somewhere?
>>
>> Best regards
>> Andi
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Release-PaxExam-Karaf-Testframework-0-4-0-tp3484886p3486307.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
>

Re: Release PaxExam Karaf Testframework 0.4.0

Posted by Andreas Pieber <an...@gmail.com>.
oha... my mistake... now the artifacts are relly on their way... Thanks for
pointing this out Andreas!

Kind regards,
Andreas

On Mon, Nov 7, 2011 at 08:41, akuhtz <an...@gmail.com> wrote:

> Hi Andreas,
>
> Thanks for all the work you've done for making testing with karaf easy!
>
> PS: the artifacts are not yet available in central repo, is there a problem
> somewhere?
>
> Best regards
> Andi
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Release-PaxExam-Karaf-Testframework-0-4-0-tp3484886p3486307.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

Re: Release PaxExam Karaf Testframework 0.4.0

Posted by akuhtz <an...@gmail.com>.
Hi Andreas,

Thanks for all the work you've done for making testing with karaf easy!

PS: the artifacts are not yet available in central repo, is there a problem
somewhere?

Best regards
Andi 

--
View this message in context: http://karaf.922171.n3.nabble.com/Release-PaxExam-Karaf-Testframework-0-4-0-tp3484886p3486307.html
Sent from the Karaf - User mailing list archive at Nabble.com.