It is possible yes, you can configure the surefire plugin:
<build>
...
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.15</version>
<configuration>
<excludes>
<exclude>**/integration/*.java</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>test</goal>
</goals>
<phase>integration-test</phase>
<configuration>
<excludes>
<exclude>none</exclude>
</excludes>
<includes>
<include>**/integration/*.java</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Source and more information: Integrated Testing
Why not use the Arquillian?
– abv2014
Have you tried putting a simple test into the src/test/java folder? The default Maven lifecycle already runs the Junit tests that are in this folder when you invoke clean install, for example.
– abv2014