References Maven Dependencies Maven is a powerful project management tool that is based on POM (project object model). It is used for projects to build, manage dependency and documentation. Maven addresses two aspects of building software: first, it describes how software is built, and second, it describes its dependencies. so coming to dependencymanagement vs dependencies tag in maven maven has two mechanisms to add the dependencies of other modules/project. One is Dependencies tag and other is Dependency Management. People often wonder what the difference between the two. An important question is when to use what? First, of all, we should have an idea of what is multi module applications. As in the case in case of multi module applications only they differ. A multi-module project is, as its name suggests, a project that consists of multiple modules, where a module is a project. Y...
Create Schema automatically https://stackify.com/spring-boot-level-up/ if you want to add initial data to the database, you can create files with standard names such as schema.sql, data.sql or import.sql to be picked up automatically by Spring Boot auto-configuration, or you can define your DataSource bean to load a custom named SQL script manually: @Configuration public class PersistenceConfig { @Bean public DataSource dataSource () { EmbeddedDatabaseBuilder builder = new EmbeddedDatabaseBuilder (); EmbeddedDatabase db = builder . setType ( EmbeddedDatabaseType . H2 ) . addScript ( "mySchema.sql" ) . addScript ( "myData.sql" ) . build (); return db ; } } This has the effect of overriding the auto-configured DataSource bean, but not the rest of the default beans that make up the configuration of the persistence layer. The entry point for...
GMail Drive shell extension GMail Drive is a Shell Namespace Extension that creates a virtual filesystem around your Google Mail account, allowing you to use Gmail as a storage medium. GMail Drive creates a virtual filesystem on top of your Google Gmail account and enables you to save and retrieve files stored on your Gmail account directly from inside Windows Explorer. GMail Drive literally adds a new drive to your computer under the My Computer folder, where you can create new folders, copy and drag'n'drop files to. Ever since Google started to offer users a Gmail e-mail account, which includes storage space of 6000 megabytes, you have had plenty of storage space but not a lot to fill it up with. With GMail Drive you can easily copy files to your Google Mail Account and retrieve them again. When you create a new file using GMail Drive, it generates an e-mail and posts it to your account. The e-mail appears in your normal Inbox folder, and the file is a...
Comments