Java pom.xml add defaultGoal to build

<build>
<defaultGoal>compile</defaultGoal>
		<resources>
			<resource>
				<directory>src/main/resources</directory>
				<excludes>
					<exclude>**/*.psd</exclude>
				</excludes>
			</resource>
		</resources>
    .....
</build>

build .jar

mvn package