#112
[Maven] Deploy to Google Code / Project Hosting (Download Page)
<plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.7</version> <executions> <execution> <id>googlecode</id> <phase>deploy</phase> <goals> <goal>run</goal> </goals> <configuration> <!-- Deploy to Google Code 'Download' page --> <target> <typedef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" classpath="${googlecode.lib.path}/${googlecode.lib.file}" name="gcupload"/> <gcupload username="${googlecode.user}" password="${googlecode.password}" projectname="${googlecode.project}" filename="${project.build.directory}/${project.artifactId}-${project.version}.apk" targetfilename="${project.artifactId}-${project.officialVersion}-${BUILD_NUMBER}.apk" summary="Version ${project.officialVersion} of ${project.name} (Build ${BUILD_NUMBER} on ${project.buildDate})" labels="Featured, Type-Package, APK" /> </target> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <version>1.8.3</version> </dependency> </dependencies> </plugin>
[Java] Read/Write properties file (keeping layout & comments) [Maven] Send mail with attachment