Skip to content

Plugin assumes completely wrong AOL #242

Open
@Selbi182

Description

@Selbi182

Hey there,

so I've recently tried to include this plugin in my project, but so far had a big headache over how exactly it's supposed to be configured. Specifically, I'm struggling to make the damn thing know the correct AOL.

I've tried to see how it would work with one of the included example projects:

$ mvn install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Examples :: nar-maven-plugin JNI Project 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- nar-maven-plugin:3.2.3:nar-validate (default-nar-validate) @ nar-maven-plugin-jni-example ---
[INFO] Using AOL: amd64-Windows-msvc
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.211 s
[INFO] Finished at: 2016-08-12T14:32:54+02:00
[INFO] Final Memory: 10M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.2.3:nar-validate (default-nar-validate) on project nar-maven-plugin-jni-example: Cannot deduce version number from: -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

It assumes I'm running amd64-Windows-msvc, apparently, which isn't remotely correct. It should be x86.Windows.g++, as per this page. Unfortunately, I don't know where to find that configuration file, and the page makes no mention of it either, so I don't know how to manually override it. I don't even have Visual Studio installed, so I don't know where that MSVC came from either.

Chances are this is an issue on my end, but I just don't know what's causing this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions