You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2010/03/25 21:42:35 UTC

svn commit: r927590 - in /pivot/trunk: pom.xml wtk/pom.xml

Author: tvolkert
Date: Thu Mar 25 20:42:34 2010
New Revision: 927590

URL: http://svn.apache.org/viewvc?rev=927590&view=rev
Log:
PIVOT-22 :: Apply patch submitted by Stephen Evanchik (evanchsa)

Modified:
    pivot/trunk/pom.xml
    pivot/trunk/wtk/pom.xml

Modified: pivot/trunk/pom.xml
URL: http://svn.apache.org/viewvc/pivot/trunk/pom.xml?rev=927590&r1=927589&r2=927590&view=diff
==============================================================================
--- pivot/trunk/pom.xml (original)
+++ pivot/trunk/pom.xml Thu Mar 25 20:42:34 2010
@@ -44,4 +44,55 @@ limitations under the License.
             <url>http://www.apache.org/licenses/LICENSE-2.0</url>
         </license>
     </licenses>
-</project>
\ No newline at end of file
+    <build>
+        <sourceDirectory>src</sourceDirectory>
+        <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.6</source>
+                    <target>1.6</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>jar-no-fork</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <archive>
+                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+                    </archive>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>bundle-manifest</id>
+                        <phase>process-classes</phase>
+                        <goals>
+                            <goal>manifest</goal>
+                        </goals>
+                        <configuration>
+                            <instructions>
+                                <_nouses>true</_nouses>
+                            </instructions>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Modified: pivot/trunk/wtk/pom.xml
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/pom.xml?rev=927590&r1=927589&r2=927590&view=diff
==============================================================================
--- pivot/trunk/wtk/pom.xml (original)
+++ pivot/trunk/wtk/pom.xml Thu Mar 25 20:42:34 2010
@@ -37,4 +37,31 @@ limitations under the License.
             <version>1.4</version>
         </dependency>
     </dependencies>
-</project>
\ No newline at end of file
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>bundle-manifest</id>
+                        <phase>process-classes</phase>
+                        <goals>
+                            <goal>manifest</goal>
+                        </goals>
+                        <configuration>
+                            <instructions>
+                                <_nouses>true</_nouses>
+                                <Import-Package>
+                                    javax.script;resolution:=optional,
+                                    netscape.javascript;resolution:=optional,
+                                    *
+                                </Import-Package>
+                            </instructions>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>