- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/dist.xml</descriptor>
- <descriptor>src/assembly/devel.xml</descriptor>
- </descriptors>
- </configuration>
- <executions>
- <execution>
- <id>attach-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </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> -->
+ <!-- <groupId>org.apache.maven.plugins</groupId> -->
+ <!-- <artifactId>maven-assembly-plugin</artifactId> -->
+ <!-- <configuration> -->
+ <!-- <descriptors> -->
+ <!-- <descriptor>src/assembly/dist.xml</descriptor> -->
+ <!-- <descriptor>src/assembly/devel.xml</descriptor> -->
+ <!-- </descriptors> -->
+ <!-- </configuration> -->
+ <!-- <executions> -->
+ <!-- <execution> -->
+ <!-- <id>attach-assembly</id> -->
+ <!-- <phase>package</phase> -->
+ <!-- <goals> -->
+ <!-- <goal>single</goal> -->
+ <!-- </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> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId>
+ <executions> <execution> <id>p2-copyToRepo</id> <phase>deploy</phase> <goals>
+ <goal>run</goal> </goals> <configuration> <tasks> <mkdir dir="${project.build.directory}/repobase"
+ /> <copy todir="${project.build.directory}/repobase"> <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}">
+ <arg value="-noSplash" /> <arg value="-application" /> <arg value="org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher"
+ /> <arg value="-metadataRepository" /> <arg value="file:${argeo.p2.repository}"
+ /> <arg value="-artifactRepository" /> <arg value="file:${argeo.p2.repository}"
+ /> <arg value="-bundles" /> <arg value="${project.build.directory}/repobase"
+ /> <arg value="-features" /> <arg value="${project.build.directory}/repobase"
+ /> <arg value="-compress" /> <arg value="-publishArtifacts" /> </exec> </tasks>
+ </configuration> </execution> </executions> </plugin> -->