CircleCI-Public / maven-orb

Simplify common tasks for building and testing Java projects using Maven on CircleCI.
https://circleci.com/orbs/registry/orb/circleci/maven
MIT License
6 stars 12 forks source link

latest orb maven version for Set Up Project #16

Closed enjoeyland closed 3 years ago

enjoeyland commented 3 years ago

Describe the bug

I think version of orb maven is wrong. orbs: maven: circleci/maven@0.0.12 # <== wrong version

To Reproduce

Go to Project Dashboard click on "Set up Project" select combo box to "Maven (Java)"

then the code appear

Expected behavior from orbs: maven: circleci/maven@0.0.12

to orbs: maven: circleci/maven@1.0.2 or orbs: maven: circleci/maven@1.0.3

Additional context image

enjoeyland commented 3 years ago

sorry It think this issue is not bug.. I'm first doing issuing problem..

Additional context I'm trying to change executor tag parameter. I read 1.0.3 (current latest) version document. I think that my problem. I should have read 0.0.12 version document..

Expected behavior Could you update version to latest version for not confuse newcomer (like me)?

dsayling commented 3 years ago

@enjoeyland - We definitely understand that the orb version in the onboarding config is out-of-date, and we are working on updating many of the onboarding configs.

I have routed this specific issue to the internal team that manages the UI for setting up the project and the onboarding config.

Now, as for setting the executor in the newest versions. Define an executor, here's a machine example. And then reference the executor in the config. This should be a working example.

version: 2.1
orbs:
  maven: circleci/maven@1.1
executors:
  example:
    docker:
      - image: cimg/openjdk:13.0
workflows:
  maven_test:
    jobs:
      - maven/test:
          executor: example

If you want to update the version of openjdk, you can update the - image: cimg/openjdk tag to anything here.