Author: mes
Date: 2012-05-08 13:43:56 -0700 (Tue, 08 May 2012)
New Revision: 29155

Removed:
   core3/impl/trunk/swing-application-impl/src/main/resources/cytoscape/
Modified:
   core3/impl/trunk/swing-application-impl/pom.xml
Log:
updated help functionality so that it builds the manual dynamically off of the 
latest manual found in help-impl

Modified: core3/impl/trunk/swing-application-impl/pom.xml
===================================================================
--- core3/impl/trunk/swing-application-impl/pom.xml     2012-05-08 20:41:28 UTC 
(rev 29154)
+++ core3/impl/trunk/swing-application-impl/pom.xml     2012-05-08 20:43:56 UTC 
(rev 29155)
@@ -13,7 +13,7 @@
 
        <modelVersion>4.0.0</modelVersion>
        <artifactId>swing-application-impl</artifactId>
-    <name>Cytoscape Swing Application Impl (${project.artifactId})</name>
+       <name>Cytoscape Swing Application Impl (${project.artifactId})</name>
        <packaging>bundle</packaging>
 
 
@@ -22,6 +22,9 @@
                        <resource>
                                <directory>src/main/resources</directory>
                        </resource>
+                       <resource>
+                          
<directory>${project.build.outputDirectory}/help</directory>
+                       </resource>
                </resources>
                <plugins>
                        <plugin>
@@ -63,6 +66,32 @@
                                        </execution>
                                </executions>
                        </plugin>
+                  <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-dependency-plugin</artifactId>
+                        <executions>
+                          <execution>
+                                <id>copy-javahelp</id>
+                                <phase>generate-sources</phase>
+                                <goals>
+                                  <goal>unpack</goal>
+                                </goals>
+                                <configuration>
+                                  <artifactItems>
+                                        <artifactItem>
+                                          <groupId>org.cytoscape</groupId>
+                                          <artifactId>help-impl</artifactId>
+                                          <version>${project.version}</version>
+                                          <type>zip</type>
+                                          <classifier>javahelp</classifier>
+                                          <overWrite>true</overWrite>
+                                          
<outputDirectory>${project.build.outputDirectory}/help/cytoscape/help</outputDirectory>
+                                        </artifactItem>
+                                  </artifactItems>
+                                </configuration>
+                          </execution>
+                        </executions>
+                  </plugin>
                </plugins>
        </build>
 
@@ -146,17 +175,17 @@
                        <groupId>org.osgi</groupId>
                        <artifactId>org.osgi.core</artifactId>
                </dependency>
-        <dependency>
-            <groupId>cytoscape-sun</groupId>
-            <artifactId>jhall</artifactId>
-            <version>1.0</version>
-        </dependency>
-        
-        <dependency>
-               <groupId>com.apple.developer</groupId>
-               <artifactId>AppleJavaExtensions</artifactId>
-               <version>1.6</version>
-               <scope>compile</scope>
-        </dependency>
+               <dependency>
+                       <groupId>cytoscape-sun</groupId>
+                       <artifactId>jhall</artifactId>
+                       <version>1.0</version>
+               </dependency>
+               
+               <dependency>
+                       <groupId>com.apple.developer</groupId>
+                       <artifactId>AppleJavaExtensions</artifactId>
+                       <version>1.6</version>
+                       <scope>compile</scope>
+               </dependency>
        </dependencies>
 </project>

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to