mirror of
https://github.com/apache/struts.git
synced 2026-08-07 07:37:20 +00:00
Moved plexus into its own plugin
WW-1457 git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@450490 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -229,14 +229,6 @@
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!-- Plexus -->
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-container-default</artifactId>
|
||||
<version>1.0-alpha-10-SNAPSHOT</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!-- Spring -->
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
|
||||
@@ -184,9 +184,9 @@ public class Dispatcher {
|
||||
// dependencies on spring, since it isn't technically required.
|
||||
className = "org.apache.struts2.spring.StrutsSpringObjectFactory";
|
||||
} else if (className.equals("plexus")) {
|
||||
// note: this class name needs to be in string form so we don't put hard
|
||||
// dependencies on spring, since it isn't technically required.
|
||||
className = "org.apache.struts2.plexus.PlexusObjectFactory";
|
||||
LOG.warn("The 'plexus' shorthand for the Plexus ObjectFactory is deprecated. Please "
|
||||
+"use the full class name: "+className);
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.apache.struts</groupId>
|
||||
<artifactId>struts2-plugins</artifactId>
|
||||
<version>2.0.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<groupId>org.apache.struts</groupId>
|
||||
<artifactId>struts2-plexus-plugin</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Struts 2 Plexus Plugin</name>
|
||||
|
||||
<distributionManagement>
|
||||
<site>
|
||||
<id>apache-site</id>
|
||||
<url>scp://people.apache.org/www/struts.apache.org/2.x/plugins/plexus</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-container-default</artifactId>
|
||||
<version>1.0-alpha-10-SNAPSHOT</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
Reference in New Issue
Block a user