Skip to content

Unable to provision, see the following errors: #29

@glhez

Description

@glhez

Hello,

I am using the notifier 2.1.0 with Maven 3.6.1 and I got this exception: see complete log:

[WARNING] Error injecting: fr.jcgay.maven.notifier.NotificationEventSpyChooser
com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) No implementation for org.codehaus.plexus.logging.Logger was bound.
  while locating fr.jcgay.maven.notifier.NotificationEventSpyChooser

Maven (or guice) is unable to inject a org.codehaus.plexus.logging.Logger into fr.jcgay.maven.notifier.NotificationEventSpyChooser

  • I am using mvnw with Maven 3.6.1 (tried also with 3.3.9, 3.6.0)
  • Tried with Java 8 and 11, same effect
  • Tried with Maven 3.6.1 (no wrapper), same effect
  • I am using two extensions maven-profiler and maven-notifier: extensions.txt
  • I'm invoking the following plugin directly: mvn org.eclipse.scout:eclipse-settings-maven-plugin:eclipse-settings. It seems to fails only with it (tried with version plugin without problem).

Reproducing is easy as pie (you don't even need a pom.xml):

mvn -N io.takari:maven:0.7.6:wrapper -Dmaven=3.6.1
curl -L https://github.com/jcgay/maven-notifier/files/3244738/extensions.txt  -o .mvn/extensions.xml
./mvnw org.eclipse.scout:eclipse-settings-maven-plugin:eclipse-settings

I don't know if it is feasible, but I'm expecting the extension to be invisible: it should not fail the build if it is unable to be execute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions