Good Morning Piero
in my test pom.xml in plugin-repositories if I configure the suggested
pluginRespository
<pluginRepository>
<id>apache.snapshots</id>
<name>Apache Maven Repository (Snapshots and Test Builds)</name>
<!--
url>http://people.apache.org/repo/m2-snapshot-repository/</url -->
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
</pluginRepository>
$STRUTS_HOME/src>mvn -e -X install
+ Error stacktraces are turned on.
Maven version: 2.0.8
Java version: 1.5.0_02
[GC [DefNew: 3968K->0K(4032K), 0.0128720 secs] 3968K->363K(262080K),
0.0129908 s
ecs]
[GC [DefNew: 3968K->0K(4032K), 0.0125608 secs] 4331K->1209K(262080K),
0.0127175
secs]
[DEBUG] Building Maven user-level plugin registry from:
'${user.home}/${username}.${host}/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'${maven.home}/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[GC [DefNew: 3968K->0K(4032K), 0.0081963 secs] 5177K->1472K(262080K),
0.0083030
secs]
[INFO] ---------------------------------------------------------------------
---
[ERROR] FATAL ERROR
[INFO] ---------------------------------------------------------------------
---
[INFO] null
[INFO] ---------------------------------------------------------------------
---
[DEBUG] Trace
java.lang.NullPointerException
at org.apache.maven.wagon.PathUtils.protocol(PathUtils.java:206)
I am using Maven version: 2.0.8
Java version: 1.5.0_02
Molte Grazie
Martin-
----- Original Message -----
From: "Piero Sartini" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[email protected]>
Sent: Sunday, December 09, 2007 10:48 AM
Subject: Re: REST Showcase
> > If you've used Maven before you're probably better off checking out the
> > source and performing your own build. It would take less than 10-30
> > mins to setup.
> >
http://struts.apache.org/2.x/docs/building-the-framework-from-source.html
>
> If maven is used, 2.1.1-SNAPSHOT should work:
>
> <dependency>
> <groupId>org.apache.struts</groupId>
> <artifactId>struts2-rest-plugin</artifactId>
> <version>2.1.1-SNAPSHOT</version>
> </dependency>
>
> <repository>
> <id>struts2 snapshots</id>
>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
> </repository>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]