Posts Tagged ‘Maven’
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
Feature Request for Android 2.1
Customizing the Import-Package Header in Apache Felix Maven Plugin
You can replace it, but not append to it.
<plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <Import-Package>br.eti.fernandoribeiro</Import-Package> </instructions> </configuration> </plugin>
Thanks to Igor for the original post.
JBoss Packaging Maven Plugin
JBossESB in Apache Maven
Bug in Maven 2 JBI Plugin 4.1
Fixed in 4.2.
https://issues.apache.org/activemq/browse/SM-1873
I’m waiting for it to add OSGi bundle manifests to SAs.

