Skip to content

Commit

Permalink
Merge pull request #4498 from jansupol/containers.fixes
Browse files Browse the repository at this point in the history
Fix resources in containers
  • Loading branch information
senivam committed Jun 9, 2020
2 parents 8d3901e + d518bf9 commit 012ffb5
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 69 deletions.
15 changes: 1 addition & 14 deletions containers/grizzly2-http/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -61,19 +61,6 @@
<inherited>true</inherited>
</plugin>
</plugins>

<resources>
<resource>
<directory>${basedir}/src/main/java</directory>
<includes>
<include>META-INF/**/*</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>

</project>
12 changes: 1 addition & 11 deletions containers/grizzly2-servlet/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -58,16 +58,6 @@

<build>
<resources>
<resource>
<directory>${basedir}/src/main/java</directory>
<includes>
<include>META-INF/**/*</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>${project.build.directory}/legal</directory>
</resource>
Expand Down
8 changes: 1 addition & 7 deletions containers/jdk-http/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2010, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -67,12 +67,6 @@
</plugins>

<resources>
<resource>
<directory>${basedir}/src/main/java</directory>
<includes>
<include>META-INF/**/*</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
Expand Down
20 changes: 1 addition & 19 deletions containers/jetty-http/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2013, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -73,29 +73,11 @@
</plugins>

<resources>
<resource>
<directory>${basedir}/src/main/java</directory>
<includes>
<include>META-INF/**/*</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>

<profiles>
<profile>
<id>testsSkipJdk6</id>
<activation>
<jdk>1.6</jdk>
</activation>
<properties>
<skip.tests>true</skip.tests>
</properties>
</profile>
</profiles>

</project>
12 changes: 1 addition & 11 deletions containers/jetty-servlet/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -53,16 +53,6 @@

<build>
<resources>
<resource>
<directory>${basedir}/src/main/java</directory>
<includes>
<include>META-INF/**/*</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>${project.build.directory}/legal</directory>
</resource>
Expand Down
8 changes: 1 addition & 7 deletions containers/simple-http/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -71,12 +71,6 @@
</plugins>

<resources>
<resource>
<directory>${basedir}/src/main/java</directory>
<includes>
<include>META-INF/**/*</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
Expand Down

0 comments on commit 012ffb5

Please sign in to comment.