Created
January 14, 2011 22:12
-
-
Save tfnico/780375 to your computer and use it in GitHub Desktop.
An alternative pom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>com.tfnico.examples</groupId> | |
<artifactId>foo</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<relativePath>./pom.xml</relativePath> | |
</parent> | |
<name>Fast build</name> | |
<groupId>com.tfnico.examples</groupId> | |
<artifactId>foo-fastbuild</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>pom</packaging> | |
<modules> | |
<module>foo-core</module> | |
<module>foo-web</module> | |
<!-- Here there are just two projects, | |
the parent/normal foo project has more, | |
but we don't need to build them in the | |
fast build --> | |
</modules> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<name>Normal Foo</name> | |
<groupId>com.tfnico.examples</groupId> | |
<artifactId>foo</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>pom</packaging> | |
<build> | |
<pluginManagement> | |
<!-- Manage plugins here --> | |
</pluginManagement> | |
</build> | |
<dependencyManagement> | |
<!-- Insert dependencies here --> | |
</dependencyManagement> | |
<modules> | |
<module>foo-core</module> | |
<module>foo-web</module> | |
<module>foo-texts</module> | |
<module>foo-resources</module> | |
</modules> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment