Commit 7ad13ab5 authored by mindthegab's avatar mindthegab
Browse files

More fixed for issue #197

parent 6a770b9c
Loading
Loading
Loading
Loading
+1 −74
Original line number Diff line number Diff line
@@ -655,7 +655,7 @@
                    <goals>
                        <goal>run</goal>
                    </goals>
                    <phase>pre-integration-test</phase>
                    <phase>integration-test</phase>
                    <configuration>
                          <useTestClasspath>false</useTestClasspath>
                          <ignorePackaging>true</ignorePackaging>
@@ -760,78 +760,5 @@
            </plugins>
        </build>
    </profile>
    <!-- Invokes the Alfresco Technical Validation tool at https://github.com/AlfrescoLabs/technical-validation  -->
    <profile>
        <id>atv</id>
        <properties>
            <maven.alfresco.validation.skip>false</maven.alfresco.validation.skip>
            <maven.alfresco.validation.sourceLocation>${project.build.directory}/${project.build.finalName}-src</maven.alfresco.validation.sourceLocation>
        </properties>
        <build>
            <plugins>
                <plugin>
                    <artifactId>maven-resources-plugin</artifactId>
                    <executions>
                        <execution>
                            <id>isolate-project-src</id>
                            <phase>generate-resources</phase>
                            <goals>
                                <goal>copy-resources</goal>
                            </goals>
                            <configuration>
                              <outputDirectory>${maven.alfresco.validation.sourceLocation}</outputDirectory>
                              <resources>
                                  <resource>
                                      <directory>${project.basedir}</directory>
                                      <excludes>
                                          <exclude>target</exclude>
                                      </excludes>
                                      <filtering>${app.filtering.enabled}</filtering>
                                  </resource>
                              </resources>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.alfresco.maven.plugin</groupId>
                    <artifactId>alfresco-maven-plugin</artifactId>
                    <executions>
                        <execution>
                            <id>run-atv</id>
                            <phase>verify</phase>
                            <goals>
                                <goal>validate</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>de.herschke</groupId>
                    <artifactId>neo4j-maven-plugin</artifactId>
                    <version>2.0.2-20140827</version>
                    <executions>
                        <execution>
                            <id>start-neo4j-server</id>
                            <phase>post-integration-test</phase>
                            <goals>
                                <goal>start-server</goal>
                            </goals>
                        </execution>
                        <execution>
                            <id>stop-neo4j-server</id>
                            <phase>verify</phase>
                            <goals>
                                <goal>stop-server</goal>
                            </goals>
                        </execution>
                    </executions>
                    <configuration>
                        <port>7474</port>
                    </configuration>
                </plugin>
            </plugins>
        </build>
    </profile>
  </profiles>
</project>