Skip to content

Commit 9702c9c

Browse files
Update README.md
1 parent 9e86f80 commit 9702c9c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,16 @@ If any of those points is not true, `scala-suffix-maven-plugin` will not help yo
1414

1515
You add a dependency to your `pom.xml` which looks somehow like this
1616
```
17+
<dependency>
18+
<groupId>your.scala.dependency</groupId>
19+
<artifactId>your-scala-dependency_2.13</artifactId>
20+
<version>1.0.0</version>
21+
</dependency>
1722
```
1823
You compile the project and you see this warning:
1924
[WARNING] There are 1 pathException(s). The related dependencies will be ignored.
20-
[WARNING] Dependency: <user home>/.m2/repository/<path to jar>/your-scala-dependency_2.13/2.7.1/your-scala-dependency_2.13-2.7.1.jar
21-
- exception: Unable to derive module descriptor for <user home>/.m2/repository/<path to jar>/your-scala-dependency_2.13/2.7.1/your-scala-dependency_2.13-2.7.1.jar
25+
[WARNING] Dependency: <user home>/.m2/repository/<path to jar>/your-scala-dependency_2.13/1.0.0/your-scala-dependency_2.13-1.0.0.jar
26+
- exception: Unable to derive module descriptor for <user home>/.m2/repository/<path to jar>/your-scala-dependency_2.13/1.0.0/your-scala-dependency_2.13-1.0.0.jar
2227
- cause: your.scala.dependency.2.13: Invalid module name: '2' is not a Java identifier
2328
```
2429

0 commit comments

Comments
 (0)