Hi Gabor,

In the case of java 11 you not need to add any profile, but in the case of
java 8 you need to use the profile 'scala-12' and your command will looks
like as follow

mvn clean install -P scala-12

I tried an empty VM with java 8 (1.8.0_292) and mvn 3.6.3 and it compiled
without issue, if you have some issue let me know.

I will add this to the documentation, thank you for letting us know.

Best regards,
Bertty

On Tue, Sep 7, 2021 at 4:06 PM Gábor E. Gévay <[email protected]> wrote:

> More info:
> If I delete all Wayang stuff from my local Maven repository
> /home/gabor/.m2/repository/org/apache/wayang
> then Maven tries to download Wayang jars:
> https://gist.github.com/ggevay/609621e0e5dff7359c30c20ac5265d32
> Is this expected behaviour? Shouldn't it be building these jars
> instead of downloading them?
> Also note that the jars it is downloading seem a few days old. So
> maybe both of my errors come from some old jars in maven central
> getting mixed with the new poms in the current code?
>
> Best,
> Gábor
>
>
>
> Gábor E. Gévay <[email protected]> ezt írta (időpont: 2021. szept. 7.,
> K, 15:51):
> >
> > Hello,
> >
> > I'm trying to build Wayang with simply
> > mvn clean install
> > but I'm running into an error related to org.json:
> >
> > [WARNING] Unable to obtain POM for artifact:
> > org.apache.wayang:wayang-core:jar:0.6.0-SNAPSHOT:compile
> > org.apache.maven.project.ProjectBuildingException: Some problems were
> > encountered while processing the POMs:
> > [ERROR] 'dependencies.dependency.version' for org.json:json:jar is
> > missing. @ line 42, column 21
> >
> > And I also have an error msg about licenses:
> >
> > [WARNING] There are 1 forbidden licenses used:
> > [WARNING] License: 'BSD 3-Clause' used by 1 dependencies:
> >  -Scala Library (org.scala-lang:scala-library:2.11.12 -
> > http://www.scala-lang.org/)
> >
> > This is my full Maven output:
> > https://gist.github.com/ggevay/bed90d5f7dddc7ea24fca635565b499f
> >
> > Is there something wrong with my setup? Should I specify any Maven
> > profile? I tried checking out the code to a fresh empty dir, but the
> > same errors came.
> >
> > Best,
> > Gábor
>

Reply via email to