/
Fix the Build in the IDE
Fix the Build in the IDE
Tests Failure in greenpepper-maven-plugin
After importing the whole project, you may get the following error when launching tests in the greenpepper-maven-plugin module.
org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.plugin.Mojocom.github.strator-dev.greenpepper:greenpepper-maven-plugin:4.1.5-SNAPSHOT:run. at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:323) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440) at org.codehaus.plexus.PlexusTestCase.lookup(PlexusTestCase.java:222) at org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:203) at org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:133) at org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:88) at com.greenpepper.maven.plugin.SpecificationRunnerMojoTest.setUp(SpecificationRunnerMojoTest.java:79) at junit.framework.TestCase.runBare(TestCase.java:132) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
Solution
Go in the greenpepper-maven-plugin project root and launch
mvn plugin:descriptor
, multiple selections available,
Related content
GreenPepper Maven Plugin - Runner
GreenPepper Maven Plugin - Runner
More like this
GreenPepper Maven Plugin - Usage
GreenPepper Maven Plugin - Usage
More like this
GreenPepper Maven Plugin - run
GreenPepper Maven Plugin - run
More like this
GreenPepper Maven Plugin - Goals
GreenPepper Maven Plugin - Goals
More like this
GreenPepper Maven Plugin - Repository
GreenPepper Maven Plugin - Repository
More like this
GreenPepper Maven Plugin - Generate Fixtures
GreenPepper Maven Plugin - Generate Fixtures
More like this