2008년 08월 03일
maven과 junit4
내 피시 버젼은
maven 2.0.7이다
2.0.6에서는 그냥 junit4을 사용할수 없나 보다
아래의 url에서 가져왔다. 테스트 해 보자
http://www.in-vitro.jp/blog/index.cgi/Maven/20070426_01.htm
pom.xml で Surefire のバージョンを最新(?) のものに指定する必要がある
<?xml version="1.0"?>
<project>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.3</version>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
# by | 2008/08/03 23:37 | 오픈소스 | 트랙백 | 덧글(0)





☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]