mirror of https://github.com/apache/archiva.git
MRM-310 Applied patch submitted by Napoleon Esmundo Ramirez
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@529546 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4eb937010d
commit
4c3b631435
|
@ -42,6 +42,23 @@
|
|||
<version>1.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Dependencies below are provided by the appserver -->
|
||||
<dependency>
|
||||
<groupId>org.apache.derby</groupId>
|
||||
<artifactId>derby</artifactId>
|
||||
<version>10.1.3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.mail</groupId>
|
||||
<artifactId>mail</artifactId>
|
||||
<version>1.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.activation</groupId>
|
||||
<artifactId>activation</artifactId>
|
||||
<version>1.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
@ -69,6 +86,19 @@
|
|||
<outputDirectory>${project.build.directory}/${container.name}conf/webapps/archiva</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>prepare-provided-dependencies</id>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>copy-dependencies</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<overWriteReleases>false</overWriteReleases>
|
||||
<overWriteSnapshots>true</overWriteSnapshots>
|
||||
<excludeTransitive>false</excludeTransitive>
|
||||
<outputDirectory>${project.build.directory}/providedDependencies</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
@ -84,7 +114,7 @@
|
|||
</copy>
|
||||
<copy
|
||||
todir="${project.build.directory}/installs/${container.name}/apache-tomcat-5.5.20/apache-tomcat-5.5.20/common/lib">
|
||||
<fileset dir="${project.build.directory}/${container.name}conf/webapps/archiva/WEB-INF/lib">
|
||||
<fileset dir="${project.build.directory}/providedDependencies">
|
||||
<include name="**/derby-*.jar"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
|
|
@ -27,4 +27,10 @@
|
|||
driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
|
||||
url="jdbc:derby:target/database/users;create=true"
|
||||
/>
|
||||
|
||||
<Resource name="jdbc/archiva" auth="Container" type="javax.sql.DataSource"
|
||||
username="sa"
|
||||
password=""
|
||||
driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
|
||||
url="jdbc:derby:database/archiva;create=true" />
|
||||
</Context>
|
||||
|
|
Loading…
Reference in New Issue