You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2021/03/11 07:14:06 UTC
[isis-app-simpleapp] 05/07: fixes classpaths for tests;
adds staging repository to top-level pom
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch jpa
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git
commit f1d82d2302596f051e1e1076519e6b596ec4fd13
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Thu Mar 11 07:06:20 2021 +0000
fixes classpaths for tests; adds staging repository to top-level pom
---
pom.xml | 17 +++++++++++++++++
webapp-tests/pom.xml | 1 +
webapp/pom.xml | 10 +++-------
3 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/pom.xml b/pom.xml
index 9bd17ef..c2b3fc3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -69,4 +69,21 @@
<module>webapp-tests</module>
</modules>
+ <profiles>
+ <profile>
+ <id>staging</id>
+ <activation>
+ <property>
+ <name>!skip.staging</name>
+ </property>
+ </activation>
+ <repositories>
+ <repository>
+ <id>staging</id>
+ <url>https://repository.apache.org/content/groups/staging/</url>
+ </repository>
+ </repositories>
+ </profile>
+ </profiles>
+
</project>
diff --git a/webapp-tests/pom.xml b/webapp-tests/pom.xml
index ecb0cd1..b4977c4 100644
--- a/webapp-tests/pom.xml
+++ b/webapp-tests/pom.xml
@@ -94,6 +94,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>simpleapp-jpa-webapp</artifactId>
+ <scope>test</scope>
</dependency>
<!-- TESTING -->
diff --git a/webapp/pom.xml b/webapp/pom.xml
index fa25aee..5f1bb96 100644
--- a/webapp/pom.xml
+++ b/webapp/pom.xml
@@ -48,13 +48,9 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
+ <configuration>
+ <classifier>exec</classifier>
+ </configuration>
</plugin>
</plugins>
</build>