
Whoops, I had not. Now I see that command mentioned earlier on the logback.qos.ch/setup.html#ide page. Running 'mvn install' would be good to document as step 6.5. :-) Running 'mvn install' produces an error for me. Here is a portion of the output: Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.777 sec failed_rename(ch.qos.logback.core.rolling.TimeBasedRolling_STest) Time elapsed: 2.72 sec noCompression_FileSet_NoRestart_5(ch.qos.logback.core.rolling.TimeBasedRolling_S Test) Time elapsed: 0.394 sec withCompression_FileSet_NoRestart_6(ch.qos.logback.core.rolling.TimeBasedRolling _STest) Time elapsed: 0.575 sec noCompression_FileSet_StopRestart_4(ch.qos.logback.core.rolling.TimeBasedRolling _STest) Time elapsed: 0.335 sec noCompression_FileBlank_StopRestart_3(ch.qos.logback.core.rolling.TimeBasedRolli ng_STest) Time elapsed: 0.17 sec withCompression_FileBlank_NoRestart_2(ch.qos.logback.core.rolling.TimeBasedRolli ng_STest) Time elapsed: 0.274 sec noCompression_FileBlank_NoRestart_1(ch.qos.logback.core.rolling.TimeBasedRolling _STest) Time elapsed: 0.084 sec withMissingTargetDirWithCompression(ch.qos.logback.core.rolling.TimeBasedRolling _STest) Time elapsed: 0.297 sec withMissingTargetDirWithZipCompression(ch.qos.logback.core.rolling.TimeBasedRoll ing_STest) Time elapsed: 0.491 sec noCompression_FileSet_StopRestart_WithLongWait_4B(ch.qos.logback.core.rolling.Ti meBasedRolling_STest) Time elapsed: 0.437 sec Running ch.qos.logback.core.joran.conditional.IfThenElseAndIncludeCompositionTes t Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.844 sec includeNestedWithinIf(ch.qos.logback.core.joran.conditional.IfThenElseAndInclude CompositionTest) Time elapsed: 2.844 sec Results : Failed tests: smoke(ch.qos.logback.core.FileAppenderResilienceTest): totalLine s=29 less than 460 Tests run: 370, Failures: 1, Errors: 0, Skipped: 6 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Logback-Parent .................................... SUCCESS [1.055s] [INFO] Logback Core Module ............................... FAILURE [3:19.830s] [INFO] Logback Classic Module ............................ SKIPPED [INFO] Logback Access Module ............................. SKIPPED [INFO] Logback Site ...................................... SKIPPED [INFO] Logback Examples Module ........................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3:21.556s [INFO] Finished at: Wed Mar 27 15:07:36 EDT 2013 [INFO] Final Memory: 31M/248M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2. 12.4:test (default-test) on project logback-core: There are test failures. [ERROR] [ERROR] Please refer to N:\git\logback\logback-core\target\surefire-reports for the individual test results. [ERROR] -> [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/MojoFailureExc eption [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :logback-core On Wed, Mar 27, 2013 at 2:13 PM, ceki <ceki@qos.ch> wrote:
Have you tried running 'mvn install' before 'mvn eclipse:eclipse'?
On 27.03.2013 18:40, Broc Seib wrote:
Hi all,
I have been following the steps for setting up in Eclipse (http://logback.qos.ch/setup.**html#ide<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<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
______________________________**_________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/**listinfo/logback-dev<http://mailman.qos.ch/mailman/listinfo/logback-dev>
-- Ceki 65% of statistics are made up on the spot ______________________________**_________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/**listinfo/logback-dev<http://mailman.qos.ch/mailman/listinfo/logback-dev>