summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archiva-jetty/pom.xml47
1 files changed, 31 insertions, 16 deletions
diff --git a/archiva-jetty/pom.xml b/archiva-jetty/pom.xml
index aa26ebddd..e97fbdcde 100644
--- a/archiva-jetty/pom.xml
+++ b/archiva-jetty/pom.xml
@@ -196,27 +196,12 @@
<goal>generate-daemons</goal>
<goal>create-repository</goal>
</goals>
+ <phase>prepare-package</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <descriptor>src/main/assembly/bin.xml</descriptor>
- <finalName>apache-archiva-${project.version}</finalName>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
@@ -235,6 +220,20 @@
<goal>run</goal>
</goals>
</execution>
+ <execution>
+ <id>fix-appassembler-bug</id>
+ <phase>prepare-package</phase>
+ <configuration>
+ <tasks>
+ <replaceregexp
+ file="target/generated-resources/appassembler/jsw/archiva/conf/wrapper.conf"
+ match="set.ARCHIVA_BASE" replace="set.default.ARCHIVA_BASE" />
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
</executions>
</plugin>
<plugin>
@@ -245,6 +244,22 @@
</supplementalModels>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <descriptor>src/main/assembly/bin.xml</descriptor>
+ <finalName>apache-archiva-${project.version}</finalName>
+ </configuration>
+ </plugin>
</plugins>
<pluginManagement>
<plugins>