- validate
- generate-sources
- process-sources
- generate-resources
- process-resources
- compile
- process-classes
- generate-test-sources
- process-test-sources
- generate-test-resources
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class OuterClass { | |
| static class StaticInnerClass {} | |
| abstract class AbstractInnerClass{} | |
| private class PrivateInnerClass {} | |
| private void privateMember() {} | |
| public class InnerClass { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.*; | |
| class Animal {} | |
| class Dog extends Animal {} | |
| class Cat extends Animal {} | |
| public class Wildcards { | |
| public static void addAnimal(List<? extends Animal> animals) { | |
| animals.add(null); | |
| //animals.add(new Animal()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| public class BackingCollection { | |
| public static void main(String[] args) { | |
| List<Integer> list = new ArrayList<Integer>(); | |
| list.add(7); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.text.DateFormat; | |
| import java.util.*; | |
| public class Dates { | |
| private static Date date = new Date((long) 1e12); | |
| private static Locale locale = new Locale("pl", "GB"); | |
| private static Calendar calendar = Calendar.getInstance(locale); | |
| private static DateFormat dateFormatter = DateFormat.getDateInstance( | |
| DateFormat.FULL, locale); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class AssigmentCondition { | |
| public static void main(String[] args) { | |
| boolean flag = false; | |
| if (flag = true) { | |
| System.out.println("Gotcha"); | |
| } | |
| // that's why some people write: | |
| if (true = flag) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SystemExitTry { | |
| public static void main(String[] args) { | |
| try { | |
| System.out.println("try"); | |
| System.exit(0); | |
| throw new RuntimeException(); | |
| } catch (Exception e) { | |
| System.out.println("catch"); | |
| } finally { | |
| System.out.println("finally"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Individuals and interactions over processes and tools | |
| Working software over comprehensive documentation | |
| Customer collaboration over contract negotiation | |
| Responding to change over following a plan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Product owner | |
| Development team | |
| Scrum master | |
| Additional roles: stakeholders, managers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Choose archetype: | |
| 1: remote -> br.gov.frameworkdemoiselle.archetypes:demoiselle-jsf-jpa (Archetype for web applications (JSF + JPA) using Demoiselle Framework) | |
| 2: remote -> br.gov.frameworkdemoiselle.archetypes:demoiselle-minimal (Basic archetype for generic applications using Demoiselle Framework) | |
| 3: remote -> co.ntier:spring-mvc-archetype (An extremely simple Spring MVC archetype, configured with NO XML.) | |
| 4: remote -> com.agilejava.docbkx:docbkx-quickstart-archetype (-) | |
| 5: remote -> com.alibaba.citrus.sample:archetype-webx-quickstart (-) | |
| 6: remote -> com.bsb.common.vaadin:com.bsb.common.vaadin.embed-simple-archetype (-) | |
| 7: remote -> com.bsb.common.vaadin:com.bsb.common.vaadin7.embed-simple-archetype (-) | |
| 8: remote -> com.cedarsoft.open.archetype:multi (-) | |
| 9: remote -> com.cedarsoft.open.archetype:simple (-) |
OlderNewer