pom.xml
changeset 1 940c8f9a9fbc
parent 0 a1745efa117a
     1.1 --- a/pom.xml	Wed May 11 01:14:31 2011 +0400
     1.2 +++ b/pom.xml	Wed May 11 01:42:42 2011 +0400
     1.3 @@ -14,7 +14,7 @@
     1.4  		<version>19</version>
     1.5  	</parent>
     1.6  
     1.7 -	<groupId>ru.indvdum.maven</groupId>
     1.8 +	<groupId>ru.indvdum.maven.plugins</groupId>
     1.9  	<artifactId>maven-wd-plugin</artifactId>
    1.10  	<version>0.0.1-SNAPSHOT</version>
    1.11  	<packaging>maven-plugin</packaging>
    1.12 @@ -60,34 +60,43 @@
    1.13  			<version>3.8.1</version>
    1.14  			<scope>test</scope>
    1.15  		</dependency>
    1.16 +		<dependency>
    1.17 +			<groupId>org.apache.maven.plugins</groupId>
    1.18 +			<artifactId>maven-dependency-plugin</artifactId>
    1.19 +			<version>2.2</version>
    1.20 +		</dependency>
    1.21  	</dependencies>
    1.22  
    1.23  	<build>
    1.24 -		<pluginManagement>
    1.25 -			<plugins>
    1.26 -				<plugin>
    1.27 -					<artifactId>maven-compiler-plugin</artifactId>
    1.28 -					<version>2.1</version>
    1.29 -					<configuration>
    1.30 -						<source>1.6</source>
    1.31 -						<target>1.6</target>
    1.32 -					</configuration>
    1.33 -				</plugin>
    1.34 -			</plugins>
    1.35 -		</pluginManagement>
    1.36  		<plugins>
    1.37  			<plugin>
    1.38 +				<artifactId>maven-compiler-plugin</artifactId>
    1.39 +				<version>2.1</version>
    1.40 +				<configuration>
    1.41 +					<source>1.6</source>
    1.42 +					<target>1.6</target>
    1.43 +					<encoding>UTF-8</encoding>
    1.44 +				</configuration>
    1.45 +			</plugin>
    1.46 +			<plugin>
    1.47 +				<artifactId>maven-source-plugin</artifactId>
    1.48 +				<configuration>
    1.49 +					<attach>true</attach>
    1.50 +				</configuration>
    1.51 +				<executions>
    1.52 +					<execution>
    1.53 +						<phase>generate-sources</phase>
    1.54 +						<goals>
    1.55 +							<goal>jar</goal>
    1.56 +						</goals>
    1.57 +					</execution>
    1.58 +				</executions>
    1.59 +			</plugin>
    1.60 +			<plugin>
    1.61  				<groupId>org.apache.maven.plugins</groupId>
    1.62 -				<artifactId>maven-surefire-plugin</artifactId>
    1.63 +				<artifactId>maven-resources-plugin</artifactId>
    1.64  				<configuration>
    1.65 -					<!-- Need of more head space in order to run the unit tests !-->
    1.66 -					<argLine>-Xmx256m</argLine>
    1.67 -					<systemProperties>
    1.68 -						<property>
    1.69 -							<name>maven.home</name>
    1.70 -							<value>${maven.home}</value>
    1.71 -						</property>
    1.72 -					</systemProperties>
    1.73 +					<encoding>UTF-8</encoding>
    1.74  				</configuration>
    1.75  			</plugin>
    1.76  		</plugins>