Arquillian Getting Started Guide - No Containers
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation=" | |
http://maven.apache.org/POM/4.0.0 | |
http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.arquillian.example</groupId> | |
<artifactId>arquillian-tutorial</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>arquillian-tutorial</name> | |
<url>http://arquillian.org</url> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<source>1.6</source> | |
<target>1.6</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.12</version> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.jboss.arquillian</groupId> | |
<artifactId>arquillian-bom</artifactId> | |
<version>1.0.0.Final</version> | |
<scope>import</scope> | |
<type>pom</type> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.jboss.spec</groupId> | |
<artifactId>jboss-javaee-6.0</artifactId> | |
<version>1.0.0.Final</version> | |
<type>pom</type> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.8.1</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.jboss.arquillian.junit</groupId> | |
<artifactId>arquillian-junit-container</artifactId> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
</project> |
This comment has been minimized.
This comment has been minimized.
Ah, yes. That was forward looking, a bit prematurely :)
##
Sent from my CyanogenMod-powered
Android device, an open platform for
carriers, developers and consumers.
…On Mar 20, 2012 9:22 PM, "Craig Schwarzwald" < ***@***.***> wrote:
Note: You must use:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<strong><version>1.0.0.Final-SNAPSHOT</version></strong>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
As <version>1.0.0.Final</version> no longer exists
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1263892
|
This comment has been minimized.
This comment has been minimized.
Just sent a pull request for the arquillian github guides for this update
and 1 other 1 liner.
The guide was missing a needed import for the @Inject for the first time
you tried to run the test as a Junit.
Thanks.
On Tue, Mar 20, 2012 at 11:18 PM, Dan Allen <
reply@reply.github.com
… wrote:
Ah, yes. That was forward looking, a bit prematurely :)
##
Sent from my CyanogenMod-powered
Android device, an open platform for
carriers, developers and consumers.
On Mar 20, 2012 9:22 PM, "Craig Schwarzwald" <
***@***.***>
wrote:
> Note: You must use:
> <dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>org.jboss.arquillian</groupId>
> <artifactId>arquillian-bom</artifactId>
>
> <strong><version>1.0.0.Final-SNAPSHOT</version></strong>
> <scope>import</scope>
> <type>pom</type>
> </dependency>
> </dependencies>
> </dependencyManagement>
>
> As <version>1.0.0.Final</version> no longer exists
> ---
>
> Reply to this email directly or view it on GitHub:
> https://gist.github.com/1263892
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1263892
|
This comment has been minimized.
This comment has been minimized.
On Tue, Mar 20, 2012 at 23:23, Craig Schwarzwald
reply@reply.github.com
wrote:
Just sent a pull request for the arquillian github guides for this update
and 1 other 1 liner.
The guide was missing a needed import for the @Inject for the first time
you tried to run the test as a Junit.
Good catch.
For the version, I'm working on replacing it with variables so that it
is kept up to date with the latest release. That way, we can be sure
it's CR7 now and Final when it's own. Thanks for the heads up. I
actually didn't realize we even had a reference to Final :)
-Dan
Thanks.
On Tue, Mar 20, 2012 at 11:18 PM, Dan Allen <
***@***.***
> wrote:
>
> Ah, yes. That was forward looking, a bit prematurely :)
> ##
>
> Sent from my CyanogenMod-powered
> Android device, an open platform for
> carriers, developers and consumers.
> On Mar 20, 2012 9:22 PM, "Craig Schwarzwald" <
> ***@***.***>
> wrote:
>
> > Note: You must use:
> > <dependencyManagement>
> > <dependencies>
> > <dependency>
> > <groupId>org.jboss.arquillian</groupId>
> > <artifactId>arquillian-bom</artifactId>
> >
> > <strong><version>1.0.0.Final-SNAPSHOT</version></strong>
> > <scope>import</scope>
> > <type>pom</type>
> > </dependency>
> > </dependencies>
> > </dependencyManagement>
> >
> > As <version>1.0.0.Final</version> no longer exists
> > ---
> >
> > Reply to this email directly or view it on GitHub:
> > https://gist.github.com/1263892
> ---
>
> Reply to this email directly or view it on GitHub:
> https://gist.github.com/1263892
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1263892
##
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597
http://google.com/profiles/dan.j.allen
http://mojavelinux.com
http://mojavelinux.com/seaminaction
|
This comment has been minimized.
This comment has been minimized.
So, do we use Final-SNAPSHOT, or CR7? I'm confused about how versions work... |
This comment has been minimized.
This comment has been minimized.
Hopefully this will clear things up:
http://arquillian.org/modules/core-platform/
At least, that's the first step towards making this clearer...live
documentation :)
On Thu, Mar 22, 2012 at 12:27, cpoile < ***@***.*** > wrote:
So, do we use Final-SNAPSHOT, or CR7? I'm confused about how versions
work...
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1263892
##
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597
http://google.com/profiles/dan.j.allen
http://mojavelinux.com
http://mojavelinux.com/seaminaction
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Note: You must use:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>1.0.0.Final-SNAPSHOT</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
As <version>1.0.0.Final</version> no longer exists