Build single jar android lib
<build>
<plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>animal-sniffer-maven-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
<plugin>
<groupId>com.simpligility.maven.plugins</groupId>
<artifactId>android-maven-plugin</artifactId>
<configuration>
- <dex>
- <multiDex>true</multiDex>
- </dex>
+ <dexMultiDex>true</dexMultiDex>
+ <release>true</release>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>dep-copy</id>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeScope>runtime</includeScope>
+ <outputDirectory>${project.build.directory}/classes</outputDirectory>
</configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
<artifactId>android</artifactId>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>com.google.android</groupId>
- <artifactId>support-v4</artifactId>
- <scope>provided</scope>
- </dependency>
<!-- Open eCard Stuff -->
<dependency>
<version>${project.version}</version>
</dependency>
- <!-- Problem with WebMethod Annotation -->
+ <!-- WebMethod Annotation is needed at runtime -->
<dependency>
<groupId>javax.jws</groupId>
<artifactId>jsr181-api</artifactId>
</dependency>
-
- <!-- Android Logging -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
</dependencies>
</project>
