gavioto / playn

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

configure maven-sources-plugin #218

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When I run mvn deploy, it doesn't install source jars in the repository.
You can fix this by adding the following to the pom at the root directory:

  <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>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>

Original issue reported on code.google.com by inder123 on 12 Sep 2012 at 6:25