karunchakravarthy / json-simple

Automatically exported from code.google.com/p/json-simple
Apache License 2.0
0 stars 0 forks source link

pom.xml should generate json-simple-sources.jar #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
- What steps will reproduce the problem?

1. mvn install

- What is the expected output? What do you see instead?

target/json-simple-1.1.1-sources.jar should exist, but it doesn't.

- What version of the product are you using? On what operating system?

1.1.1 on Linux with Oracle JDK 1.6.0_20-b02

Please provide any additional information below.

Add this to appropriate spot in 'pom.xml' and now sources.jar is generated!  
Yay!   Sources.jar is a handy jar to have in most IDE's, since it helps 
developers debug their own code when it interacts with the json-simple code.

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-source-plugin</artifactId>
  <executions>
    <execution>
      <id>attach-sources</id>
      <goals>
        <goal>jar</goal>
      </goals>
    </execution>
  </executions>
</plugin>

Original issue reported on code.google.com by juliusda...@gmail.com on 22 Feb 2012 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by fangyid...@gmail.com on 23 Feb 2012 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by nossli...@gmail.com on 23 Feb 2012 at 6:52