paulvi / TODO

0 stars 0 forks source link

maven-bundle-plugin:3.0.1:manifest An internal error occurred java.lang.IllegalStateException: #10

Open paulvi opened 8 years ago

paulvi commented 8 years ago
[INFO] --- maven-bundle-plugin:3.0.1:manifest (bundle-manifest) @ bee.besta.timer ---
[ERROR] An internal error occurred
java.lang.IllegalStateException: Calc manifest failed, state=
{pom.id=com.zteict.bee:bee.besta.timer:bundle:4.5.0, file.encoding.pkg=sun.io, Embed-Dependency=*;scope=compile|runtime, env.PROMPT=$P$G, env.=D:=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1, java.home=C:\Program Files\Java\jdk1.8.0_74\jre, pom.contributors=[], project.build.developers=[], classworlds.conf=D:\Progs\Maven\apache-maven-3.3.9\bin\..\bin\m2.conf, pom.pomFile=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1\Domain\Besta\bee.besta.timer\pom.xml, java.endorsed.dirs=C:\Program Files\Java\jdk1.8.0_74\jre\lib\endorsed, project.build.groupId=com.zteict.bee, env.USERNAME=Paul Verest, sun.os.patch.level=Service Pack 1, java.vendor.url=http://java.oracle.com/, env.COMPUTERNAME=PAULVEREST-PC, Bundle-ClassPath=.,lib/quartz-2.1.7.jar,lib/neodatis-odb-1.9.30.689.jar, pom.profiles=[], maven-symbolicname=com.zteict.bee.besta.timer, java.version=1.8.0_74, project.build.contributors=[], java.vendor.url.bug=http://bugreport.sun.com/bugreport/, env.USERPROFILE=C:\Users\Paul Verest, user.name=Paul Verest, project.build.pomFile=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1\Domain\Besta\bee.besta.timer\pom.xml, sun.io.unicode.encoding=UnicodeLittle, sun.jnu.encoding=Cp1252, java.runtime.name=Java(TM) SE Runtime Environment, project.build.outputdirectory=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1\Domain\Besta\bee.besta.timer\target\classes, env.LOCALAPPDATA=C:\Users\Paul Verest\AppData\Local, env.WINDOWS_TRACING_LOGFILE=C:\BVTBin\Tests\installpackage\csilogfile.log, env.COMMONPROGRAMW6432=C:\Program Files\Common Files, project.version=4.5.0, java.specification.name=Java Platform API Specification, user.timezone=, pom.mailingLists=[], user.script=, path.separator=;, project.contributors=[], pom.artifactId=bee.besta.timer, env.MAVEN_CMD_LINE_ARGS=install -rf :bee.besta.timer, env.PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel, project.name=bee.besta.timer, file.encoding=Cp1252, jdk6=C:\Program Files (x86)\Java\jdk1.6.0_24, pom.url=http://www.zteict.com/Domain/Besta/bee.besta.timer, env.JAVA6=C:\Program Files (x86)\Java\jdk1.6.0_24, env.HOME=C:\Users\Paul Verest, sun.java.command=org.codehaus.plexus.classworlds.launcher.Launcher install -rf :bee.besta.timer, env.NUMBER_OF_PROCESSORS=4, env.APPDATA=C:\Users\Paul Verest\AppData\Roaming, project.id=com.zteict.bee:bee.besta.timer:bundle:4.5.0, env.WINDIR=C:\Windows, Export-Package=bee.besta.timer.annotation;version="4.5.0",bee.besta.timer.data;version="4.5.0";uses:="bee.besta.timer.service.extention",bee.besta.timer.service;version="4.5.0";uses:="bee.besta.timer.service.extention,bee.besta.timer.data",bee.besta.timer.service.extention;version="4.5.0";uses:="bee.base.service,bee.besta.business.service", java.io.tmpdir=C:\Users\PAULVE~1\AppData\Local\Temp\, project.build.mailingLists=[], user.language=en, Embed-Transitive=false, Include-Resource=lib/quartz-2.1.7.jar=C:\Users\Paul Verest\.m2\repository\org\quartz-scheduler\quartz\2.1.7\quartz-2.1.7.jar,lib/neodatis-odb-1.9.30.689.jar=C:\Users\Paul Verest\.m2\repository\org\neodatis\odb\neodatis-odb\1.9.30.689\neodatis-odb-1.9.30.689.jar,META-INF/MANIFEST.MF=META-INF/MANIFEST.MF, line.separator=
, project.build.directory=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1\Domain\Besta\bee.besta.timer\target, env.COMMONPROGRAMFILES=C:\Program Files\Common Files, java.vm.info=mixed mode, env.DEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection, sun.desktop=windows, java.vm.specification.name=Java Virtual Machine Specification, env.M2_HOME=D:\Progs\Maven\apache-maven-3.3.9\bin\.., project.build.id=com.zteict.bee:bee.besta.timer:bundle:4.5.0, env.PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, env.WDIR=D:\, project.build.licenses=[], pom.modelVersion=4.0.0, project.licenses=[], env.LOGONSERVER=\\PAULVEREST-PC, env.PSMODULEPATH=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\, project.developers=[], java.awt.printerjob=sun.awt.windows.WPrinterJob, project.url=http://www.zteict.com/Domain/Besta/bee.besta.timer, -removeheaders=Include-Resource,Private-Package, env.PUBLIC=C:\Users\Public, pom.version=4.5.0, env.USERDOMAIN=PaulVerest-PC, -plugin=org.apache.felix.bundleplugin.BlueprintPlugin,aQute.lib.spring.SpringXMLType, project.mailingLists=[], pom.packaging=bundle, env.PROCESSOR_LEVEL=6, project.build.parent=com.zteict.bee:com.zteict.bee.parent:pom:4.5.0, env.PROGRAMFILES(X86)=C:\Program Files (x86), project.projectDirectory=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1\Domain\Besta\bee.besta.timer, env.=EXITCODE=00000000, os.name=Windows 7, project.build.modelVersion=4.0.0, java.specification.vendor=Oracle Corporation, env.TMP=C:\Users\PAULVE~1\AppData\Local\Temp, Embed-Directory=lib, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, env.OS=Windows_NT, java.library.path=C:\Program Files\Java\jdk1.8.0_74\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0_74\bin;D:\Progs\Gradle\gradle-2.12-all\gradle-2.12\bin;D:\Progs\Maven\apache-maven-3.3.9\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Git\cmd;C:\Program Files\Git\bin;., project.build.build=org.apache.maven.model.Build@453d496b, env.PROGRAMW6432=C:\Program Files, env.PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0_74\bin;D:\Progs\Gradle\gradle-2.12-all\gradle-2.12\bin;D:\Progs\Maven\apache-maven-3.3.9\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Git\cmd;C:\Program Files\Git\bin, pom.build=org.apache.maven.model.Build@453d496b, java.class.version=52.0, maven.multiModuleProjectDirectory=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1, project.build.version=4.5.0, pom.parent=com.zteict.bee:com.zteict.bee.parent:pom:4.5.0, pom.projectDirectory=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1\Domain\Besta\bee.besta.timer, project.modelVersion=4.0.0, env.HOMEDRIVE=C:, env.SYSTEMROOT=C:\Windows, env.COMSPEC=C:\Windows\system32\cmd.exe, Bundle-SymbolicName=bee.besta.timer, sun.boot.library.path=C:\Program Files\Java\jdk1.8.0_74\jre\bin, project.build.sourceEncoding=UTF-8, env.SYSTEMDRIVE=C:, Private-Package=bee.besta.timer.internal*, env.PROCESSOR_REVISION=3c03, project.build.artifactId=bee.besta.timer, env.VSEDEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, user.variant=, pom.name=bee.besta.timer, pom.developers=[], project.build=org.apache.maven.model.Build@453d496b, project.baseDir=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1\Domain\Besta\bee.besta.timer, project.build.name=bee.besta.timer, env.PROGRAMFILES=C:\Program Files, java.vm.specification.version=1.8, env.MAVEN_JAVA_EXE="C:\Program Files\Java\jdk1.8.0_74\bin\java.exe", project.groupId=com.zteict.bee, Bundle-Version=4.5.0, env.PROGRAMDATA=C:\ProgramData, awt.toolkit=sun.awt.windows.WToolkit, project.build.profiles=[], env.MAVEN_HOME=D:\Progs\Maven\apache-maven-3.3.9, sun.cpu.isalist=amd64, sun.stderr.encoding=cp437, env.MAVEN_PROJECTBASEDIR=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1, project.profiles=[], java.ext.dirs=C:\Program Files\Java\jdk1.8.0_74\jre\lib\ext;C:\Windows\Sun\Java\lib\ext, Import-Package=bee.base.ioc;version="4.5.0",bee.base.ioc.annotation;version="4.5.0",bee.base.ioc.service;version="4.5.0",bee.base.ioc.service.contributor;version="4.5.0",bee.base.service;version="4.5.0",bee.besta.business.service;version="4.5.0",org.apache.commons.logging;version="1.1.1",org.osgi.framework;version="1.6.0",org.osgi.service.event;version="1.3.0",org.osgi.util.tracker;version="1.5.0",org.slf4j;version="1.6.4", os.version=6.1, user.home=C:\Users\Paul Verest, env.ERROR_CODE=0, java.vm.vendor=Oracle Corporation, env.JAVA_HOME=C:\Program Files\Java\jdk1.8.0_74, user.dir=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1, env.COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files, env.FP_NO_HOST_CHECK=NO, project.parent=com.zteict.bee:com.zteict.bee.parent:pom:4.5.0, sun.cpu.endian=little, env.ALLUSERSPROFILE=C:\ProgramData, pom.licenses=[], project.dir=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1\Domain\Besta\bee.besta.timer, env.CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher, classifier=, env.PROCESSOR_ARCHITECTURE=AMD64, java.vm.version=25.74-b02, java.class.path=D:\Progs\Maven\apache-maven-3.3.9\bin\..\boot\plexus-classworlds-2.5.2.jar, env.HOMEPATH=\Users\Paul Verest, env.EXEC_DIR=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1, Embedded-Artifacts=lib/quartz-2.1.7.jar;g="org.quartz-scheduler";a="quartz";v="2.1.7",lib/neodatis-odb-1.9.30.689.jar;g="org.neodatis.odb";a="neodatis-odb";v="1.9.30.689", os.arch=amd64, maven.build.version=Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00), project.build.url=http://www.zteict.com/Domain/Besta/bee.besta.timer, env.SESSIONNAME=RDP-Tcp#0, env.WINDOWS_TRACING_FLAGS=3, project.build.projectDirectory=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1\Domain\Besta\bee.besta.timer, sun.java.launcher=SUN_STANDARD, project.packaging=bundle, java.vm.specification.vendor=Oracle Corporation, file.separator=\, java.runtime.version=1.8.0_74-b02, project.pomFile=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1\Domain\Besta\bee.besta.timer\pom.xml, sun.boot.class.path=C:\Program Files\Java\jdk1.8.0_74\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_74\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_74\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_74\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_74\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_74\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_74\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_74\jre\classes, project.build.packaging=bundle, maven.version=3.3.9, env.TEMP=C:\Users\PAULVE~1\AppData\Local\Temp, project.artifactId=bee.besta.timer, user.country=US, maven.home=D:\Progs\Maven\apache-maven-3.3.9\bin\.., env.CLIENTNAME=ZTE-20160405PWL, maven.compiler.target=1.6, Bundle-RequiredExecutionEnvironment=JavaSE-1.6, -sourcepath=D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1\Domain\Besta\bee.besta.timer\src,D:\Workspaces\eclipse-jee-juno-withPlugins\BeeCopy_1\Domain\Besta\bee.besta.timer\target\generated-sources\annotations, pom.groupId=com.zteict.bee, java.vendor=Oracle Corporation, env.CLASSWORLDS_JAR="D:\Progs\Maven\apache-maven-3.3.9\bin\..\boot\plexus-classworlds-2.5.2.jar", env.GRADLE_HOME=D:\Progs\Gradle\gradle-2.12-all\gradle-2.12, Bundle-Name=bee.besta.timer, maven.compiler.source=1.6, java.specification.version=1.8, sun.arch.data.model=64}
    at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:884)
    at aQute.bnd.osgi.Builder.build(Builder.java:104)
    at org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer(ManifestPlugin.java:256)
    at org.apache.felix.bundleplugin.ManifestPlugin.execute(ManifestPlugin.java:89)
    at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:368)
    at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:359)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
    at java.util.zip.ZipFile.read(Native Method)
    at java.util.zip.ZipFile.access$1400(ZipFile.java:60)
    at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:717)
    at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:419)
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
    at java.util.jar.Manifest$FastInputStream.fill(Manifest.java:441)
    at java.util.jar.Manifest$FastInputStream.readLine(Manifest.java:375)
    at java.util.jar.Manifest$FastInputStream.readLine(Manifest.java:409)
    at java.util.jar.Attributes.read(Attributes.java:376)
    at java.util.jar.Manifest.read(Manifest.java:199)
    at java.util.jar.Manifest.<init>(Manifest.java:69)
    at aQute.bnd.osgi.Jar.getManifest(Jar.java:219)
    at aQute.bnd.osgi.Analyzer.analyze(Analyzer.java:195)
    at aQute.bnd.osgi.Builder.analyze(Builder.java:379)
    at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:688)
    ... 27 more
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] bee.besta.timer .................................... FAILURE [  1.137 s]
paulvi commented 8 years ago

There should be more clearer message that a file is corrupt, and what exact file