You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ws...@apache.org on 2006/01/24 03:56:54 UTC
svn commit: r371783 - /struts/sandbox/trunk/tiles/pom.xml
Author: wsmoak
Date: Mon Jan 23 18:56:45 2006
New Revision: 371783
URL: http://svn.apache.org/viewcvs?rev=371783&view=rev
Log:
Added Maven 2 build file. To install Standalone Tiles to your local Maven 2 repository: 'mvn install'
Added:
struts/sandbox/trunk/tiles/pom.xml (with props)
Added: struts/sandbox/trunk/tiles/pom.xml
URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/tiles/pom.xml?rev=371783&view=auto
==============================================================================
--- struts/sandbox/trunk/tiles/pom.xml (added)
+++ struts/sandbox/trunk/tiles/pom.xml Mon Jan 23 18:56:45 2006
@@ -0,0 +1,130 @@
+<?xml version="1.0"?>
+<!--
+/*
+ * Copyright 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">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.tiles</groupId>
+ <artifactId>tiles-core</artifactId>
+ <packaging>jar</packaging>
+ <version>0.2-SNAPSHOT</version>
+ <name>Tiles Core Library</name>
+ <url>http://struts.apache.org/struts-sandbox/tiles-core</url>
+
+ <scm>
+ <connection>svm:svn:http://svn.apache.org/repos/asf/struts/sandbox/trunk/tiles</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/sandbox/trunk/tiles</developerConnection>
+ <url>http://svn.apache.org/repos/asf/struts/sandbox/trunk/tiles</url>
+ </scm>
+
+ <build>
+
+ <sourceDirectory>src/java</sourceDirectory>
+ <testSourceDirectory>src/test</testSourceDirectory>
+
+ <resources>
+ <resource>
+ <directory>src/conf</directory>
+ <includes>
+ <include>**/*.dtd</include>
+ </includes>
+ <targetPath>org/apache/tiles/resources</targetPath>
+ </resource>
+ <resource>
+ <directory>src/conf</directory>
+ <includes>
+ <include>**/*.tld</include>
+ </includes>
+ <targetPath>META-INF</targetPath>
+ </resource>
+ <resource>
+ <directory>.</directory>
+ <includes>
+ <include>LICENSE.txt</include>
+ <include>NOTICE.txt</include>
+ </includes>
+ <targetPath>META-INF</targetPath>
+ </resource>
+ </resources>
+
+ <testResources>
+ <testResource>
+ <directory>src/conf</directory>
+ <targetPath>org/apache/tiles/resources</targetPath>
+ <includes>
+ <include>**/*.dtd</include>
+ </includes>
+ </testResource>
+ <testResource>
+ <directory>src/test</directory>
+ <includes>
+ <include>**/*.xml</include>
+ <include>**/*.properties</include>
+ </includes>
+ </testResource>
+ </testResources>
+
+ </build>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>commons-beanutils</groupId>
+ <artifactId>commons-beanutils</artifactId>
+ <version>1.7.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-digester</groupId>
+ <artifactId>commons-digester</artifactId>
+ <version>1.7</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.3</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>strutstestcase</groupId>
+ <artifactId>strutstestcase</artifactId>
+ <version>2.1.2-1.1-2.3</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+</project>
\ No newline at end of file
Propchange: struts/sandbox/trunk/tiles/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: struts/sandbox/trunk/tiles/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: svn commit: r371783 - /struts/sandbox/trunk/tiles/pom.xml
Posted by Greg Reddin <gr...@apache.org>.
Thanks, Wendy. Looks awesome.
Greg
On Jan 23, 2006, at 9:36 PM, Wendy Smoak wrote:
> On 1/23/06, wsmoak@apache.org <ws...@apache.org> wrote:
>
>> Author: wsmoak
>> Date: Mon Jan 23 18:56:45 2006
>> New Revision: 371783
>>
>> URL: http://svn.apache.org/viewcvs?rev=371783&view=rev
>> Log:
>> Added Maven 2 build file. To install Standalone Tiles to your
>> local Maven 2 repository: 'mvn install'
>>
>> Added:
>> struts/sandbox/trunk/tiles/pom.xml (with props)
>>
>
> As I mentioned in the other thread, there is a snapshot of Standalone
> Tiles in both the m1 and m2 internal/snapshot repositories.
>
> I haven't found the right configuration for mvn deploy:deploy to work,
> so I just did it with deploy-file, as follows:
>
> $ mvn deploy:deploy-file
> -Dfile=target/tiles-core-0.2-SNAPSHOT.jar
> -DpomFile=pom.xml
> -DrepositoryId=apache-snapshot
> -Durl=scp://people.apache.org/www/cvs.apache.org/maven-snapshot-
> repository
>
> For this to work you need the following in ~/.m2/settings.xml :
> <servers>
> <server>
> <id>apache-snapshot</id>
> <username>yourid</username>
> <privateKey>/path/to/privatekey</privateKey>
> </server>
> ...
> </servers>
>
> For m1 I just copied the jar to the right place. (The m1 artifact
> plugin is still not cooperating.)
>
> m1: http://cvs.apache.org/repository/tiles/
> m2: http://cvs.apache.org/maven-snapshot-repository/org/apache/tiles/
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: svn commit: r371783 - /struts/sandbox/trunk/tiles/pom.xml
Posted by Wendy Smoak <ws...@gmail.com>.
On 1/23/06, wsmoak@apache.org <ws...@apache.org> wrote:
> Author: wsmoak
> Date: Mon Jan 23 18:56:45 2006
> New Revision: 371783
>
> URL: http://svn.apache.org/viewcvs?rev=371783&view=rev
> Log:
> Added Maven 2 build file. To install Standalone Tiles to your local Maven 2 repository: 'mvn install'
>
> Added:
> struts/sandbox/trunk/tiles/pom.xml (with props)
As I mentioned in the other thread, there is a snapshot of Standalone
Tiles in both the m1 and m2 internal/snapshot repositories.
I haven't found the right configuration for mvn deploy:deploy to work,
so I just did it with deploy-file, as follows:
$ mvn deploy:deploy-file
-Dfile=target/tiles-core-0.2-SNAPSHOT.jar
-DpomFile=pom.xml
-DrepositoryId=apache-snapshot
-Durl=scp://people.apache.org/www/cvs.apache.org/maven-snapshot-repository
For this to work you need the following in ~/.m2/settings.xml :
<servers>
<server>
<id>apache-snapshot</id>
<username>yourid</username>
<privateKey>/path/to/privatekey</privateKey>
</server>
...
</servers>
For m1 I just copied the jar to the right place. (The m1 artifact
plugin is still not cooperating.)
m1: http://cvs.apache.org/repository/tiles/
m2: http://cvs.apache.org/maven-snapshot-repository/org/apache/tiles/
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org