You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.
Duplicated file: about.html, found in archive C:\Users\...\jetty-client-7.6.0.RC4.jar C:\Users\...\jetty-http-7.6.0.RC4.jar: Duplicate files at the same path inside the APK
#125
Open
rusakovichma opened this issue
Jun 7, 2016
· 1 comment
Hello!
I got this error while compiling the project. May you give any clue how to fix it?
Thanks
This is the full trace:
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.mortbay.ijetty:i-jetty:apk:3.2-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for com.jayway.maven.plugins.android.generation2:maven-android-plugin is missing. @ line 58, column 17
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building I-Jetty :: Android Application 3.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- android-maven-plugin:4.0.0-rc.2:generate-sources (default-generate-sources) @ i-jetty ---
[INFO] Extracting libs
[INFO] Generating R file for org.mortbay.ijetty:i-jetty:apk:3.2-SNAPSHOT
[INFO] Adding R gen folder to compile classpath: D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\target\generated-sources\r
[INFO] Adding AIDL gen folder to compile classpath: D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\target\generated-sources\aidl
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ i-jetty ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3:compile (default-compile) @ i-jetty ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files to D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\target\classes
[INFO]
[INFO] --- android-maven-plugin:4.0.0-rc.2:unpack (default-unpack) @ i-jetty ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ i-jetty ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3:testCompile (default-testCompile) @ i-jetty ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ i-jetty ---
[INFO] No tests to run.
[INFO]
[INFO] --- android-maven-plugin:4.0.0-rc.2:dex (default-dex) @ i-jetty ---
[INFO] Convert classes to Dex : D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\target\classes.dex
[INFO]
[INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ i-jetty ---
[INFO] Building jar: D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\target\i-jetty-3.2-SNAPSHOT.jar
[INFO]
[INFO] --- android-maven-plugin:4.0.0-rc.2:apk (default-apk) @ i-jetty ---
[INFO] Generating debug apk.
[INFO] Adding native libraries : []
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.365s
[INFO] Finished at: Tue Jun 07 18:49:25 EEST 2016
[INFO] Final Memory: 22M/166M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:4.0.0-rc.2:apk (default-apk) on project i-jetty: Duplicated file: about.html, found in archive C:\Users\Rusakovich.m2\repository\org\eclipse\jetty\jetty-client\7.6.0.RC4\jetty-client-7.6.0.RC4.jar and C:\Users\Rusakovich.m2\repository\org\eclipse\jetty\jetty-http\7.6.0.RC4\jetty-http-7.6.0.RC4.jar: Duplicate files at the same path inside the APK -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
The text was updated successfully, but these errors were encountered:
Hello!
I got this error while compiling the project. May you give any clue how to fix it?
Thanks
This is the full trace:
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.mortbay.ijetty:i-jetty:apk:3.2-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for com.jayway.maven.plugins.android.generation2:maven-android-plugin is missing. @ line 58, column 17
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building I-Jetty :: Android Application 3.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- android-maven-plugin:4.0.0-rc.2:generate-sources (default-generate-sources) @ i-jetty ---
[INFO] Extracting libs
[INFO] Generating R file for org.mortbay.ijetty:i-jetty:apk:3.2-SNAPSHOT
[INFO] Adding R gen folder to compile classpath: D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\target\generated-sources\r
[INFO] Adding AIDL gen folder to compile classpath: D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\target\generated-sources\aidl
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ i-jetty ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3:compile (default-compile) @ i-jetty ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files to D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\target\classes
[INFO]
[INFO] --- android-maven-plugin:4.0.0-rc.2:unpack (default-unpack) @ i-jetty ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ i-jetty ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3:testCompile (default-testCompile) @ i-jetty ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ i-jetty ---
[INFO] No tests to run.
[INFO]
[INFO] --- android-maven-plugin:4.0.0-rc.2:dex (default-dex) @ i-jetty ---
[INFO] Convert classes to Dex : D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\target\classes.dex
[INFO]
[INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ i-jetty ---
[INFO] Building jar: D:\workspace\AndroidJetty\i-jetty\i-jetty\i-jetty-ui\target\i-jetty-3.2-SNAPSHOT.jar
[INFO]
[INFO] --- android-maven-plugin:4.0.0-rc.2:apk (default-apk) @ i-jetty ---
[INFO] Generating debug apk.
[INFO] Adding native libraries : []
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.365s
[INFO] Finished at: Tue Jun 07 18:49:25 EEST 2016
[INFO] Final Memory: 22M/166M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:4.0.0-rc.2:apk (default-apk) on project i-jetty: Duplicated file: about.html, found in archive C:\Users\Rusakovich.m2\repository\org\eclipse\jetty\jetty-client\7.6.0.RC4\jetty-client-7.6.0.RC4.jar and C:\Users\Rusakovich.m2\repository\org\eclipse\jetty\jetty-http\7.6.0.RC4\jetty-http-7.6.0.RC4.jar: Duplicate files at the same path inside the APK -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
The text was updated successfully, but these errors were encountered: