openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-796) publish sources along with jar files
Date Tue, 09 Mar 2010 18:09:27 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Donald Woods updated OPENJPA-796:
---------------------------------

    Fix Version/s: 2.0.0-M2

> publish sources along with jar files
> ------------------------------------
>
>                 Key: OPENJPA-796
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-796
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: build / infrastructure
>    Affects Versions: 2.0.0-M2
>            Reporter: Fernando
>             Fix For: 2.0.0-M2
>
>
> very simple, just need to add this to the pom.xml file at the top level, then all builds
will publish sources too.  Very useful!
> Index: pom.xml
> ===================================================================
> --- pom.xml     (revision 721538)
> +++ pom.xml     (working copy)
> @@ -481,6 +481,27 @@
>                  <targetPath>META-INF</targetPath>
>              </resource>
>          </resources>
> +        <plugins>
> +          <plugin>
> +            <groupId>org.apache.maven.plugins</groupId>
> +            <artifactId>maven-compiler-plugin</artifactId>
> +            <configuration>
> +              <source>1.5</source>
> +              <target>1.5</target>
> +            </configuration>
> +          </plugin>
> +         <plugin>
> +            <groupId>org.apache.maven.plugins</groupId>
> +            <artifactId>maven-source-plugin</artifactId>
> +            <executions>
> +              <execution>
> +               <goals>
> +                 <goal>jar</goal>
> +               </goals>
> +              </execution>
> +            </executions>
> +         </plugin>
> +       </plugins>
>          <pluginManagement>
>              <plugins>
>                  <plugin>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message