Author: wsmoak Date: Tue May 2 20:26:41 2006 New Revision: 399116 URL: http://svn.apache.org/viewcvs?rev=399116&view=rev Log: Added a pom for the struts-build jar, which (so far) contains the CheckStyle and Jalopy config files. Temporarily commented out the regexp header. (How do we configure this with Maven 2?)
Added: struts/maven/trunk/build/pom.xml (with props) Modified: struts/maven/trunk/build/struts_checks.xml Added: struts/maven/trunk/build/pom.xml URL: http://svn.apache.org/viewcvs/struts/maven/trunk/build/pom.xml?rev=399116&view=auto ============================================================================== --- struts/maven/trunk/build/pom.xml (added) +++ struts/maven/trunk/build/pom.xml Tue May 2 20:26:41 2006 @@ -0,0 +1,84 @@ +<?xml version="1.0"?> +<!-- +/* + * Copyright 2005-2006 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * $Id$ + */ +--> + +<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"> + + <parent> + <groupId>org.apache.struts</groupId> + <artifactId>struts-parent</artifactId> + <version>2-SNAPSHOT</version> + </parent> + + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.struts</groupId> + <artifactId>struts-build</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>jar</packaging> + <name>Struts Action - Build</name> + <url>http://struts.apache.org</url> + + <scm> + <connection>svm:svn:http://svn.apache.org/repos/asf/struts/maven/trunk/build</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/maven/trunk/build</developerConnection> + <url>http://svn.apache.org/repos/asf/struts/maven/trunk/build</url> + </scm> + + <distributionManagement> + <repository> + <id>apache-maven-test-builds</id> + <name>Apache Maven Repository (Test Builds)</name> + <url>scp://people.apache.org/www/cvs.apache.org/maven-snapshot-repository</url> + </repository> + </distributionManagement> + + <build> + + <resources> + <resource> + <directory>.</directory> + <targetPath>org/apache/struts/build</targetPath> + <includes> + <include>struts_checks.xml</include> + <include>LICENSE.CheckStyle</include> + <include>struts_jalopy.xml</include> + </includes> + </resource> + </resources> + + </build> + + <repositories> + <repository> + <id>apache.snapshots</id> + <name>Apache Maven Repository (Snapshots and Test Builds)</name> + <url>http://cvs.apache.org/maven-snapshot-repository</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> + </repositories> + +</project> Propchange: struts/maven/trunk/build/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: struts/maven/trunk/build/pom.xml ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Modified: struts/maven/trunk/build/struts_checks.xml URL: http://svn.apache.org/viewcvs/struts/maven/trunk/build/struts_checks.xml?rev=399116&r1=399115&r2=399116&view=diff ============================================================================== --- struts/maven/trunk/build/struts_checks.xml (original) +++ struts/maven/trunk/build/struts_checks.xml Tue May 2 20:26:41 2006 @@ -131,9 +131,9 @@ <!-- Following interprets the header file as regular expressions. --> <!-- <module name="RegexpHeader"/> --> - <module name="RegexpHeader"> + <!--module name="RegexpHeader"> <property name="headerFile" value="${checkstyle.regexp.header}"/> - </module> + </module--> <!-- Checks for imports -->