Building Loom from Maven
Eric Kolotyluk
eric at kolotyluk.net
Thu Sep 1 23:02:29 UTC 2022
Thanks for the idea, but still no luck...
"C:\Program Files (Open)\jdk-19\bin\java.exe"
-Dmaven.multiModuleProjectDirectory=C:\Users\ERIC\Documents\git\loom-lab\laboratory
"-Dmaven.home=C:\Program Files\JetBrains\IntelliJ IDEA
2021.2.3\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program
Files\JetBrains\IntelliJ IDEA
2021.2.3\plugins\maven\lib\maven3\bin\m2.conf"
"-Dmaven.ext.class.path=C:\Program Files\JetBrains\IntelliJ IDEA
2021.2.3\plugins\maven\lib\maven-event-listener.jar"
"-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA
2021.2.3\lib\idea_rt.jar=55686:C:\Program Files\JetBrains\IntelliJ IDEA
2021.2.3\bin" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8
-Dsun.stderr.encoding=UTF-8 -classpath "C:\Program
Files\JetBrains\IntelliJ IDEA
2021.2.3\plugins\maven\lib\maven3\boot\plexus-classworlds-2.6.0.jar;C:\Program
Files\JetBrains\IntelliJ IDEA
2021.2.3\plugins\maven\lib\maven3\boot\plexus-classworlds.license"
org.codehaus.classworlds.Launcher -Didea.version=2022.2.1 compile
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< net.kolotyluk.loom:laboratory
>--------------------
[INFO] Building laboratory 1.0-SNAPSHOT
[INFO] --------------------------------[ jar
]---------------------------------
Downloading from central:
https://repo.maven.apache.org/maven2/io/cucumber/messages/maven-metadata.xml
Downloaded from central:
https://repo.maven.apache.org/maven2/io/cucumber/messages/maven-metadata.xml
(2.2 kB at 3.8 kB/s)
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
laboratory ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
C:\Users\ERIC\Documents\git\loom-lab\laboratory\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @
laboratory ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- scala-maven-plugin:4.5.4:compile (default) @ laboratory ---
[INFO] Using incremental compilation using Mixed compile order
[INFO] Compiler bridge file:
C:\Users\ERIC\.sbt\1.0\zinc\org.scala-sbt\org.scala-sbt-compiler-bridge_2.13-1.5.7-bin_2.13.7__63.0-1.5.7_20210712T054328.jar
[INFO] compiling 1 Scala source and 19 Java sources to
C:\Users\ERIC\Documents\git\loom-lab\laboratory\target\classes ...
[ERROR]
C:\Users\ERIC\Documents\git\loom-lab\laboratory\src\main\java\net\kolotyluk\loom\Experiment00_Introduction.java:3:20:
error: package jdk.incubator.concurrent is not visible
[ERROR]
C:\Users\ERIC\Documents\git\loom-lab\laboratory\src\main\java\net\kolotyluk\loom\Experiment02_Throughput.java:3:20:
error: package jdk.incubator.concurrent is not visible
[ERROR]
C:\Users\ERIC\Documents\git\loom-lab\laboratory\src\main\java\net\kolotyluk\loom\Experiment92.java:4:20:
error: package jdk.incubator.concurrent is not visible
[ERROR]
C:\Users\ERIC\Documents\git\loom-lab\laboratory\src\main\java\net\kolotyluk\loom\Structured.java:3:20:
error: package jdk.incubator.concurrent is not visible
[ERROR]
C:\Users\ERIC\Documents\git\loom-lab\laboratory\src\main\java\net\kolotyluk\loom\Structures.java:3:20:
error: package jdk.incubator.concurrent is not visible
[ERROR]
C:\Users\ERIC\Documents\git\loom-lab\laboratory\src\main\java\net\kolotyluk\loom\Experiment00_Introduction.java:67:58:
error: incompatible types: cannot infer type-variable(s) R
[ERROR]
C:\Users\ERIC\Documents\git\loom-lab\laboratory\src\main\java\net\kolotyluk\loom\Structured.java:23:57:
error: cannot find symbol
[INFO] NoPosition: Note:
C:\Users\ERIC\Documents\git\loom-lab\laboratory\src\main\java\net\kolotyluk\loom\Experiment90.java
uses unchecked or unsafe operations.
[INFO] NoPosition: Note: Recompile with -Xlint:unchecked for details.
[INFO] NoPosition: Note: Some input files use preview features of Java
SE 19.
[INFO] NoPosition: Note: Recompile with -Xlint:preview for details.
[WARNING] javac exited with exit code 1
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11.581 s
[INFO] Finished at: 2022-09-01T16:00:08-07:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
net.alchim31.maven:scala-maven-plugin:4.5.4:compile (default) on project
laboratory: Execution default of goal
net.alchim31.maven:scala-maven-plugin:4.5.4:compile failed: javac
returned non-zero exit code: CompileFailed -> [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/PluginExecutionException
Process finished with exit code 1
On 2022-09-01 1:35 p.m., Bren wrote:
> <configuration>
>
> <source>19</source>
>
> <target>19</target>
>
> <encoding>UTF-8</encoding>
>
> <enablePreview>true</enablePreview>
>
> <compilerArgs>
>
> <compilerArg>--add-modules</compilerArg>
>
> <compilerArg>jdk.incubator.concurrent</compilerArg>
>
> </compilerArgs>
>
> </configuration>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20220901/91775f7d/attachment-0001.htm>
More information about the loom-dev
mailing list