Giter Site home page Giter Site logo

unity-maven-plugin's People

Contributors

jpennell-ea avatar mestevens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

unity-maven-plugin's Issues

1) No implementation for org.eclipse.aether.impl.VersionResolver was bound.

I'm trying to mavenize a projet. My spike consist in:

  1. upload a dll that works in unity to nexus
  2. Add a pom to my project that should download the dll and add it to the project.

Here my actual pom:

`

4.0.0
com.plumbee
unity-slot-spike
jar
0.1

<name>Unity slots spike</name>

<parent>
    <groupId>com.plumbee</groupId>
    <artifactId>BasePom</artifactId>
    <version>3.14</version>
</parent>

<properties>
    <unity.maven.plugin.version>0.2.3</unity.maven.plugin.version>
    <zenject.version>3.9</zenject.version>
</properties>

<build>
    <plugins>
        <plugin>
            <groupId>ca.mestevens.unity</groupId>
            <artifactId>unity-maven-plugin</artifactId>
            <version>${unity.maven.plugin.version}</version>
            <extensions>true</extensions>
        </plugin>
    </plugins>
</build>


<dependencies>
    <dependency>
        <groupId>modesttree</groupId>
        <artifactId>zenject</artifactId>
        <version>${zenject.version}</version>
        <type>dll</type>
    </dependency>
</dependencies>

`

Ignore the packaging JAR for now, because I'm just trying to resolve the dependency.

When I run this command:
mvn unity:unity-library-dependencies

I got this error:

[ERROR] Failed to execute goal ca.mestevens.unity:unity-maven-plugin:0.2.3:unity-library-dependencies (default-cli) on project unity-slot-spike: Execution default-cli of goal ca.mestevens.unity:unity-maven-plugin:0.2.3:unity-library-dependencies failed: Unable to load the mojo 'unity-library-dependencies' (or one of its required components) from the plugin 'ca.mestevens.unity:unity-maven-plugin:0.2.3': com.google.inject.ProvisionException: Guice provision errors:
[ERROR]
[ERROR] 1) No implementation for org.eclipse.aether.impl.VersionResolver was bound.
[ERROR] while locating org.eclipse.aether.internal.impl.DefaultArtifactResolver
[ERROR] at ClassRealm[plugin>ca.mestevens.unity:unity-maven-plugin:0.2.3, parent: sun.misc.Launcher$AppClassLoader@14dad5dc]
[ERROR] at ClassRealm[plugin>ca.mestevens.unity:unity-maven-plugin:0.2.3, parent: sun.misc.Launcher$AppClassLoader@14dad5dc]
[ERROR] while locating org.eclipse.aether.impl.ArtifactResolver
[ERROR] while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
[ERROR] at ClassRealm[plugin>ca.mestevens.unity:unity-maven-plugin:0.2.3, parent: sun.misc.Launcher$AppClassLoader@14dad5dc]
[ERROR] at ClassRealm[plugin>ca.mestevens.unity:unity-maven-plugin:0.2.3, parent: sun.misc.Launcher$AppClassLoader@14dad5dc]
[ERROR] while locating org.eclipse.aether.RepositorySystem
[ERROR] while locating ca.mestevens.unity.FrameworkDependenciesMojo
[ERROR] at ClassRealm[plugin>ca.mestevens.unity:unity-maven-plugin:0.2.3, parent: sun.misc.Launcher$AppClassLoader@14dad5dc]
[ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=ca.mestevens.unity:unity-maven-plugin:0.2.3:unity-library-dependencies)
[ERROR]
[ERROR] 1 error
[ERROR] role: org.apache.maven.plugin.Mojo
[ERROR] roleHint: ca.mestevens.unity:unity-maven-plugin:0.2.3:unity-library-dependencies
[ERROR] -> [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/PluginContainerException

Any thoughts?

PD If you can point me to any example of pom using this plugin will be really appreciated :D

Cheers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.