Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this be used under Java 1.5? #37

Open
GoogleCodeExporter opened this issue Apr 7, 2015 · 0 comments
Open

Can this be used under Java 1.5? #37

GoogleCodeExporter opened this issue Apr 7, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Hello, 

I am trying to run mvn install against java 1.5 and it doesn't seem to work. I 
am getting 

"
[ERROR] Failed to execute goal com.jolira:onejar-maven-plugin:1.4.4:one-jar 
(default) on project BulkMigrationM02: Execution default of goal com.jolira:one
jar-maven-plugin:1.4.4:one-jar failed: Unable to load the mojo 'one-jar' in the 
plugin 'com.jolira:onejar-maven-plugin:1.4.4' due to an API incompatibility
: org.codehaus.plexus.component.repository.exception.ComponentLookupException: 
Bad version number in .class file
"

On the other hand when I am running same command for java 1.7 it's running ok.

Is java 5 not supported? Any workarounds for this?

Thanks.



What version of onejar-maven-plugin are you using?
1.4.4

What is the output of "mvn -version" on your machine?
Apache Maven 3.0.3 (r1075438; 2011-02-28 17:31:09+0000)
Maven home: 
C:\instant_energy_files\instant_energy_cvs\instant_energy\trunk\build\apache-mav
en-3.0.3
Java version: 1.5.0_22, vendor: Sun Microsystems Inc.
Java home: C:\Program Files (x86)\Java\jdk1.5.0_22\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
C:\Users\kaliakoudass>

Original issue reported on code.google.com by [email protected] on 20 Dec 2013 at 1:50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant