GitHub user lohitslohit added a comment to the discussion: CloudStack dev setup

@weizhouapache 
I not made any changes in code or settings. Just I had run the mvn -P developer 
-pl developer -Ddeploydb
Now when I run the above command it show like below.

```
mvn -P developer -pl developer -Ddeploydb
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
com.google.inject.internal.cglib.core.$ReflectUtils$1 
(file:/usr/share/maven/lib/guice.jar) to method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of 
com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO] 
[INFO] ---------------< org.apache.cloudstack:cloud-developer >----------------
[INFO] Building Apache CloudStack Developer Mode 4.19.0.1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.1.0:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.
[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties 
(default) @ cloud-developer ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-developer ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (default) @ cloud-developer ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] >>> exec-maven-plugin:1.2.1:java (create-schema) > validate @ 
cloud-developer >>>
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.1.0:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.
[INFO] 
[INFO] <<< exec-maven-plugin:1.2.1:java (create-schema) < validate @ 
cloud-developer <<<
[INFO] 
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer ---
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
log4j:WARN No appenders could be found for logger 
(com.cloud.utils.component.ComponentContext).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
========> Initializing database=cloud with host=localhost port=3306 
username=clouduser password=cloud
============> Running query: drop database if exists `cloud`
============> Running query: create database `cloud`
============> Running query: CREATE USER IF NOT EXISTS clouduser@`localhost` 
identified by 'cloud'
============> Running query: CREATE USER IF NOT EXISTS clouduser@`%` identified 
by 'cloud'
============> Running query: GRANT ALL ON cloud.* to 'clouduser'@`localhost`
============> Running query: GRANT ALL ON cloud.* to 'clouduser'@`%`
========> Initializing database=cloud_usage with host=localhost port=3306 
username=clouduser password=cloud
============> Running query: drop database if exists `cloud_usage`
============> Running query: create database `cloud_usage`
============> Running query: CREATE USER IF NOT EXISTS clouduser@`localhost` 
identified by 'cloud'
============> Running query: CREATE USER IF NOT EXISTS clouduser@`%` identified 
by 'cloud'
============> Running query: GRANT ALL ON cloud_usage.* to 
'clouduser'@`localhost`
============> Running query: GRANT ALL ON cloud_usage.* to 'clouduser'@`%`
========> Processing SQL file at 
/home/ubuntu18/OpenSource/cloudstack/developer/target/db/create-schema.sql
========> Processing SQL file at 
/home/ubuntu18/OpenSource/cloudstack/developer/target/db/create-schema-premium.sql
========> Processing SQL file at 
/home/ubuntu18/OpenSource/cloudstack/developer/target/db/templates.sql
========> Processing SQL file at 
/home/ubuntu18/OpenSource/cloudstack/developer/developer-prefill.sql.override
========> Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker

```

GitHub link: 
https://github.com/apache/cloudstack/discussions/9214#discussioncomment-9754759

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to