Disclaimer
Frank is a software engineer in north California. This is a personal web site. The opinions expressed here represent my own but not those of my employer. You can find him on Twitter too.
Recent Comments
- don on How to read cassandra source code by Ran
- lin1987www on Tutorial: Create android gradle project with dagger
- frankdu on Tutorial: Create android gradle project with dagger
- frankdu on Tutorial: Create android gradle project with dagger
- devender kumar on Tutorial: Create android gradle project with dagger
-
Recent Posts
Categories
Archives
- February 2019
- January 2014
- November 2013
- September 2013
- January 2013
- July 2011
- April 2011
- March 2011
- February 2011
- January 2011
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
Meta
Category Archives: maven2
Set the source level to Java 6 for maven 2 compiler
By default, the source level is 1.3 in maven 2. We need to config maven compiler to use Java 1.6. Add the following snippet to your pom:
1 2 3 4 5 6 7 8 9 10 11 12 |
<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> |
Use maven dependency plugin to copy all dependencies to a folder
In some cases, we’d like to get all the dependency jar files for a project. There is a maven plugin to do it simply, via a simple way. Just add the build sections to your pom file, as shown below: … Continue reading
Write Xml editor by Extending WTP Xml Editor
Several months ago, I posted a blog about writing a Xml editor based on JFace Text Framework. What has changed in the past months? On my side, I went to frequently the eclipse newsgroups. I went to EclipseCon’09 and listened … Continue reading