Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-416

outputDirectory default value in fileSet seems changed; now seems to use directory name of fileSet sourcedir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.2-beta-3
    • 2.2-beta-5
    • None
    • None

    Description

      From Grzegorz Slowikowski on the dev@maven mailing list ([VOTE] maven-assembly-plugin 2.2-beta-4 thread):

      Hi
      
      With this configuration:
         <pluginRepositories>
             <pluginRepository>
                 <id>maven-staging-031</id>
                 <name>maven-staging-031</name>
                 <url>https://repository.apache.org/content/repositories/maven-staging-031</url>
             </pluginRepository>
         </pluginRepositories>
      
         <build>
             <plugins>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-assembly-plugin</artifactId>
                     <version>2.2-beta-4</version>
                     <configuration>
                         <descriptorRefs>
                             <descriptorRef>jar-with-dependencies</descriptorRef>
                         </descriptorRefs>
                     </configuration>
                     <executions>
                         <execution>
                             <id>make-assembly</id>
                             <phase>package</phase>
                             <goals>
                                 <goal>single</goal>
                             </goals>
                         </execution>
                     </executions>
                 </plugin>
             </plugins>
         </build>
      
      I have "target" folder/package inside jar-with-dependencies archive which contains copies of my project classes (they are in the normal
      package structure within this archive too).
      ...
      

      Attachments

        1. massembly-416.zip
          3 kB
          John Dennis Casey
        2. massembly-416-1.0-SNAPSHOT-jar-with-dependencies.jar
          3 kB
          Grzegorz Slowikowski
        3. massembly-416-2.jar
          12 kB
          Grzegorz Slowikowski
        4. massembly-416-jar-listing.txt
          4 kB
          John Dennis Casey

        Activity

          People

            jdcasey John Dennis Casey
            jdcasey John Dennis Casey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: