You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wayang.apache.org by "Gábor E. Gévay" <gg...@apache.org> on 2021/10/03 10:13:13 UTC

Maven import -- transitive dependencies

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

Re: Maven import -- transitive dependencies

Posted by Bertty Contreras <be...@scalytics.io>.
Hi Gabor,

That issue occurs because we are having some issues after executing some
release commands related to the update of the version, but I'm working on
it, and it will be solved soon and provide a second RC:D.

Best regards,
Bertty

On Sun, Oct 3, 2021 at 12:13 PM Gábor E. Gévay <gg...@apache.org> wrote:

> 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
>