Bug or Error while rebuid the Maven

11 views
Skip to first unread message

Arif

unread,
Oct 18, 2022, 5:04:49 AM10/18/22
to VIVO Tech
Dear Team,
I am using the maven 3.6.3 with vivo 1.13 version
After Customizations, I trying to rebuild the mvn after rebuilding, it didn't reflect the changes on the site. When I check in tomcat vivo directory the Customizations files is not reflect in the tomcat web directory.

Here I am sharing the maven rebuild result 

root@ip-localhost:/opt/vivo/installer# mvn install -s settings.xml
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] VIVO Installer                                                     [pom]
[INFO] VIVO Install Home                                                  [pom]
[INFO] VIVO Install Web App                                               [war]
[INFO]
[INFO] ---------------------< org.vivoweb:vivo-installer >---------------------
[INFO] Building VIVO Installer 1.13.0                                     [1/3]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-properties) @ vivo-insta                                                                                                             ller ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ vivo-installer                                                                                                              ---
[INFO] Skipping artifact installation
[INFO]
[INFO] ------------------< org.vivoweb:vivo-installer-home >-------------------
[INFO] Building VIVO Install Home 1.13.0                                  [2/3]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-properties) @ vivo-insta                                                                                                             ller-home ---
[INFO]
[INFO] --- maven-assembly-plugin:2.5.5:single (default) @ vivo-installer-home ---
[INFO] Reading assembly descriptor: src/main/assembly/home.xml
[WARNING] Cannot include project artifact: org.vivoweb:vivo-installer-home:pom:1.13.0; it doesn't have an associated file or directory.
[INFO] Copying files to /opt/vivo/installer/home/target/vivo
[WARNING] Assembly file: /opt/vivo/installer/home/target/vivo is not a regular file (it may be a directory). It cannot be attached to the project build for installation or deployment.
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (remove-webapp) @ vivo-installer-home ---
[INFO] Executing tasks

main:
   [delete] Deleting directory /opt/vivo/home/rdf
[INFO] Executed tasks
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ vivo-installer-home ---
[INFO] Skipping artifact installation
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (install) @ vivo-installer-home ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 109 resources
[INFO]
[INFO] ------------------< org.vivoweb:vivo-installer-vivo >-------------------
[INFO] Building VIVO Install Web App 1.13.0                               [3/3]
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-properties) @ vivo-installer-vivo ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ vivo-installer-vivo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /opt/vivo/installer/webapp/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ vivo-installer-vivo ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ vivo-installer-vivo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /opt/vivo/installer/webapp/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ vivo-installer-vivo ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ vivo-installer-vivo ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-war-plugin:3.2.0:war (default-war) @ vivo-installer-vivo ---
[INFO] Packaging webapp
[INFO] Assembling webapp [vivo-installer-vivo] in [/opt/vivo/installer/webapp/target/vivo]
[INFO] Processing war project
[INFO] Copying webapp webResources [/opt/vivo/installer/webapp/src/main/webResources] to [/opt/vivo/installer/webapp/target/vivo]
[INFO] Copying webapp resources [/opt/vivo/installer/webapp/src/main/webapp]
[INFO] Processing overlay [ id org.vivoweb:vivo-webapp]
[INFO] Processing overlay [ id org.vivoweb:vitro-languages-webapp-core]
[INFO] Processing overlay [ id org.vivoweb:vivo-languages-webapp-core]
[INFO] Webapp assembled in [2498 msecs]
[INFO] Building war: /opt/vivo/installer/webapp/target/vivo.war
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (remove-webapp) @ vivo-installer-vivo ---
[INFO] Executing tasks

main:
   [delete] Deleting directory /opt/tomcat/webapps/vivo
[INFO] Executed tasks
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ vivo-installer-vivo ---
[INFO] Skipping artifact installation
[INFO]
[INFO] --- maven-dependency-plugin:2.10:unpack (install) @ vivo-installer-vivo ---
[INFO] Configured Artifact: org.vivoweb:vivo-installer-vivo:1.13.0:war
[INFO] Unpacking /opt/vivo/installer/webapp/target/vivo.war to /opt/tomcat/webapps/vivo with includes "" and excludes ""
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for VIVO Installer 1.13.0:
[INFO]
[INFO] VIVO Installer ..................................... SUCCESS [  1.334 s]
[INFO] VIVO Install Home .................................. SUCCESS [  3.153 s]
[INFO] VIVO Install Web App ............................... SUCCESS [ 10.271 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  14.952 s
[INFO] Finished at: 2022-10-18T08:57:14Z
[INFO] ------------------------------------------------------------------------
 

Thanks,
Arif

Dragan Ivanovic

unread,
Oct 18, 2022, 5:33:48 AM10/18/22
to vivo...@googlegroups.com

Hello Arif,

You should run from /opt/vivo#

mvn clean install -s installer/settings.xml

Regards,

Dragan

--
You received this message because you are subscribed to the Google Groups "VIVO Tech" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vivo-tech+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vivo-tech/071aae2d-496d-403f-afce-81de53c57848n%40googlegroups.com.

Arif

unread,
Oct 18, 2022, 5:58:48 AM10/18/22
to VIVO Tech
Dear Dragan,

Nothing is happening.
I add a few CSS code in tenderfoor.css under /opt/vivo/installer/webapp/target/vivo/themes/tenderfoot/css
and I also create one css file in /opt/vivo/installer/webapp/target/vivo/themes/tenderfoot/css and link in head.ftl
then I run the mentioned command mvn clean install -s installer/settings.xml

Nothing is happening...

Regards,
Arif

Reply all
Reply to author
Forward
0 new messages