Processamento da instalação para ao executar o comando: mvn install

85 views
Skip to first unread message

Kássio O

unread,
Oct 14, 2016, 11:46:48 AM10/14/16
to Livro "Devops na Prática"
Olá, Danilo,

quando executo o mvn install vou te mostrar até onde vai o processamento e para no: [INFO] Compiling module br.com.devopsnapratica.gwt.devopsnapraticaAdmin, dê uma olhada:

olha lá no final, será que é porque particionei o menos do preciso de Gigas pra a partição do ubuntu? Porque eo achegar na última linha ele me deu uma mensagem de pouco espaço em disco, será que ele parar de processar por causa disso? Se sim, me diga como eu aumento essa partição pelo windows ou pelo própio ubuntu,

Obrigado AGuardo.

vagrant@precise64:~$ cd loja-virtual-devops
vagrant@precise64:~/loja-virtual-devops$ export MAVEN_OPTS=-Xmx256m
vagrant@precise64:~/loja-virtual-devops$ mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   loja-virtual-devops
[INFO]   core
[INFO]   admin
[INFO]   site
[INFO]   combined
[INFO] ------------------------------------------------------------------------
[INFO] Building loja-virtual-devops
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/vagrant/loja-virtual-devops/pom.xml to /home/vagrant/.m2/repository/br/com/devopsnapratica/lojavirtual-website/1.0/lojavirtual-website-1.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building core
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO] [jrebel:generate {execution: generate-rebel-xml}]
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/vagrant/loja-virtual-devops/core/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] Surefire report directory: /home/vagrant/loja-virtual-devops/core/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar {execution: default-jar}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/vagrant/loja-virtual-devops/core/target/core-1.0.jar to /home/vagrant/.m2/repository/br/com/devopsnapratica/core/1.0/core-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building admin
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [build-helper:timestamp-property {execution: timestamp-property}]
[WARNING] Using platform locale (en_US actually) to format date/time, i.e. build is platform dependent!
[INFO] Setting property 'clientBuildDate' to '2016-10-14 14:05:40'.
[INFO] [keytool:clean {execution: clean}]
[INFO] Keystore file '/home/vagrant/loja-virtual-devops/admin/target/admin/WEB-INF/blc-example.keystore' deleted successfully.
[INFO] [keytool:genkey {execution: genkey}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 12 resources
[INFO] Copying 2 resources
[INFO] [jrebel:generate {execution: generate-rebel-xml}]
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/vagrant/loja-virtual-devops/admin/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: /home/vagrant/loja-virtual-devops/admin/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running br.com.devopsnapratica.admin.controller.AdminLoginControllerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.842 sec

Results :

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

[INFO] [gwt:compile {execution: default}]
[INFO] Compiling module br.com.devopsnapratica.gwt.devopsnapraticaAdmin

Kássio O

unread,
Oct 18, 2016, 9:52:57 AM10/18/16
to Livro "Devops na Prática"
dentro da pasta ¨loja-virtual-devops¨ executo o ls e me mostra os seguintes arquivos: admin  build.properties  build.xml  combined  core  lib  LICENSE  pom.xml  README.md  site
com certeza deve ta faltando mais coisas pelo erro que mencionei acima...

Aguardo...

Kássio O

unread,
Oct 18, 2016, 9:52:59 AM10/18/16
to Livro "Devops na Prática"
Resolvi refazer todo procedimento desde o ínicio do livro, e continua o problema, as quatro últimas linhas:


[INFO] [gwt:compile {execution: default}]
[ERROR] Oct 18, 2016 12:39:49 AM java.util.prefs.FileSystemPreferences$1 run
[ERROR] INFO: Created user preferences directory.
[INFO] Compiling module br.com.devopsnapratica.gwt.devopsnapraticaAdmin

Preciso de ajuda!




Em sexta-feira, 14 de outubro de 2016 12:46:48 UTC-3, Kássio O escreveu:

alber...@gmail.com

unread,
Oct 26, 2016, 12:35:16 PM10/26/16
to Livro "Devops na Prática"
e ai, algum avanço?
Reply all
Reply to author
Forward
0 new messages