Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M1
    • Fix Version/s: 1.0.0-M2
    • Component/s: None
    • Labels:
      None

      Description

      Please add the following to the base pom to create source jars as part of the build. This will be very helpful to those of us who like to have source jars availablefor debugging in an IDE.

      <build>
      <pluginManagement>
      <plugins>
      <plugin>
      <artifactId>maven-source-plugin</artifactId>
      </plugin>
      </plugins>
      </pluginManagement>
      </build>

      Thanks!

        Activity

        Niklas Gustavsson made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 1.0-M2 [ 12312320 ]
        Hide
        Niklas Gustavsson added a comment -

        I move the source JAR plugin to the default build. That way it will be attached during the build and can be installed like the regular JAR. Build performance decrease should be minimal.

        Show
        Niklas Gustavsson added a comment - I move the source JAR plugin to the default build. That way it will be attached during the build and can be installed like the regular JAR. Build performance decrease should be minimal.
        Niklas Gustavsson made changes -
        Status Closed [ 6 ] Reopened [ 4 ]
        Resolution Won't Fix [ 2 ]
        Niklas Gustavsson made changes -
        Resolution Won't Fix [ 2 ]
        Fix Version/s 1.0-M1 [ 12312282 ]
        Status Open [ 1 ] Closed [ 6 ]
        Hide
        Niklas Gustavsson added a comment -

        We are not currently producing any public snapshots builds (but we probably should) and if you built it on your own you can, as the described produce the source jar yourself.

        Show
        Niklas Gustavsson added a comment - We are not currently producing any public snapshots builds (but we probably should) and if you built it on your own you can, as the described produce the source jar yourself.
        Hide
        Mark Reynolds added a comment -

        If that applies to SNAPSHOT builds, then that is fine with me. It is easy enough to run "mvn source:jar" when building ad hoc from the trunk.

        Show
        Mark Reynolds added a comment - If that applies to SNAPSHOT builds, then that is fine with me. It is easy enough to run "mvn source:jar" when building ad hoc from the trunk.
        Hide
        Niklas Gustavsson added a comment -

        The source plugin is already defined in the base POM. However, it only runs during the release canidate (rc) profile build. The same is true for the Javadoc plugin. The reason for this is to save time during the build. The source plugin is not that slow so if you want to have a part of the default build I'll move it. For releases we will produce source and javadoc JARs that will be deployed to Maven repos since we use the rc build for those.

        Show
        Niklas Gustavsson added a comment - The source plugin is already defined in the base POM. However, it only runs during the release canidate (rc) profile build. The same is true for the Javadoc plugin. The reason for this is to save time during the build. The source plugin is not that slow so if you want to have a part of the default build I'll move it. For releases we will produce source and javadoc JARs that will be deployed to Maven repos since we use the rc build for those.
        Niklas Gustavsson made changes -
        Assignee Niklas Gustavsson [ niklas ]
        Mark Reynolds made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Minor [ 4 ]
        Hide
        Mark Reynolds added a comment -

        Doh!

        Should have been this:

        <build>
        <plugins>
        <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
        <execution>
        <goals>
        <goal>jar</goal>
        </goals>
        </execution>
        </executions>
        </plugin>
        </plugins>
        </build>

        Show
        Mark Reynolds added a comment - Doh! Should have been this: <build> <plugins> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
        Mark Reynolds created issue -

          People

          • Assignee:
            Niklas Gustavsson
            Reporter:
            Mark Reynolds
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development