Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 635027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:21:35+00:00 2026-05-13T20:21:35+00:00

By accident I updated Maven JBoss plugin to version 1.3.2. After that the deployment

  • 0

By accident I updated Maven JBoss plugin to version 1.3.2. After that the deployment failed silently, no attempt to connect JBoss was made. Eventually we found out the version change and reverted back to old version.

Here is the current config:

        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>jboss-maven-plugin</artifactId>
            <version>1.3.1</version>
            <configuration>
                <serverName>default</serverName>
                <hostName>localhost</hostName>
                <port>8080</port>
                <deployUrlPath>
                    /jmx-console/HtmlAdaptor?action=invokeOpByName&amp;name=jboss.system:service%3DMainDeployer&amp;methodName=redeploy&amp;argType=java.net.URL&amp;arg0=
                </deployUrlPath>
                <undeployUrlPath>
                    /jmx-console/HtmlAdaptor?action=invokeOpByName&amp;name=jboss.system:service%3DMainDeployer&amp;methodName=undeploy&amp;argType=java.net.URL&amp;arg0=
                </undeployUrlPath>
                <fileName>
                    ${project.build.directory}/${project.build.finalName}.${project.packaging}
                </fileName>
            </configuration>
        </plugin>

… and…

        <build>
            <plugins>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>jboss-maven-plugin</artifactId>
                    <configuration>
                        <fileName>${basedir}/target/${application.name}.ear</fileName>
                        <server>jBoss</server>
                    </configuration>
                    <executions>
                        <execution>
                            <id>deploy</id>
                            <phase>pre-integration-test</phase>
                            <goals>
                                <goal>deploy</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
        </build>

I went through the change list of the plugin but I did not spot any configuration changes. Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T20:21:36+00:00Added an answer on May 13, 2026 at 8:21 pm

    Running mvn jboss:deploy with the -X option shows that the version 1.3.2 of the Maven 2.x JBoss plugin doesn’t read the fileName anymore:

    [DEBUG] Configuring mojo 'org.codehaus.mojo:jboss-maven-plugin:1.3.2:deploy' -->
    [DEBUG]   (f) deployUrlPath = /jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.net.URL&arg0=
    [DEBUG]   (f) fileNameEncoding = UTF-8
    [DEBUG]   (f) hostName = localhost
    [DEBUG]   (f) port = 8080
    [DEBUG] -- end configuration --
    

    Since version 1.3.2, the Maven 2.x JBoss Plugin is able to deploy a List of files so you need to configure it like this:

    <fileNames>
      <fileName>
      ${project.build.directory}/${project.build.finalName}.${project.packaging}
      </fileName>
    </fileNames>
    

    And this time, the deployment succeeds as shown by the new output of mvn jboss:deploy -X:

    [DEBUG] Configuring mojo 'org.codehaus.mojo:jboss-maven-plugin:1.3.2:deploy' -->
    [DEBUG]   (f) deployUrlPath = /jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.net.URL&arg0=
    [DEBUG]   (f) fileNameEncoding = UTF-8
    [DEBUG]   (f) fileNames = [/home/pascal/Projects/q1366663/target/q1366663.war]
    [DEBUG]   (f) hostName = localhost
    [DEBUG]   (f) port = 8080
    [DEBUG] -- end configuration --
    [INFO] [jboss:deploy {execution: default-cli}]
    [INFO] Deploying %2Fhome%2Fpascal%2FProjects%2Fq1366663%2Ftarget%2Fq1366663.war to JBoss.
    [DEBUG] url = http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.net.URL&arg0=%2Fhome%2Fpascal%2FProjects%2Fq1366663%2Ftarget%2Fq1366663.war
    

    This change is due to MJBOSS-11 (fixed in the change set 4282) which doesn’t have any “Fix Version/s” and thus doesn’t appear in the release notes (which is bad).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just discovered, quite by accident, that this seems to work: Public Interface Ix
I have a ComboBox. It is critical that the user cannot scroll by accident
Quite by accident today, I discovered that in IE6, IE7 and IE8 it is
After a freak git checkout accident I've lost some of my C# work :-P
A simple stupid UPDATE table SET something=another WHERE (always true) in accident will easily
This is an accident and I don't think there's a solution. But I'm asking
I removed my .gitconfig by accident. I added new identies by git add [file]
Sorry I missed and deleted earlier question on accident again. I have a situation,
I committed a bunch of files (dozens of files in different folders) by accident.
i used ftp-get function to download images from server. But by accident i used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.