When I was setting up my pom.xml for Maven, the version for maven-compiler-plugin returned an error, the error was Plugin "org.apache.maven.plugins:maven-compiler-plugin:2.3.2" not found So I tried a bunch of different other versions and it still didn't work, here's a photo Edit: The more option says 'Inspects a Maven model for resolution problems'
Try that, I can't remember if thats what I did to fix my red version numbers. Its worth a try. If I could remember correctly, I'd tell you how I did it, but thats the best I got. If not try invalidate your caches, and relaunch IntelliJ. You also could try a 'mvn clean install' run.
Hmm lemme go do some more digging and see if I can recreate it. I did have the same issue, but I did something to fix it. And yeah I'm on 13 too.
iiHeroo Can't reproduce your issue. Also, how do you guys have your intellij theme be black? Mine is white and sometimes its too white.
Files > Settings > Editor > Colors & Fonts (Dont click on the arrow for it to break it down) Color Scheme: Darcula Apply Ok Exit & Restart
Code: <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.me.horrgs</groupId> <artifactId>KitPvP</artifactId> <version>1.0</version> <name>KitPvP</name> <build> <defaultGoal>clean package install</defaultGoal> <finalName>KitPvP</finalName> <sourceDirectory>${basedir}/src/main/java</sourceDirectory> <resources> <resource> <targetPath>.</targetPath> <filtering>true</filtering> <directory>${basedir}/src/main/resources/</directory> <includes> <include>*.yml</include> </includes> </resource> </resources> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>src/main/assembly/package.xml</descriptor> </descriptors> </configuration> <executions> <execution> <id>build</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.bukkit</groupId> <artifactId>bukkit</artifactId> <version>LATEST</version> </dependency> <dependency> <groupId>org.bukkit</groupId> <artifactId>bukkit</artifactId> <version>1.7.2-R0.1-SNAPSHOT</version> </dependency> </dependencies> <repositories> <repository> <id>bukkit-repo</id> <url>http://repo.bukkit.org/content/groups/public/</url> </repository> </repositories> </project>
C:\Users\laazy_000\.m2\repository\org\apache\maven\plugins iiHeroo Did you clear out your plugins from your .m2 folder? and then reimport? also my pom.xml has this in it and everything is working Code: <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1.1</version> <configuration> <source>1.6</source> <target>1.6</target> <encoding>UTF-8</encoding> </configuration> </plugin> </plugins> </pluginManagement> dunno if that actually changes anything or not
Code:xml <?xml version="1.0" encoding="UTF-8"?><project xmlns:xsi="[url]http://www.w3.org/2001/XMLSchema-instance[/url]" xmlns="[url]http://maven.apache.org/POM/4.0.0[/url]" xsi:schemaLocation="[url]http://maven.apache.org/POM/4.0.0[/url] [url]http://maven.apache.org/xsd/maven-4.0.0.xsd[/url]"> <modelVersion>4.0.0</modelVersion> <groupId>com.not2excel</groupId> <artifactId>EXceLRPG</artifactId> <version>0.0.1</version> <packaging>jar</packaging> <name>EXceLRPG</name> <build> <finalName>EXceLRPG</finalName> <sourceDirectory>${basedir}/src/main/java</sourceDirectory> <directory>${basedir}/builds</directory> <resources> <resource> <targetPath>.</targetPath> <filtering>true</filtering> <directory>${basedir}/src/main/resources/</directory> <includes> <include>*.yml</include> <include>*.properties</include> <include>*.md</include> </includes> </resource> </resources> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1.1</version> <configuration> <source>1.6</source> <target>1.6</target> <encoding>UTF-8</encoding> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>src/main/assembly/package.xml</descriptor> </descriptors> </configuration> <executions> <execution> <id>build</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version> <executions> <execution> <id>copy-resources</id> <phase>validate</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.directory}</outputDirectory> <includeEmptyDirs>true</includeEmptyDirs> <resources> <resource> <directory>${basedir}/src/main/resources</directory> <filtering>false</filtering> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>2.2</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> </execution> </executions> <configuration> <finalName>${project.artifactId}-${project.version}</finalName> <!--<relocations>--> <!--<relocation>--> <!--<pattern>com.not2excel.api</pattern>--> <!--<shadedPattern>com.not2excel.api</shadedPattern>--> <!--</relocation>--> <!--</relocations>--> <artifactSet> <excludes> <exclude>*:EXceLAPI</exclude> <exclude>*:bukkit</exclude> <exclude>*:craftbukkit</exclude> </excludes> </artifactSet> </configuration> </plugin> </plugins> </build> <repositories> <repository> <id>bukkit-repo</id> <url>[url]http://repo.bukkit.org/content/groups/public/</url>[/url] <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> </snapshots> </repository> <repository> <id>CommandAPI</id> <url>[url]https://github.com/Not2EXceL/EXceLAPI_Builds/raw/master</url>[/url] <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> </snapshots> </repository> </repositories> <dependencies> <dependency> <groupId>org.bukkit</groupId> <artifactId>bukkit</artifactId> <version>LATEST</version> <type>jar</type> <scope>provided</scope> </dependency> <dependency> <groupId>org.bukkit</groupId> <artifactId>craftbukkit</artifactId> <version>LATEST</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.not2excel.api</groupId> <artifactId>EXceLAPI</artifactId> <version>LATEST</version> <type>jar</type> <scope>provided</scope> </dependency> </dependencies> <distributionManagement> <repository> <id>internal.repo</id> <name>Temporary Staging Repository</name> <url>file://${project.build.directory}/repo</url> </repository> </distributionManagement></project>