microsoft / azure-maven-archetypes

Maven Archetypes for Microsoft Azure Services
MIT License
21 stars 32 forks source link

Create 'Dockerfile' in the project when docker property is set false #138

Open ZhengJun003 opened 4 years ago

ZhengJun003 commented 4 years ago

Environment:

Eclipse: 2019-12 azure-functions-archetype: 1.26

Reproduce Steps:

  1. In Eclipse, select the File menu, then select New -> Maven Project.
  2. Accept the defaults in the New Maven Project dialogue and select Next.
  3. Select Add Archetype and add the entries for the azure-functions-archetype.
    • Archetype Group ID: com.microsoft.azure
    • Archetype Artifact ID: azure-functions-archetype
    • Version: Use latest version 1.26 from the central repository image
  4. Click OK and then click Next. Be sure to fill in values for all of the fields, and eventually Finish.

Result:

Create 'Dockerfile' in the project when docker property is set false. image

Flanker32 commented 4 years ago

Eclipse didn't support our custom archetype parameters and will always set docker to be true, as a workaround, please try generate the project in bash first and then open the project with eclipse