When I download the jicofo project and open it in intelliJ, an error occurs in the section below in pom.xml.
jicofo/pom.xml at stable/jitsi-meet_7439 · jitsi/jicofo · GitHub
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
error: Plugin ‘org.jacoco:jacoco-maven-plugin:0.8.7’ not found
I tried upgrading the version that was 0.8.7 to 0.8.8, I tried mvn clean install, and I turned off the project and turned it back on. I also deleted the .m2 folder and reinstalled it.
But I keep getting an error over there.
So I ended up deleting the test folder and the jacoco-maven-plugin section. Is it really okay to delete this? Any problem?
Deleted sections:
<profiles>
<profile>
<id>coverage</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<!-- attached to Maven test phase -->
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
The document below says to enter the mvn command.
But that mvn command didn’t work because of the error thrown by jacoco-maven-plugin.
However, when jacoco-maven-plugin was deleted from pom.xml, the mvn command worked.
mvn package -DskipTests -Dassembly.skipAssembly=false