Add sources to SDK update site
authorMathieu Baudier <mbaudier@argeo.org>
Fri, 23 Apr 2010 07:07:29 +0000 (07:07 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Fri, 23 Apr 2010 07:07:29 +0000 (07:07 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@3491 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

dist/org.argeo.slc.sdk/pom.xml

index ccac1d406d6b20c5c88197fdfccd2b4e710f3ddb..69061e1e9c8453ec697c90cb1eb886373cdfebbd 100644 (file)
                                                </goals>
                                        </execution>
                                </executions>
-                       </plugin><!--
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>exec-maven-plugin</artifactId>
-                               <version>1.1</version>
-                               <executions>
-                                       <execution>
-                                               <id>create-repository</id>
-                                               <phase>deploy</phase>
-                                               <goals>
-                                                       <goal>exec</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                               <configuration>
-                                       <executable>${argeo.p2.cmd}</executable>
-                                        optional 
-                                       <workingDirectory>/tmp</workingDirectory>
-                                       <arguments>
-                                               <argument>-noSplash</argument>
-                                               <argument>-application</argument>
-                                               <argument>org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher</argument>
-                                               <argument>-metadataRepository</argument>
-                                               <argument>file:${argeo.p2.repository}</argument>
-                                               <argument>-artifactRepository</argument>
-                                               <argument>file:${argeo.p2.repository}</argument>
-                                               <argument>-bundles</argument>
-                                               <argument>${project.build.directory}</argument>
-                                               <argument>-features</argument>
-                                               <argument>${project.build.directory}</argument>
-                                               <argument>-compress</argument>
-                                               <argument>-publishArtifacts</argument>
-                                       </arguments>
-                               </configuration>
                        </plugin>
-                       --><plugin>
+                       <!--
+                               <plugin> <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>exec-maven-plugin</artifactId> <version>1.1</version>
+                               <executions> <execution> <id>create-repository</id>
+                               <phase>deploy</phase> <goals> <goal>exec</goal> </goals>
+                               </execution> </executions> <configuration>
+                               <executable>${argeo.p2.cmd}</executable> optional
+                               <workingDirectory>/tmp</workingDirectory> <arguments>
+                               <argument>-noSplash</argument> <argument>-application</argument>
+                               <argument>org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher</argument>
+                               <argument>-metadataRepository</argument>
+                               <argument>file:${argeo.p2.repository}</argument>
+                               <argument>-artifactRepository</argument>
+                               <argument>file:${argeo.p2.repository}</argument>
+                               <argument>-bundles</argument>
+                               <argument>${project.build.directory}</argument>
+                               <argument>-features</argument>
+                               <argument>${project.build.directory}</argument>
+                               <argument>-compress</argument>
+                               <argument>-publishArtifacts</argument> </arguments> </configuration>
+                               </plugin>
+                       -->
+                       <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-antrun-plugin</artifactId>
                                <executions>
                                                        <tasks>
                                                                <mkdir dir="${project.build.directory}/repobase" />
                                                                <copy todir="${project.build.directory}/repobase">
-                                                                       <fileset dir="${project.build.directory}">
-                                                                               <include name="lib/*.jar" />
-                                                                               <include name="libsrc/*.jar" />
+                                                                       <fileset dir="${project.build.directory}/lib">
+                                                                               <include name="*.jar" />
+                                                                       </fileset>
+                                                                       <fileset dir="${project.build.directory}/libsrc">
+                                                                               <include name="*.jar" />
                                                                        </fileset>
                                                                </copy>
                                                                <exec executable="${argeo.p2.cmd}">
                                                <executions>
                                                        <execution>
                                                                <id>rpm-copyToRepo</id>
-                                                               <phase>install</phase>
+                                                               <phase>deploy</phase>
                                                                <goals>
                                                                        <goal>run</goal>
                                                                </goals>