struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: REST Showcase
Date Sun, 09 Dec 2007 16:58:03 GMT
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" <lists@pierosartini.de>
To: "Struts Users Mailing List" <user@struts.apache.org>
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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message