java - asprise ocr maven build fail? -


i have maven project in using asprise ocr - dependency:

 <dependency>         <groupid>com.asprise.ocr</groupid>         <artifactid>java-ocr-api</artifactid>         <version>[15,)</version>     </dependency> 

when im trying build executable jar file failed - no matter project if dependency exist in pom couldnt build jar file? error output:

    [error] failed execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single (default-cli) on project pdfjsonconverter: execution default-cli of goal org.apache.ma ven.plugins:maven-assembly-plugin:2.2-beta-5:single failed. illegalargumentexception -> [help 1] org.apache.maven.lifecycle.lifecycleexecutionexception: failed execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single (default-cli) on project pdfjsonconver ter: execution default-cli of goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single failed.         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:224)         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:153)         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:145)         @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:116)         @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:80)         @ org.apache.maven.lifecycle.internal.builder.singlethreaded.singlethreadedbuilder.build(singlethreadedbuilder.java:51)         @ org.apache.maven.lifecycle.internal.lifecyclestarter.execute(lifecyclestarter.java:120)         @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:355)         @ org.apache.maven.defaultmaven.execute(defaultmaven.java:155)         @ org.apache.maven.cli.mavencli.execute(mavencli.java:584)         @ org.apache.maven.cli.mavencli.domain(mavencli.java:216)         @ org.apache.maven.cli.mavencli.main(mavencli.java:160)         @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)         @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)         @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)         @ java.lang.reflect.method.invoke(method.java:497)         @ org.codehaus.plexus.classworlds.launcher.launcher.launchenhanced(launcher.java:289)         @ org.codehaus.plexus.classworlds.launcher.launcher.launch(launcher.java:229)         @ org.codehaus.plexus.classworlds.launcher.launcher.mainwithexitcode(launcher.java:415)         @ org.codehaus.plexus.classworlds.launcher.launcher.main(launcher.java:356) caused by: org.apache.maven.plugin.pluginexecutionexception: execution default-cli of goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single failed.         @ org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(defaultbuildpluginmanager.java:143)         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:208)         ... 19 more 

the build in pom:

<build>     <sourcedirectory>src</sourcedirectory>     <plugins>         <plugin>             <artifactid>maven-compiler-plugin</artifactid>             <version>3.1</version>             <configuration>                 <source>1.8</source>                 <target>1.8</target>             </configuration>         </plugin>         <plugin>             <artifactid>maven-assembly-plugin</artifactid>              <configuration>                 <archive>                     <manifest>                         <mainclass>main.java.program</mainclass>                     </manifest>                 </archive>                 <descriptorrefs>                     <descriptorref>jar-with-dependencies</descriptorref>                 </descriptorrefs>             </configuration>         </plugin>     </plugins> </build> 

any appreciated!


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -