2015/10/23 - Apache Shindig has been retired. For more information please explore the Attic.
apache shindig java maven compile success log
1. get apache shindig 2.5.2 latest
http://archive.apache.org/dist/shindig/2.5.2/shindig-2.5.2-source.zip2. how to compiler shindig-2.5.2-source
unzip this source.
edit shindig-2.5.2-source\pom.xml, comment below code:
<!--
<repository>
<id>diff_match_patch</id>
<url>http://google-diff-match-patch.googlecode.com/svn/trunk/maven</url>
</repository>
<repository>
<id>caja</id>
<url>http://google-caja.googlecode.com/svn/maven</url>
</repository>
<repository>
<id>oauth</id>
<url>http://oauth.googlecode.com/svn/code/maven</url>
</repository>
-->
and change:
<groupId>diff_match_patch</groupId>
<artifactId>diff_match_patch</artifactId>
to:
<groupId>org.webjars</groupId>
<artifactId>google-diff-match-patch</artifactId>
edit shindig-2.5.2-source\features\pom.xml, comment below code:
<!--
<pluginRepositories>
<pluginRepository>
<id>jsdoctk2</id>
<url>http://jsdoctk-plugin.googlecode.com/svn/repo</url>
</pluginRepository>
</pluginRepositories>
-->
edit shindig-2.5.2-source\java\gadgets\pom.xml,change:
<groupId>diff_match_patch</groupId>
<artifactId>diff_match_patch</artifactId>
to:
<groupId>org.webjars</groupId>
<artifactId>google-diff-match-patch</artifactId>
3. compile
> mvn package -Dmaven.test.skip=true
4. Last result
[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ shindig-server ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Shindig Project ............................. SUCCESS [ 2.125 s]
[INFO] Apache Shindig Features ............................ SUCCESS [ 5.049 s]
[INFO] Apache Shindig Common Code ......................... SUCCESS [ 7.014 s]
[INFO] Apache Shindig Gadget Renderer ..................... SUCCESS [ 12.246 s]
[INFO] Apache Shindig Social API .......................... SUCCESS [ 4.275 s]
[INFO] Apache Shindig Sample Container .................... SUCCESS [ 1.981 s]
[INFO] Apache Shindig Sample Web App Maven Archetype ...... SUCCESS [ 11.330 s]
[INFO] Apache Shindig Web App Resources ................... SUCCESS [ 3.129 s]
[INFO] Apache Shindig Extra Modules ....................... SUCCESS [ 3.474 s]
[INFO] Apache Shindig Web App Dependencies ................ SUCCESS [ 0.690 s]
[INFO] Apache Shindig Web App ............................. SUCCESS [ 4.492 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 56.284 s
[INFO] Finished at: 2017-05-29T10:33:37+08:00
[INFO] Final Memory: 56M/817M
[INFO] ------------------------------------------------------------------------
5. Edit in eclipse(or Sts)
5.1 shindig-gadgets properties > Java Build Path: Delete src/test/java and src/test/resource5.2 edit shindig-server/pom.xml:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<!-- add below one row -->
<failOnMissingWebXml>false</failOnMissingWebXml>
...
No comments:
Post a Comment