Exception in thread “main” java.lang.AssertionError

I had the same issue. Forcing maven-compiler-plugin to use javac helped me discover actual compilation errors. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId>   <configuration>     <forceJavacCompilerUse>true</forceJavacCompilerUse>   </configuration> </plugin> More details can be found in this Maven Compiler Plugin bug report Edit: the issue is fixed in maven-compiler-plugin version 3.10.1

How to execute a maven plugin twice with different property

Given the simple Maven Source Plugin configuration (as an example) you have a shared configuration across all of its executions (outside the executions element) and then a custom configuration per each execution, for the same phase, as requested by your question: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.4</version> <configuration> <includePom>true</includePom> </configuration> <executions> <execution> <id>test-id1</id> <phase>verify</phase> <goals> … Read more

Different maven compiler versions for test and main

If you want to set compliance to the relevant Java version, you can configure the compiler plugin for each execution. Assuming Maven is using a JDK at least as current as the highest version you specify. By using properties you can override that configuration on the commandline or in a child if needed: <plugin> <groupId>org.apache.maven.plugins</groupId> … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)