Skip to content

Commit

Permalink
Updated ContainerIncludeJarPattern to work with paths that inlude /li…
Browse files Browse the repository at this point in the history
…b/ (except for /jre/lib/).
  • Loading branch information
zvonegit authored and TFaga committed Dec 18, 2017
1 parent 5abaf37 commit 0ca5258
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* out of or in connection with the software or the use or other dealings in the
* software. See the License for the specific language governing permissions and
* limitations under the License.
*/
*/
package com.kumuluz.ee.common.attributes;

/**
Expand All @@ -26,7 +26,7 @@
*/
public class ClasspathAttributes {

public static final String jar = "^((?!lib|/lib).)*$";
public static final String jar = "^((?!lib\\_[^\\/]*\\.jar\\.[^\\/]*\\.tmp|/lib\\_[^\\/]*\\.jar\\.[^\\/]*\\.tmp|.*\\/jre\\/lib\\/.*).)*$";

public static final String exploded = ".*/classes/.*";

Expand Down

0 comments on commit 0ca5258

Please sign in to comment.