AnsweredAssumed Answered

When i adding the constraints and types then run the maven build its showing the empty output

Question asked by karuppasamy on Jul 17, 2018

Pls help me on this .

Am new to alfresco

 

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for DigGov:solr-config:pom:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ DigGov:solr-config:[unknown-version], D:\web_project\DigGov\solr-config\pom.xml, line 74, column 29
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Alfresco Repository and Share Quickstart with database and an embedded Tomcat runner.
[INFO] Alfresco Repository AMP Module
[INFO] Alfresco Share AMP Module
[INFO] Alfresco Repository WAR Aggregator
[INFO] Alfresco Solr 4 Configuration
[INFO] Alfresco Share WAR Aggregator
[INFO] Alfresco, Share and Solr4 Tomcat Runner
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Alfresco Repository and Share Quickstart with database and an embedded Tomcat runner. 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ DigGov ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-sdk-requirements) @ DigGov ---
[INFO]
[INFO] --- yuicompressor-maven-plugin:1.5.1:compress (compress-js) @ DigGov ---
[INFO] nb warnings: 0, nb errors: 0
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ DigGov ---
[INFO] Installing D:\web_project\DigGov\pom.xml to C:\Users\B5451\.m2\repository\DigGov\DigGov\1.0-SNAPSHOT\DigGov-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Alfresco Repository AMP Module 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ DigGov-repo-amp ---
[INFO] Deleting D:\web_project\DigGov\DigGov-repo-amp\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-sdk-requirements) @ DigGov-repo-amp ---
[INFO]
[INFO] --- alfresco-maven-plugin:2.2.0:set-version (default-set-version) @ DigGov-repo-amp ---
[INFO] Removed -SNAPSHOT suffix from version - 1.0
[INFO] Added timestamp to version - 1.0.1807171824
[INFO]
[INFO] --- build-helper-maven-plugin:1.10:add-test-resource (add-env-test-properties) @ DigGov-repo-amp ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ DigGov-repo-amp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\web_project\DigGov\DigGov-repo-amp\src\main\resources
[INFO] Copying 16 resources to D:\web_project\DigGov\DigGov-repo-amp\target/amp
[INFO]
[INFO] --- yuicompressor-maven-plugin:1.5.1:compress (compress-js) @ DigGov-repo-amp ---
[INFO] demoamp.js (774b) -> demoamp-min.js (0b)[0%]
[INFO] total input (774b) -> output (0b)[0%]
[INFO] nb warnings: 0, nb errors: 0
[INFO]
[INFO] --- alfresco-maven-plugin:2.2.0:refresh (refresh-webscripts-repo-and-share) @ DigGov-repo-amp ---
[WARNING] Connection failed to localhost:8080, null webapp refresh aborted
[INFO]
[INFO] --- maven-compiler-plugin:3.5:compile (default-compile) @ DigGov-repo-amp ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to D:\web_project\DigGov\DigGov-repo-amp\target\classes
[ERROR] error reading C:\Users\B5451\.m2\repository\com\sun\pdfview\pdfrenderer\0.9.1-patched\pdfrenderer-0.9.1-patched.jar; invalid LOC header (bad signature)
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ DigGov-repo-amp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (add-module-properties-to-test-classpath) @ DigGov-repo-amp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to alfresco/module/DigGov-repo-amp
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (add-module-config-to-test-classpath) @ DigGov-repo-amp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 11 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5:testCompile (default-testCompile) @ DigGov-repo-amp ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to D:\web_project\DigGov\DigGov-repo-amp\target\test-classes
[ERROR] error reading C:\Users\B5451\.m2\repository\com\sun\pdfview\pdfrenderer\0.9.1-patched\pdfrenderer-0.9.1-patched.jar; invalid LOC header (bad signature)
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ DigGov-repo-amp ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- alfresco-maven-plugin:2.2.0:amp (default-amp) @ DigGov-repo-amp ---
[INFO] Building jar: D:\web_project\DigGov\DigGov-repo-amp\target\amp\lib\DigGov-repo-amp-1.0-SNAPSHOT.jar
[INFO] Building amp: D:\web_project\DigGov\DigGov-repo-amp\target\DigGov-repo-amp-1.0-SNAPSHOT.amp
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ DigGov-repo-amp ---
[INFO] Installing D:\web_project\DigGov\DigGov-repo-amp\target\DigGov-repo-amp-1.0-SNAPSHOT.amp to C:\Users\B5451\.m2\repository\DigGov\DigGov-repo-amp\1.0-SNAPSHOT\DigGov-repo-amp-1.0-SNAPSHOT.amp
[INFO] Installing D:\web_project\DigGov\DigGov-repo-amp\pom.xml to C:\Users\B5451\.m2\repository\DigGov\DigGov-repo-amp\1.0-SNAPSHOT\DigGov-repo-amp-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Alfresco Share AMP Module 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://download.java.net/maven/2/org/jvnet/staxex/stax-ex/maven-metadata.xml
[WARNING] Could not transfer metadata org.jvnet.staxex:stax-ex/maven-metadata.xml from/to maven2-repository.dev.java.net (http://download.java.net/maven/2/): Access denied to http://download.java.net/maven/2/org/jvnet/staxex/stax-ex/maven-metadata.xml. Error code 403, Forbidden
[WARNING] Failure to transfer org.jvnet.staxex:stax-ex/maven-metadata.xml from http://download.java.net/maven/2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net has elapsed or updates are forced. Original error: Could not transfer metadata org.jvnet.staxex:stax-ex/maven-metadata.xml from/to maven2-repository.dev.java.net (http://download.java.net/maven/2/): Access denied to http://download.java.net/maven/2/org/jvnet/staxex/stax-ex/maven-metadata.xml. Error code 403, Forbidden
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ DigGov-share-amp ---
[INFO] Deleting D:\web_project\DigGov\DigGov-share-amp\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-sdk-requirements) @ DigGov-share-amp ---
[INFO]
[INFO] --- alfresco-maven-plugin:2.2.0:set-version (default-set-version) @ DigGov-share-amp ---
[INFO] Removed -SNAPSHOT suffix from version - 1.0
[INFO] Added timestamp to version - 1.0.1807171824
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ DigGov-share-amp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 13 resources to D:\web_project\DigGov\DigGov-share-amp\target/amp
[INFO]
[INFO] --- yuicompressor-maven-plugin:1.5.1:compress (compress-js) @ DigGov-share-amp ---
[INFO] TemplateWidget.js (721b) -> TemplateWidget-min.js (415b)[57%]
[INFO] total input (721b) -> output (415b)[57%]
[INFO] nb warnings: 0, nb errors: 0
[INFO]
[INFO] --- alfresco-maven-plugin:2.2.0:refresh (refresh-webscripts-repo-and-share) @ DigGov-share-amp ---
[WARNING] Connection failed to localhost:8080, null webapp refresh aborted
[INFO]
[INFO] --- maven-compiler-plugin:3.5:compile (default-compile) @ DigGov-share-amp ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ DigGov-share-amp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (add-module-properties-to-test-classpath) @ DigGov-share-amp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to alfresco/module/DigGov-share-amp
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (add-module-config-to-test-classpath) @ DigGov-share-amp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5:testCompile (default-testCompile) @ DigGov-share-amp ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to D:\web_project\DigGov\DigGov-share-amp\target\test-classes
[INFO] /D:/web_project/DigGov/DigGov-share-amp/src/test/java/DigGov/DigGov/demoamp/po/DemoPage.java: D:\web_project\DigGov\DigGov-share-amp\src\test\java\DigGov\DigGov\demoamp\po\DemoPage.java uses unchecked or unsafe operations.
[INFO] /D:/web_project/DigGov/DigGov-share-amp/src/test/java/DigGov/DigGov/demoamp/po/DemoPage.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ DigGov-share-amp ---
[INFO]
[INFO] --- alfresco-maven-plugin:2.2.0:amp (default-amp) @ DigGov-share-amp ---
[INFO] Building jar: D:\web_project\DigGov\DigGov-share-amp\target\amp\lib\DigGov-share-amp-1.0-SNAPSHOT.jar
[INFO] Building amp: D:\web_project\DigGov\DigGov-share-amp\target\DigGov-share-amp-1.0-SNAPSHOT.amp
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ DigGov-share-amp ---
[INFO] Installing D:\web_project\DigGov\DigGov-share-amp\target\DigGov-share-amp-1.0-SNAPSHOT.amp to C:\Users\B5451\.m2\repository\DigGov\DigGov-share-amp\1.0-SNAPSHOT\DigGov-share-amp-1.0-SNAPSHOT.amp
[INFO] Installing D:\web_project\DigGov\DigGov-share-amp\pom.xml to C:\Users\B5451\.m2\repository\DigGov\DigGov-share-amp\1.0-SNAPSHOT\DigGov-share-amp-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Alfresco Repository WAR Aggregator 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ repo ---
[INFO] Deleting D:\web_project\DigGov\repo\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-sdk-requirements) @ repo ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.10:add-resource (add-env-properties) @ repo ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ repo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] skip non existing resourceDirectory D:\web_project\DigGov\repo\src\main\amp
[INFO] Copying 1 resource
[INFO]
[INFO] --- yuicompressor-maven-plugin:1.5.1:compress (compress-js) @ repo ---
[INFO] nb warnings: 0, nb errors: 0
[INFO]
[INFO] --- maven-compiler-plugin:3.5:compile (default-compile) @ repo ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ repo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\web_project\DigGov\repo\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5:testCompile (default-testCompile) @ repo ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ repo ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-war-plugin:2.6:exploded (prepare-exploded-war) @ repo ---
[INFO] Exploding webapp
[INFO] Assembling webapp [repo] in [D:\web_project\DigGov\repo\target\repo-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [D:\web_project\DigGov\repo\src\main\webapp]
[INFO] Processing overlay [ id org.alfresco:alfresco]
[INFO] Processing overlay [ id DigGov:DigGov-repo-amp]
[INFO] Installing into destination folder: D:\web_project\DigGov\repo\target\repo-1.0-SNAPSHOT
[INFO] Installing D:\web_project\DigGov\DigGov-repo-amp\target\DigGov-repo-amp-1.0-SNAPSHOT.amp into D:\web_project\DigGov\repo\target\repo-1.0-SNAPSHOT
[INFO] Webapp assembled in [142032 msecs]
[INFO]
[INFO] --- replacer:1.5.3:replace (disable-securecomms) @ repo ---
[INFO] Replacement run on 1 file.
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ repo ---
[INFO] Packaging webapp
[INFO] Assembling webapp [repo] in [D:\web_project\DigGov\repo\target\repo-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [D:\web_project\DigGov\repo\src\main\webapp]
[INFO] Processing overlay [ id org.alfresco:alfresco]
[INFO] Processing overlay [ id DigGov:DigGov-repo-amp]
[INFO] Installing into destination folder: D:\web_project\DigGov\repo\target\repo-1.0-SNAPSHOT
[INFO] Installing D:\web_project\DigGov\DigGov-repo-amp\target\DigGov-repo-amp-1.0-SNAPSHOT.amp into D:\web_project\DigGov\repo\target\repo-1.0-SNAPSHOT
[INFO] Webapp assembled in [18650 msecs]
[INFO] Building war: D:\web_project\DigGov\repo\target\repo-1.0-SNAPSHOT.war
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ repo ---
[INFO] Installing D:\web_project\DigGov\repo\target\repo-1.0-SNAPSHOT.war to C:\Users\B5451\.m2\repository\DigGov\repo\1.0-SNAPSHOT\repo-1.0-SNAPSHOT.war
[INFO] Installing D:\web_project\DigGov\repo\pom.xml to C:\Users\B5451\.m2\repository\DigGov\repo\1.0-SNAPSHOT\repo-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Alfresco Solr 4 Configuration 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ solr-config ---
[INFO] Deleting D:\web_project\DigGov\solr-config\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-sdk-requirements) @ solr-config ---
[INFO]
[INFO] --- maven-dependency-plugin:2.10:unpack (unpack-alfresco-config) @ solr-config ---
[INFO] Configured Artifact: org.alfresco:alfresco-solr4:config:5.1.e:zip
[INFO] Unpacking C:\Users\B5451\.m2\repository\org\alfresco\alfresco-solr4\5.1.e\alfresco-solr4-5.1.e-config.zip to D:\web_project\DigGov\alf_data_dev\solr4\config with includes "" and excludes ""
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:regex-property (regexp-property) @ solr-config ---
[INFO]
[INFO] --- replacer:1.5.3:replace (setup-solr-config) @ solr-config ---
[INFO] Replacement run on 2 files.
[INFO]
[INFO] --- yuicompressor-maven-plugin:1.5.1:compress (compress-js) @ solr-config ---
[INFO] nb warnings: 0, nb errors: 0
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ solr-config ---
[INFO] Installing D:\web_project\DigGov\solr-config\pom.xml to C:\Users\B5451\.m2\repository\DigGov\solr-config\1.0-SNAPSHOT\solr-config-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Alfresco Share WAR Aggregator 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ share ---
[INFO] Deleting D:\web_project\DigGov\share\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-sdk-requirements) @ share ---
[INFO]
[INFO] --- maven-dependency-plugin:2.10:unpack-dependencies (unpack) @ share ---
[INFO] Unpacking C:\Users\B5451\.m2\repository\org\alfresco\share\5.1.e\share-5.1.e.war to D:\web_project\DigGov\share\target\dependency with includes "META-INF/MANIFEST.MF" and excludes ""
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ share ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] skip non existing resourceDirectory D:\web_project\DigGov\share\src\main\amp
[INFO]
[INFO] --- yuicompressor-maven-plugin:1.5.1:compress (compress-js) @ share ---
[INFO] nb warnings: 0, nb errors: 0
[INFO]
[INFO] --- maven-compiler-plugin:3.5:compile (default-compile) @ share ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ share ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5:testCompile (default-testCompile) @ share ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ share ---
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ share ---
[INFO] Packaging webapp
[INFO] Assembling webapp [share] in [D:\web_project\DigGov\share\target\share-1.0-SNAPSHOT]
[info] Copying manifest...
[INFO] Processing war project
[INFO] Copying webapp resources [D:\web_project\DigGov\share\src\main\webapp]
[INFO] Processing overlay [ id org.alfresco:share]
[INFO] Processing overlay [ id DigGov:DigGov-share-amp]
[INFO] Installing into destination folder: D:\web_project\DigGov\share\target\share-1.0-SNAPSHOT
[INFO] Installing D:\web_project\DigGov\DigGov-share-amp\target\DigGov-share-amp-1.0-SNAPSHOT.amp into D:\web_project\DigGov\share\target\share-1.0-SNAPSHOT
[INFO] Webapp assembled in [372542 msecs]
[INFO] Building war: D:\web_project\DigGov\share\target\share-1.0-SNAPSHOT.war
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ share ---
[INFO] Installing D:\web_project\DigGov\share\target\share-1.0-SNAPSHOT.war to C:\Users\B5451\.m2\repository\DigGov\share\1.0-SNAPSHOT\share-1.0-SNAPSHOT.war
[INFO] Installing D:\web_project\DigGov\share\pom.xml to C:\Users\B5451\.m2\repository\DigGov\share\1.0-SNAPSHOT\share-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Alfresco, Share and Solr4 Tomcat Runner 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ runner ---
[INFO] Deleting D:\web_project\DigGov\runner\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-sdk-requirements) @ runner ---
[INFO]
[INFO] --- yuicompressor-maven-plugin:1.5.1:compress (compress-js) @ runner ---
[INFO] nb warnings: 0, nb errors: 0
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-tomcat-resources) @ runner ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (run-wars) > process-classes @ runner >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-sdk-requirements) @ runner ---
[INFO]
[INFO] --- yuicompressor-maven-plugin:1.5.1:compress (compress-js) @ runner ---
[INFO] nb warnings: 0, nb errors: 0
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.2:run (run-wars) < process-classes @ runner <<<
[INFO]
[INFO] --- tomcat7-maven-plugin:2.2:run (run-wars) @ runner ---
[INFO] Running war on http://localhost:8080/
[INFO] Creating Tomcat server configuration at D:\web_project\DigGov\runner\target\tomcat
[INFO] setting SystemProperties:
[INFO] solr.solr.home=D:\web_project\DigGov/alf_data_dev/solr4/config
[INFO] create webapp with contextPath:
[INFO] Deploying dependency wars
[INFO] Deploy warfile: D:\web_project\DigGov\repo\target\repo-1.0-SNAPSHOT.war to contextPath: /alfresco
[INFO] Deploy warfile: D:\web_project\DigGov\share\target\share-1.0-SNAPSHOT.war to contextPath: /share

[INFO] Deploy warfile: C:\Users\B5451\.m2\repository\org\alfresco\alfresco-solr4\5.1.e\alfresco-solr4-5.1.e.war to contextPath: /solr4
[INFO] Deploy warfile: C:\Users\B5451\.m2\repository\org\alfresco\api-explorer\1.0\api-explorer-1.0.war to contextPath: /api-explorer
Jul 17, 2018 6:41:51 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jul 17, 2018 6:41:51 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Jul 17, 2018 6:41:51 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.47

Jul 17, 2018 6:41:51 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
Jul 17, 2018 6:43:16 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Jul 17, 2018 6:43:26 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
2018-07-17 18:43:26,737 WARN [shared_impl.util.LocaleUtils] [localhost-startStop-1] Locale name in faces-config.xml null or empty, setting locale to default locale : en_US

Jul 17, 2018 6:43:44 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
2018-07-17 18:43:50,683 INFO [solr.component.AsyncBuildSuggestComponent] [coreLoadExecutor-5-thread-2] Initializing SuggestComponent
2018-07-17 18:43:50,683 INFO [solr.component.AsyncBuildSuggestComponent] [coreLoadExecutor-5-thread-1] Initializing SuggestComponent
Jul 17, 2018 6:43:51 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
2018-07-17 18:43:51,095 INFO [solr.component.AsyncBuildSuggestComponent] [Suggestor-alfresco-1] Loading suggester index for: shingleBasedSuggestions
2018-07-17 18:43:52,172 INFO [solr.component.AsyncBuildSuggestComponent] [Suggestor-alfresco-1] Loaded suggester shingleBasedSuggestions, took 1076 ms
2018-07-17 18:44:01,620 ERROR [solr.tracker.AbstractTracker] [SolrTrackerScheduler_Worker-1] Model tracking failed
org.alfresco.error.AlfrescoRuntimeException: 06170000 GetModelsDiff return status is 404
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1157)
at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:249)
at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:207)
at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:229)
at org.alfresco.solr.tracker.CoreWatcherJob.registerForCore(CoreWatcherJob.java:131)
at org.alfresco.solr.tracker.CoreWatcherJob.execute(CoreWatcherJob.java:74)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2018-07-17 18:44:01,743 ERROR [solr.tracker.AbstractTracker] [SolrTrackerScheduler_Worker-1] Model tracking failed
org.alfresco.error.AlfrescoRuntimeException: 06170001 GetModelsDiff return status is 404
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1157)
at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:249)
at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:207)
at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:229)
at org.alfresco.solr.tracker.CoreWatcherJob.registerForCore(CoreWatcherJob.java:131)
at org.alfresco.solr.tracker.CoreWatcherJob.execute(CoreWatcherJob.java:74)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

=============================================================================================

After Creating dg-model.xml ( am getting below output)

 

After creating a Xml file Run it

 

 

in that dg-model.xml file i added the below constraint and types

 

<type name="dg:sectionDoc">
     <title>DigGov Section Doc</title>
       <parent>dg:legalDoc</parent>
           <properties>
                <property name="dg:votingDevices">  
                  <type>d:text</type>
                  <multiple>true</multiple>
         <constraints>
               <constraint ref="dg:defectiveList" />
         </constraints>
              </property>
          </properties>
  </type>

==========

<constraints>
     <constraint name="dg:defectiveList" type="LIST">
          <parameter name="allowedValues">
            <list>
                <value>Voting Device Uno</value>
                <value>Voting Device Dos</value>
            </list>
          </parameter>
     </constraint>
</constraints>

 

After modifying the xml (Run the maven build) its showing the empty output

Attachments

Outcomes