-
Notifications
You must be signed in to change notification settings - Fork 645
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
Does not compile: unreported exception #131
Comments
That's strange. AFAIS Currently we are using <dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20140107</version>
</dependency> |
Very strange indeed. You're right, it is a RuntimeException and thus shouldn't cause any issues. I checked out the master branch and didn't change anything significant yet (trying to add #130). |
My environment:
|
And that what I did which worked for me: 10:23 [/tmp] $ git clone git@github.com:rhuss/docker-maven-plugin.git
Cloning into 'docker-maven-plugin'...
remote: Counting objects: 4214, done.
remote: Compressing objects: 100% (40/40), done.
remote: Total 4214 (delta 10), reused 0 (delta 0), pack-reused 4156
Receiving objects: 100% (4214/4214), 901.40 KiB | 694.00 KiB/s, done.
Resolving deltas: 100% (1791/1791), done.
Checking connectivity... done.
10:23 [/tmp] $ cd docker-maven-plugin/
10:23 [/tmp/docker-maven-plugin] (master) $ mvn -version
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T18:29:23+01:00)
Maven home: /usr/local/Cellar/maven/3.2.5/libexec
Java version: 1.8.0_40, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.2", arch: "x86_64", family: "mac"
10:23 [/tmp/docker-maven-plugin] (master) $ mvn install
.... Except for minor version differences (Maven 3.2.3 vs. 3.2.5, Java 1.8.0_25 vs 1.8.0_40) there are no differences. Could you pastebin a full |
BTW, OS X 10.10.3, this is a beta version, or ? |
Yep. Pastebin didn't work so I put it in my dropbox: I get the distinct feeling that there is an old version of the json dependency interfering somehow... |
Whats interesting: In you debug output I find this
whereas when I run it, it's
Could you try to remove your
|
BTW, its here where the exception changed from |
yep. That did it. No idea why but I guess it somehow contained a broken/old version that pretended to be the current one. Thanks! |
The text was updated successfully, but these errors were encountered: