]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - demo/pom.xml
Try to fix issue with bundles version
[gpl/argeo-slc.git] / demo / pom.xml
index 4a02458c2798b8aec3e74ae2ae48c430e6f98a85..6feb43f5027b5358b2259a9b8c412343cd11eb68 100644 (file)
                                        </systemProperties>
                                </configuration>
                        </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-dependency-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>copy-dependencies</id>
+                                               <phase>pre-integration-test</phase>
+                                               <goals>
+                                                       <goal>copy-dependencies</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <includeScope>compile</includeScope>
+                                                       <includeTypes>jar</includeTypes>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-surefire-plugin</artifactId>
+                               <configuration>
+                                       <skipTests>true</skipTests>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <id>surefire-it</id>
+                                               <phase>integration-test</phase>
+                                               <goals>
+                                                       <goal>test</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <skipTests>false</skipTests>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
                </plugins>
        </build>
        <dependencies>
                <dependency>
                        <groupId>org.argeo.slc.runtime</groupId>
                        <artifactId>org.argeo.slc.osgiboot</artifactId>
-                       <version>${project.version}</version>
                </dependency>
                <!--  Server -->
                <dependency>
                        <groupId>org.argeo.slc.server</groupId>
                        <artifactId>bundles</artifactId>
-                       <version>${project.version}</version>
                        <type>pom</type>
                </dependency>
+
+               <!--  TESTS -->
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.equinox</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.osgiboot</artifactId>
+               </dependency>
        </dependencies>
 
        <profiles>