United States
| No | Text |
| 1 | C. v. guntur |
| 2 | Menu |
| 3 | Understanding apache maven – part 5 – dependencies inmaven |
| 4 | Understanding apache maven – part 4 – mavenlifecycle |
| 5 | Understanding apache maven – part 3 – maven coordinates & pomınheritance |
| 6 | Understanding apache maven – part 2 – pom hierarchy & effectivepom |
| 7 | Understanding apache maven – part 1 – thebasics |
| 8 | Understanding apache maven – part 1 –basics |
| 9 | Understanding apache maven – theseries |
| 10 | Using junit5 – part 4 – filteringtests |
| 11 | Junit5 blog series (3) |
| 12 | Using junit5 – part 3 – displaynames |
| 13 | Using junit5 – part 2 – testingbasics |
| 14 | Posts navigation |
| 15 | Archive |
| No | Text |
| 1 | Docendo discimus |
| 2 | What are dependencies |
| 3 | A dependency in a pom |
| 4 | How to view the dependency tree |
| 5 | How maven resolves transitive dependency versions |
| 6 | Helping maven pick a different version |
| 7 | Standard lifecycles |
| 8 | Exploring phases |
| 9 | Goals – units of work |
| 10 | Summary (3) |
| 11 | Something something – personal learning |
| 12 | What are dependency coordinates? |
| 13 | Additional distinguishers |
| 14 | Pom hierarchies |
| 15 | What is the project object model? |
| 16 | How does maven interact with a pom? |
| 17 | The layers explained |
| 18 | Why is maven a build management tool? (2) |
| 19 | What is convention-over-configuration? (2) |
| 20 | What are some maven capabilities? (2) |
| 21 | How does maven work? (2) |
| 22 | Filtration types |
| 23 | How static filtration works |
| 24 | Why customize names? |
| 25 | Customizing names in junit5 |
| 26 | Testing |
| 27 | Filtering and categorizing tests |
| 28 | Ordering tests |
| No | Text |
| 1 | How are dependencies located? |
| 2 | Transitive dependencies |
| 3 | Exclusions |
| 4 | Scope |
| 5 | Optional |
| 6 | A graphical representation |
| 7 | Add a direct dependency |
| 8 | Use dependencymanagement |
| 9 | What’s in a lifecycle? |
| 10 | Binding goals |
| 11 | Plugins – definers of goals |
| 12 | Binding goals to phases |
| 13 | Binding goals using packaging |
| 14 | What are maven coordinates? |
| 15 | Parent pom |
| 16 | Aggregator pom |
| 17 | Bill-of-materials pom |
| 18 | What is an effective pom? |
| 19 | How does maven a***emble the effective pom? |
| 20 | Maven ınternal defaults |
| 21 | Maven super pom |
| 22 | Maven global settings |
| 23 | Maven user settings |
| 24 | Parent / bill-of-material poms |
| 25 | Project pom |
| 26 | Apache maven – convention over configuration (2) |
| 27 | Dynamic filtration |
| 28 | Static filtration |
| 29 | Filtering tests in ıde |
| 30 | Filtering tests in a build |
| 31 | Using a displayname annotation |
| 32 | Using displaynamegenerator |
| 33 | Marking a method as a test |
| 34 | A***ertions |
| 35 | Tags |
| 36 | A***umptions |
| 37 | Test execution order |
| No | Text |
| 1 | View full dependency tree of the pom |
| 2 | View a verbose dependency tree of the pom |
| 3 | View a verbose dependency tree of the pom for a specific dependency |
| 4 | Packages – descriptors of outputs |
| 5 | Binding goals to packages |
| 6 | Groupıd |
| 7 | Artifactıd |
| 8 | Version |
| 9 | The gav coordinate system |
| 10 | Cla***ifier |
| 11 | Type |
| 12 | Putting it all together |
| 13 | Displayname on a test cla*** |
| 14 | Displayname on a test method |
| 15 | Setting up the displaynamegenerator |
| 16 | Usage |
| 17 | Applying a displaynamegenerator |
| 18 | ınstructing junit to order tests |
| 19 | Extra step (for orderannotation only): adding an order via annotations |
| No | Text |
| 1 | 2020-06 |
| 2 | Apache Maven 3.6.3 (6) |
| 3 | dependencies (5) |
| 4 | groupId (6) |
| 5 | artifactId (5) |
| 6 | version (3) |
| 7 | type (2) |
| 8 | cla***ifier (2) |
| 9 | location coordinates |
| 10 | not exhaustive |
| 11 | dependency (4) |
| 12 | exclusions (3) |
| 13 | scope (3) |
| 14 | optional (2) |
| 15 | transitive dependencies |
| 16 | effective POM (6) |
| 17 | dependency tree (2) |
| 18 | exclusion (2) |
| 19 | default (3) |
| 20 | available on the cla***path of the project |
| 21 | compile scope dependencies propagated |
| 22 | made available for use external to the project’s build artifacts |
| 23 | not propagated as |
| 24 | transitive |
| 25 | only required at runtime |
| 26 | not at compile time |
| 27 | propagated as a runtime transitive dependency |
| 28 | only required for compiling and running tests |
| 29 | not during a normal compilation nor execution |
| 30 | not propagated as a transitive (2) |
| 31 | not propagated as transitive |
| 32 | metrics |
| 33 | NOTE: |
| 34 | PERSONAL OPINION |
| 35 | CAUTION: |
| 36 | maven cannot sort version strings |
| 37 | nearest transitive dependency in the tree depth |
| 38 | P1 |
| 39 | ( |
| 40 | Group |
| 41 | Artifact |
| 42 | Version |
| 43 | ) |
| 44 | Dx (Gx:Ax:V1.0.0) |
| 45 | Dx (Gx:Ax:V1.2.0) |
| 46 | Dx (Gx:Ax:V1.3.0) |
| 47 | Dx (Gx:Ax:V1.5.0) |
| 48 | nearest in depth and first in resolution in this dependency tree |
| 49 | D5 (Gx:Vx:V1.3.0) |
| 50 | lookup section |
| 51 | dependencyManagement (5) |
| 52 | either (4) |
| 53 | parent (3) |
| 54 | or (4) |
| 55 | imports |
| 56 | bill-of-materials (2) |
| 57 | skip the version attribute when declaring the dependency |
| 58 | is |
| 59 | just for a lookup reference |
| 60 | bill-of-materials POM |
| 61 | potential |
| 62 | BOM |
| 63 | POM |
| 64 | packaging (4) |
| 65 | version ranges |
| 66 | enforcing |
| 67 | version rules |
| 68 | 2020-05 (5) |
| 69 | lifecycles (2) |
| 70 | clean (14) |
| 71 | default (build) |
| 72 | site (9) |
| 73 | phases (3) |
| 74 | Phases are sequentially executed |
| 75 | implies all prior phases in that lifecycle are executed |
| 76 | Goals |
| 77 | binding |
| 78 | plugins (3) |
| 79 | Plugins |
| 80 | goals (5) |
| 81 | very confusing nomenclature |
| 82 | maven-clean-plugin (2) |
| 83 | site-deploy (10) |
| 84 | maven-site-plugin (2) |
| 85 | pre |
| 86 | post |
| 87 | default phase |
| 88 | pre-clean |
| 89 | pre-site |
| 90 | post-site |
| 91 | Packages |
| 92 | package |
| 93 | ejb |
| 94 | ejb3 |
| 95 | jar |
| 96 | war |
| 97 | par |
| 98 | rar |
| 99 | pom |
| 100 | MOJO |
| 101 | plugin |
| 102 | phase |
| 103 | invoke |
| 104 | goal |
| 105 | must not |
| 106 | very crude and unscientific pictorial |
| 107 | Maven Central |
| 108 | maven coordinates |
| 109 | Understanding version number schemes |
| 110 | Development cycle |
| 111 | SNAPSHOT |
| 112 | SNAPSHOT is a mutable version |
| 113 | Production-Ready |
| 114 | production-ready immutable version |
| 115 | should be made to it |
| 116 | Group-Artifact-Version |
| 117 | GAV |
| 118 | distinguisher |
| 119 | USAGE |
| 120 | aggregator (2) |
| 121 | reactor |
| 122 | USAGE: (2) |
| 123 | project coordinates |
| 124 | properties |
| 125 | inheritance details |
| 126 | profiles |
| 127 | Location: (4) |
| 128 | Location (2) |
| 129 | global settings |
| 130 | all |
| 131 | Unix/MacOS |
| 132 | Windows |
| 133 | user settings |
| 134 | Unix/MacOS: |
| 135 | Windows: (2) |
| 136 | UNIX/MacOS: |
| 137 | Build Management (2) |
| 138 | convention-over-configuration (2) |
| 139 | example of such (2) |
| 140 | Project Object Model (POM) (2) |
| 141 | Bare Link (3) |
| 142 | Bare Link: (2) |
| 143 | 2019-07 (3) |
| 144 | JUnit 5.5.0 (3) |
| 145 | dynamic filtration |
| 146 | a***umptions (2) |
| 147 | a***umeTrue("host123".equals(System.getenv("HOSTNAME"))); (2) |
| 148 | a***umeTrue("host123".equals(System.getenv("HOSTNAME")), () -> "Aborting test: not on host123"); (2) |
| 149 | @Tag (2) |
| 150 | static filtration |
| 151 | @Repeatable |
| 152 | tests fail |
| 153 | known solution also provided |
| 154 | line 37 |
| 155 | line 63 |
| 156 | Tags |
| 157 | Pa***ING |
| 158 | groups |
| 159 | Example (9) |
| 160 | pom.xml |
| 161 | <configuration> <groups>Pa***ING</groups> <excludedGroups>TODO</excludedGroups> </configuration> |
| 162 | Periods (days, months, years) and Durations (hours, minutes, seconds) |
| 163 | @DisplayName (2) |
| 164 | @DisplayName("Periods (days, months, years) and Durations (hours, minutes, seconds)") |
| 165 | @DisplayName("verify conversion of UTC date time to Indian Standard Time") |
| 166 | DisplayNameGenerator.Standard |
| 167 | DisplayNameGenerator.ReplaceUnderscores |
| 168 | DisplayNameGenerator |
| 169 | import org.junit.jupiter.api.DisplayNameGenerator; |
| 170 | generateDisplayNameForCla***(Cla***<?> aCla***) |
| 171 | generateDisplayNameForNestedCla***(Cla***<?> aCla***) |
| 172 | generateDisplayNameForMethod(Cla***<?> aCla***, Method method) |
| 173 | @DisplayNameGeneration |
| 174 | import org.junit.jupiter.api.DisplayNameGeneration; |
| 175 | @DisplayNameGeneration(HandlesKataDisplayNames.cla***) |
| 176 | @Test (3) |
| 177 | a***ertions |
| 178 | Unary |
| 179 | The expectation in such cases is built into the actual a***ertion method name. |
| 180 | Binary |
| 181 | expected value (a known), an actual value (evaluated) |
| 182 | a***ertion |
| 183 | a***ertEquals(Long.valueOf(cla***icDate.getTime()), instant.toEpochMilli(), "Date and Instant milliseconds should be equal"); |
| 184 | See also |
| 185 | Static Import |
| 186 | import static org.junit.jupiter.api.a***ertions.a***ertEquals; |
| 187 | NOTE (2) |
| 188 | Example : @Tag |
| 189 | @Tag("Pa***ING") |
| 190 | either evaluated or aborted |
| 191 | There is no current example of an a***umption in the code kata. |
| 192 | @TestMethodOrder (2) |
| 193 | MethodOrderer |
| 194 | Alphanumeric |
| 195 | OrderAnnotation |
| 196 | Random |
| 197 | @TestMethodOrder(MethodOrderer.OrderAnnotation.cla***) |
| 198 | an additional annotation is needed if the OrderAnnotation orderer is specified |
| 199 | @Order (2) |
| 200 | @Order(1) |
| No | Text |
| 1 | location coordinates |
| 2 | not exhaustive |
| 3 | transitive dependencies |
| 4 | effective POM (3) |
| 5 | dependency tree (2) |
| 6 | exclusion |
| 7 | wildcard |
| 8 | metrics |
| 9 | <option> (2) |
| 10 | <value> |
| 11 | maven cannot sort version strings |
| 12 | versions are arbitrary strings and may not follow a strict semantic sequence |
| 13 | nearest transitive dependency in the tree depth |
| 14 | nearest in depth and first in resolution in this dependency tree |
| 15 | lookup section |
| 16 | does not include them in the dependency graph |
| 17 | either (5) |
| 18 | or (4) |
| 19 | skip the version attribute when declaring the dependency |
| 20 | Deliberately adding a version will override what the managed section defines, so standard maven version nearest depth kicks in |
| 21 | potential |
| 22 | binding |
| 23 | very confusing nomenclature |
| 24 | default |
| 25 | dot notation |
| 26 | While is it strongly recommended, it is not a requirement to have the dot notation. Several projects have forgone the need for a dot notation and simply carried a simple name as the groupId. This single-name practice is discouraged. All projects are recommended to maintain a fully-qualified dot-notated groupId. |
| 27 | immutable |
| 28 | parent POM is unaware of the POM that inherits from it |
| 29 | child POM(s) remain unaware of the aggregator POM that invokes it |
| 30 | no inheritance of any content |
| 31 | import |
| 32 | bill-of-materials POM is unaware of the child POMs that import it. The child POMs declare the bill-of-materials in the project POM |
| 33 | a***embles |
| 34 | principle of least astonishment (2) |
| 35 | production (6) |
| 36 | test (6) |
| 37 | resources (2) |
| 38 | usually (2) |
| 39 | dynamically |
| 40 | tests fail |
| 41 | known solution also provided |
| 42 | build that executes only the solutions |
| 43 | Test Kind |
| 44 | Tag expression |
| 45 | groups |
| 46 | Unlike prior versions of JUnit, the JUnit5 @Test annotation does not have any attributes. Prior versions supported extensions via attributes, while JUnit5 fosters a custom annotation based extension |
| 47 | message (2) |
| 48 | expected |
| 49 | actual |
| 50 | NOTE: a***ertion parameter ordering in JUnit 5 is different from the order in prior versions. In my opinion, the current parameter arrangement makes a lot more sense. |
| 51 | There is no current example of an a***umption in the code kata. |
| 52 | NOTE: If no order is specified for a test cla***, JUnit 5 looks for instructions from parent cla*** hierarchy and if still none found, will order tests in a deterministic but non-obvious manner. |
| No | Text |
| 1 | Lifecycle clean : Phase cleanPlugin maven-clean-plugin (prefix clean) : Goal cleanThe clean:clean (plugin:goal) is bound to the clean phase. Thus, executing the clean phase will trigger the run of the maven-clean-plugin which will look for and execute the clean goal. |
| 2 | Lifecycle site : Phase site-deployPlugin maven-site-plugin (prefix site) : Goal site-deployThe site:site-deploy (plugin:goal) is bound to the site-deploy phase. Thus, executing the site-deploy phase will trigger the run of the maven-site-plugin which will look for and execute the site-deploy goal. |
| 3 | a***ociated plugin (as of Maven 3.6.3): org.apache.maven.plugins:maven-clean-plugin:2.5 : cleanThe default phase implies that if the lifecycle is invoked without a phase, the default phase (and any phases prior to it) will be executed. In this case, invoking the lifecycle will invoke both the pre-clean and clean phases. The plugin coordinates follow the standard maven GAV coordinate system that was covered in Part 3 of this series. The content after the colon separator after the plugin coordinates is to point to the goal in the plugin.Command line: mvn clean |
| 4 | a***ociated plugin (for site-deploy and as of Maven 3.6.3): org.apache.maven.plugins:maven-site-plugin:3.3 : deployInvoking the default phase of site-deploy will cause all phases (pre-site, site, post-site and site-deploy) to be executed. The plugin coordinates follow the standard maven GAV coordinate system that was covered in Part 3 of this series. The content after the colon separator after the plugin coordinates is to point to the goal in the plugin.Command line: mvn site-deploy |
| 5 | Phaseplugin:goal process-resourcesresources:resources compilecompiler:compile process-test-resourcesresources:testResources test-compilecompiler:testCompile testsurefire:test packageejb:ejb or ejb3:ejb3 or jar:jar or par:par or rar:rar or war:war installinstall:install deploydeploy:deploy |
| 6 | Phaseplugin:goal package installinstall:install deploydeploy:deploy |
| 7 | While is it strongly recommended, it is not a requirement to have the dot notation. Several projects have forgone the need for a dot notation and simply carried a simple name as the groupId. This single-name practice is discouraged. All projects are recommended to maintain a fully-qualified dot-notated groupId. |
| 8 | A POM can be both a parent as well as an aggregator. This allows for a two-way relations***p in a tightly knit set of modules that depend on a common set of inherited content. |
External Link Count
: 63
Nofollow Link Count
: 30
| Icon | Domain | IP | Alexa Rank |
| Wp.com | 192.0.78.24 |
835 | |
| Jetpack.com | 192.0.78.24 |
25.251 | |
| Leandomainsearch.com | 192.0.78.24 |
23.819 | |
| Automattic.com | 192.0.78.24 |
17.972 | |
| Ilsimplicissimus2.com | 192.0.78.24 |
55.644 | |
| Jardinierparesseux.com | 192.0.78.24 |
232.476 | |
| 4Squareviews.com | 192.0.78.24 |
595.041 | |
| Stopthesethings.com | 192.0.78.24 |
1.063.922 | |
| Laspiga.at | 192.0.78.24 |
640.425 | |
| Tankandafvnews.com | 192.0.78.24 |
1.336.769 | |
| Nexiuslearning.com | 192.0.78.24 |
132.293 | |
| Chefindisguise.com | 192.0.78.24 |
474.135 | |
| Hoaxeye.com | 192.0.78.24 |
918.049 | |
| Mathfinanceira.com.br | 192.0.78.24 |
1.422.308 | |
| Kriptoinvest.az | 192.0.78.24 |
157.412 | |
| Dvdbash.com | 192.0.78.24 |
595.293 | |
| Wwex.com | 192.0.78.24 |
105.725 | |
| Andjoy.store | 192.0.78.24 |
108.181 | |
| Crowdsignal.com | 192.0.78.24 |
61.830 | |
| Pcloadletter.co.uk | 192.0.78.24 |
1.440.420 | |
| Touchnote.com | 192.0.78.24 |
196.256 | |
| In-Sightjournal.com | 192.0.78.24 |
481.955 | |
| Corticalchauvinism.com | 192.0.78.24 |
2.504.822 | |
| Shanafilms.com | 192.0.78.24 |
129.451 | |
| Guiatributario.net | 192.0.78.24 |
1.048.461 | |
| Investible.com | 192.0.78.24 |
906.925 | |
| Li88Yinc.com | 192.0.78.24 |
3.272.435 | |
| Mynintendonews.com | 192.0.78.24 |
98.995 | |
| Hughsviewsandnews.com | 192.0.78.24 |
625.231 | |
| Moosmosis.org | 192.0.78.24 |
146.890 | |
| Bethroachphotography.co.uk | 192.0.78.24 |
3.336.036 | |
| Vergidosyasi.com | 192.0.78.24 |
236.381 | |
| Autotokker.com | 192.0.78.24 |
98.292 | |
| Repeatingislands.com | 192.0.78.24 |
836.520 | |
| Vpost.com | 192.0.78.24 |
108.735 | |
| Germanlarioja.com.ar | 192.0.78.24 |
734.007 | |
| Latamstartups.org | 192.0.78.24 |
1.011.405 | |
| Aestheticmagazinetoronto.com | 192.0.78.24 |
666.962 | |
| Design.blog | 192.0.78.24 |
105.464 | |
| 30Segundos.org | 192.0.78.24 |
2.457.151 | |
| Blogdojotadantas.com | 192.0.78.24 |
295.227 | |
| Fabiosilva.com.br | 192.0.78.24 |
1.170.974 | |
| 9To5Workonline.com | 192.0.78.24 |
236.987 | |
| Mariuscruceru.ro | 192.0.78.24 |
1.998.417 | |
| Translationchicken.com | 192.0.78.24 |
834.757 | |
| p****numonit.com | 192.0.78.24 |
557.665 | |
| Lightningsjournal.com | 192.0.78.24 |
1.175.966 | |
| Lynnhpryor.com | 192.0.78.24 |
1.706.737 | |
| Madisonarealymesupportgroup.com | 192.0.78.24 |
2.056.064 | |
| Notoneoffbritis***sms.com | 192.0.78.24 |
1.619.166 | |
| Olddungeonmaster.com | 192.0.78.24 |
299.310 | |
| Pghflight.com | 192.0.78.24 |
1.173.020 | |
| Pierced-Hearts.com | 192.0.78.24 |
3.767.972 | |
| Poetryincostume.com | 192.0.78.24 |
3.244.186 | |
| Startyourmeeples.com | 192.0.78.24 |
580.690 | |
| Stormbirds.blog | 192.0.78.24 |
1.272.951 | |
| Thepolishedmage.com | 192.0.78.24 |
1.558.572 | |
| Thequietpond.com | 192.0.78.24 |
2.127.435 | |
| Thisgreatape.com | 192.0.78.24 |
750.961 | |
| Trading-Wave.com | 192.0.78.24 |
2.037.281 | |
| Wausaupilotandreview.com | 192.0.78.24 |
201.348 | |
| Kpkesihatan.com | 192.0.78.24 |
175.701 | |
| Activenaturists.net | 192.0.78.24 |
3.892.025 | |
| Republicadelbanano.com | 192.0.78.24 |
524.319 | |
| Revistasieteartes.com | 192.0.78.24 |
4.776.325 | |
| Economianivelusuario.com | 192.0.78.24 |
1.518.026 | |
| Yakiniliskiler.com | 192.0.78.24 |
1.647.951 | |
| Sweetnspicyliving.com | 192.0.78.24 |
2.084.727 | |
| Adminhero.com | 192.0.78.24 |
710.247 | |
| Anadfoundation.org | 192.0.78.24 |
5.242.772 | |
| Asthaskitchen.com | 192.0.78.24 |
5.242.814 | |
| Bharatchugh.in | 192.0.78.24 |
2.508.880 | |
| Datasavvy.me | 192.0.78.24 |
1.038.600 | |
| Drambedkarbooks.com | 192.0.78.24 |
2.522.451 | |
| Engineering-Math.org | 192.0.78.24 |
1.800.535 | |
| Haathitime.com | 192.0.78.24 |
4.092.477 | |
| Lawhimsy.com | 192.0.78.24 |
3.375.981 | |
| Mercuryrizingopaque.com | 192.0.78.24 |
2.039.683 | |
| Mtkarthik.org | 192.0.78.24 |
5.243.457 | |
| Paragpallavsingh.com | 192.0.78.24 |
1.239.642 | |
| Prophecyfire.com | 192.0.78.24 |
1.327.603 | |
| Pythontips.com | 192.0.78.24 |
149.531 | |
| Studio300.org | 192.0.78.24 |
531.960 | |
| Thebiochemistblog.com | 192.0.78.24 |
3.864.431 | |
| Turtlegotwings.com | 192.0.78.24 |
341.503 | |
| Veronicasicoe.com | 192.0.78.24 |
1.976.211 | |
| Experimentaltranslations.com | 192.0.78.24 |
753.528 | |
| Foxaholic.blog | 192.0.78.24 |
2.950.267 | |
| Detikriau.org | 192.0.78.24 |
422.747 | |
| Ninenovel.net | 192.0.78.24 |
672.021 | |
| Stanjestvari.com | 192.0.78.24 |
99.667 | |
| Queenthrifty.com | 192.0.78.24 |
674.963 | |
| Defendingproperty.com | 192.0.78.24 |
4.016.598 |