This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Unable to deploy to JBoss AS 7 when using outputDirectory in maven-war-plugin | ||
---|---|---|---|
Product: | javaee | Reporter: | satory |
Component: | Maven | Assignee: | Martin Janicek <mjanicek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | markiewb |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | Other | ||
OS: | Other | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
satory
2013-06-27 01:26:51 UTC
Thanks for the report! The issue is valid and reproducible.. Fixed in: web-main #fe7479a27bfc Integrated into 'main-silver', will be available in build *201307222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/fe7479a27bfc User: Martin Janicek <mjanicek@netbeans.org> Log: #231886 - Unable to deploy to JBoss AS 7 when using outputDirectory in maven-war-plugin I'm passing through the same problem, when I change the name of the ear to be deployed via the final-name attribute of maven-ear-plugin. Maven configuration: ... <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ear-plugin</artifactId> <configuration> <finalName>treinamento</finalName> <modules> <ejbModule> <groupId>${project.groupId}</groupId> <artifactId>treinamento-negocio</artifactId> <bundleFileName>treinamento-ejb.jar</bundleFileName> </ejbModule> </modules> </configuration> </plugin> </plugins> </build> ... Error message: Erro de Implantação:Sem arquivo compactado para implantação Verifique o log do servidor para obter mais detalhes. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:273) at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:205) at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:123) at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:235) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) Caused by: org.netbeans.modules.j2ee.deployment.impl.TargetServer$NoArchiveException: Sem arquivo compactado para implantação at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:677) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:225) ... 4 more Enviroment info: Product Version: NetBeans IDE 7.4 (Build 201310111528) Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.5.0-41-generic running on i386; UTF-8; pt_BR (nb) (In reply to helderneres from comment #4) > I'm passing through the same problem, when I change the name of the ear to > be deployed via the final-name attribute of maven-ear-plugin. This works for me. Could you please share your project so I will be able to reproduce the issue? |