Comments (4)
I made sure my config file src/main/resources/generatorConfig.xml
is correct. I have used in maven. It works.
from generator.
Not sure how far you will get here with help considering we are entirely maven. I would suggest going to out to gradle and looking through their documentation, maybe look at spring github or spring boot github as both are gradle. Basically you need to try to focus in on those using gradle to see how they might achieve things. This would not be an issue with our repo otherwise.
At least for myself, I personally don't care for gradle. Few reasons why, first its just built on top of groovy so it lacks fact that groovy is unable to keep pace fast enough with java these days (it may allow kotlin now but personally feel the same, its still not directly java), and second it changes far too quickly lacking easy backwards compatibility. On the second, I can point out numerous repos that are in bad states such as spotbugs as direct result. Anyway that is my personal feelings and not a consensus in any way.
That said, unless you have a massively compelling reason, I would just stick to maven. As you note, you are just wanting to learn it. Yet in that regard, here you are on a maven based project team asking how to work with gradle :) Maven is in fact addressing any reason in java space that gradle even exists making a move to it not really that important.
One other thing, if you intend to use latest stuff as seems indicated mostly in your build, use all latest, specifically, you used spring boot 2.7.5 and 2.7.10 and io.spring.dependency-management is still on very old spring style RELEASE they don't use any more. Also you didn't indicate what gradle version, what java version, etc.
from generator.
We don't publish a Gradle plugin for MyBatis generator. There are several such plugins out there, but I'm not familiar with their usage. You can find the plugins here: https://plugins.gradle.org/search?term=mybatis+generator. But again, these plugins are not published by our project and are not "official".
from generator.
We don't publish a Gradle plugin for MyBatis generator. There are several such plugins out there, but I'm not familiar with their usage. You can find the plugins here: https://plugins.gradle.org/search?term=mybatis+generator. But again, these plugins are not published by our project and are not "official".
thanks
from generator.
Related Issues (20)
- Add a constuctor with table name parameter HOT 4
- Plugin *** in context *** is invalid and will be ignored. HOT 2
- feature suggest: simplify the example class generated HOT 1
- rootClass can not generate HOT 2
- For snake case table names, is it possible to create a package? HOT 1
- In the latest version, mariadb sets<property name="nullCatalogMeasCurrent" value="true"/>; Not working HOT 4
- MyBatis3DynamicSql how generate xml file? HOT 1
- Fix code scanning alert - Failure to use HTTPS or SFTP URL in Maven artifact upload/download HOT 1
- How to customize the method name
- Why doesn't it support generating controllers and services? HOT 1
- Can you give me a hint about automatic generation? HOT 5
- Mybatis dynamic SQL cannot customize model annotations HOT 3
- If there are only two primary keys and both are selected, no generation will occur updateByPrimaryKeySelective HOT 1
- idea about make MBG more pluggable HOT 3
- Site Distribution Needs Completed On this Project
- Plugin API missing clientUpdateByPrimaryKeyMethodGenerated method for dynamic SQL runtime HOT 4
- Running MBG from Java with an XML Configuration File issue
- IntelliJ IDEA 2023.2.1 (Ultimate Edition) 报错 HOT 1
- Mybatis Generator for Eclipse no longer accessible HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator.