directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre-Arnaud Marcelot ...@marcelot.net>
Subject [Studio] Compilation failures in integration tests
Date Mon, 07 Dec 2009 13:41:29 GMT
Hi,

I'm having compilation failures in integration tests.

In the *'test-integration-core' module*:

> pajbam@ubuntu:~/Development/Apache/Studio/test-integration-core$ mvn clean
> install
> Warning: JAVA_HOME environment variable is not set.
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.directory.studio:test.integration.core
> POM Location:
> /home/pajbam/Development/Apache/Studio/test-integration-core/pom.xml
> Validation Messages:
>
>     [0]  'dependencies.dependency.version' is missing for
> org.slf4j:nlog4j:jar
>
>
> Reason: Failed to validate POM for project
> org.apache.directory.studio:test.integration.core at
> /home/pajbam/Development/Apache/Studio/test-integration-core/pom.xml
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
> for project org.apache.directory.studio:test.integration.core at
> /home/pajbam/Development/Apache/Studio/test-integration-core/pom.xml
>     at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>     at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>     at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>     at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>     at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to
> validate POM for project org.apache.directory.studio:test.integration.core
> at /home/pajbam/Development/Apache/Studio/test-integration-core/pom.xml
>     at
> org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:1077)
>     at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
>     at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
>     at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
>     at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
>     at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
>     at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
>     ... 12 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Mon Dec 07 14:38:58 CET 2009
> [INFO] Final Memory: 1M/4M
> [INFO]
> ------------------------------------------------------------------------
>


In the *'test-integration-ui' module*:

> pajbam@ubuntu:~/Development/Apache/Studio/test-integration-ui$ mvn clean
> install
> Warning: JAVA_HOME environment variable is not set.
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Directory Studio UI Integration Tests
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [...]
> [...]
> [...]
> [INFO] Compiling 43 source files to
> /home/pajbam/Development/Apache/Studio/test-integration-ui/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /home/pajbam/Development/Apache/Studio/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/ConnectionsViewBot.java:[153,34]
> cannot access org.eclipse.core.runtime.jobs.Job
> class file for org.eclipse.core.runtime.jobs.Job not found
>         StudioConnectionJob job = new StudioConnectionJob( new
> OpenConnectionsRunnable( connection ) );
>
> /home/pajbam/Development/Apache/Studio/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/ConnectionsViewBot.java:[155,11]
> cannot find symbol
> symbol  : method join()
> location: class
> org.apache.directory.studio.connection.core.jobs.StudioConnectionJob
>
> /home/pajbam/Development/Apache/Studio/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/bots/EntryEditorWidgetBot.java:[61,18]
> cannot find symbol
> symbol  : method pressShortcut(org.eclipse.jface.bindings.keys.KeyStroke)
> location: class org.eclipse.swtbot.swt.finder.widgets.SWTBotTree
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 9 seconds
> [INFO] Finished at: Mon Dec 07 14:32:59 CET 2009
> [INFO] Final Memory: 36M/63M
> [INFO]
> ------------------------------------------------------------------------
>


Stefan, do you have a clue what I'm doing wrong?

Thanks,
Pierre-Arnaud

Mime
View raw message