Skip to content

Instantly share code, notes, and snippets.

@ptahchiev
Created September 7, 2016 14:06
Show Gist options
  • Save ptahchiev/50fdebfab6c6bd63ab93b854231187ca to your computer and use it in GitHub Desktop.
Save ptahchiev/50fdebfab6c6bd63ab93b854231187ca to your computer and use it in GitHub Desktop.
petar@petar-XPS-15-9550:~/workspace/nemesis-archetype-master/storefront$ mvn nemesis:update-db -Dprofiles=h2
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Samplestore Storefront 1.2.0.BUILD-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> nemesis-maven-plugin:1.2.0.BUILD-SNAPSHOT:update-db (default-cli) > compile @ samplestore-storefront >>>
Downloading: https://maven.oracle.com/com/paypal/sdk/paypal-core/maven-metadata.xml
Downloading: https://maven.oracle.com/org/webjars/bower/jquery/maven-metadata.xml
Downloading: https://maven.oracle.com/org/webjars/bower/respond/maven-metadata.xml
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ samplestore-storefront ---
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (rat-check) @ samplestore-storefront ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: **/target/**/*
[INFO] Exclude: **/node_modules/**/*
[INFO] Exclude: **/.idea/**/*
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/.svn/**/*
[INFO] Exclude: **/.git/**/*
[INFO] Exclude: **/sitemap.xml
[INFO] 224 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 224 licence.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.4:process (generate-remote-resources) @ samplestore-storefront ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ samplestore-storefront ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 171 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ samplestore-storefront ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< nemesis-maven-plugin:1.2.0.BUILD-SNAPSHOT:update-db (default-cli) < compile @ samplestore-storefront <<<
[INFO]
[INFO] --- nemesis-maven-plugin:1.2.0.BUILD-SNAPSHOT:update-db (default-cli) @ samplestore-storefront ---
[INFO] Registering tools config: class com.samplestore.storefront.config.tools.StorefrontToolsConfig
[INFO] Found profile application properties: /home/petar/workspace/nemesis-archetype-master/storefront/target/classes/application-h2.properties
[WARNING] ******************************************************************
[WARNING] *** WARNING! YOU ARE USING AN EMBEDDED DATABASE! ***
[WARNING] *** Do NOT use this mode in production or integration servers! ***
[WARNING] ******************************************************************
2016-09-07 16:26:45,207 org.springframework.web.context.support.AnnotationConfigWebApplicationContext [main] INFO : Refreshing Root WebApplicationContext: startup date [Wed Sep 07 16:26:45 EEST 2016]; root of context hierarchy
2016-09-07 16:26:45,252 org.springframework.web.context.support.AnnotationConfigWebApplicationContext [main] INFO : Registering annotated classes: [class com.samplestore.storefront.config.tools.StorefrontToolsConfig]
2016-09-07 16:26:45,569 org.springframework.beans.factory.support.DefaultListableBeanFactory [main] INFO : Overriding bean definition for bean 'transactionManager' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration; factoryMethodName=transactionManager; initMethodName=null; destroyMethodName=(inferred); defined in class org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.batch.core.configuration.annotation.SimpleBatchConfiguration; factoryMethodName=transactionManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/batch/core/configuration/annotation/SimpleBatchConfiguration.class]]
2016-09-07 16:26:45,763 org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor [main] INFO : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-09-07 16:26:45,812 org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [main] INFO : Bean 'entityMixInConfiguration' of type [class com.nemesis.platform.core.definition.EntityMixInConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-09-07 16:26:45,896 org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [main] INFO : Bean 'com.nemesis.platform.config.PlatformCoreBatchConfig' of type [class com.nemesis.platform.config.PlatformCoreBatchConfig$$EnhancerBySpringCGLIB$$7b2477ef] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-09-07 16:26:45,908 org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [main] INFO : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$659e835e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-09-07 16:26:46,028 org.hibernate.validator.internal.util.Version [main] INFO : HV000001: Hibernate Validator 5.2.4.Final
2016-09-07 16:26:46,290 org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [main] INFO : Bean 'spring.datasource.CONFIGURATION_PROPERTIES' of type [class org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-09-07 16:26:46,291 org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [main] INFO : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$NonEmbeddedConfiguration' of type [class org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$NonEmbeddedConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-09-07 16:26:46,452 org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [main] INFO : Bean 'dataSource' of type [class com.zaxxer.hikari.HikariDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-09-07 16:26:46,459 org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [main] INFO : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$DataSourceInitializerConfiguration' of type [class org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$DataSourceInitializerConfiguration$$EnhancerBySpringCGLIB$$1954cd85] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-09-07 16:26:46,476 org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [main] INFO : Bean 'dataSourceInitializer' of type [class org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-09-07 16:26:46,482 org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [main] INFO : Bean 'org.springframework.batch.core.configuration.annotation.SimpleBatchConfiguration' of type [class org.springframework.batch.core.configuration.annotation.SimpleBatchConfiguration$$EnhancerBySpringCGLIB$$65615dc4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-09-07 16:26:46,504 org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [main] INFO : Bean 'jobRegistry' of type [class com.sun.proxy.$Proxy79] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-09-07 16:26:46,762 org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean [main] INFO : Building JPA container EntityManagerFactory for persistence unit 'default'
2016-09-07 16:26:46,779 org.hibernate.jpa.internal.util.LogHelper [main] INFO : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-09-07 16:26:46,930 org.hibernate.Version [main] INFO : HHH000412: Hibernate Core {5.1.0.Final}
2016-09-07 16:26:46,932 org.hibernate.cfg.Environment [main] INFO : HHH000206: hibernate.properties not found
2016-09-07 16:26:46,933 org.hibernate.cfg.Environment [main] INFO : HHH000021: Bytecode provider name : javassist
2016-09-07 16:26:46,983 org.hibernate.annotations.common.Version [main] INFO : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2016-09-07 16:26:46,992 org.hibernate.orm.deprecation [main] WARN : HHH90000006: Attempted to specify unsupported NamingStrategy via setting [hibernate.ejb.naming_strategy]; NamingStrategy has been removed in favor of the split ImplicitNamingStrategy and PhysicalNamingStrategy; use [hibernate.implicit_naming_strategy] or [hibernate.physical_naming_strategy], respectively, instead.
[INFO] HikariPool-1 - Started.
2016-09-07 16:26:47,606 org.hibernate.dialect.Dialect [main] INFO : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
[WARNING] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/home/petar/.m2/repository/net/sf/ehcache/ehcache/2.10.2.2.21/ehcache-2.10.2.2.21.jar!/ehcache-failsafe.xml
2016-09-07 16:26:49,612 org.hibernate.cache.spi.UpdateTimestampsCache [main] INFO : HHH000250: Starting update timestamps cache at region: org.hibernate.cache.spi.UpdateTimestampsCache
2016-09-07 16:26:49,616 org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory [main] WARN : HHH020003: Could not find a specific ehcache configuration for cache named [org.hibernate.cache.spi.UpdateTimestampsCache]; using defaults.
2016-09-07 16:26:49,709 org.hibernate.cache.internal.StandardQueryCache [main] INFO : HHH000248: Starting query cache at region: org.hibernate.cache.internal.StandardQueryCache
2016-09-07 16:26:49,710 org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory [main] WARN : HHH020003: Could not find a specific ehcache configuration for cache named [org.hibernate.cache.internal.StandardQueryCache]; using defaults.
2016-09-07 16:26:50,664 org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory [main] WARN : HHH020003: Could not find a specific ehcache configuration for cache named [com.nemesis.platform.core.entity.generator.NumberSeriesEntity]; using defaults.
[INFO] Initializing [util] module ...
[INFO] Reflections took 1879 ms to scan 404 urls, producing 16378 keys and 73941 values [using 8 cores]
[INFO] No database type set, using meta data indicating: H2
[INFO] Updating the platform database
[INFO] Starting platform update (2be7ff55-78c6-4bee-bda0-41f43b749e72)...
[INFO] Flyway 4.0.1 by Boxfuse
[INFO] Database: jdbc:h2:file:./target/samplestore (H2 1.4)
[INFO] Reflections took 137 ms to scan 404 urls, producing 2 keys and 2 values
[INFO] Reflections took 109 ms to scan 404 urls, producing 2 keys and 2 values
[INFO] Successfully validated 52 migrations (execution time 00:00.278s)
[INFO] Migrating to the latest platform database schema ...
[INFO] Done! Update (2be7ff55-78c6-4bee-bda0-41f43b749e72) finished SUCCESSFULLY after 00:00 minutes
[INFO] Updating search indices...
[INFO] No search export service(s) defined. Skipping export.
[INFO] Update of database finished SUCCESSFULLY!
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.717 s
[INFO] Finished at: 2016-09-07T16:26:59+03:00
[INFO] Final Memory: 175M/763M
[INFO] ------------------------------------------------------------------------
petar@petar-XPS-15-9550:~/workspace/nemesis-archetype-master/storefront$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment