使用android-maven-plugin时,有resourceDirectory参数允许您配置资源目录。如何配置多个资源目录?
以下是pom文件的示例,可以为android-maven-plugin配置resourceDirectory,但只能配置一个目录。 有没有办法配置多个资源目录?
我尝试了build-helper-maven-plugin。它没有帮助。 http://mojo.codehaus.org/build-helper-maven-plugin/usage.html
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>3.3.2</version>
<configuration>
<androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
<assetsDirectory>${project.basedir}/assets</assetsDirectory>
<resourceDirectory>${project.basedir}/res</resourceDirectory>
<genDirectory>${project.basedir}/gen</genDirectory>
<deleteConflictingFiles>true</deleteConflictingFiles>
<undeployBeforeDeploy>true</undeployBeforeDeploy>
<sdk>
<platform>7</platform>
</sdk>
</configuration>
<extensions>true</extensions>
</plugin>