first things you must learn before are:
- how works a maven settings.xml and how to set it in your machine;
- how m2e works related to a pure maven outside eclipse...
- how to make m2e ignore unsupported plugins...
here you have tips how to build outside eclipse:
http://jbehave.org/reference/latest/building-source.html
for the rest, I'm sure you will find lot of materials on the net...
Cristiano
On 25-04-2014 10:34, Hans Schwäbli wrote:
I try to import the projects of jbehave-core (branch 4.x) into Eclipse
Kepler as Maven projects.
It causes a lot of problems: 127 errors (compile and pom problems).
For example the error in jbehave-core\examples\core\pom.xml is:
"Multiple annotations found at this line:
- maven-dependency-plugin (goals "copy-dependencies", "unpack") is not
supported by m2e.
- Plugin execution not covered by lifecycle configuration:
org.jbehave:jbehave-maven-plugin:4.0-SNAPSHOT:unpack-view-resources
(execution: unpack-view-resources, phase: process-
resources)"
And for many other poms:
"Could not find artifact
org.jbehave:jbehave-maven-plugin:pom:4.0-SNAPSHOT"
And:
"Project build error: Unknown packaging: hpi"
And if I build jbehave-core with maven (clean install without tests),
then It fails with this error quite early at JBehave Hudson Plugin:
[ERROR] Failed to execute goal
org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on
project jbehave-hudson-plugin: Execution default-enforce of goal
org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin
org.kohsuke:access-modifier-checker:1.4 or one of its dependencies
could not be resolved: Could not find artifact
org.jenkins-ci:annotation-indexer:jar:1.4 in Central
(http://repo1.maven.org/maven2) -> [Help 1]
What is the problem? Or how do you get working projects of it in
Eclipse after cloning it from Github?
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email