Closed nicenemo closed 6 years ago
Hi @nicenemo .
We have fixed this issue. You can have a try if you want. The following command might help:
git clone https://github.com/Microsoft/azure-maven-plugins.git
cd azure-maven-plugins
mvn clean install -DskipTests
Then change your function plugin version to 0.1.10-SNAPSHOT
.
Thanks.
Marked on my todo list. Sorry busy with other issues now.
Plugin name and version
Plugin configuration in your
pom.xml
Expected behavior
The azure functions plugin should be able to package code that uses abstract classes and methods.
Actual behavior
mvn clean package azure-functions-package
fails with an error about not being able to find the abstract class.Note that doing a
mvn clean compile test
just works. If you remove the abstract class it just works.Steps to reproduce the problem
I created a sample project to illustrate this. It is based on the standard HelloWorld archetype for Azure functions. It consists of two projects:
The shade plugin is used to combine all dependencies.
Do the following after cloning:
Resulting error: