Sure. Update your POM with:
<build>
<directory>my_new_build_path</directory>
</build>
Part 2: To specify the output path for a WAR:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0</version>
<configuration>
<warName>test-web-app</warName>
<outputDirectory>my_output_path</outputDirectory>
</configuration>
</plugin>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…