Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 45afa9f1

Přidáno uživatelem Pavel Fidranský před asi 6 roky(ů)

pom cleanup:
- change version to match current release
- removed maven-compiler-plugin (preserved in build section)
- removed log4j-api (transitive dependency of log4j-core)
- replaced spring-security-core by spring-security-crypto (much smaller dependency)
- update jsp-api
- exclude jstl dependencies to prevent conflicts
- mark selenium-java as testing dependency

Zobrazit rozdíly:

sources/pom.xml
6 6

  
7 7
    <groupId>cz.zcu.kiv</groupId>
8 8
    <artifactId>imiger</artifactId>
9
    <version>1.0-SNAPSHOT</version>
9
    <version>0.1.2-SNAPSHOT</version>
10 10
    <packaging>war</packaging>
11 11

  
12 12
    <build>
......
52 52
    </build>
53 53

  
54 54
    <dependencies>
55
        <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
56
        <dependency>
57
            <groupId>org.apache.maven.plugins</groupId>
58
            <artifactId>maven-compiler-plugin</artifactId>
59
            <version>3.8.0</version>
60
        </dependency>
61

  
62
        <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api -->
63
        <dependency>
64
            <groupId>org.apache.logging.log4j</groupId>
65
            <artifactId>log4j-api</artifactId>
66
            <version>2.11.1</version>
67
        </dependency>
68
        <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
69 55
        <dependency>
70 56
            <groupId>org.apache.logging.log4j</groupId>
71 57
            <artifactId>log4j-core</artifactId>
72 58
            <version>2.11.1</version>
73 59
        </dependency>
74

  
75

  
76

  
77
        <!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-core -->
78 60
        <dependency>
79 61
            <groupId>org.springframework.security</groupId>
80
            <artifactId>spring-security-core</artifactId>
62
            <artifactId>spring-security-crypto</artifactId>
81 63
            <version>5.1.2.RELEASE</version>
82 64
        </dependency>
83
        <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
84 65
        <dependency>
85 66
            <groupId>commons-fileupload</groupId>
86 67
            <artifactId>commons-fileupload</artifactId>
87 68
            <version>1.3.3</version>
88 69
        </dependency>
89 70

  
90

  
91

  
92

  
93
        <!-- Servlets and JSP-->
94
        <!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
71
        <!-- Servlets and JSP -->
95 72
        <dependency>
96 73
            <groupId>javax.servlet</groupId>
97 74
            <artifactId>javax.servlet-api</artifactId>
98 75
            <version>3.1.0</version>
99 76
            <scope>provided</scope>
100 77
        </dependency>
101
        <!-- https://mvnrepository.com/artifact/javax.servlet.jsp/javax.servlet.jsp-api -->
102 78
        <dependency>
103 79
            <groupId>javax.servlet.jsp</groupId>
104 80
            <artifactId>javax.servlet.jsp-api</artifactId>
105
            <version>2.3.1</version>
81
            <version>2.3.3</version>
106 82
            <scope>provided</scope>
107 83
        </dependency>
108
        <!-- https://mvnrepository.com/artifact/jstl/jstl -->
109 84
        <dependency>
110
            <groupId>jstl</groupId>
111
            <artifactId>jstl</artifactId>
85
            <groupId>javax.servlet.jsp.jstl</groupId>
86
            <artifactId>jstl-api</artifactId>
112 87
            <version>1.2</version>
88
            <exclusions>
89
                <exclusion>
90
                    <groupId>javax.servlet</groupId>
91
                    <artifactId>servlet-api</artifactId>
92
                </exclusion>
93
                <exclusion>
94
                    <groupId>javax.servlet.jsp</groupId>
95
                    <artifactId>jsp-api</artifactId>
96
                </exclusion>
97
            </exclusions>
98
        </dependency>
99
        <dependency>
100
            <groupId>org.apache.taglibs</groupId>
101
            <artifactId>taglibs-standard-impl</artifactId>
102
            <version>1.2.5</version>
113 103
        </dependency>
114

  
115

  
116 104

  
117 105
        <!-- testing -->
118
        <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
119 106
        <dependency>
120 107
            <groupId>org.seleniumhq.selenium</groupId>
121 108
            <artifactId>selenium-java</artifactId>
122 109
            <version>3.12.0</version>
110
            <scope>test</scope>
123 111
        </dependency>
124
        <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
125 112
        <dependency>
126 113
            <groupId>org.junit.jupiter</groupId>
127 114
            <artifactId>junit-jupiter-api</artifactId>
......
129 116
            <scope>test</scope>
130 117
        </dependency>
131 118

  
132

  
133

  
134
        <!-- Lib for JSON parsing and creating -->
135
        <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
119
        <!-- JSON parsing and creating -->
136 120
        <dependency>
137 121
            <groupId>com.google.code.gson</groupId>
138 122
            <artifactId>gson</artifactId>
139 123
            <version>2.8.5</version>
140 124
        </dependency>
141
        
142 125

  
143 126
        <!-- Database -->
144
        <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
145 127
        <dependency>
146 128
            <groupId>mysql</groupId>
147 129
            <artifactId>mysql-connector-java</artifactId>

Také k dispozici: Unified diff