maven-resin

关于resin
http://2hei.net/mt/2008/12/resin3-resinadmin.html
没试验呢

http://wiki.caucho.com/Maven2

mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes  -DarchetypeArtifactId=maven-archetype-webapp  -DgroupId=com.mycompany.app -DartifactId=my-webapp

修改pom
<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>
  <groupId>com.mycompany.app</groupId>
  <artifactId>my-webapp</artifactId>
  <packaging>war</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>my-webapp Maven Webapp</name>
  <url>http://maven.apache.org</url>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <licenses>
    <license>
      <name>GNU General Public License 2.0</name>
    </license>
  </licenses>
  <pluginRepositories>
     <pluginRepository>
	       <snapshots>
	         <enabled>true</enabled>
	         <updatePolicy>always</updatePolicy>
	         <checksumPolicy>ignore</checksumPolicy>
	       </snapshots>
           <id>caucho</id>
           <name>Caucho</name>
           <url>http://caucho.com/m2-snapshot</url>
     </pluginRepository>
  </pluginRepositories>
  <build>
    <finalName>my-webapp</finalName>
    <plugins>
		<plugin>
	          <groupId>com.caucho</groupId>
	          <artifactId>resin-maven-plugin</artifactId>
	          <version>3.1-SNAPSHOT</version>
		</plugin>
    </plugins>
  </build>
</project>

mvn resin:run

运行报500

你可能感兴趣的:(apache,html,maven,.net,JUnit)