[logback-dev] running mvn eclipse:eclipse from master yields error

Broc Seib broc.seib at gmail.com
Wed Mar 27 18:40:20 CET 2013


Hi all,

I have been following the steps for setting up in Eclipse (
http://logback.qos.ch/setup.html#ide), but I've run into a problem on step
7. It says it can't find ch.qos.logback:logback-core:jar:1.0.12-SNAPSHOT.
These warnings at the top look suspicious to me, but I don't know how to
address them.

Any help or insight would be appreciated.

Broc


$ mvn eclipse:eclipse
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for
ch.qos.logback:logback-core:jar:1.0.12-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.scala-tools:maven-scala-plugin
is missing. @ line 99, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
buildin
g such malformed projects.
[WARNING]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Logback-Parent
[INFO] Logback Core Module
[INFO] Logback Classic Module
[INFO] Logback Access Module
[INFO] Logback Site
[INFO] Logback Examples Module
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Logback-Parent 1.0.12-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ logback-parent
>>>
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:add-test-source (add-test-source)
@ log
back-parent ---
[INFO] Test Source directory: n:\git\logback\src\test\scala added.
[INFO]
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ logback-parent
<<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ logback-parent
---
[INFO] Not running eclipse plugin goal for pom project
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container:
org.eclipse.jdt.launching.JRE_CONTAIN
ER
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Logback Core Module 1.0.12-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ logback-core >>>
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:add-test-source (add-test-source)
@ log
back-core ---
[INFO] Test Source directory: N:\git\logback\logback-core\src\test\scala
added.
[INFO]
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ logback-core <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ logback-core ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container:
org.eclipse.jdt.launching.JRE_CONTAIN
ER
[INFO] Wrote settings to
N:\git\logback\logback-core\.settings\org.eclipse.jdt.c
ore.prefs
[INFO] Wrote Eclipse project for "logback-core" to
N:\git\logback\logback-core.
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Logback Classic Module 1.0.12-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ logback-classic
>>>
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Logback-Parent .................................... SUCCESS [0.322s]
[INFO] Logback Core Module ............................... SUCCESS [0.447s]
[INFO] Logback Classic Module ............................ FAILURE [0.116s]
[INFO] Logback Access Module ............................. SKIPPED
[INFO] Logback Site ...................................... SKIPPED
[INFO] Logback Examples Module ........................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.610s
[INFO] Finished at: Wed Mar 27 13:36:09 EDT 2013
[INFO] Final Memory: 12M/242M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project logback-classic: Could not
resolve dep
endencies for project ch.qos.logback:logback-classic:jar:1.0.12-SNAPSHOT:
Could
not find artifact ch.qos.logback:logback-core:jar:1.0.12-SNAPSHOT -> [Help
1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn <goals> -rf :logback-classic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-dev/attachments/20130327/669f8f4f/attachment.html>


More information about the logback-dev mailing list