Created
July 4, 2012 12:50
-
-
Save sebastianbenz/3047169 to your computer and use it in GitHub Desktop.
Compiling Jnario specs with Maven (SNAPSHOT).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.mycompany.app</groupId> | |
<artifactId>my-app</artifactId> | |
<packaging>jar</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<name>my-app</name> | |
<url>http://maven.apache.org</url> | |
<repositories> | |
<repository> | |
<id>Jnario Snapshots</id> | |
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>Jnario Snapshots</id> | |
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
</pluginRepository> | |
<pluginRepository> | |
<id>Xtend</id> | |
<url>http://build.eclipse.org/common/xtend/maven/</url> | |
</pluginRepository> | |
</pluginRepositories> | |
<dependencies> | |
<dependency> | |
<groupId>org.jnario</groupId> | |
<artifactId>org.jnario.lib.maven</artifactId> | |
<version>0.1.0-SNAPSHOT</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.jnario</groupId> | |
<artifactId>jnario-maven-plugin</artifactId> | |
<version>0.1.0-SNAPSHOT</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>testCompile</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.12</version> | |
<configuration> | |
<includes> | |
<include>**/*Spec*.java</include> | |
<include>**/*Feature.java</include> | |
<include>**/*Test.java</include> | |
<include>**/*TestCase.java</include> | |
</includes> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Thanks, that's working for me now. Does this mean the Xtend Maven plugins haven't been deploy to Maven Central yet?
No, they haven't...
Do you know if there are plans to?
I am not sure. Best thing would be to ask on the Xtend mailing list.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should be fixed. I also added the plugin repository to the gist.