As some experienced java developer but not so good at maven, the content is just what I need. And your voice is like magic, I like your video classes, I will come here often. Sincerely thanks.
@enissay99508 жыл бұрын
Oh my, I was lost till I found these tutorials, thank you so much for sharing
@letsdeveloper8 жыл бұрын
+Enissay You're quite welcome! Glad I could help.
@letsdeveloper10 жыл бұрын
Apache Maven is a powerful build-automation tool. The Eclipse integration m2e makes it easy for developers familiar with Eclipse to use Maven for their projects. In this episode I set up a simple Maven project and add a dependency. Furthermore, I show how to run a Maven build of the project from within Eclipse. #Maven #EclipseKepler #m2e
@Maceta4443 жыл бұрын
Thanks dude!
@wadimovich6 жыл бұрын
Very good explained. Thanks!
@vs1939289 жыл бұрын
nice one !! thanks for posting .
@letsdeveloper9 жыл бұрын
You're most welcome :) if you have other aspects you'd like to see a video about, just tell me. I see what o can do.
@nitrowizard91938 жыл бұрын
This was so helpful. Thanks so much!!
@chifortudor51058 жыл бұрын
Nice video , I would suggest (if your in any need for ideas) this 2 ideas : Maven for dummies Maven with Intelij
@letsdeveloper8 жыл бұрын
I like the idea of Maven with IntelliJ. Since I'm just beginning to explore IntelliJ myself, the topic might be on my agenda soon anyways ;) I'm not sure what you mean by Maven for Dummies. Could you give me some examples of more specific topics that you would like me to present?
@lisafox90264 жыл бұрын
Greate!!!!!
@prananiedla3988 жыл бұрын
i created same exact proj as yours and when i try to execute the project by Run as >maven test its not executing my Tests it only executing class file and gives me the below copied console mssg. Hope you can help !!! ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [INFO] Scanning for projects... [INFO] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Tutorial_01 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tutorial1 --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ tutorial1 --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tutorial1 --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ tutorial1 --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ tutorial1 --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.414 s [INFO] Finished at: 2016-05-25T12:48:06-08:00 [INFO] Final Memory: 8M/155M [INFO] ------------------------------------------------------------------------
@letsdeveloper8 жыл бұрын
+Beginner learner what is the name of your test class? Make sure it ends with Test and that it's in src/test/java/. In case that doesn't solve it: can you sent me a screenshot of the expanded package tree?
@KuldeepSingh-cm3oe8 жыл бұрын
Hello, what button you clicked after we added junit so that it came into the side menu bar?
@letsdeveloper8 жыл бұрын
I assume by "it came into the side menu bar" you mean that the test view (with the test results) opened up? This happens automatically when you execute a test. You can also open it manually via Window > Show View > Other... Java > JUnit (this is on a Mac, should be similar for Windows/Linux though). Does that answer your question?
@arnold123user6 жыл бұрын
@@letsdeveloper I have the same question as the Kuldeep Singh, and we meant the key that you press in 10:45- when you add dependency to POM, and the field "Maven dependencies" pops in the project explorer. And please tell what this key or combination does ;) BTW I must admit this Maven tutorial is awesome, keep doind what you do ;)
@letsdeveloper5 жыл бұрын
@@arnold123user sorry for the late reply! All I did was saving the pom.xml file. So the Command+S or Ctrl+S ;) no magic.
@sunilkumarmore31689 жыл бұрын
hi i found this very help full. Can you make a video which has a demo of camel(integration pattern) using maven in eclipse.
@letsdeveloper9 жыл бұрын
Hi, thanks for the feedback. I'm not really sure what you want to achieve with Camel and Maven, though. Could you elaborate?
@sunilkumarmore31689 жыл бұрын
Let's Developer my team is working on integration patterns in general. but we are concentrating more on camel. we also thought inclusion of maven may help in making the job easier in both testing and jar file accumulation of camel in general.
@letsdeveloper9 жыл бұрын
Sunilkumar More So you want to know how to use Maven to manage Camel as a dependency?
@sunilkumarmore31689 жыл бұрын
Let's Developer yes
@letsdeveloper9 жыл бұрын
Sunilkumar More Can you give me some details about your use case? Including camel-core via Maven is probably not all you need...
@jonathansommerfeld46116 жыл бұрын
great, thank you so much!
@jcl79879 жыл бұрын
When I run with maven test, it seems like it skips test classes, do you know why by any chance?
@letsdeveloper9 жыл бұрын
+Junchao Lu Just a wild guess, but how are your test classes called? By default, Maven (i.e. the Surefire plugin) will only find tests if the files match one of the patterns Test*.java, *Test.java, or *TestCase.java. Let me know whether this helped! maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html
@letsdeveloper9 жыл бұрын
+Junchao Lu I've got something for you :) kzbin.info/www/bejne/f2KYhISpgqedia8
@jcl79879 жыл бұрын
+Let's Developer Thanks so much for the help!
@letsdeveloper9 жыл бұрын
+Junchao Lu You're quite welcome :)
@at4junk9 жыл бұрын
when i created a maven project it only created a src folder and pom.xml inside it.. what am i missing?
@letsdeveloper9 жыл бұрын
at4junk It creates a pom.xml _inside_ a src folder? It sounds to me like the wizard is somehow broken for you... though I'm not sure how to fix it, it's actually easy to work without: Create two source folders "main/java" and "test/java" (and "main/resources", "text/resources" if required); then add the "Maven Dependencies" library to you Build Path. That's it. Maybe I create I video on how to do that in the next weeks.
@letsdeveloper9 жыл бұрын
at4junk Here's a video that might help you: kzbin.info/www/bejne/sGGtdnRuqLh_i6M Please tell me wether this works for you. Good luck and have fun!
@nurfathiah58678 жыл бұрын
i have this error when building the project.. cn you help ? Errors occurred during the build. Errors running builder 'Maven Project Builder' on project 'hello'. Unable to provision, see the following errors: 1) Error injecting constructor, java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext) at io.takari.aether.connector.AetherRepositoryConnectorFactory.(Unknown Source) at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule) while locating io.takari.aether.connector.AetherRepositoryConnectorFactory while locating java.lang.Object annotated with * 1 error
@letsdeveloper8 жыл бұрын
+Nur Fathiah I'm sorry, but I can't do anything with only this information. Can you provide your project or at least the pom.xml somewhere?
@nurfathiah58678 жыл бұрын
i cant even start the project. it occurs during the first phase of building the project which is during the Creation of Maven project. once i click finish, then the error pops up and my project is not even created ..
@letsdeveloper8 жыл бұрын
+Nur Fathiah oh... Then this is a problem with eclipse, not Maven. Have you tried restart/reinstall eclipse?
@ahmadoudiop85477 жыл бұрын
I have had the same issue, then I updated JAVA, that solves it.
@Smonjirez5 жыл бұрын
@10:17 Unfortunately this doesn't work. No search results show up when you start typing there. There's probably an essential step here that you skipped.
@PROJECTJoza1007 жыл бұрын
for all who had Index downloads are disabled, search results may be incomplete. Visit this website to know how to fix stackoverflow.com/questions/24252256/how-do-i-enable-index-downloads-in-eclipse-for-maven-dependency-search Thank me later!!!