teddywoo / caldav4j

Automatically exported from code.google.com/p/caldav4j
0 stars 0 forks source link

Create source jars in maven repository #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please add source jars in the maven repository so that it becomes trivial to 
see the caldav4j code in capable IDEs.

Providing source jars may also lead to more users that are willing to 
contribute patches.

Original issue reported on code.google.com by e.vanoos...@grons.nl on 10 Aug 2010 at 11:35

GoogleCodeExporter commented 8 years ago
Sorry, should not have it typed as a defect, but rather as an enhancement.

Original comment by e.vanoos...@grons.nl on 10 Aug 2010 at 11:35

GoogleCodeExporter commented 8 years ago
can you send a patch of the pom.xml to generate the source jar?

Original comment by robipo...@gmail.com on 17 Aug 2010 at 9:16

GoogleCodeExporter commented 8 years ago
No problem. According to 
http://maven.apache.org/plugins/maven-source-plugin/usage.html you should make 
sure the following fragment is present in the pom:

<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.1.2</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <phase>verify</phase>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  ...
</project>

Original comment by e.vanoos...@grons.nl on 18 Aug 2010 at 11:03

GoogleCodeExporter commented 8 years ago
testing...

Original comment by robipo...@gmail.com on 18 Aug 2010 at 2:12

GoogleCodeExporter commented 8 years ago
committed in pom.xml. next 0.7-SNAPSHOT will contain jar sources too.
you're welcome to post a pom patch to include the source:jar target in the 
deploy one

Original comment by robipo...@gmail.com on 18 Aug 2010 at 2:14

GoogleCodeExporter commented 8 years ago
For now, feel free to download source files from 
http://library.jteam.nl/repo/org/osaf/caldav4j/0.6.1/caldav4j-0.6.1-sources.jar.

Original comment by e.vanoos...@grons.nl on 19 Aug 2010 at 7:26

GoogleCodeExporter commented 8 years ago
fixed and committed

Original comment by robipo...@gmail.com on 17 Feb 2011 at 2:15