Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Failed to execute goal com.smoope.utils:j2objc-maven-plugin #16

@cyberneid

Description

@cyberneid

I set the maven plugin as described in the readme.
But when I call mvn j2objc:convert I got the following error:

[ERROR] Failed to execute goal com.smoope.utils:j2objc-maven-plugin:1.1.5-SNAPSHOT:convert (default-cli) on project openpdf: Unable to parse configuration of mojo com.smoope.utils:j2objc-maven-plugin:1.1.5-SNAPSHOT:convert for parameter optional: Cannot find 'optional' in class com.smoope.utils.Dependency -> [Help 1]
[ERROR]

If I run mvn with -e option I got:

org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'j2objc' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/ugochirico/.m2/repository), sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots), central (https://repo.maven.apache.org/maven2)]

How can I fix that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions