Plugin Missing
Closed this issue · 1 comments
I spent many days trying to figure out why this is red. I think in the end, it appears to be because I am developing on windows and building on linux; while this plugin is intended to build RPMs only on linux so it is failing downloading the maven dependencies on windows or something.
It's all extremely confusing, I just noticed that when I do mvn clean install
from WSL2 instead of windows it gets a lot further but still fails. I also notice that when I start typing in maven Intellij does see the package but ends up refusing to recogize it... i.e. code suggestion sees it, but once type it doesn't like it.
I don't really understand what is happening here and forums were of little help... can you assist?
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.proj</groupId>
<artifactId>codachrome-deployer</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>type</module>
<module>role</module>
<module>host</module>
</modules>
<properties>
<java.version>11</java.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring.boot.version>2.4.2</spring.boot.version>
</properties>
<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2/org/codehaus/mojo/</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
<version>2.2.0</version>
<extensions>true</extensions>
<configuration>
<group>Project</group>
<needarch>x86_64</needarch>
<defaultDirmode>755</defaultDirmode>
<defaultFilemode>644</defaultFilemode>
<defaultUsername>root</defaultUsername>
<defaultGroupname>root</defaultGroupname>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
<version>2.2.0</version>
</plugin>
</plugins>
</build>
</project>
The red marking is IDEA IntelliJ Is a bug in IntelliJ this is not limited to Windows also on MacOS (as myself) etc...