You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the readme, run mvn clean install -U (using the Maven version 3.8.1 that is bundled with IntelliJ).
Expected
The build will run and a fat JAR will be created in the /CookieMonster/target directory.
Actual
The build fails; the first failure is a Maven error
Descriptor with ID 'fat' not found
In addition, there is a compile problem because the pom.xml specifies 1.8 as the source and target version, but ChromeBrowser.java uses the factory method List.of() that was added only in Java 9.
Discussion
It appears that the maven-assembly-plugin changed its target from fat to jar-with-dependencies.
The compile problem is remediable by changing the version.
I will soon open a PR to address this issue.
The text was updated successfully, but these errors were encountered:
Steps Taken
As per the readme, run
mvn clean install -U
(using the Maven version 3.8.1 that is bundled with IntelliJ).Expected
The build will run and a fat JAR will be created in the
/CookieMonster/target
directory.Actual
The build fails; the first failure is a Maven error
In addition, there is a compile problem because the pom.xml specifies 1.8 as the source and target version, but
ChromeBrowser.java
uses the factory methodList.of()
that was added only in Java 9.Discussion
It appears that the maven-assembly-plugin changed its target from
fat
tojar-with-dependencies
.The compile problem is remediable by changing the version.
I will soon open a PR to address this issue.
The text was updated successfully, but these errors were encountered: