Oracle JDK 8 support in snapcraft App build with Maven

Bug #1573509 reported by Vivek
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Wishlist
Unassigned

Bug Description

I have a maven project which has source and target versions as JDK 1.8. And I wanted to build a snap app for the same project. As per the doc it looks like snapcraft "will pull a relocatable OpenJDK via the default-jdk Ubuntu package" and since, my project relies on 1.8 building the app fails. Is there a provision through which I can build the project?

Note: I'm supposed to use only LTS in my environments. I also tried the same in 15.10 but still, snapcraft is using openjdk 7 only. I'm not sure why is this happening.

Changed in snapcraft:
milestone: none → 2.11
importance: Undecided → Wishlist
Changed in snapcraft:
milestone: 2.12 → 2.13
Simon Quigley (tsimonq2)
Changed in snapcraft:
assignee: nobody → Simon Quigley (tsimonq2)
status: New → In Progress
Revision history for this message
Simon Quigley (tsimonq2) wrote :

I need the snapcraft.yaml file for your snap, otherwise I am unable to confirm this bug.

Changed in snapcraft:
status: In Progress → Incomplete
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

You can use one from the demos (the java hello world)

Changed in snapcraft:
status: Incomplete → Triaged
Changed in snapcraft:
milestone: 2.13 → 2.14
Changed in snapcraft:
milestone: 2.13 → 2.14
Changed in snapcraft:
milestone: 2.14 → 2.15
Changed in snapcraft:
milestone: 2.15 → none
assignee: Simon Quigley (tsimonq2) → nobody
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

openjdk versions can now be selected with maven (LP: #1794793) and ant (LP: #1794776)

Changed in snapcraft:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.