On Sat, 17 Jul 2021 at 14:17, Gilles Sadowski <gillese...@gmail.com> wrote:
> Hi. > > Le mer. 14 juil. 2021 à 13:02, Alex Herbert <alex.d.herb...@gmail.com> a > écrit : > > > >>> [...] > > > > Anyway the summary is that using 'mvn site' should not be expected > to run > > > > all the validation checks on the code. It is to build documentation. > > > > > > Makes sense (and we were doing it wrong before). > > > > > > > If you want to check the code then use 'mvn verify'. > > Command > $ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ mvn clean verify test site > currently results in the build failing: > ---CUT--- > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-shade-plugin:3.1.1:shade (default) on > project examples-sofm: Error creating shaded jar: > > /home/gilles/devel/java/apache/commons-math/trunk/commons-math-neuralnet/target/classes > (Is a directory) -> [Help 1] > ---CUT--- > > Any idea? > This works for me (have JAVA_HOME already set): mvn -v *Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)* Maven home: /usr/local/apache-maven-3.6.3 Java version: 1.8.0_241, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac" cd commons-math-examples/ touch site-content touch chinese-rings/site-content touch tsp/site-content mvn clean verify test site > Thanks, > Gilles > > >>> [...] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > >