You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Viktor Rees <Vi...@webde.de> on 2006/11/27 11:48:38 UTC

maven-eclipse Plugin does not create .classfile

I'm using maven-eclipse-plugin-1.10. When calling 'maven eclipse' an
uncomplete .project file in created. The .classpath file is missing at
all.
 
In the .project file the entries for javanature and javabuilder are
missing. The generated .project file is here:
 
<?xml version="1.0" encoding="UTF-8"?>
 
<projectDescription>
  <name>provmgr-presentation</name>
  <comment>J2EEProvisioningManager web application.</comment>
  <projects>
  </projects>
</projectDescription>
 
 
What could be the reason that the files are not complete?
 
Here is the debug output generated with: maven eclipse - X
 

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-2

Initializing Plugins!
Set plugin source directory to /tools-local/opt/maven/current/plugins
Set unpacked plugin directory to /export/home/v/vree/.maven/cache
Set user plugin directory to /export/home/v/vree/.maven/plugins
Loading plugin cache
Now mapping cached plugins
Loading plugin 'maven-jar-plugin-WEBDE_PL1-1.7'
Loading plugin 'maven-scm-plugin-1.5'
Loading plugin 'maven-dashboard-plugin-1.9-webde'
Loading plugin 'maven-gump-plugin-2.0.1'
Loading plugin 'maven-multichanges-plugin-1.1'
Loading plugin 'maven-file-activity-plugin-1.5.2'
Loading plugin 'maven-ear-plugin-1.7'
Loading plugin 'maven-xdoc-plugin-1.9.2'
Loading plugin 'maven-jdepend-plugin-1.6'
Loading plugin 'maven-jellydoc-plugin-1.3.1'
Loading plugin 'maven-ejb-plugin-1.7.1'
Loading plugin 'maven-jira-plugin-1.1.2'
Loading plugin 'webde-history-plugin-0.3'
Loading plugin 'maven-developer-activity-plugin-1.5.2'
Loading plugin 'maven-pom-plugin-1.5'
Loading plugin 'maven-jboss-plugin-1.5'
Loading plugin 'webde-history-plugin-0.1'
Loading plugin 'maven-changelog-plugin-1.9.1'
Loading plugin 'maven-plugin-plugin-1.7'
Loading plugin 'maven-faq-plugin-1.5'
Loading plugin 'maven-findbugs-plugin-1.1-WEBDE'
Loading plugin 'maven-ant-plugin-1.9'
Loading plugin 'maven-dist-plugin-1.6.1'
Loading plugin 'maven-javadoc-plugin-1.7'
Loading plugin 'maven-linkcheck-plugin-1.3.4'
Loading plugin 'maven-tasklist-plugin-2.4'
Loading plugin 'maven-idea-plugin-1.6'
Loading plugin 'maven-changes-plugin-1.6'
Loading plugin 'maven-clover-plugin-1.11'
Loading plugin 'maven-jcoverage-plugin-1.0.9'
Loading plugin 'maven-junit-report-plugin-1.5'
Loading plugin 'maven-checkstyle-plugin-3.0.1'
Loading plugin 'maven-announcement-plugin-1.3'
Loading plugin 'ddchange-maven-plugin-0.1.6-20060508.125357'
Loading plugin 'maven-rar-plugin-1.0'
Loading plugin 'maven-pdf-plugin-2.4'
Loading plugin 'maven-uberjar-plugin-1.2'
Loading plugin 'maven-java-plugin-1.6'
Loading plugin 'maven-war-plugin-1.6.1'
Loading plugin 'maven-simian-plugin-1.6'
Loading plugin 'maven-multiproject-plugin-1.4.1'
Loading plugin 'maven-j2ee-plugin-1.5.1'
Loading plugin 'maven-release-plugin-1.4.1'
Loading plugin 'maven-abbot-plugin-1.1'
Loading plugin 'maven-jxr-plugin-1.5'
Loading plugin 'maven-nsis-plugin-1.1'
Loading plugin 'maven-license-plugin-1.2'
Loading plugin 'maven-jdiff-plugin-1.5'
Loading plugin 'maven-pmd-plugin-1.8'
Loading plugin 'maven-cruisecontrol-plugin-1.7'
Loading plugin 'maven-repository-plugin-1.2'
Loading plugin 'maven-hibernate-plugin-1.3'
Loading plugin 'maven-jbuilder-plugin-1.5'
Loading plugin 'maven-site-plugin-1.6.1'
Loading plugin 'maven-console-plugin-1.1.1'
Loading plugin 'maven-tomcat-5.5.9-plugin-1.2.1'
Loading plugin 'maven-webapp-customize-plugin-1.5.1'
Loading plugin 'maven-test-plugin-1.7.1-WEBDE'
Loading plugin 'maven-jetty-plugin-1.1'
Loading plugin 'maven-eclipse-plugin-1.10'
Loading plugin 'maven-artifact-plugin-1.8'
Loading plugin 'maven-aspectj-plugin-3.2'
Loading plugin 'maven-native-plugin-1.1'
Loading plugin 'maven-html2xdoc-plugin-1.3.1'
Loading plugin 'maven-jalopy-plugin-1.3.1'
Loading plugin 'maven-jnlp-plugin-1.4.1'
Loading plugin 'maven-svn-plugin-1.4'
Loading plugin 'maven-artifact-plugin-1.7'
Loading plugin 'maven-javacc-plugin-1.2'
Loading plugin 'maven-antlr-plugin-1.2.1'
Loading plugin 'maven-clean-plugin-1.4'
Loading plugin 'maven-castor-plugin-1.2'
Loading plugin 'maven-genapp-plugin-2.3-WEBDE'
WARNING: Plugin 'maven-artifact-plugin' is already loaded from
maven-artifact-plugin-1.8; attempting to load maven-artifact-plugin-1.7
Now loading uncached plugins
Finished initializing Plugins!
Using userBuildPropertiesFile: /export/home/v/vree/build.properties
Using projectPropertiesFile:
/export/home/v/vree/workspace/ProvMgr/modules/presentation/project.prope
rties
Using projectBuildPropertiesFile:
/export/home/v/vree/workspace/ProvMgr/modules/presentation/build.propert
ies
Using userBuildPropertiesFile: /export/home/v/vree/build.properties
Using projectPropertiesFile:
/export/home/v/vree/workspace/ProvMgr/project.properties
Using projectBuildPropertiesFile:
/export/home/v/vree/workspace/ProvMgr/build.properties
pushing on org.apache.maven.jelly.MavenJellyContext@1a679b7 over
org.apache.maven.jelly.MavenJellyContext@80f4cb in
services/J2EEProvisioningManager:provmgr-presentation
[DEBUG] Adding reference: maven.dependency.classpath
running script null
[DEBUG] Could not load a dependent class
(com/sun/media/jai/codec/FileSeekableStream) for type image
[DEBUG] Could not load a dependent class (com/jcraft/jsch/UserInfo) for
type sshexec
[DEBUG] Could not load a dependent class (com/jcraft/jsch/UserInfo) for
type scp
[DEBUG] Could not load a dependent class (jdepend/xmlui/JDepend) for
type jdepend
[DEBUG] Could not load a dependent class (junit/framework/Test) for type
junit
[DEBUG] Could not load a dependent class
(com/sun/media/jai/codec/FileSeekableStream) for type image
[DEBUG] Could not load a dependent class (com/jcraft/jsch/UserInfo) for
type sshexec
[DEBUG] Could not load a dependent class (com/jcraft/jsch/UserInfo) for
type scp
[DEBUG] Could not load a dependent class (jdepend/xmlui/JDepend) for
type jdepend
[DEBUG] Could not load a dependent class (junit/framework/Test) for type
junit
[DEBUG] Adding reference: maven-classpath
[DEBUG] Could not load a dependent class
(com/sun/media/jai/codec/FileSeekableStream) for type image
[DEBUG] Could not load a dependent class (com/jcraft/jsch/UserInfo) for
type sshexec
[DEBUG] Could not load a dependent class (com/jcraft/jsch/UserInfo) for
type scp
[DEBUG] Could not load a dependent class (jdepend/xmlui/JDepend) for
type jdepend
[DEBUG] Could not load a dependent class (junit/framework/Test) for type
junit
[DEBUG] Adding reference: maven.compile.src.set
setName(build:start)
doTag(..):build:start
setName(build:end)
doTag(..):build:end
Verifying dependencies for
services/J2EEProvisioningManager:provmgr-presentation
Processing dependencies for project Presentation Layer; classloader
[ForeheadClassLoader: name="root.maven"]
adding dependency
/export/home/v/vree/.maven/repository/services/J2EEProvisioningManager/e
jbs/provmgr-business-1.0.5.jar into project classloader
adding dependency
/export/home/v/vree/.maven/repository/servletapi/jars/servletapi-2.4.jar
into project classloader
adding dependency
/export/home/v/vree/.maven/repository/xdoclet/jars/xdoclet-web-module-1.
2.3.jar into project classloader
adding dependency
/export/home/v/vree/.maven/repository/httpunit/jars/httpunit-1.5.4.jar
into project classloader
adding dependency
/export/home/v/vree/.maven/repository/junit/jars/junit-3.8.1.jar into
project classloader
adding dependency
/export/home/v/vree/.maven/repository/xdoclet/jars/xdoclet-1.2.3.jar
into project classloader
Using plugin file:
/export/home/v/vree/.maven/repository/xdoclet/plugins/maven-xdoclet-plug
in-1.2.3.jar
Loading plugin 'maven-xdoclet-plugin-1.2.3'
Using userBuildPropertiesFile: /export/home/v/vree/build.properties
Using projectPropertiesFile:
/export/home/v/vree/.maven/cache/maven-xdoclet-plugin-1.2.3/project.prop
erties
Using projectBuildPropertiesFile:
/export/home/v/vree/.maven/cache/maven-xdoclet-plugin-1.2.3/build.proper
ties
Installing plugin: 
 source =
/export/home/v/vree/.maven/cache/maven-xdoclet-plugin-1.2.3/plugin.jelly
 project = Maven XDoclet Plug-in
 script = null
Non classpath dependency:
'/export/home/v/vree/.maven/repository/xdoclet/plugins/maven-xdoclet-plu
gin-1.2.3.jar' not added to classpath
adding dependency
/export/home/v/vree/.maven/repository/xjavadoc/jars/xjavadoc-1.0.2.jar
into project classloader
adding dependency
/export/home/v/vree/.maven/repository/jboss/jars/jboss-j2ee-4.0.2.jar
into project classloader
adding dependency
/export/home/v/vree/.maven/repository/commons-logging/jars/commons-loggi
ng-1.0.4.jar into project classloader
adding dependency
/export/home/v/vree/.maven/repository/commons-lang/jars/commons-lang-2.2
.jar into project classloader
adding dependency
/export/home/v/vree/.maven/repository/commons-collections/jars/commons-c
ollections-3.2.jar into project classloader
adding dependency
/export/home/v/vree/.maven/repository/commons-configuration/jars/commons
-configuration-1.3.jar into project classloader
running script
/export/home/v/vree/workspace/ProvMgr/modules/presentation/maven.xml
running script /export/home/v/vree/workspace/ProvMgr/maven.xml
setName(multiproject:build)
doTag(..):multiproject:build
setName(multiproject:war)
doTag(..):multiproject:war
setName(multiproject:ear)
doTag(..):multiproject:ear
setName(multiproject:ejb)
doTag(..):multiproject:ejb
setName(multiproject:war-install)
doTag(..):multiproject:war-install
setName(multiproject:ejb-install)
doTag(..):multiproject:ejb-install
setName(multiproject:cactus)
doTag(..):multiproject:cactus
preparing goal: build:start
execution chain: [[Goal: name="build:start"]; precursor=[]]]
final list of plugins to prepare: []
preparing goal: eclipse
execution chain: [[Goal: name="eclipse:generate-project"];
precursor=[]], [Goal: name="eclipse:eclipse"]; precursor=[[Goal:
name="eclipse:generate-project"]; precursor=[]]]], [Goal:
name="eclipse"]; precursor=[[Goal: name="eclipse:eclipse"];
precursor=[[Goal: name="eclipse:generate-project"]; precursor=[]]]]]]]
final list of plugins to prepare: [
 source =
/export/home/v/vree/.maven/cache/maven-eclipse-plugin-1.10/plugin.jelly
 project = null
 script = null]
Using userBuildPropertiesFile: /export/home/v/vree/build.properties
Using projectPropertiesFile:
/export/home/v/vree/.maven/cache/maven-eclipse-plugin-1.10/project.prope
rties
Using projectBuildPropertiesFile:
/export/home/v/vree/.maven/cache/maven-eclipse-plugin-1.10/build.propert
ies
pushing on org.apache.maven.jelly.MavenJellyContext@530cf2 over
org.apache.maven.jelly.MavenJellyContext@76fba0 in
maven-eclipse-plugin:maven-eclipse-plugin
initialising plugin housing: Maven Eclipse Plugin
running script
/export/home/v/vree/.maven/cache/maven-eclipse-plugin-1.10/plugin.jelly
Verifying dependencies for maven-eclipse-plugin:maven-eclipse-plugin
No dependencies to process for project Maven Eclipse Plugin
setName(eclipse:eclipse)
doTag(..):eclipse:eclipse
setName(eclipse)
doTag(..):eclipse
setName(eclipse:generate-project)
doTag(..):eclipse:generate-project
setName(eclipse:generate-classpath)
doTag(..):eclipse:generate-classpath
setName(eclipse:generate-wtpmodules)
doTag(..):eclipse:generate-wtpmodules
setName(eclipse:external-tools)
doTag(..):eclipse:external-tools
setName(eclipse:external-tools-21)
doTag(..):eclipse:external-tools-21
setName(eclipse:add-maven-repo)
doTag(..):eclipse:add-maven-repo
setName(eclipse:clean)
doTag(..):eclipse:clean
preparing goal: build:end
execution chain: [[Goal: name="build:end"]; precursor=[]]]
final list of plugins to prepare: []
attaining goal build:start
attaining goal eclipse
build:start:

eclipse:generate-project:
[DEBUG] Could not load a dependent class
(com/sun/media/jai/codec/FileSeekableStream) for type image
[DEBUG] Could not load a dependent class (com/jcraft/jsch/UserInfo) for
type sshexec
[DEBUG] Could not load a dependent class (com/jcraft/jsch/UserInfo) for
type scp
[DEBUG] Could not load a dependent class (jdepend/xmlui/JDepend) for
type jdepend
[DEBUG] Could not load a dependent class (junit/framework/Test) for type
junit
[DEBUG] Could not load a dependent class
(com/sun/media/jai/codec/FileSeekableStream) for type image
[DEBUG] Could not load a dependent class (com/jcraft/jsch/UserInfo) for
type sshexec
[DEBUG] Could not load a dependent class (com/jcraft/jsch/UserInfo) for
type scp
[DEBUG] Could not load a dependent class (jdepend/xmlui/JDepend) for
type jdepend
[DEBUG] Could not load a dependent class (junit/framework/Test) for type
junit
    [echo] Creating
/export/home/v/vree/workspace/ProvMgr/modules/presentation/.project ...

eclipse:eclipse:
[DEBUG] Could not load a dependent class
(com/sun/media/jai/codec/FileSeekableStream) for type image
[DEBUG] Could not load a dependent class (com/jcraft/jsch/UserInfo) for
type sshexec
[DEBUG] Could not load a dependent class (com/jcraft/jsch/UserInfo) for
type scp
[DEBUG] Could not load a dependent class (jdepend/xmlui/JDepend) for
type jdepend
[DEBUG] Could not load a dependent class (junit/framework/Test) for type
junit
    [echo] Now refresh your project in Eclipse (right click on the
project and select "Refresh")
attaining goal build:end
popping off org.apache.maven.jelly.MavenJellyContext@530cf2 for
org.apache.maven.jelly.MavenJellyContext@76fba0 in
maven-eclipse-plugin:maven-eclipse-plugin
popping off org.apache.maven.jelly.MavenJellyContext@1a679b7 for
org.apache.maven.jelly.MavenJellyContext@80f4cb in
services/J2EEProvisioningManager:provmgr-presentation
BUILD SUCCESSFUL
Final Memory : 2M/4M
Total time   : 2 seconds 
Finished at  : Montag, 27. November 2006 11:35:48 CET