Closed honyyang closed 2 years ago
Can you share what version & variant of Java and maven you are trying to build the package? Our CI builds haven't reported this issue.
Can you share what version & variant of Java and maven you are trying to build the package? Our CI builds haven't reported this issue.
ubuntu 18.04 maven 3.6 openjdk-11
Could you share your verion of openjdk and maven in you CI system ? Or Provide installation documention about orktrack ?
Can you please try with JDK8 instead ?
PS: Our CI Pipelines uses adopt java8
Installation documentation is available on our wiki
Can you please try with JDK8 instead ?
PS: Our CI Pipelines uses adopt java8
Installation documentation is available on our wiki
ubuntu 18.04 maven 3.6 openjdk-8
But, mvn clean package and compile error.
[INFO] 55 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.288 s [INFO] Finished at: 2021-12-23T10:02:28Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project orktrack: Compilation failure: Compilation failure: [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/UserManager.java:[22,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/Port.java:[30,24] package org.apache.log4j does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/Port.java:[31,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/UserManager.java:[43,61] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.UserManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/messages/TapeMessage.java:[33,24] package org.apache.log4j does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/messages/TapeMessage.java:[34,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/messages/TapeMessage.java:[35,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/messages/MetadataMessage.java:[31,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/messages/MetadataMessage.java:[32,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/Port.java:[44,16] cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class net.sf.oreka.orktrack.Port [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/Port.java:[86,65] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.Port [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/Port.java:[93,76] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.Port [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/Port.java:[114,73] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.Port [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/Port.java:[135,76] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.Port [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/Port.java:[188,64] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.Port [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/messages/TapeMessage.java:[44,16] cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class net.sf.oreka.orktrack.messages.TapeMessage [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/ProgramManager.java:[25,24] package org.apache.log4j does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/ProgramManager.java:[26,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/ProgramManager.java:[27,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/ProgramManager.java:[31,16] cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class net.sf.oreka.orktrack.ProgramManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/ProgramManager.java:[81,72] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.ProgramManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/ProgramManager.java:[100,85] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.ProgramManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/ServiceManager.java:[20,24] package org.apache.log4j does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/ServiceManager.java:[21,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/ServiceManager.java:[25,16] cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class net.sf.oreka.orktrack.ServiceManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/ServiceManager.java:[27,81] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.ServiceManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/ServiceManager.java:[45,62] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.ServiceManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/messages/UserStateMessage.java:[26,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/messages/UserStateMessage.java:[27,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/test/ProgramTest.java:[20,23] package junit.framework does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/test/ProgramTest.java:[21,23] package junit.framework does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/test/ProgramTest.java:[22,23] package junit.framework does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/test/ProgramTest.java:[33,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/test/ProgramTest.java:[34,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/test/ProgramTest.java:[36,34] cannot find symbol [ERROR] symbol: class TestCase [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/test/ProgramTest.java:[44,23] cannot find symbol [ERROR] symbol: class Test [ERROR] location: class net.sf.oreka.orktrack.test.ProgramTest [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/PortManager.java:[24,24] package org.apache.log4j does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/PortManager.java:[25,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/PortManager.java:[26,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/PortManager.java:[34,16] cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class net.sf.oreka.orktrack.PortManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/PortManager.java:[52,51] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.PortManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/PortManager.java:[62,58] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.PortManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/PortManager.java:[95,57] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.PortManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/PortManager.java:[157,54] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.PortManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/TapeManager.java:[10,27] package org.hibernate.query does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/TapeManager.java:[18,17] cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class net.sf.oreka.orktrack.TapeManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/TapeManager.java:[32,56] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.TapeManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/TapeManager.java:[39,61] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.TapeManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/TapeManager.java:[59,67] cannot find symbol [ERROR] symbol: class Session [ERROR] location: class net.sf.oreka.orktrack.TapeManager [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/test/PortTest.java:[20,23] package junit.framework does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/test/PortTest.java:[21,23] package junit.framework does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/test/PortTest.java:[22,23] package junit.framework does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/test/PortTest.java:[38,21] package org.hibernate does not exist [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/test/PortTest.java:[40,31] cannot find symbol [ERROR] symbol: class TestCase [ERROR] /root/oreka/orktrack/src/main/java/net/sf/oreka/orktrack/test/PortTest.java:[48,23] cannot find symbol [ERROR] symbol: class Test [ERROR] location: class net.sf.oreka.orktrack.test.PortTest [ERROR] -> [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/MojoFailureException
Hi
Well I was unable to replicate this issue, even on a fresh VM, and it has built it properly. Can you please try it on a fresh VM or share the exact steps to replicate the issue.
vagrant init bento/ubuntu-18.04
sudo apt-get install openjdk-8-jdk maven
OS : Ubuntu 18.04.6 LTS MVN : 3.6.0 OpenJDK: 1.8.0_312
root@vagrant:/home/vagrant# java -version
openjdk version "1.8.0_312"
OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~18.04-b07)
OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)
root@vagrant:/home/vagrant# mvn -version
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 1.8.0_312, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-163-generic", arch: "amd64", family: "UNIX"
root@vagrant:/vagrant# mvn clean package -DskipTests -Dmaven.test.skip=true
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] orkbasej [jar]
[INFO] orktrack [war]
[INFO] orkweb [war]
[INFO] orekaj-parent [pom]
[INFO]
[INFO] -----------------------< net.sf.oreka:orkbasej >------------------------
[INFO] Building orkbasej 0.0.2-SNAPSHOT [1/4]
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for avalon-framework:avalon-framework-api:jar:4.1.5-dev is missing, no dependency information available
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ orkbasej ---
[INFO] Deleting /vagrant/orkbasej/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ orkbasej ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 7 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ orkbasej ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 51 source files to /vagrant/orkbasej/target/classes
[INFO] /vagrant/orkbasej/src/main/java/net/sf/oreka/srvc/UserServiceHbn.java: Some input files use or override a deprecated API.
[INFO] /vagrant/orkbasej/src/main/java/net/sf/oreka/srvc/UserServiceHbn.java: Recompile with -Xlint:deprecation for details.
[INFO] /vagrant/orkbasej/src/main/java/net/sf/oreka/serializers/OrkSerializer.java: Some input files use unchecked or unsafe operations.
[INFO] /vagrant/orkbasej/src/main/java/net/sf/oreka/serializers/OrkSerializer.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ orkbasej ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ orkbasej ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ orkbasej ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ orkbasej ---
[INFO] Building jar: /vagrant/orkbasej/target/orkbasej-0.0.2-SNAPSHOT.jar
[INFO]
[INFO] -----------------------< net.sf.oreka:orktrack >------------------------
[INFO] Building orktrack 0.0.2-SNAPSHOT [2/4]
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ orktrack ---
[INFO] Deleting /vagrant/orktrack/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ orktrack ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ orktrack ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 24 source files to /vagrant/orktrack/target/classes
[WARNING] /vagrant/orktrack/src/main/java/net/sf/oreka/orktrack/PortManager.java: Some input files use or override a deprecated API.
[WARNING] /vagrant/orktrack/src/main/java/net/sf/oreka/orktrack/PortManager.java: Recompile with -Xlint:deprecation for details.
[WARNING] /vagrant/orktrack/src/main/java/net/sf/oreka/orktrack/ProgramManager.java: /vagrant/orktrack/src/main/java/net/sf/oreka/orktrack/ProgramManager.java uses unchecked or unsafe operations.
[WARNING] /vagrant/orktrack/src/main/java/net/sf/oreka/orktrack/ProgramManager.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- aspectj-maven-plugin:1.11.1:compile (default) @ orktrack ---
[INFO] Showing AJC message detail for messages of types: [error, warning, fail]
[INFO] Extending interface set for type 'net.sf.oreka.orktrack.messages.PingMessage' (PingMessage.java) to include 'io.astefanutti.metrics.aspectj.Profiled' (MetricAspect.aj)
[INFO] Type 'net.sf.oreka.orktrack.messages.PingMessage' (PingMessage.java) has intertyped field from 'io.astefanutti.metrics.aspectj.MetricAspect' (MetricAspect.aj:'java.util.Map<java.lang.String,io.astefanutti.metrics.aspectj.AnnotatedMetric<com.codahale.metrics.Gauge>> io.astefanutti.metrics.aspectj.Profiled.gauges')
[INFO] Type 'net.sf.oreka.orktrack.messages.PingMessage' (PingMessage.java) has intertyped field from 'io.astefanutti.metrics.aspectj.MetricAspect' (MetricAspect.aj:'java.util.Map<java.lang.String,io.astefanutti.metrics.aspectj.AnnotatedMetric<com.codahale.metrics.Meter>> io.astefanutti.metrics.aspectj.Profiled.meters')
[INFO] Type 'net.sf.oreka.orktrack.messages.PingMessage' (PingMessage.java) has intertyped field from 'io.astefanutti.metrics.aspectj.MetricAspect' (MetricAspect.aj:'java.util.Map<java.lang.String,io.astefanutti.metrics.aspectj.AnnotatedMetric<com.codahale.metrics.Timer>> io.astefanutti.metrics.aspectj.Profiled.timers')
[INFO] Join point 'constructor-execution(void net.sf.oreka.orktrack.messages.PingMessage.<init>())' in Type 'net.sf.oreka.orktrack.messages.PingMessage' (PingMessage.java:25) advised by after advice from 'io.astefanutti.metrics.aspectj.MetricAspect' (metrics-aspectj-1.2.0.jar!MetricAspect.class:45(from MetricAspect.aj))
[INFO] Join point 'method-execution(net.sf.oreka.messages.AsyncMessage net.sf.oreka.orktrack.messages.PingMessage.process())' in Type 'net.sf.oreka.orktrack.messages.PingMessage' (PingMessage.java:30) advised by around advice from 'io.astefanutti.metrics.aspectj.TimedAspect' (metrics-aspectj-1.2.0.jar!TimedAspect.class:26(from TimedAspect.aj))
[INFO] Join point 'staticinitialization(void net.sf.oreka.orktrack.messages.PingMessage.<clinit>())' in Type 'net.sf.oreka.orktrack.messages.PingMessage' (PingMessage.java) advised by after advice from 'io.astefanutti.metrics.aspectj.MetricStaticAspect' (metrics-aspectj-1.2.0.jar!MetricStaticAspect.class:41(from MetricStaticAspect.aj))
[INFO] Extending interface set for type 'net.sf.oreka.orktrack.messages.TapeMessage' (TapeMessage.java) to include 'io.astefanutti.metrics.aspectj.Profiled' (MetricAspect.aj)
[INFO] Type 'net.sf.oreka.orktrack.messages.TapeMessage' (TapeMessage.java) has intertyped field from 'io.astefanutti.metrics.aspectj.MetricAspect' (MetricAspect.aj:'java.util.Map<java.lang.String,io.astefanutti.metrics.aspectj.AnnotatedMetric<com.codahale.metrics.Gauge>> io.astefanutti.metrics.aspectj.Profiled.gauges')
[INFO] Type 'net.sf.oreka.orktrack.messages.TapeMessage' (TapeMessage.java) has intertyped field from 'io.astefanutti.metrics.aspectj.MetricAspect' (MetricAspect.aj:'java.util.Map<java.lang.String,io.astefanutti.metrics.aspectj.AnnotatedMetric<com.codahale.metrics.Meter>> io.astefanutti.metrics.aspectj.Profiled.meters')
[INFO] Type 'net.sf.oreka.orktrack.messages.TapeMessage' (TapeMessage.java) has intertyped field from 'io.astefanutti.metrics.aspectj.MetricAspect' (MetricAspect.aj:'java.util.Map<java.lang.String,io.astefanutti.metrics.aspectj.AnnotatedMetric<com.codahale.metrics.Timer>> io.astefanutti.metrics.aspectj.Profiled.timers')
[INFO] Join point 'constructor-execution(void net.sf.oreka.orktrack.messages.TapeMessage.<init>())' in Type 'net.sf.oreka.orktrack.messages.TapeMessage' (TapeMessage.java:38) advised by after advice from 'io.astefanutti.metrics.aspectj.MetricAspect' (metrics-aspectj-1.2.0.jar!MetricAspect.class:45(from MetricAspect.aj))
[INFO] Join point 'method-execution(net.sf.oreka.messages.AsyncMessage net.sf.oreka.orktrack.messages.TapeMessage.process())' in Type 'net.sf.oreka.orktrack.messages.TapeMessage' (TapeMessage.java:74) advised by around advice from 'io.astefanutti.metrics.aspectj.TimedAspect' (metrics-aspectj-1.2.0.jar!TimedAspect.class:26(from TimedAspect.aj))
[INFO] Join point 'staticinitialization(void net.sf.oreka.orktrack.messages.TapeMessage.<clinit>())' in Type 'net.sf.oreka.orktrack.messages.TapeMessage' (TapeMessage.java:44) advised by after advice from 'io.astefanutti.metrics.aspectj.MetricStaticAspect' (metrics-aspectj-1.2.0.jar!MetricStaticAspect.class:41(from MetricStaticAspect.aj))
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ orktrack ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ orktrack ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- aspectj-maven-plugin:1.11.1:test-compile (default) @ orktrack ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ orktrack ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-war-plugin:2.4:war (default-war) @ orktrack ---
[INFO] Packaging webapp
[INFO] Assembling webapp [orktrack] in [/vagrant/orktrack/target/orktrack-0.0.2-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp webResources [/vagrant/orktrack/src/main/webapp] to [/vagrant/orktrack/target/orktrack-0.0.2-SNAPSHOT]
[INFO] Copying webapp resources [/vagrant/orktrack/src/main/webapp]
[INFO] Webapp assembled in [3628 msecs]
[INFO] Building war: /vagrant/orktrack/target/orktrack-0.0.2-SNAPSHOT.war
[INFO]
[INFO] ------------------------< net.sf.oreka:orkweb >-------------------------
[INFO] Building orkweb 0.0.2-SNAPSHOT [3/4]
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ orkweb ---
[INFO] Deleting /vagrant/orkweb/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ orkweb ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /vagrant/orkweb/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ orkweb ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 24 source files to /vagrant/orkweb/target/classes
[WARNING] /vagrant/orkweb/src/net/sf/oreka/services/UserServiceHbn.java: Some input files use or override a deprecated API.
[WARNING] /vagrant/orkweb/src/net/sf/oreka/services/UserServiceHbn.java: Recompile with -Xlint:deprecation for details.
[WARNING] /vagrant/orkweb/src/net/sf/oreka/services/RecSegmentServiceHbn.java: Some input files use unchecked or unsafe operations.
[WARNING] /vagrant/orkweb/src/net/sf/oreka/services/RecSegmentServiceHbn.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ orkweb ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ orkweb ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ orkweb ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-war-plugin:2.4:war (default-war) @ orkweb ---
[INFO] Packaging webapp
[INFO] Assembling webapp [orkweb] in [/vagrant/orkweb/target/orkweb-0.0.2-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp webResources [/vagrant/orkweb/context] to [/vagrant/orkweb/target/orkweb-0.0.2-SNAPSHOT]
[INFO] Copying webapp webResources [/vagrant/orkweb/src] to [/vagrant/orkweb/target/orkweb-0.0.2-SNAPSHOT]
[INFO] Webapp assembled in [4765 msecs]
[INFO] Building war: /vagrant/orkweb/target/orkweb-0.0.2-SNAPSHOT.war
[INFO]
[INFO] ---------------------< net.sf.oreka:orekaj-parent >---------------------
[INFO] Building orekaj-parent 0.0.2-SNAPSHOT [4/4]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ orekaj-parent ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for orekaj-parent 0.0.2-SNAPSHOT:
[INFO]
[INFO] orkbasej ........................................... SUCCESS [ 7.281 s]
[INFO] orktrack ........................................... SUCCESS [ 22.036 s]
[INFO] orkweb ............................................. SUCCESS [ 19.778 s]
[INFO] orekaj-parent ...................................... SUCCESS [ 0.004 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.299 s
[INFO] Finished at: 2021-12-23T10:23:44Z
[INFO] ------------------------------------------------------------------------
Yes, success
I built in subdirectory oreka/orktrack
, actually should build in root directory oreka
.
There are multiple modules, hence you would either need to build them in sequence or build in the top directory for maven to automatically build them in sequence.
Please reopen this issue if you still face any issues.