This is an automated email from the ASF dual-hosted git repository. rfscholte pushed a commit to branch MDEP-663 in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git
commit 8529ed96bd208572e25a3d7c1c8eb83720c04d09 Author: bmvermeer <brianverm...@snyk.io> AuthorDate: Fri Nov 22 14:59:25 2019 +0100 update asm as Mangaged dependency incl it --- pom.xml | 10 +++++ .../invoker.properties | 19 +++++++++ .../mdep-663_analyze_unsupported_version/pom.xml | 49 ++++++++++++++++++++++ .../src/main/java/Main.java | 23 ++++++++++ 4 files changed, 101 insertions(+) diff --git a/pom.xml b/pom.xml index 6f864f8..cfbdf0c 100644 --- a/pom.xml +++ b/pom.xml @@ -96,6 +96,16 @@ under the License. <javaVersion>7</javaVersion> </properties> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm</artifactId> + <version>7.2</version> + </dependency> + </dependencies> + </dependencyManagement> + <dependencies> <!-- Remove once deprecated code has been replaced/removed --> <dependency> diff --git a/src/it/projects/mdep-663_analyze_unsupported_version/invoker.properties b/src/it/projects/mdep-663_analyze_unsupported_version/invoker.properties new file mode 100644 index 0000000..741a925 --- /dev/null +++ b/src/it/projects/mdep-663_analyze_unsupported_version/invoker.properties @@ -0,0 +1,19 @@ +# 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. + +invoker.java.version = 9+ +invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:analyze diff --git a/src/it/projects/mdep-663_analyze_unsupported_version/pom.xml b/src/it/projects/mdep-663_analyze_unsupported_version/pom.xml new file mode 100644 index 0000000..bc6002a --- /dev/null +++ b/src/it/projects/mdep-663_analyze_unsupported_version/pom.xml @@ -0,0 +1,49 @@ +<?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> + <groupId>org.apache.maven.plugins.dependency.its</groupId> + <artifactId>mdep-663</artifactId> + <version>1.0.0-SNAPSHOT</version> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + </properties> + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.7.0</version> + <configuration> + <release>${java.specification.version}</release> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + +</project> diff --git a/src/it/projects/mdep-663_analyze_unsupported_version/src/main/java/Main.java b/src/it/projects/mdep-663_analyze_unsupported_version/src/main/java/Main.java new file mode 100644 index 0000000..81fa24b --- /dev/null +++ b/src/it/projects/mdep-663_analyze_unsupported_version/src/main/java/Main.java @@ -0,0 +1,23 @@ +/* + * 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. + */ + +public class Main +{ + +} \ No newline at end of file