[mevenide-dev] [jira] Created: (MEVENIDE-624) Cannot deploy to Glassfish
"Kurt Huwig (JIRA)" <jira-yCVjj/[email protected]>
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.devel |
|---|---|
| Message-ID | <14195002.1208431255902.JavaMail.haus-jira@codehaus01.managed.contegix.com> |
Cannot deploy to Glassfish
--------------------------
Key: MEVENIDE-624
URL: http://jira.codehaus.org/browse/MEVENIDE-624
Project: mevenide
Issue Type: Bug
Components: mevenide-netbeans
Affects Versions: NB_3.0
Environment: NetBeans IDE 6.0.1 (Build 200801291616)
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
Maven Netbeans Plugin 3.0.12
Reporter: Kurt Huwig
Assignee: Milos Kleint
When I try to deploy an EAR project I get a NullPointerException
[DEBUG]Profile with id: 'maven-hybris-plugin' has been explicitly activated.
[DEBUG]Profile with id: 'maven-ant-tasks' has been explicitly activated.
[DEBUG]Profile with id: 'gwt-0.0.2415' has been explicitly activated.
[DEBUG]Profile with id: 'hybris-3.0-u2' has been explicitly activated.
[DEBUG]Profile with id: 'jboss-embedded' has been explicitly activated.
[DEBUG]Profile with id: 'Repository_Proxy' has been explicitly activated.
[DEBUG]Profile with id: 'netbeans-public' has been explicitly activated.
[DEBUG]Profile with id: 'netbeans-private' has been explicitly activated.
Scanning for projects...
[DEBUG]Profile with id: 'maven-hybris-plugin' has been explicitly activated.
[DEBUG]Profile with id: 'maven-ant-tasks' has been explicitly activated.
[DEBUG]Profile with id: 'gwt-0.0.2415' has been explicitly activated.
[DEBUG]Profile with id: 'hybris-3.0-u2' has been explicitly activated.
[DEBUG]Profile with id: 'jboss-embedded' has been explicitly activated.
[DEBUG]Profile with id: 'Repository_Proxy' has been explicitly activated.
[DEBUG]Profile with id: 'netbeans-public' has been explicitly activated.
[DEBUG]Profile with id: 'netbeans-private' has been explicitly activated.
artifact org.codehaus.mevenide:netbeans-deploy-plugin: checking for updates from snapshots
[DEBUG]repository metadata for: 'artifact org.codehaus.mevenide:netbeans-deploy-plugin' could not be found on repository: snapshots
[DEBUG]Skipping disabled repository snapshots
[DEBUG]netbeans-deploy-plugin: resolved to version 1.2.4 from repository central
[DEBUG]Retrieving parent-POM: org.codehaus.mevenide:ide-mojos::1.4 for project: null:netbeans-deploy-plugin:maven-plugin:1.2.4 from the repository.
[DEBUG]netbeans-deploy-plugin: resolved to version 1.2.4 from repository central
[DEBUG]Found 0 components to load on start
----------------------------------------------------------------------------
Building bla-ear
task-segment: [package, org.codehaus.mevenide:netbeans-deploy-plugin:RELEASE:deploy]
----------------------------------------------------------------------------
project-execute
artifact org.apache.maven.plugins:maven-ear-plugin: checking for updates from snapshots
[DEBUG]repository metadata for: 'artifact org.apache.maven.plugins:maven-ear-plugin' could not be found on repository: snapshots
artifact org.apache.maven.plugins:maven-ear-plugin: checking for updates from netbeansIDE-repo-internal
[DEBUG]repository metadata for: 'artifact org.apache.maven.plugins:maven-ear-plugin' could not be found on repository: netbeansIDE-repo-internal
[DEBUG]maven-ear-plugin: using locally installed snapshot
[DEBUG]maven-ear-plugin: resolved to version 2.3.1 from repository central
[DEBUG]Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::8 for project: null:maven-ear-plugin:maven-plugin:2.3.1 from the repository.
[DEBUG]Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.plugins:maven-plugins:pom:8 from the repository.
[DEBUG]Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository.
[DEBUG]Found 0 components to load on start
artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from snapshots
[DEBUG]repository metadata for: 'artifact org.apache.maven.plugins:maven-resources-plugin' could not be found on repository: snapshots
artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from netbeansIDE-repo-internal
[DEBUG]repository metadata for: 'artifact org.apache.maven.plugins:maven-resources-plugin' could not be found on repository: netbeansIDE-repo-internal
[DEBUG]maven-resources-plugin: using locally installed snapshot
[DEBUG]maven-resources-plugin: resolved to version 2.2 from repository central
[DEBUG]Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-resources-plugin:maven-plugin:2.2 from the repository.
[DEBUG]Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository.
[DEBUG]Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG]Found 0 components to load on start
artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from snapshots
[DEBUG]repository metadata for: 'artifact org.apache.maven.plugins:maven-compiler-plugin' could not be found on repository: snapshots
artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from netbeansIDE-repo-internal
[DEBUG]repository metadata for: 'artifact org.apache.maven.plugins:maven-compiler-plugin' could not be found on repository: netbeansIDE-repo-internal
[DEBUG]Skipping disabled repository snapshots
[DEBUG]maven-compiler-plugin: resolved to version 2.0.2 from repository central
[DEBUG]Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::8 for project: null:maven-compiler-plugin:maven-plugin:2.0.2 from the repository.
[DEBUG]Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.plugins:maven-plugins:pom:8 from the repository.
[DEBUG]Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository.
[DEBUG]maven-compiler-plugin: resolved to version 2.0.2 from repository central
[DEBUG]Found 0 components to load on start
[DEBUG]netbeans-deploy-plugin: resolved to version 1.2.4 from repository central
[DEBUG]Retrieving parent-POM: org.codehaus.mevenide:ide-mojos::1.4 for project: null:netbeans-deploy-plugin:maven-plugin:1.2.4 from the repository.
[DEBUG]netbeans-deploy-plugin: resolved to version 1.2.4 from repository central
[DEBUG]com.mycompany:bla-ear:ear:1.0-SNAPSHOT (selected for null)
[DEBUG]Skipping disabled repository internal
[DEBUG]Skipping disabled repository central
[DEBUG]bla-ejb: using locally installed snapshot
[DEBUG] com.mycompany:bla-ejb:ejb:1.0-SNAPSHOT:compile (selected for compile)
[DEBUG] junit:junit:jar:3.8.1:test (selected for test)
[DEBUG]bla-ejb: using locally installed snapshot
[DEBUG]org.apache.maven.plugins:maven-ear-plugin:maven-plugin:2.3.1:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project: null:maven-project:jar:2.0.4 from the repository.
[DEBUG] org.apache.maven:maven-project:jar:2.0.4:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project: null:maven-settings:jar:2.0.4 from the repository.
[DEBUG] org.apache.maven:maven-settings:jar:2.0.4:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project: org.apache.maven:maven-model:jar:2.0.4 from the repository.
[DEBUG] org.apache.maven:maven-model:jar:2.0.4:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.codehaus.plexus:plexus-containers::1.0.3 for project: null:plexus-container-default:jar:1.0-alpha-9 from the repository.
[DEBUG]Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: org.codehaus.plexus:plexus-containers:pom:1.0.3 from the repository.
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime (selected for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project: null:maven-profile:jar:2.0.4 from the repository.
[DEBUG] org.apache.maven:maven-profile:jar:2.0.4:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-model:jar:2.0.4:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project: org.apache.maven:maven-artifact-manager:jar:2.0.4 from the repository.
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.4:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project: org.apache.maven:maven-repository-metadata:jar:2.0.4 from the repository.
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.4:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project: org.apache.maven:maven-artifact:jar:2.0.4 from the repository.
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.4:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven.wagon:wagon::1.0-alpha-6 for project: null:wagon-provider-api:jar:1.0-alpha-6 from the repository.
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.4:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime (selected for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.5 for project: null:plexus-utils:jar:1.2 from the repository.
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (removed - nearer found: 1.2)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.2:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project: org.apache.maven:maven-plugin-api:jar:2.0.4 from the repository.
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.4:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.4:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (removed - nearer found: 1.2)
[DEBUG]Retrieving parent-POM: org.apache.maven.shared:maven-shared-components::3 for project: org.apache.maven:maven-archiver:jar:2.2 from the repository.
[DEBUG]Retrieving parent-POM: org.apache.maven:maven-parent::4 for project: org.apache.maven.shared:maven-shared-components:pom:3 from the repository.
[DEBUG]Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:4 from the repository.
[DEBUG] org.apache.maven:maven-archiver:jar:2.2:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0 for project: null:maven-project:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-project:jar:2.0:runtime (removed - nearer found: 2.0.4)
[DEBUG]Retrieving parent-POM: org.codehaus.plexus:plexus-components::1.1.6 for project: null:plexus-archiver:jar:1.0-alpha-7 from the repository.
[DEBUG]Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.8 for project: org.codehaus.plexus:plexus-components:pom:1.1.6 from the repository.
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-artifact:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (removed - nearer found: 2.0.4)
[DEBUG]Configuring mojo 'org.apache.maven.plugins:maven-ear-plugin:2.3.1:generate-application-xml' -->
[DEBUG] (f) displayName = bla-ear
[DEBUG] (f) generatedDescriptorLocation = /home/kurt/NetBeansProjects/Bla/bla-ear/target
[DEBUG] (f) groupId = com.mycompany
[DEBUG] (f) artifactId = bla-ejb
[DEBUG] (f) modules = [Lorg.apache.maven.plugin.ear.EarModule;@e1b6b7
[DEBUG] (f) project = org.apache.maven.project.MavenProject@846f8a32
[DEBUG] (f) workDirectory = /home/kurt/NetBeansProjects/Bla/bla-ear/target/bla-ear-1.0-SNAPSHOT
[DEBUG]-- end configuration --
[ear:generate-application-xml]
[DEBUG]Resolving artifact type mappings ...
[DEBUG]Initializing JBoss configuration if necessary ...
[DEBUG]Initializing ear execution context
[DEBUG]Resolving ear modules ...
[DEBUG]Resolving ear module[ejb:com.mycompany:bla-ejb]
Generating application.xml
[DEBUG]Generation of jboss-app.xml is disabled
[DEBUG]org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.2:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-project:jar:2.0:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0 for project: null:maven-profile:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-profile:jar:2.0:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-model:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (selected for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-artifact-manager:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-repository-metadata:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (selected for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG]Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-plugin-api:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
[DEBUG]Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.2:resources' -->
[DEBUG] (f) filters = []
[DEBUG] (f) outputDirectory = /home/kurt/NetBeansProjects/Bla/bla-ear/target/classes
[DEBUG] (f) project = org.apache.maven.project.MavenProject@846f8a32
[DEBUG] (f) resources = [org.apache.maven.model.Resource@11f1ae]
[DEBUG]-- end configuration --
[resources:resources]
Using default encoding to copy filtered resources.
[DEBUG]com.mycompany:bla-ear:ear:1.0-SNAPSHOT (selected for null)
[DEBUG] com.mycompany:bla-ejb:ejb:1.0-SNAPSHOT:compile (selected for compile)
[DEBUG] junit:junit:jar:3.8.1:test (selected for test)
[DEBUG]Configuring mojo 'org.apache.maven.plugins:maven-ear-plugin:2.3.1:ear' -->
[DEBUG] (f) earSourceDirectory = /home/kurt/NetBeansProjects/Bla/bla-ear/src/main/application
[DEBUG] (f) finalName = bla-ear-1.0-SNAPSHOT
[DEBUG] (f) generatedDescriptorLocation = /home/kurt/NetBeansProjects/Bla/bla-ear/target
[DEBUG] (f) manifestFile = /home/kurt/NetBeansProjects/Bla/bla-ear/src/main/application/META-INF/MANIFEST.MF
[DEBUG] (f) groupId = com.mycompany
[DEBUG] (f) artifactId = bla-ejb
[DEBUG] (f) modules = [Lorg.apache.maven.plugin.ear.EarModule;@a83ab7
[DEBUG] (f) outputDirectory = /home/kurt/NetBeansProjects/Bla/bla-ear/target
[DEBUG] (f) project = org.apache.maven.project.MavenProject@846f8a32
[DEBUG] (f) workDirectory = /home/kurt/NetBeansProjects/Bla/bla-ear/target/bla-ear-1.0-SNAPSHOT
[DEBUG]-- end configuration --
[ear:ear]
[DEBUG]Resolving artifact type mappings ...
[DEBUG]Initializing JBoss configuration if necessary ...
[DEBUG]Initializing ear execution context
[DEBUG]Resolving ear modules ...
[DEBUG]Resolving ear module[ejb:com.mycompany:bla-ejb]
[DEBUG]Skipping artifact[ejb:com.mycompany:bla-ejb:1.0-SNAPSHOT], as it is already up to date at[bla-ejb-1.0-SNAPSHOT.jar]
Copy ear sources to /home/kurt/NetBeansProjects/Bla/bla-ear/target/bla-ear-1.0-SNAPSHOT
[DEBUG]Jar archiver implementation[org.codehaus.plexus.archiver.jar.JarArchiver]
Could not find manifest file: /home/kurt/NetBeansProjects/Bla/bla-ear/src/main/application/META-INF/MANIFEST.MF - Generating one
Building jar: /home/kurt/NetBeansProjects/Bla/bla-ear/target/bla-ear-1.0-SNAPSHOT.ear
[DEBUG]adding directory META-INF/
[DEBUG]adding entry META-INF/MANIFEST.MF
[DEBUG]adding entry META-INF/application.xml
[DEBUG]adding entry META-INF/sun-application.xml
[DEBUG]adding entry bla-ejb-1.0-SNAPSHOT.jar
[DEBUG]adding directory META-INF/maven/
[DEBUG]adding directory META-INF/maven/com.mycompany/
[DEBUG]adding directory META-INF/maven/com.mycompany/bla-ear/
[DEBUG]adding entry META-INF/maven/com.mycompany/bla-ear/pom.xml
[DEBUG]adding entry META-INF/maven/com.mycompany/bla-ear/pom.properties
[DEBUG]netbeans-deploy-plugin: resolved to version 1.2.4 from repository central
[DEBUG]Retrieving parent-POM: org.codehaus.mevenide:ide-mojos::1.4 for project: null:netbeans-deploy-plugin:maven-plugin:1.2.4 from the repository.
[DEBUG]netbeans-deploy-plugin: resolved to version 1.2.4 from repository central
[DEBUG]org.codehaus.mevenide:netbeans-deploy-plugin:maven-plugin:1.2.4:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-project:jar:2.0.4:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-settings:jar:2.0.4:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-model:jar:2.0.4:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime (selected for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-profile:jar:2.0.4:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-model:jar:2.0.4:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.4:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.4:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.4:runtime (selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.4:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime (selected for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.4:runtime (selected for runtime)
[DEBUG]Configuring mojo 'org.codehaus.mevenide:netbeans-deploy-plugin:1.2.4:deploy' -->
[DEBUG] (f) project = org.apache.maven.project.MavenProject@846f8a32
[DEBUG]-- end configuration --
[netbeans-deploy:deploy]
Deployment started
Deploying on GlassFish V2
debugMode: false
clientModuleUri: null
clientUrlPart:
forcedeploy: true
Initial deploying bla-ear to /home/kurt/NetBeansProjects/Bla/bla-ear/src/main/dist/gfdeploy
Error during incremental deploy: java.lang.NullPointerException
Start registering the project's server resources
Finished registering server resources
------------------------------------------------------------------------
[ERROR]BUILD ERROR
------------------------------------------------------------------------
Failed Deployment:Deployment error:
null
See the server log for details.
------------------------------------------------------------------------
[DEBUG]Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failed Deployment:Deployment error:
null
See the server log for details.
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:635)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:564)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:534)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:309)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:276)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:92)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:393)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:182)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:760)
at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:196)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed Deployment:Deployment error:
null
See the server log for details.
at org.codehaus.mevenide.netbeans.j2ee.MavenDeploymentImpl.doDeployment(MavenDeploymentImpl.java:115)
at org.codehaus.mevenide.plugin.deploy.DeployMojo.execute(DeployMojo.java:87)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:610)
... 11 more
Caused by: Deployment error:
null
See the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163)
at org.codehaus.mevenide.netbeans.j2ee.MavenDeploymentImpl.doDeployment(MavenDeploymentImpl.java:84)
... 14 more
Caused by: java.lang.NullPointerException
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:320)
at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:213)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:508)
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:148)
... 15 more
------------------------------------------------------------------------
Total time: < 1 second
Finished at: Thu Apr 17 13:04:07 CEST 2008
Final Memory: 46M/104M
------------------------------------------------------------------------
The EJB-project has no Java files and this pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany</groupId>
<artifactId>bla-ejb</artifactId>
<packaging>ejb</packaging>
<version>1.0-SNAPSHOT</version>
<name>bla-ejb</name>
<url>http://maven.apache.org</url>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<configuration>
<ejbVersion>3.0</ejbVersion>
</configuration>
</plugin>
</plugins>
</build>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany</groupId>
<artifactId>bla-ear</artifactId>
<packaging>ear</packaging>
<version>1.0-SNAPSHOT</version>
<name>bla-ear</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>com.mycompany</groupId>
<artifactId>bla-ejb</artifactId>
<type>ejb</type>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-ear-plugin</artifactId>
<configuration>
<modules>
<ejbModule>
<groupId>com.mycompany</groupId>
<artifactId>bla-ejb</artifactId>
</ejbModule>
</modules>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<netbeans.hint.deploy.server>J2EE</netbeans.hint.deploy.server>
</properties>
</project>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email