-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The POM for io.trygvis.usb:libusb:pom:1.0.1-1-SNAPSHOT is missing, no dependency information available #10
Comments
Run maven with the -Plibusb flag to include the libusb module. |
Alright. Did that (sudo mvn install -Plibusb). Still no love: |
After dinking around for quite a while I was finally able to:
•Install the LibUSB Library (after git cloning it) into the /usr/local/lib directory
•Install the Java JDK 1.8.0_05 and set the home directory to its location
•Include the libusb.home variable in the pom.xml in the /usr/lib/javax-usb-libusb1 directory
•Find SOME level of success running mvn install (or sudo mvn install in this case because of the location).
However when I run it, rather then getting some blatantly obvious message that I did something stupid/wrong, I instead get the following:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Javalibusb1
[INFO] Javalibusb1 :: javax.usb API implementation
[INFO] Javalibusb1 :: Implementation and JNI Wrapper
[INFO] Javalibusb1 :: javax.usb utilities
[INFO] Javalibusb1 :: FTDI Driver
[INFO] Javalibusb1 :: Misc USB tools
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Javalibusb1 1.0.1-1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ javax-usb-libusb1 ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ javax-usb-libusb1 ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ javax-usb-libusb1 ---
[INFO] Installing /usr/lib/javax-usb-libusb1/pom.xml to /root/.m2/repository/io/trygvis/usb/javax-usb-libusb1/1.0.1-1-SNAPSHOT/javax-usb-libusb1-1.0.1-1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Javalibusb1 :: javax.usb API implementation 1.0.1-1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ javax.usb ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ javax.usb ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ javax.usb ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /usr/lib/javax-usb-libusb1/javax.usb/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ javax.usb ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ javax.usb ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /usr/lib/javax-usb-libusb1/javax.usb/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ javax.usb ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) @ javax.usb ---
[INFO] No tests to run.
[INFO] Surefire report directory: /usr/lib/javax-usb-libusb1/javax.usb/target/surefire-reports
T E S T S
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ javax.usb ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ javax.usb ---
[INFO] Installing /usr/lib/javax-usb-libusb1/javax.usb/target/javax.usb-1.0.1-1-SNAPSHOT.jar to /root/.m2/repository/io/trygvis/usb/javax.usb/1.0.1-1-SNAPSHOT/javax.usb-1.0.1-1-SNAPSHOT.jar
[INFO] Installing /usr/lib/javax-usb-libusb1/javax.usb/pom.xml to /root/.m2/repository/io/trygvis/usb/javax.usb/1.0.1-1-SNAPSHOT/javax.usb-1.0.1-1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Javalibusb1 :: Implementation and JNI Wrapper 1.0.1-1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for io.trygvis.usb:libusb:pom:1.0.1-1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Javalibusb1 ....................................... SUCCESS [0.577s]
[INFO] Javalibusb1 :: javax.usb API implementation ....... SUCCESS [1.118s]
[INFO] Javalibusb1 :: Implementation and JNI Wrapper ..... FAILURE [0.065s]
[INFO] Javalibusb1 :: javax.usb utilities ................ SKIPPED
[INFO] Javalibusb1 :: FTDI Driver ........................ SKIPPED
[INFO] Javalibusb1 :: Misc USB tools ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.954s
[INFO] Finished at: Sat Jun 28 10:43:37 CDT 2014
[INFO] Final Memory: 10M/118M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project javalibusb1: Could not resolve dependencies for project io.trygvis.usb:javalibusb1:nar:1.0.1-1-SNAPSHOT: Failure to find io.trygvis.usb:libusb:pom:1.0.1-1-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :javalibusb1
This doesn't feel to me like something I did wrong. How can I correct this issue (Can I even correct this issue?)
The text was updated successfully, but these errors were encountered: