On Jan 17, 2008, at 6:57 AM, Sachn Mittal wrote:
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 recall this so I'll have to check it and find out what was the
problem.
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.
mvn -nsu
-Vincent