So, I tried making another project depending on my base project, it worked and now for some reason my base project won't build correctly.
Whenever I build my maven project, no jar is outputted anywhere. I checked my build path, and the target folder.
My pom.xml:
<?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>...</groupId>
<artifactId>...</artifactId>
<version>1.1</version>
<repositories>
...
</repositories>
<dependencies>
...
</dependencies>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<resources>
<resource>
<directory>${basedir}</directory>
<includes>
...
</includes>
<excludes>
<exclude>target/</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<outputDirectory>...</outputDirectory>
</configuration>
</plugin>
</plugins>
</build>
</project>
Now, with my original builds they still had the target folder for some reason, but now nothing is built at all.
<packaging>jar</packaging>
in your pom help?mvn clean package
on command line and see if there is no error/warning etc. afterwards take a look into target folder...Why have you added repositories in your pom file? Are within a company ?