<commit_before><!--
<?xml version="1.0" encoding="UTF-8"?>
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
         
  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.apache.isis.viewer</groupId>
        <artifactId>isis-viewer-wicket</artifactId>
        <version>2.0.0-SNAPSHOT</version>
    </parent>

    <name>Apache Isis Viewer - Wicket (Viewer)</name>

    <artifactId>isis-viewer-wicket-viewer</artifactId>

    <properties>
        <jar-plugin.automaticModuleName>org.apache.isis.viewer.wicket.viewer</jar-plugin.automaticModuleName>
        <git-plugin.propertiesDir>org/apache/isis/viewer/wicket/viewer</git-plugin.propertiesDir>
    </properties>

    <build>
        <resources>
            <resource>
                <filtering>false</filtering>
                <directory>src/main/resources</directory>
            </resource>
            <resource>
                <filtering>false</filtering>
                <directory>src/main/java</directory>
                <includes>
                    <include>**</include>
                </includes>
                <excludes>
                    <exclude>**/*.java</exclude>
                </excludes>
            </resource>
        </resources>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.apache.isis.viewer</groupId>
            <artifactId>isis-viewer-wicket-ui</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.wicket</groupId>
            <artifactId>wicket-spring</artifactId>
            <exclusions>
            	<exclusion>
            		<groupId>org.ow2.asm</groupId>
            		<artifactId>asm</artifactId>
            	</exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>cglib</groupId>
                    <artifactId>cglib</artifactId>
                </exclusion>
                <exclusion>
                	<groupId>cglib</groupId>
                	<artifactId>cglib-nodep</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        
        <!-- Cglib patch START 
        	as of 2021 Cglib seems inactive - while yet Wicket 8. and 9. rely on it
        	we provide a monkey-patch for net.sf.cglib.core.ReflectUtils so we can run on JVM 16+
        	no guarantees, that this works for all class-loaders and scenarios
        	provided as is - not worth any more effort - should be rather fixed by the Apache Wicket project 
        	-->
        <dependency>
        	<groupId>cglib</groupId>
        	<artifactId>cglib</artifactId>
        	<version>3.3.0</version>
        	<exclusions>
	        	<exclusion>
	            		<groupId>org.ow2.asm</groupId>
	            		<artifactId>asm</artifactId>
	           	</exclusion>
           	</exclusions>
        </dependency>
        <dependency>
		    <groupId>org.ow2.asm</groupId>
		    <artifactId>asm</artifactId>
		    <version>9.2</version>
		</dependency>
		<!-- Cglib patch END -->        

        <dependency>
            <groupId>org.apache.wicket</groupId>
            <artifactId>wicket-auth-roles</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

		<dependency>
		    <groupId>org.webjars</groupId>
		    <artifactId>popper.js</artifactId>		    
		</dependency>

        <dependency>
            <groupId>de.agilecoders.wicket</groupId>
            <artifactId>wicket-bootstrap-core</artifactId>
            <exclusions>
				<exclusion>
				    <groupId>org.webjars</groupId>
				    <artifactId>popper.js</artifactId>
				</exclusion>
                <exclusion>
                    <groupId>org.apache.wicket</groupId>
                    <artifactId>wicket-util</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.wicket</groupId>
                    <artifactId>wicket-request</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.wicket</groupId>
                    <artifactId>wicket-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.wicket</groupId>
                    <artifactId>wicket-extensions</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.google.guava</groupId>
                    <artifactId>guava</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>net.ftlines.wicket-source</groupId>
            <!-- <groupId>com.github.jennybrown8.wicket-source</groupId> -->
            <artifactId>wicket-source</artifactId>
            <exclusions>
                <exclusion>
                    <!-- for dependency convergence -->
                    <groupId>org.apache.wicket</groupId>
                    <artifactId>wicket-core</artifactId>
                </exclusion>
            	<exclusion>
            		<groupId>org.slf4j</groupId>
            		<artifactId>slf4j-api</artifactId>
            	</exclusion>
            </exclusions>
        </dependency>
        
        <!-- Spring -->

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-web</artifactId>
		</dependency>

        <!-- as required by wicket -->
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.isis.core</groupId>
            <artifactId>isis-core-internaltestsupport</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
        	<groupId>org.jmock</groupId>
        	<artifactId>jmock-junit4</artifactId>
            <scope>test</scope>
        	<exclusions>
        		<exclusion>
        			<groupId>org.ow2.asm</groupId>
        			<artifactId>asm</artifactId>
        		</exclusion>
                <exclusion>
                    <!-- for dependency convergence -->
                    <groupId>junit</groupId>
                    <artifactId>junit-dep</artifactId>
                </exclusion>
                <exclusion>
                	<groupId>cglib</groupId>
                	<artifactId>cglib</artifactId>
                </exclusion>
        	</exclusions>
        </dependency>
    </dependencies>


</project>
<commit_msg>ISIS-2829: fixes convergence issues (asm)<commit_after><!--
<?xml version="1.0" encoding="UTF-8"?>
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
         
  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.apache.isis.viewer</groupId>
        <artifactId>isis-viewer-wicket</artifactId>
        <version>2.0.0-SNAPSHOT</version>
    </parent>

    <name>Apache Isis Viewer - Wicket (Viewer)</name>

    <artifactId>isis-viewer-wicket-viewer</artifactId>

    <properties>
        <jar-plugin.automaticModuleName>org.apache.isis.viewer.wicket.viewer</jar-plugin.automaticModuleName>
        <git-plugin.propertiesDir>org/apache/isis/viewer/wicket/viewer</git-plugin.propertiesDir>
    </properties>

    <build>
        <resources>
            <resource>
                <filtering>false</filtering>
                <directory>src/main/resources</directory>
            </resource>
            <resource>
                <filtering>false</filtering>
                <directory>src/main/java</directory>
                <includes>
                    <include>**</include>
                </includes>
                <excludes>
                    <exclude>**/*.java</exclude>
                </excludes>
            </resource>
        </resources>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.apache.isis.viewer</groupId>
            <artifactId>isis-viewer-wicket-ui</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.wicket</groupId>
            <artifactId>wicket-spring</artifactId>
            <exclusions>
            	<exclusion>
            		<groupId>org.ow2.asm</groupId>
            		<artifactId>asm</artifactId>
            	</exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>cglib</groupId>
                    <artifactId>cglib</artifactId>
                </exclusion>
                <exclusion>
                	<groupId>cglib</groupId>
                	<artifactId>cglib-nodep</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        
        <!-- Cglib patch START 
        	as of 2021 Cglib seems inactive - while yet Wicket 8. and 9. rely on it
        	we provide a monkey-patch for net.sf.cglib.core.ReflectUtils so we can run on JVM 16+
        	no guarantees, that this works for all class-loaders and scenarios
        	provided as is - not worth any more effort - should be rather fixed by the Apache Wicket project 
        	-->
        <dependency>
        	<groupId>cglib</groupId>
        	<artifactId>cglib</artifactId>
        	<version>3.3.0</version>
        	<exclusions>
	        	<exclusion>
	            		<groupId>org.ow2.asm</groupId>
	            		<artifactId>asm</artifactId>
	           	</exclusion>
           	</exclusions>
        </dependency>
        <dependency>
		    <groupId>org.ow2.asm</groupId>
		    <artifactId>asm</artifactId>
		    <version>9.0</version> <!-- keep in sync with org.jboss.resteasy:resteasy-spring-boot-starter -->
		</dependency>
		<!-- Cglib patch END -->        

        <dependency>
            <groupId>org.apache.wicket</groupId>
            <artifactId>wicket-auth-roles</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

		<dependency>
		    <groupId>org.webjars</groupId>
		    <artifactId>popper.js</artifactId>		    
		</dependency>

        <dependency>
            <groupId>de.agilecoders.wicket</groupId>
            <artifactId>wicket-bootstrap-core</artifactId>
            <exclusions>
				<exclusion>
				    <groupId>org.webjars</groupId>
				    <artifactId>popper.js</artifactId>
				</exclusion>
                <exclusion>
                    <groupId>org.apache.wicket</groupId>
                    <artifactId>wicket-util</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.wicket</groupId>
                    <artifactId>wicket-request</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.wicket</groupId>
                    <artifactId>wicket-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.wicket</groupId>
                    <artifactId>wicket-extensions</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.google.guava</groupId>
                    <artifactId>guava</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>net.ftlines.wicket-source</groupId>
            <!-- <groupId>com.github.jennybrown8.wicket-source</groupId> -->
            <artifactId>wicket-source</artifactId>
            <exclusions>
                <exclusion>
                    <!-- for dependency convergence -->
                    <groupId>org.apache.wicket</groupId>
                    <artifactId>wicket-core</artifactId>
                </exclusion>
            	<exclusion>
            		<groupId>org.slf4j</groupId>
            		<artifactId>slf4j-api</artifactId>
            	</exclusion>
            </exclusions>
        </dependency>
        
        <!-- Spring -->

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-web</artifactId>
		</dependency>

        <!-- as required by wicket -->
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.isis.core</groupId>
            <artifactId>isis-core-internaltestsupport</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
        	<groupId>org.jmock</groupId>
        	<artifactId>jmock-junit4</artifactId>
            <scope>test</scope>
        	<exclusions>
        		<exclusion>
        			<groupId>org.ow2.asm</groupId>
        			<artifactId>asm</artifactId>
        		</exclusion>
                <exclusion>
                    <!-- for dependency convergence -->
                    <groupId>junit</groupId>
                    <artifactId>junit-dep</artifactId>
                </exclusion>
                <exclusion>
                	<groupId>cglib</groupId>
                	<artifactId>cglib</artifactId>
                </exclusion>
        	</exclusions>
        </dependency>
    </dependencies>


</project>

{'fraction_non_alphanumeric': 0.11650670565054344, 'fraction_numerical': 0.00711879488972224, 'mean_word_length': 1.6275885103540415, 'pattern_counts': {'":': 0, '<': 522, '<?xml version=': 2, '>': 522, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2860414', 'n_tokens_mistral': 4941, 'n_tokens_neox': 4174, 'n_words': 743}