Skip to content

Instantly share code, notes, and snippets.

@moacir
Created October 27, 2010 15:20
Show Gist options
  • Save moacir/649237 to your computer and use it in GitHub Desktop.
Save moacir/649237 to your computer and use it in GitHub Desktop.
Parent
<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>
<groupId>org.searchengine</groupId>
<artifactId>crawler</artifactId>
<packaging>jar</packaging>
<version>0.1-SNAPSHOT</version>
<name>crawler</name>
<url>http://maven.apache.org</url>
<parent>
<groupId>org.searchengine</groupId>
<artifactId>searchengine</artifactId>
<version>0.1-SNAPSHOT</version>
</parent>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<archive>
<manifest>
<mainClass>org.searchengine.crawler.app.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.searchengine</groupId>
<artifactId>database</artifactId>
<version>0.1-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
<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.searchengine</groupId>
<version>0.1-SNAPSHOT</version>
<artifactId>searchengine</artifactId>
<packaging>pom</packaging>
<modules>
<module>crawler</module>
<module>server</module>
<module>service</module>
<module>database</module>
<module>commons</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment