maven

git commit id などを、埋め込んでくれるmaven plugin

git attributes ident とか filter とかで、問題がないならいいのだが、 eclise のegitだと git attributes をサポートしていないようなので(357039 – EGit does not handle .gitattributes ident) javaなら GitHub - git-commit-id/maven-git-commit-id-plu…

複数のスキーマのソースを生成するときのmavenメモ

id を指定するのを忘れないことjava - How can i tell jaxb / Maven to genereate multiple schema packages? - Stack Overflow http://stackoverflow.com/questions/2857081/how-can-i-tell-jaxb-maven-to-genereate-multiple-schema-packages上のところに…

hudsonから、mavenのjunitにパラメータを渡す

matrix projectや、普通のプロジェクトでパラメータを渡してビルドするときに、そのパラメータをもらってテストするにはmaven-surefire-plugin 2.5とかなら <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.5</version> <configuration> <systemPropertyVariables> <propertyName>firefox</propertyName> </systempropertyvariables></configuration></plugin>