Skip to content

[AsyncAPI] Error interpreting ${project.basedir} in filePath #364

@sandrodevelopments

Description

@sandrodevelopments

Version: 6.2.1
OS: Windows
Build: Maven

I configured the plugin in my POM as follows:

<...>
<specFiles>
    <specFile>
        <filePath>${project.basedir}/src/main/resources/yaml/Example-API-1.0.0.yml</filePath>
    </specFile>
   <...>
</specFiles>
<...>

The intention is to load an AsyncAPI specification from the module's resource directory.

During the build on Windows, I get the following error:

[ERROR] Failed to execute goal com.sngular:scs-multiapi-maven-plugin:6.2.1:asyncapi-generation (asyncapi-module) on project example-module: 
Execution asyncapi-module of goal com.sngular:scs-multiapi-maven-plugin:6.2.1:asyncapi-generation failed: 
**Illegal character in opaque part at index 2: C:\path\to\project\example-module/src/main/resources/yaml/Example-API-1.0.0.yml -> [Help 1]**

Am i doing something wrong or is there an error with the plugin?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions