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 6044479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:00:59+00:00 2026-05-23T07:00:59+00:00

I am trying to use Maven to generate an artifact for deploying on Vignette

  • 0

I am trying to use Maven to generate an artifact for deploying on Vignette Portal. The packaging is exactly the same as a war artifact but the file should have car extension instead.

Options I’ve tried and I’ve not been able to complete.

  • Use war plugin and rename the final artifact (keeps adding .war extension)
  • Use assembly plugin with zip descriptor (not able to change .zip to .car extension)
  • Create a new packaging type as described here (can’t use war plugin for .car extension)

Which would be the easiest ‘Maven’ way to generate the .car file? Could you give me some guidance?

Thank you.

  • 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-23T07:01:00+00:00Added an answer on May 23, 2026 at 7:01 am

    I think it’s not possible to rename the main deliverable artifact of a project.

    Anyway, in the past, what I’ve done so far was making maven copy the file with a new name and then “attach” it to the deliverables of a build; by configuring two plugins:

    • maven-ant-run to copy
    • maven-build-helper to attach in order to be deployed to my repo along with the main artifact of my project.

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
              <configuration>
                <target>
                  <copy file="${project.build.directory}/${project.build.finalName}.war"
                    tofile="${project.build.directory}/${project.build.finalName}.car" />
                </target>
              </configuration>
              <goals>
               <goal>run</goal>
              </goals>
            </execution>
          </executions>
      </plugin>
      

    And the second:

        <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>build-helper-maven-plugin</artifactId>
      <executions>
            <execution>
              <id>attach-instrumented-jar</id>
                <phase>verify</phase>
                  <goals>
                    <goal>attach-artifact</goal>
                  </goals>
          <configuration>
                    <artifacts>
                      <artifact>
                        <file>${project.build.directory}/${project.build.finalName}.car</file>
                        <type>car</type>
                      </artifact>
                    </artifacts>
                  </configuration>
              </execution>
           </executions>
         </plugin>
    

    I hope that can help you. At least until you find a better solution.

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

Sidebar

Related Questions

I'm trying to use Maven to create an executable jar file that includes the
I am trying to setup Weblogic Server 10.3 (and Portal etc.) to use maven
I'm trying to use Maven for new projects, but this thing is confusing me
Trying to use KineticGWT with Maven but got error below. Any help is appreciated.
I am trying to use the maven-warpath-plugin available here . But I keep getting
I'm new to Maven, and am trying to use it to generate the Java
I'm trying to create a maven plugin to generate a file with the URL
I'm trying to use the <packagingExcludes> of the Maven war-plugin. This is my configuration:
I'm trying to use Subversion as Maven repo utilizing Maven wagon . If I
I am trying to get setup to use Maven and pom.xml files in Eclipse

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.