Hello,
On the current main branch (e486ac766a), I have some issues with the
Maven import into IntelliJ. If I click on "Reload All Maven Projects"
while the build toolbox is visible at the bottom, then the build
toolbox shows some warnings:
[WARNING] The POM for
org.apache.wayang:wayang-spark:jar:0.6.1-SNAPSHOT is invalid,
transitive dependencies (if any) will not be available, enable debug
logging for more details
[WARNING] The POM for
org.apache.wayang:wayang-flink:jar:0.6.1-SNAPSHOT is invalid,
transitive dependencies (if any) will not be available, enable debug
logging for more details
[WARNING] The POM for
org.apache.wayang:wayang-api-scala-java:jar:0.6.1-SNAPSHOT is invalid,
transitive dependencies (if any) will not be available, enable debug
logging for more details
Do you also have this, or is it just a problem with my setup? I
attached a screenshot.
On the main branch this issue is not causing any actual problems,
i.e., the project still builds fine in IntelliJ. However, I'm working
on the Emma integration, and it's causing some real problems there.
There are a few more modules, and I would have to explicitly include a
lot of such dependencies that should just come automatically as
transitive dependencies. Note that building from the command line
works fine, so I think this is an IntelliJ issue.
The error msg mentions enabling debug logging, which I did in
IntelliJ's Maven settings (Output level), and then there is slightly
more info:
...
[WARNING] The POM for
org.apache.wayang:wayang-spark:jar:0.6.1-SNAPSHOT is invalid,
transitive dependencies (if any) will not be available: 2 problems
were encountered while building the effective model for
org.apache.wayang:wayang-spark:0.6.1-SNAPSHOT
[ERROR] 'dependencies.dependency.artifactId' for
org.apache.spark:spark-core_${scala.mayor.version}:jar with value
'spark-core_${scala.mayor.version}' does not match a valid id pattern.
@
[ERROR] 'dependencies.dependency.artifactId' for
org.apache.spark:spark-graphx_${scala.mayor.version}:jar with value
'spark-graphx_${scala.mayor.version}' does not match a valid id
pattern. @
...
So it looks like it's not substituting the properties. If you also see
the same thing in your IntelliJ, then I think I'll open a bug report
to the IntelliJ developers.
Best,
Gábor