On 1/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]