Building multiple component zips for a multi-module Maven projectHow to add local jar files to a Maven project?IntelliJ - Convert a Java project/module into a Maven project/modulemaven package doesn't compileBuild order of Maven multimodule project?How to pack switchyard application with mavenMaven: why does it contain a seemingly broken schemaLocation?download the repositories in mavenmaven-compiler-plugin in parent pomMigrating existing jersey postgres app to spring bootFailed to read artifact descriptor for org.apac he.maven.plugins

How is the casino term "a high roller" commonly expressed in German?

How to save money by shopping at a variety of grocery stores?

How can I portray a character with no fear of death, without them sounding utterly bored?

Should we run PBKDF2 for every plaintext to be protected or should we run PBKDF2 only once?

What is the motivation behind designing a control stick that does not move?

Why wasn't Linda Hamilton in T3?

Single vs Multiple Try Catch

Is Borg adaptation only temporary?

meaning of "educating the ice"?

Quick Slitherlink Puzzles: KPK and 123

Ideas behind the 8.Bd3 line in the 4.Ng5 Two Knights Defense

Is there anything in the universe that cannot be compressed?

What is the practical impact of using System.Random which is not cryptographically random?

Why do modes sound so different, although they are basically the same as a mode of another scale?

'spazieren' - walking in a silly and affected manner?

An alternative to "two column" geometry proofs

Can I leave a large suitcase at TPE during a 4-hour layover, and pick it up 4.5 days later when I come back to TPE on my way to Taipei downtown?

Underbrace in equation

German equivalent to "going down the rabbit hole"

Why didn't Thatcher give Hong Kong to Taiwan?

LED lights on 1.2 V battery

Is it good practice to speed up and slow down where not written in a song?

Why are CEOs generally fired rather being demoted?

Can a system of three stars exist?



Building multiple component zips for a multi-module Maven project


How to add local jar files to a Maven project?IntelliJ - Convert a Java project/module into a Maven project/modulemaven package doesn't compileBuild order of Maven multimodule project?How to pack switchyard application with mavenMaven: why does it contain a seemingly broken schemaLocation?download the repositories in mavenmaven-compiler-plugin in parent pomMigrating existing jersey postgres app to spring bootFailed to read artifact descriptor for org.apac he.maven.plugins






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am trying to find a good example on how you would build multiple zip files for a multi-module project with several runnable components using the maven-assembly-plugin.



My end result would hopefully have a single "dist" component that is capable of building all the necessary zip files.



<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>xyz.exampleproject</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<name>Project Distribution</name>
<artifactId>dist</artifactId>
<packaging>pom</packaging>

<dependencies>
<dependency>
<groupId>$project.groupId</groupId>
<artifactId>component1-core</artifactId>
<version>$project.version</version>
</dependency>
<dependency>
<groupId>$project.groupId</groupId>
<artifactId>component2-core</artifactId>
<version>$project.version</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>make-bundles</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>









share|improve this question






























    0















    I am trying to find a good example on how you would build multiple zip files for a multi-module project with several runnable components using the maven-assembly-plugin.



    My end result would hopefully have a single "dist" component that is capable of building all the necessary zip files.



    <?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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
    <groupId>xyz.exampleproject</groupId>
    <artifactId>parent</artifactId>
    <version>1.0.0-SNAPSHOT</version>
    </parent>
    <name>Project Distribution</name>
    <artifactId>dist</artifactId>
    <packaging>pom</packaging>

    <dependencies>
    <dependency>
    <groupId>$project.groupId</groupId>
    <artifactId>component1-core</artifactId>
    <version>$project.version</version>
    </dependency>
    <dependency>
    <groupId>$project.groupId</groupId>
    <artifactId>component2-core</artifactId>
    <version>$project.version</version>
    </dependency>
    </dependencies>

    <build>
    <plugins>
    <plugin>
    <artifactId>maven-assembly-plugin</artifactId>
    <executions>
    <execution>
    <id>make-bundles</id>
    <goals>
    <goal>single</goal>
    </goals>
    <phase>package</phase>
    <configuration>
    <descriptors>
    <descriptor>assembly.xml</descriptor>
    </descriptors>
    </configuration>
    </execution>
    </executions>
    </plugin>
    </plugins>
    </build>
    </project>









    share|improve this question


























      0












      0








      0








      I am trying to find a good example on how you would build multiple zip files for a multi-module project with several runnable components using the maven-assembly-plugin.



      My end result would hopefully have a single "dist" component that is capable of building all the necessary zip files.



      <?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/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <parent>
      <groupId>xyz.exampleproject</groupId>
      <artifactId>parent</artifactId>
      <version>1.0.0-SNAPSHOT</version>
      </parent>
      <name>Project Distribution</name>
      <artifactId>dist</artifactId>
      <packaging>pom</packaging>

      <dependencies>
      <dependency>
      <groupId>$project.groupId</groupId>
      <artifactId>component1-core</artifactId>
      <version>$project.version</version>
      </dependency>
      <dependency>
      <groupId>$project.groupId</groupId>
      <artifactId>component2-core</artifactId>
      <version>$project.version</version>
      </dependency>
      </dependencies>

      <build>
      <plugins>
      <plugin>
      <artifactId>maven-assembly-plugin</artifactId>
      <executions>
      <execution>
      <id>make-bundles</id>
      <goals>
      <goal>single</goal>
      </goals>
      <phase>package</phase>
      <configuration>
      <descriptors>
      <descriptor>assembly.xml</descriptor>
      </descriptors>
      </configuration>
      </execution>
      </executions>
      </plugin>
      </plugins>
      </build>
      </project>









      share|improve this question














      I am trying to find a good example on how you would build multiple zip files for a multi-module project with several runnable components using the maven-assembly-plugin.



      My end result would hopefully have a single "dist" component that is capable of building all the necessary zip files.



      <?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/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <parent>
      <groupId>xyz.exampleproject</groupId>
      <artifactId>parent</artifactId>
      <version>1.0.0-SNAPSHOT</version>
      </parent>
      <name>Project Distribution</name>
      <artifactId>dist</artifactId>
      <packaging>pom</packaging>

      <dependencies>
      <dependency>
      <groupId>$project.groupId</groupId>
      <artifactId>component1-core</artifactId>
      <version>$project.version</version>
      </dependency>
      <dependency>
      <groupId>$project.groupId</groupId>
      <artifactId>component2-core</artifactId>
      <version>$project.version</version>
      </dependency>
      </dependencies>

      <build>
      <plugins>
      <plugin>
      <artifactId>maven-assembly-plugin</artifactId>
      <executions>
      <execution>
      <id>make-bundles</id>
      <goals>
      <goal>single</goal>
      </goals>
      <phase>package</phase>
      <configuration>
      <descriptors>
      <descriptor>assembly.xml</descriptor>
      </descriptors>
      </configuration>
      </execution>
      </executions>
      </plugin>
      </plugins>
      </build>
      </project>






      java maven pom.xml maven-assembly-plugin parent-pom






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 28 at 0:38









      user0000001user0000001

      9002 gold badges7 silver badges26 bronze badges




      9002 gold badges7 silver badges26 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          0















          I would add one extra module per zip file that you want to create and configure the assembly plugin in there.






          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55388527%2fbuilding-multiple-component-zips-for-a-multi-module-maven-project%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0















            I would add one extra module per zip file that you want to create and configure the assembly plugin in there.






            share|improve this answer





























              0















              I would add one extra module per zip file that you want to create and configure the assembly plugin in there.






              share|improve this answer



























                0














                0










                0









                I would add one extra module per zip file that you want to create and configure the assembly plugin in there.






                share|improve this answer













                I would add one extra module per zip file that you want to create and configure the assembly plugin in there.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 28 at 10:55









                JF MeierJF Meier

                12.2k5 gold badges33 silver badges71 bronze badges




                12.2k5 gold badges33 silver badges71 bronze badges



















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55388527%2fbuilding-multiple-component-zips-for-a-multi-module-maven-project%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

                    155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해