<artifactId>commons-logging-api</artifactId>
<version>1.0.4</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ <version>10.1.3.1</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-naming</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <scope>runtime</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
<runtimePath>target/plexus-archiva-runtime</runtimePath>
<additionalCoreArtifacts>
<additionalCoreArtifact>commons-logging:commons-logging-api</additionalCoreArtifact>
+ <additionalCoreArtifact>org.apache.derby:derby</additionalCoreArtifact>
+ <additionalCoreArtifact>org.codehaus.plexus:plexus-naming</additionalCoreArtifact>
+ <additionalCoreArtifact>commons-pool:commons-pool</additionalCoreArtifact>
+ <additionalCoreArtifact>commons-dbcp:commons-dbcp</additionalCoreArtifact>
+ <additionalCoreArtifact>commons-collections:commons-collections</additionalCoreArtifact>
+ <additionalCoreArtifact>directory-naming:naming-core</additionalCoreArtifact>
+ <additionalCoreArtifact>directory-naming:naming-factory</additionalCoreArtifact>
+ <additionalCoreArtifact>directory-naming:naming-java</additionalCoreArtifact>
</additionalCoreArtifacts>
</configuration>
</plugin>
-<plexus/>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<plexus>
+ <load-on-start>
+ <component>
+ <role>org.codehaus.plexus.naming.Naming</role>
+ <role-hint>dataSources</role-hint>
+ </component>
+ </load-on-start>
+ <components>
+ <component>
+ <role>org.codehaus.plexus.naming.Naming</role>
+ <implementation>org.codehaus.plexus.naming.DefaultNaming</implementation>
+ <role-hint>dataSources</role-hint>
+ <configuration>
+ <resources>
+ <resource>
+ <name>jdbc/users</name>
+ <type>javax.sql.DataSource</type>
+ <properties>
+ <property>
+ <name>driverClassName</name>
+ <value>org.apache.derby.jdbc.EmbeddedDriver</value>
+ </property>
+ <property>
+ <name>url</name>
+ <value>jdbc:derby:${plexus.home}/database;create=true</value>
+ </property>
+ <property>
+ <name>username</name>
+ <value>sa</value>
+ </property>
+ <property>
+ <name>password</name>
+ <value></value>
+ </property>
+ </properties>
+ </resource>
+ </resources>
+ </configuration>
+ </component>
+ </components>
+</plexus>
+
</plugin>
</plugins>
</build>
- <!-- TODO: remove once xwork integration is released -->
- <repositories>
- <repository>
- <id>codehaus.snapshots</id>
- <url>http://snapshots.repository.codehaus.org</url>
- </repository>
- </repositories>
<pluginRepositories>
<pluginRepository>
<id>codehaus.org</id>
<url>http://snapshots.repository.codehaus.org</url>
</pluginRepository>
</pluginRepositories>
+ <!-- TODO: remove once xwork integration, plexus container is released -->
+ <repositories>
+ <repository>
+ <id>codehaus.snapshots</id>
+ <url>http://snapshots.repository.codehaus.org</url>
+ </repository>
+ </repositories>
<properties>
<maven.version>2.0.4</maven.version>
</properties>