added source plugin to build cycle
[lwes-java.git] / pom.xml
blobecb96641b1ed0cde6810bf1076f2c49cb19b3999
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <groupId>org.lwes</groupId>
6     <artifactId>lwes-java</artifactId>
7     <packaging>jar</packaging>
8     <version>0.2.0-SNAPSHOT</version>
9     <name>lwes-java</name>
10     <url>http://maven.apache.org</url>
11     <dependencies>
12         <dependency>
13             <groupId>junit</groupId>
14             <artifactId>junit</artifactId>
15             <version>4.4</version>
16             <scope>test</scope>
17         </dependency>
18         <dependency>
19             <groupId>commons-codec</groupId>
20             <artifactId>commons-codec</artifactId>
21             <version>1.3</version>
22             <scope>test</scope>
23         </dependency>
24     </dependencies>
25     <build>
26         <resources>
27             <resource>
28                 <directory>src/main/resources</directory>
29                 <filtering>true</filtering>
30             </resource>
31         </resources>
32         <plugins>
33             <plugin>
34               <groupId>org.apache.maven.plugins</groupId>
35               <artifactId>maven-source-plugin</artifactId>
36               <executions>
37                 <execution>
38                   <phase>package</phase>
39                   <goals>
40                     <goal>jar</goal>
41                   </goals>
42                 </execution>
43               </executions>
44             </plugin>            
45             <plugin>
46                 <groupId>org.codehaus.mojo</groupId>
47                 <artifactId>javacc-maven-plugin</artifactId>
48                 <version>2.6</version>
49                 <executions>
50                     <execution>
51                         <id>javacc</id>
52                         <goals>
53                             <goal>javacc</goal>
54                         </goals>
55                     </execution>
56                 </executions>
57             </plugin>
58             <plugin>
59                 <groupId>org.apache.maven.plugins</groupId>
60                 <artifactId>maven-resources-plugin</artifactId>
61                 <configuration>
62                     <encoding>UTF-8</encoding>
63                 </configuration>
64             </plugin>
65             <plugin>
66                 <artifactId>maven-compiler-plugin</artifactId>
67                 <configuration>
68                     <source>1.5</source>
69                     <target>1.5</target>
70                 </configuration>
71             </plugin>
72             <plugin>
73                 <artifactId>maven-surefire-plugin</artifactId>
74                 <version>2.3</version>
75             </plugin>
76         </plugins>
77     </build>
78     <repositories>
79         <repository>
80             <id>central</id>
81             <name>Maven central repository</name>
82             <url>http://repo1.maven.org/maven2/</url>
83         </repository>
84     </repositories>
85 </project>