8000 Maven complains on guava version in 0.8.2 · Issue #867 · sarl/sarl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Maven complains on guava version in 0.8.2 #867
Closed
@ssardina

Description

@ssardina

Describe the bug

When I migrated 0.7.2 to 0.8.2 I get this in CLI compile with maven:

[ERROR] Unexpected version for the artifact com.google.guava:guava.
Minimal expected version: 20.0
Current version: 19.0
You must select the appropriate version in the dependency hierarchy, by updating the project configuration with:
<dependencyManagement>
	<dependencies>
		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
			<version>20.0</version>
		</dependency>
	</dependencies>
</dependencyManagement>

If I add that to the pom.xml it works, but I guess this should not be necessary

Code compiles with no error under Eclipse though...

Expected behavior

No error, like it was in 0.7.2

System configuration:
-- SARL version:
-- SARL compiler:

    • [] Eclipse compiler without Maven
    • Eclipse compiler with Maven
    • Maven compiler on the command line
    • sarlc compiler
      -- Java JDK version (with the manufacturer name):
      -- Operating System:
    • Linux 64bits
    • Linux 32bits
    • Windows 64bits
    • Windows 32bits
    • MacOS 64bits

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0