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

Generating from archetype fails to populate plugin properties. #285

Closed
rloutlaw opened this issue Jul 25, 2018 · 1 comment
Closed

Generating from archetype fails to populate plugin properties. #285

rloutlaw opened this issue Jul 25, 2018 · 1 comment

Comments

@rloutlaw
Copy link

Plugin name and version

1.11 and 1.12 Maven releases from maven central. Java 8 and Maven 3.5.4.

Plugin configuration in your pom.xml

Relevant failing part:

UTF-8 1.8 1.8 1.0.0-beta-3 1.0.0-beta-4 helloworld-${package.getClass().forName("java.time.LocalDateTime").getMethod("now").invoke(null).format($package.Class.forName("java.time.format.DateTimeFormatter").getMethod("ofPattern", $package.Class).invoke(null, "yyyyMMddHHmmssSSS"))} ${package.getClass().forName("java.lang.StringBuilder").getConstructor($package.getClass().forName("java.lang.String")).newInstance("westus").toString()} ${project.build.directory}/azure-functions/${functionAppName} ${package.getClass().forName("java.lang.StringBuilder").getConstructor($package.getClass().forName("java.lang.String")).newInstance("java-functions-group").toString()}

Expected behavior

The functionAppName, AppRegion, and other fields have proper variable interpolation.

Actual behavior

Fields aren't generated / interpolated properly.

Steps to reproduce the problem

Generate a new project from archtype from Windows command line, Eclipse, or IntellliJ.

@jdneo
Copy link
Member

jdneo commented Jul 26, 2018

@rloutlaw Thanks for reporting. I move this issue to: microsoft/azure-maven-archetypes#42

@jdneo jdneo closed this as completed Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants