Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-1035

Deploy sources jars on mvn deploy

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 4.0.0.GA
    • Fix Version/s: 4.0.1
    • Component/s: None
    • Labels:
      None

      Description

      Because the maven-source-plugin isn't attached to the default lifecylce, you need to explicitly link it in <plugins>.
      Hope this changes for maven 2.1.
      I also added test-jar sources

      In the parent pom I changed this:

      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-source-plugin</artifactId>
      <version>2.0.2</version>
      <executions>
      <execution>
      <goals>
      <goal>jar</goal>
      + <goal>test-jar</goal>
      </goals>
      </execution>
      </executions>
      </plugin>

      ...

      </pluginManagement>
      <plugins>
      + <plugin>
      + <!-- Entry needed to create, install and deploy sources jars -->
      + <groupId>org.apache.maven.plugins</groupId>
      + <artifactId>maven-source-plugin</artifactId>
      + </plugin>
      </plugins>
      </build>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ge0ffrey Geoffrey De Smet
                Reporter:
                ge0ffrey Geoffrey De Smet
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: