Hi,
One has to run the script as:
mvn install -Dmaven.test.skip=true
surefire plugin fails if there are not test cases.

you have fixed this in pom of gwt using:
      <!-- TODO: Disable unit tests temporarily as the only test there is
failing... -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <skip>true</skip>
        </configuration>
      </plugin>

I don't know if something needs to be done in the pom under standard.
Anyway I am still learning maven so cannot say much but running above target
solved my problem.

Also just one question I did not want to start another thread for this ..
Every time I run mvn builds it feteches latest snapshot of xwiki jars from
the xwiki maven servers.
I want to prevent this and always use the snapshot that I have created, how
can I set this.
is mvn -o install the right option.
But I guess this would not get any updated jars.
I still may want to get the updated jars of external libs we use but not of
xwiki snapshots.
Anyway to configure this specifically.

Thanks a lot for your time and help.
Sachin


vmassol wrote:
> 
> Hi Sachin,
> 
> This has nothing to do with xwiki AFAICS. If I were you I'd reinstall  
> the maven version we recommend + clean your local repository + verify  
> your settings.xml file.
> 
> Thanks
> -Vincent
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-building-from-source---xwiki-platform-web---standard-tp14843155p14912101.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to