Hi list, I have a problem to map the following pom to a gradle build file. The example test runs without any problems by using maven but with gradle I can't get it up and running. I think it has something to do with the snapshot dependency but I'm not sure maybe anybody has an idea how to solve this. Sample Project is available here: drools6.tar.gz <http://gradle.1045684.n5.nabble.com/file/n5711909/drools6.tar.gz>
pom.xml === <?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> <parent> <groupId>org.kie</groupId> <artifactId>kie-parent-with-dependencies</artifactId> <version>6.1.0-SNAPSHOT</version> </parent> <repositories> <repository> <id>jboss-public-repository-group</id> <name>JBoss Public Repository Group</name> <url>http://repository.jboss.org/nexus/content/groups/public/</url> <layout>default</layout> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>daily</updatePolicy> </snapshots> </repository> </repositories> <artifactId>default-kiesession</artifactId> <name>Drools API examples - Default KieSession</name> <dependencies> <dependency> <groupId>org.drools</groupId> <artifactId>drools-compiler</artifactId> </dependency> </dependencies> </project> build.gradle === apply plugin: 'java' apply plugin: 'eclipse' repositories { mavenCentral() maven { url "http://repository.jboss.org/nexus/content/groups/public/" } } dependencies { compile 'org.kie:kie-parent-with-dependencies:6.1.0-SNAPSHOT' compile 'org.drools:drools-compiler:6.1.0-SNAPSHOT' testCompile 'junit:junit:[4.8,)' } Thanks in advance -markus -- View this message in context: http://gradle.1045684.n5.nabble.com/Maven-snapshot-dependencies-tp5711909.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
