Posts Tagged ‘Maven’
Bug in Maven 2 JAXB 2.x Plugin 0.7.1
Bug in Antenna 1.0.2+
http://sourceforge.net/tracker/?func=detail&aid=3105017&group_id=67420&atid=517826
According to Vlad, the plugin is going to be updated to 1.0.2+ when it is available in the Maven Central repo.
Maven J2ME Plugin
Generating Get/Set Methods for xs:boolean in Maven JAXB Plugin 0.7.4
If you get the Property 'foo' not readable on type java.lang.Boolean message, you need to change the name of the generated getters from isFoo() to getFoo().
<?xml version="1.0" encoding="UTF-8"?>
<project>
...
<build>
...
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.7.4</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<args>
<arg>-enableIntrospection</arg>
</args>
</configuration>
</plugin>
...
</plugins>
...
</build>
...
</project>
Improvement to Maven Android Plugin
Archetypes are always a good thing to have.
http://code.google.com/p/maven-android-plugin/issues/detail?id=44 (vote for it!)
Multiple source directories with maven2
Sample POM for Maven Android Plugin 2.2.2
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>br.eti.fernandoribeiro.sample</groupId>
<artifactId>sample</artifactId>
<packaging>apk</packaging>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>android</groupId>
<artifactId>android</artifactId>
<version>2.1_r1</version> <!-- Replace with version in use -->
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory> <!-- Remove if not using ADT plugin for Eclipse -->
<plugins>
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>maven-android-plugin</artifactId>
<version>2.2.2</version>
<configuration>
<sdk>
<path>${env.ANDROID_HOME}</path>
<platform>2.1</platform> <!-- Replace with version in use -->
</sdk>
</configuration>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
http://developer.android.com/guide/developing/eclipse-adt.html
Bug in Maven Android Plugin 2.2.2
Bug in Maven Android Plugin 2.2.2
The ANDROID-904-222: Found aidl file messages need to go.
http://code.google.com/p/maven-android-plugin/issues/detail?id=53 (vote for it!)