{"action":"created","issue":{"url":"https://api.github.com/repos/plison/opendial/issues/17","repository_url":"https://api.github.com/repos/plison/opendial","labels_url":"https://api.github.com/repos/plison/opendial/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/plison/opendial/issues/17/comments","events_url":"https://api.github.com/repos/plison/opendial/issues/17/events","html_url":"https://github.com/plison/opendial/issues/17","id":158102598,"number":17,"title":"Provide a simple Maven example","user":{"login":"pfisterer","id":302635,"avatar_url":"https://avatars.githubusercontent.com/u/302635?v=3","gravatar_id":"","url":"https://api.github.com/users/pfisterer","html_url":"https://github.com/pfisterer","followers_url":"https://api.github.com/users/pfisterer/followers","following_url":"https://api.github.com/users/pfisterer/following{/other_user}","gists_url":"https://api.github.com/users/pfisterer/gists{/gist_id}","starred_url":"https://api.github.com/users/pfisterer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfisterer/subscriptions","organizations_url":"https://api.github.com/users/pfisterer/orgs","repos_url":"https://api.github.com/users/pfisterer/repos","events_url":"https://api.github.com/users/pfisterer/events{/privacy}","received_events_url":"https://api.github.com/users/pfisterer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-06-02T09:58:14Z","updated_at":"2016-06-07T12:26:36Z","closed_at":null,"body":"I've tried to use opendial in a Maven project. However, I could not resolve the required dependencies.\r\n\r\nThis is the pom.xml that I've used:\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n\txsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\">\r\n\t<modelVersion>4.0.0</modelVersion>\r\n\t<groupId>test.dialog</groupId>\r\n\t<artifactId>dialog-system-demo</artifactId>\r\n\t<version>1.0-SNAPSHOT</version>\r\n\t<name>Simple Maven Project</name>\r\n\r\n\t<properties>\r\n\t\t<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r\n\t</properties>\r\n\r\n\t<dependencies>\r\n\r\n\t\t<dependency>\r\n\t\t\t<groupId>opendial</groupId>\r\n\t\t\t<artifactId>opendial</artifactId>\r\n\t\t\t<version>1.4</version>\r\n\t\t</dependency>\r\n\t\t\r\n\t</dependencies>\r\n\r\n\t<build>\r\n\t\t<plugins>\r\n\r\n\t\t\t<!-- Java compiler source code version -->\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.apache.maven.plugins</groupId>\r\n\t\t\t\t<artifactId>maven-compiler-plugin</artifactId>\r\n\t\t\t\t<version>2.3.2</version>\r\n\t\t\t\t<configuration>\r\n\t\t\t\t\t<source>1.8</source>\r\n\t\t\t\t\t<target>1.8</target>\r\n\t\t\t\t</configuration>\r\n\t\t\t</plugin>\r\n\r\n\t\t</plugins>\r\n\t</build>\r\n\r\n\r\n\t<repositories>\r\n\r\n\t\t<repository>\r\n\t\t\t<snapshots>\r\n\t\t\t\t<enabled>false</enabled>\r\n\t\t\t</snapshots>\r\n\t\t\t<id>central</id>\r\n\t\t\t<name>bintray</name>\r\n\t\t\t<url>http://jcenter.bintray.com</url>\r\n\t\t</repository>\r\n\r\n\t\t<repository>\r\n\t\t\t<snapshots>\r\n\t\t\t\t<enabled>false</enabled>\r\n\t\t\t</snapshots>\r\n\t\t\t<id>central</id>\r\n\t\t\t<name>bintray</name>\r\n\t\t\t<url>https://oss.sonatype.org/content/repositories/snapshots</url>\r\n\t\t</repository>\r\n\r\n\t</repositories>\r\n\r\n\t<pluginRepositories>\r\n\t\t<pluginRepository>\r\n\t\t\t<snapshots>\r\n\t\t\t\t<enabled>false</enabled>\r\n\t\t\t</snapshots>\r\n\t\t\t<id>central</id>\r\n\t\t\t<name>bintray-plugins</name>\r\n\t\t\t<url>http://jcenter.bintray.com</url>\r\n\t\t</pluginRepository>\r\n\t</pluginRepositories>\r\n</project>\r\n```\r\n\r\nRunning mvn package yields: \r\n```\r\nmvn -U package\r\n[INFO] Scanning for projects...\r\n[WARNING]\r\n[WARNING] Some problems were encountered while building the effective model for test.dialog:dialog-system-demo:jar:1.0-SNAPSHOT\r\n[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 75, column 12\r\n[WARNING]\r\n[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.\r\n[WARNING]\r\n[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.\r\n[WARNING]\r\n[INFO]\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building Simple Maven Project 1.0-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\nDownloading: http://jcenter.bintray.com/org/apache/maven/plugins/maven-source-plugin/maven-metadata.xml\r\nDownloaded: http://jcenter.bintray.com/org/apache/maven/plugins/maven-source-plugin/maven-metadata.xml (808 B at 4.1 KB/sec)\r\nDownloading: http://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3+/httpclient-4.3+.pom\r\nDownloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/httpcomponents/httpclient/4.3+/httpclient-4.3+.pom\r\nDownloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.3+/httpclient-4.3+.pom\r\n[WARNING] The POM for org.apache.httpcomponents:httpclient:jar:4.3+ is missing, no dependency information available\r\nDownloading: http://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3+/httpmime-4.3+.pom\r\nDownloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/httpcomponents/httpmime/4.3+/httpmime-4.3+.pom\r\nDownloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpmime/4.3+/httpmime-4.3+.pom\r\n[WARNING] The POM for org.apache.httpcomponents:httpmime:jar:4.3+ is missing, no dependency information available\r\nDownloading: http://jcenter.bintray.com/net/java/balloontip/balloontip/1.2+/balloontip-1.2+.pom\r\nDownloading: https://oss.sonatype.org/content/repositories/snapshots/net/java/balloontip/balloontip/1.2+/balloontip-1.2+.pom\r\nDownloading: http://repo.maven.apache.org/maven2/net/java/balloontip/balloontip/1.2+/balloontip-1.2+.pom\r\n[WARNING] The POM for net.java.balloontip:balloontip:jar:1.2+ is missing, no dependency information available\r\nDownloading: http://jcenter.bintray.com/org/jfree/jfreechart/1.0.19+/jfreechart-1.0.19+.pom\r\nDownloading: https://oss.sonatype.org/content/repositories/snapshots/org/jfree/jfreechart/1.0.19+/jfreechart-1.0.19+.pom\r\nDownloading: http://repo.maven.apache.org/maven2/org/jfree/jfreechart/1.0.19+/jfreechart-1.0.19+.pom\r\n[WARNING] The POM for org.jfree:jfreechart:jar:1.0.19+ is missing, no dependency information available\r\nDownloading: http://jcenter.bintray.com/de/dfki/mary/freetts/1.0/freetts-1.0.pom\r\nDownloading: https://oss.sonatype.org/content/repositories/snapshots/de/dfki/mary/freetts/1.0/freetts-1.0.pom\r\nDownloading: http://repo.maven.apache.org/maven2/de/dfki/mary/freetts/1.0/freetts-1.0.pom\r\nDownloading: file://${project.basedir}/../lib/repo/de/dfki/mary/freetts/1.0/freetts-1.0.pom\r\nDownloading: http://jcenter.bintray.com/de/dfki/mary/freetts-de/1.0/freetts-de-1.0.pom\r\nDownloading: https://oss.sonatype.org/content/repositories/snapshots/de/dfki/mary/freetts-de/1.0/freetts-de-1.0.pom\r\nDownloading: http://repo.maven.apache.org/maven2/de/dfki/mary/freetts-de/1.0/freetts-de-1.0.pom\r\nDownloading: file://${project.basedir}/../lib/repo/de/dfki/mary/freetts-de/1.0/freetts-de-1.0.pom\r\nDownloading: http://jcenter.bintray.com/de/dfki/mary/freetts-en_us/1.0/freetts-en_us-1.0.pom\r\nDownloading: https://oss.sonatype.org/content/repositories/snapshots/de/dfki/mary/freetts-en_us/1.0/freetts-en_us-1.0.pom\r\nDownloading: http://repo.maven.apache.org/maven2/de/dfki/mary/freetts-en_us/1.0/freetts-en_us-1.0.pom\r\n[WARNING] The POM for edu.cmu.sphinx:sphinx4-core:jar:1.0-SNAPSHOT is missing, no dependency information available\r\nDownloading: https://oss.sonatype.org/content/repositories/snapshots/org/slf4j/jul-to-slf4j/maven-metadata.xml\r\nDownloading: http://repo.maven.apache.org/maven2/org/slf4j/jul-to-slf4j/maven-metadata.xml\r\nDownloading: http://jcenter.bintray.com/org/slf4j/jul-to-slf4j/maven-metadata.xml\r\nDownloaded: http://repo.maven.apache.org/maven2/org/slf4j/jul-to-slf4j/maven-metadata.xml (2 KB at 121.9 KB/sec)\r\nDownloaded: http://jcenter.bintray.com/org/slf4j/jul-to-slf4j/maven-metadata.xml (2 KB at 14.1 KB/sec)\r\nDownloading: https://oss.sonatype.org/content/repositories/snapshots/org/slf4j/slf4j-api/maven-metadata.xml\r\nDownloading: http://jcenter.bintray.com/org/slf4j/slf4j-api/maven-metadata.xml\r\nDownloading: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/maven-metadata.xml\r\nDownloaded: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/maven-metadata.xml (2 KB at 165.9 KB/sec)\r\nDownloaded: http://jcenter.bintray.com/org/slf4j/slf4j-api/maven-metadata.xml (2 KB at 22.2 KB/sec)\r\nDownloading: https://oss.sonatype.org/content/repositories/snapshots/org/slf4j/slf4j-log4j12/maven-metadata.xml\r\nDownloading: http://jcenter.bintray.com/org/slf4j/slf4j-log4j12/maven-metadata.xml\r\nDownloaded: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-log4j12/maven-metadata.xml (3 KB at 184.7 KB/sec)\r\nDownloaded: http://jcenter.bintray.com/org/slf4j/slf4j-log4j12/maven-metadata.xml (3 KB at 25.3 KB/sec)\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 8.473s\r\n[INFO] Finished at: Thu Jun 02 11:55:40 CEST 2016\r\n[INFO] Final Memory: 8M/302M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal on project dialog-system-demo: Could not resolve dependencies for project test.dialog:dialog-system-demo:jar:1.0-SNAPSHOT: Failed to collect dependencies at opendial:opendial:jar:1.4 -> de.dfki.mary:marytts-runtime:jar:5.1.1 -> de.dfki.mary:freetts:jar:1.0: Failed to read artifact descriptor for de.dfki.mary:freetts:jar:1.0: Could not transfer artifact de.dfki.mary:freetts:pom:1.0 from/to marytts-dependencies (file://${project.basedir}/../lib/repo): Repository path /../lib/repo does not exist, and cannot be created. -> [Help 1]\r\n[ERROR]\r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR]\r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException\r\n```\r\n\r\nCould you provide a sample pom.xml that works?"},"comment":{"url":"https://api.github.com/repos/plison/opendial/issues/comments/224264688","html_url":"https://github.com/plison/opendial/issues/17#issuecomment-224264688","issue_url":"https://api.github.com/repos/plison/opendial/issues/17","id":224264688,"user":{"login":"pfisterer","id":302635,"avatar_url":"https://avatars.githubusercontent.com/u/302635?v=3","gravatar_id":"","url":"https://api.github.com/users/pfisterer","html_url":"https://github.com/pfisterer","followers_url":"https://api.github.com/users/pfisterer/followers","following_url":"https://api.github.com/users/pfisterer/following{/other_user}","gists_url":"https://api.github.com/users/pfisterer/gists{/gist_id}","starred_url":"https://api.github.com/users/pfisterer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfisterer/subscriptions","organizations_url":"https://api.github.com/users/pfisterer/orgs","repos_url":"https://api.github.com/users/pfisterer/repos","events_url":"https://api.github.com/users/pfisterer/events{/privacy}","received_events_url":"https://api.github.com/users/pfisterer/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T12:26:36Z","updated_at":"2016-06-07T12:26:36Z","body":"Thanks a lot for your continued support. Still no luck. I've deleted my local maven cache (~/.m2/repository/) and ran ```mvn package exec:java``` and get the same result as before.\r\n\r\nMaybe this is also an issue: ```mvn dependency:tree```yields: ```[WARNING] The POM for opendial:opendial:jar:1.5 is missing, no dependency information available```.\r\n\r\nFull output:\r\n```\r\nmvn dependency:tree\r\n[INFO] Scanning for projects...\r\n[WARNING]\r\n[WARNING] Some problems were encountered while building the effective model for de.farberg.opendial:opendial-test:jar:1.0-SNAPSHOT\r\n[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 75, column 12\r\n[WARNING]\r\n[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.\r\n[WARNING]\r\n[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.\r\n[WARNING]\r\n[INFO]\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building Opendial test application 1.0-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\n[WARNING] The POM for opendial:opendial:jar:1.5 is missing, no dependency information available\r\n[INFO]\r\n[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ opendial-test ---\r\n[INFO] de.farberg.opendial:opendial-test:jar:1.0-SNAPSHOT\r\n[INFO] +- opendial:opendial:jar:1.5:compile\r\n[INFO] +- de.uniluebeck.itm.util:logging:jar:0.8:compile\r\n[INFO] |  +- org.slf4j:jul-to-slf4j:jar:1.7.21:compile (version selected from constraint [1.7,1.8))\r\n[INFO] |  \\- com.google.classpath-explorer:classpath-explorer:jar:1.0:compile\r\n[INFO] +- org.slf4j:slf4j-api:jar:1.7.21:compile\r\n[INFO] \\- org.slf4j:slf4j-log4j12:jar:1.7.21:compile\r\n[INFO]    \\- log4j:log4j:jar:1.2.17:compile\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESS\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 1.255s\r\n[INFO] Finished at: Tue Jun 07 14:23:53 CEST 2016\r\n[INFO] Final Memory: 12M/304M\r\n[INFO] ------------------------------------------------------------------------\r\n```\r\n"}}
{"actor":{"display_login":"pfisterer"}}