Day 10 — #100DaysOfCode today Maven got real. ☕ Yesterday I learned what Maven is. Today I learned how Maven actually thinks. The Build Lifecycle. -> Maven doesn't just run random commands. It follows a fixed lifecycle — a sequence of steps it always follows in order. validate → compile → test → package → verify → install → deploy Every time you run mvn package, Maven doesn't just package. It validates, compiles, and tests first — automatically. You don't ask it to. It just does it. That's the lifecycle. Plugins. -> Maven itself doesn't actually do the work. Plugins do. Compiler plugin compiles your code. Surefire plugin runs your tests. Jar plugin packages everything. Maven is just the manager — plugins are the workers. You can add any plugin to your pom.xml and Maven will use it at the right stage automatically. Multi-Module Projects. -> This one changed how I think about big applications. Real projects aren't one giant file. They are split into modules — one module for database logic, one for business logic, one for the API layer. Maven handles all of them together from one parent pom.xml. Build the parent, everything builds. One command, entire application. This is how real companies structure their Java projects. Day 1 ................ ....... Day 9 ✅ Day 10 ✅ If you work with modern Java features daily, would love to connect and learn! 🙏 #Java #Maven #BuildLifecycle #MavenPlugins #MultiModule #100DaysOfCode #JavaDeveloper #LearningInPublic #BackendDevelopment #OpenToWork
Maven Build Lifecycle and Multi-Module Projects Explained
More Relevant Posts
-
🚀 One-Stop Notes for Java, Spring Boot, SQL, Testing & Git — Everything a Developer Needs in One Place If you’re preparing for backend roles or strengthening your fundamentals, this resource brings all the core concepts together in a clean, easy-to-learn format. In today’s tech world, the best developers don’t just know one tool — they understand the entire backend ecosystem. Here’s what’s inside: 🔹 Java (Core + Advanced) OOP, Collections, Exception Handling, Java 8, Multithreading, Design Patterns — solid foundations for writing clean, scalable code. 🔹 Spring Boot REST APIs, Dependency Injection, Microservices, Security, JPA/Hibernate — build real-world, production-ready apps. 🔹 SQL Joins, indexing, transactions, window functions, performance tuning — everything to handle data efficiently. 🔹 Testing (JUnit + Mockito) Unit tests, integration tests, mocking, coverage — because reliable software starts with reliable tests. 🔹 Git & GitHub Branching, merging, pull requests, workflows, conflict resolution — essential for collaboration. 💡 If you’re learning backend development, this single resource can save you hours of searching. 👉 If you found this useful, don’t forget to LIKE, COMMENT, and REPOST so it can reach more developers! Your support helps others find valuable resources too. 🙌 Follow Supriya Darisa More developer-focused content coming soon. Stay tuned! 🚀 #Java #SpringBoot #SQL #JUnit #Mockito #Git #GitHub #BackendDevelopment #SoftwareEngineering #CodingNotes #TechLearning #InterviewPrep
To view or add a comment, sign in
-
🚀 One-Stop Notes for Java, Spring Boot, SQL, Testing & Git — Everything a Developer Needs in One Place If you’re preparing for backend roles or strengthening your fundamentals, this resource brings all the core concepts together in a clean, easy-to-learn format. In today’s tech world, the best developers don’t just know one tool — they understand the entire backend ecosystem. Here’s what’s inside: 🔹 Java (Core + Advanced) OOP, Collections, Exception Handling, Java 8, Multithreading, Design Patterns — solid foundations for writing clean, scalable code. 🔹 Spring Boot REST APIs, Dependency Injection, Microservices, Security, JPA/Hibernate — build real-world, production-ready apps. 🔹 SQL Joins, indexing, transactions, window functions, performance tuning — everything to handle data efficiently. 🔹 Testing (JUnit + Mockito) Unit tests, integration tests, mocking, coverage — because reliable software starts with reliable tests. 🔹 Git & GitHub Branching, merging, pull requests, workflows, conflict resolution — essential for collaboration. 💡 If you’re learning backend development, this single resource can save you hours of searching. 👉 If you found this useful, don’t forget to LIKE, COMMENT, and REPOST so it can reach more developers! Your support helps others find valuable resources too. 🙌 Follow Harshitha Shapuram More developer-focused content coming soon. Stay tuned! 🚀 #Java #SpringBoot #SQL #JUnit #Mockito #Git #GitHub #BackendDevelopment #SoftwareEngineering #CodingNotes #TechLearning #InterviewPrep
To view or add a comment, sign in
-
🚀 One-Stop Notes for Java, Spring Boot, SQL, Testing & Git — Everything a Developer Needs in One Place If you’re preparing for backend roles or strengthening your fundamentals, this resource brings all the core concepts together in a clean, easy-to-learn format. In today’s tech world, the best developers don’t just know one tool — they understand the entire backend ecosystem. Here’s what’s inside: 🔹 Java (Core + Advanced) OOP, Collections, Exception Handling, Java 8, Multithreading, Design Patterns — solid foundations for writing clean, scalable code. 🔹 Spring Boot REST APIs, Dependency Injection, Microservices, Security, JPA/Hibernate — build real-world, production-ready apps. 🔹 SQL Joins, indexing, transactions, window functions, performance tuning — everything to handle data efficiently. 🔹 Testing (JUnit + Mockito) Unit tests, integration tests, mocking, coverage — because reliable software starts with reliable tests. 🔹 Git & GitHub Branching, merging, pull requests, workflows, conflict resolution — essential for collaboration. 💡 If you’re learning backend development, this single resource can save you hours of searching. 👉 If you found this useful, don’t forget to LIKE, COMMENT, and REPOST so it can reach more developers! Your support helps others find valuable resources too. 🙌 Follow GUDUGUNTLA SAI KARTHIK More developer-focused content coming soon. Stay tuned! 🚀 #Java #SpringBoot #SQL #JUnit #Mockito #Git #GitHub #BackendDevelopment #SoftwareEngineering #CodingNotes #TechLearning #InterviewPrep
To view or add a comment, sign in
-
🚀 One-Stop Notes for Java, Spring Boot, SQL, Testing & Git — Everything a Developer Needs in One Place If you’re preparing for backend roles or strengthening your fundamentals, this resource brings all the core concepts together in a clean, easy-to-learn format. In today’s tech world, the best developers don’t just know one tool — they understand the entire backend ecosystem. Here’s what’s inside: 🔹 Java (Core + Advanced) OOP, Collections, Exception Handling, Java 8, Multithreading, Design Patterns — solid foundations for writing clean, scalable code. 🔹 Spring Boot REST APIs, Dependency Injection, Microservices, Security, JPA/Hibernate — build real-world, production-ready apps. 🔹 SQL Joins, indexing, transactions, window functions, performance tuning — everything to handle data efficiently. 🔹 Testing (JUnit + Mockito) Unit tests, integration tests, mocking, coverage — because reliable software starts with reliable tests. 🔹 Git & GitHub Branching, merging, pull requests, workflows, conflict resolution — essential for collaboration. 💡 If you’re learning backend development, this single resource can save you hours of searching. 👉 If you found this useful, don’t forget to LIKE, COMMENT, and REPOST so it can reach more developers! Your support helps others find valuable resources too. 🙌 Follow Suraj Jagadeesh for more developer-focused content coming soon. Stay tuned! 🚀 #Java #SpringBoot #SQL #JUnit #Mockito #Git #GitHub #BackendDevelopment #SoftwareEngineering #CodingNotes #TechLearning #InterviewPrep
To view or add a comment, sign in
-
If you’ve ever wondered what Maven plugins actually are and how they fit into the bigger picture, my latest article might help clarify things for you. It walks through the essentials — what plugins do, how they’re used and how they tie into the Maven lifecycle. It also explains the difference between phases and goals in a way that’s (hopefully) easy to follow and understand. Beyond that, it looks at some of the commonly used plugins and what they’re typically responsible for in a project. There are also some practical examples showing how plugins are configured and how executions are attached to different phases. I hope you find this useful! :) #buildtools #cicd #devops #devlearning #java #maven #softwaredevelopment #softwarelearning https://lnkd.in/dQcpq_Wz
To view or add a comment, sign in
-
🚀 @Bean vs @Value in Spring Boot — A Practical Perspective While working on Spring Boot applications, I’ve often used @Bean and @Value for configuration and dependency management. Over time, I’ve realized their roles are quite different but equally important 👇 🔹 @Bean Used to define and register a bean manually in the Spring context Typically declared inside a @Configuration class 👉 I use it when: I need to configure third-party classes I want more control over bean creation 🔹 @Value Used to inject values from properties files or environment variables Helps in externalizing configuration 👉 Example: @Value("${server.port}") 👉 I use it for: Reading application properties Managing environment-specific values 🔹 How I Use Them Together In many cases, I use @Value inside a @Bean method to create configurable beans dynamically. 👉 Key Takeaway: @Bean → For defining objects managed by Spring @Value → For injecting configuration values 💡Separating configuration from business logic makes applications more flexible and easier to maintain. How do you manage configuration in your Spring Boot projects? Let’s discuss 👇 🔔 Follow Rahul Gupta for more content on Backend Development, Java, and System Design. #Java #SpringBoot #BackendDevelopment #SoftwareEngineering #Microservices #Developers #JavaDeveloper #Coding #TechLearning #CareerGrowth #FullStackDeveloper #Java8 #SoftwareDeveloper #Coders #SoftwareEngineer #Hibernate #SpringDataJPA #maven #Springmvc
To view or add a comment, sign in
-
-
𝙒𝙝𝙖𝙩 𝙞𝙨 𝙈𝙖𝙫𝙚𝙣 𝙞𝙣 𝙅𝙖𝙫𝙖? 𝙒𝙝𝙮 𝙙𝙤 𝙬𝙚 𝙣𝙚𝙚𝙙 𝙞𝙩? While working on Java projects, you might have heard: “𝐀𝐝𝐝 𝐝𝐞𝐩𝐞𝐧𝐝𝐞𝐧𝐜𝐲 𝐢𝐧 𝐌𝐚𝐯𝐞𝐧” But what exactly is Maven and why do we need it? Let’s simplify it 🎯 What is Maven? 📃 𝐌𝐚𝐯𝐞𝐧 𝐢𝐬 𝐚 𝐛𝐮𝐢𝐥𝐝 𝐚𝐮𝐭𝐨𝐦𝐚𝐭𝐢𝐨𝐧 𝐭𝐨𝐨𝐥 ▪️ Used to manage project dependencies ▪️Helps in building and packaging applications ❓ Why do we need Maven? 𝐁𝐞𝐟𝐨𝐫𝐞 𝐌𝐚𝐯𝐞𝐧 ❌ Manually download JAR files ❌ Add them to project ❌ Handle version conflicts 𝐖𝐢𝐭𝐡 𝐌𝐚𝐯𝐞𝐧 ▪️ Just add dependency in one file ▪️ Maven downloads everything automatically ▪️ Manages versions for you 📦 𝐖𝐡𝐚𝐭 𝐢𝐬 𝐩𝐨𝐦.𝐱𝐦𝐥? ❤️ The heart of Maven 🗒️ Contains: ▪️ Project details ▪️Dependencies ▪️Plugins ⚙️ Example Dependency <𝐝𝐞𝐩𝐞𝐧𝐝𝐞𝐧𝐜𝐲> <𝐠𝐫𝐨𝐮𝐩𝐈𝐝>𝐦𝐲𝐬𝐪𝐥</𝐠𝐫𝐨𝐮𝐩𝐈𝐝> <𝐚𝐫𝐭𝐢𝐟𝐚𝐜𝐭𝐈𝐝>𝐦𝐲𝐬𝐪𝐥-𝐜𝐨𝐧𝐧𝐞𝐜𝐭𝐨𝐫-𝐣𝐚𝐯𝐚</𝐚𝐫𝐭𝐢𝐟𝐚𝐜𝐭𝐈𝐝> <𝐯𝐞𝐫𝐬𝐢𝐨𝐧>𝟖.𝟎.𝟑𝟑</𝐯𝐞𝐫𝐬𝐢𝐨𝐧> </𝐝𝐞𝐩𝐞𝐧𝐝𝐞𝐧𝐜𝐲> 📚 Maven will: ▪️ Download JAR ▪️Add it to project ▪️ Handle required dependencies 🔁 How Maven works ➡️ You define in "pom.xml" 📝 Maven: ▪️Download dependencies ▪️Compiles code ▪️ Runs tests ▪️ Packages project 🪩 𝐌𝐚𝐯𝐞𝐧 = 𝐃𝐞𝐩𝐞𝐧𝐝𝐞𝐧𝐜𝐲 𝐌𝐚𝐧𝐚𝐠𝐞𝐦𝐞𝐧𝐭 + 𝐁𝐮𝐢𝐥𝐝 𝐓𝐨𝐨𝐥 📝 Final Thought Without Maven → Manual work 🚐 With Maven → Automated & organized Have you used Maven in your projects? Or still managing JARs manually? Let’s discuss 👇💬 #Java #Maven #JavaDeveloper #BuildTools #BackendDevelopment #Programming #TechJourney #LearnBySharing #InterviewPrep 🚀
To view or add a comment, sign in
-
Built a small Java project this week: an Employee Management System I wanted to better understand how a backend application can be structured and how Java applications interact with a database. Instead of writing everything in a single file, I focused on organizing the code into separate layers. Tech stack • Java • JDBC • MySQL Project structure src ├ app ├ dao ├ model └ util Using a simple DAO structure helped separate the database logic from the application logic, which made the code easier to extend and maintain. The short video shows: • the project structure • part of the implementation • and a quick demo of the application running in the console. Example output: Employee list ID: 10 | Name: Test Schmidt | Status: Active | Company: Smart GmbH Small projects like this are a great way to understand how software actually works behind the scenes. Repository: https://lnkd.in/dAHSJD4k Feedback from other developers is always appreciated. #Java #SoftwareDevelopment #BackendDevelopment #Programming #GitHub
To view or add a comment, sign in
-
10 years of Java. These 6 tools are open on my screen every single day. 𝟎𝟏 · IntelliJ IDEA (with the right plugins) Don't just use it as a text editor. Learn the shortcuts. Use SonarLint, Rainbow Brackets, and HTTP Client built-in. It's a superpower most devs ignore. 𝟎𝟐 · Spring Boot DevTools Hot reload + automatic restart during dev. If you're restarting your server manually every time — stop. Now. 𝟎𝟑 · Postman + Newman CLI Postman for building. Newman for running your collections in CI. Your APIs should be tested like your code. 𝟎𝟒 · Docker + Testcontainers Stop mocking your DB in tests. Testcontainers spins up a real Postgres/Redis/Kafka instance for your tests. Game changer. 𝟎𝟓 · GitHub Copilot (carefully) Yes I use it. No, I don't trust it blindly. It's a fast first draft — not a final answer. Know the difference. 𝟎6 · Claude Use it wisely (especially with token limits in the free version 😜). It often outperforms GitHub Copilot, but AI can make mistakes, so treat it as an enabler, not a replacement for actual coding. Save this post. Share it with a junior dev on your team. What's the one tool YOU can't code without? Tell me below 👇 #JavaDeveloper #SpringBoot #DeveloperTools #IntelliJ #Docker #Testcontainers #GitHubCopilot #BackendDevelopment #Java #SoftwareEngineering #DevTools #Programming #TechTips #Claude #ClaudeCode #DSA
To view or add a comment, sign in
-
-
While working with Java projects, I didn’t realize the importance of tools like Maven 🤔 Managing dependencies manually felt manageable for small projects. But as systems grew, things became harder to control. Version conflicts ⚠️ Hidden transitive dependencies 🔍 Build issues that were hard to track 😓 That’s where Maven started to show its value 💡 It simply handles dependencies and builds for you, all in one place ⚙️ Just a few lines in pom.xml and things become much more organized 📦 No more manually downloading JARs 🚫 No more worrying about compatibility issues 👍 It made development cleaner and more manageable ✨ Over time, I realized: Good engineering is not just about writing code. It’s about using the right tools to reduce complexity 🧩 Sometimes, tools don’t make sense in the beginning until you actually face the problem they are solving. Maven is one of those tools that quietly improves your workflow 💫 #Java #Maven #SoftwareEngineering #LearningJourney #SoftwareDevelopment
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development