Skip to content

Commit

Permalink
Solving module conflicts with bundled jar (#36)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
Co-authored-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
jbescos and lukasj authored Nov 4, 2022
1 parent faff78e commit 29c2825
Show file tree
Hide file tree
Showing 60 changed files with 532 additions and 353 deletions.
2 changes: 1 addition & 1 deletion demos/demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<excludes>
<exclude>internal/**</exclude>
<exclude>example/app/internal/**</exclude>
</excludes>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.io.*;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.io.*;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

/**
*
* @author Christopher Cotton
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.Properties;
import jakarta.mail.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.io.*;
import java.net.*;
import jakarta.mail.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.*;
import java.io.*;
import jakarta.mail.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.*;
import java.text.*;
import jakarta.mail.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.io.*;
import jakarta.mail.*;
import jakarta.mail.internet.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.*;
import java.text.*;
import java.io.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.*;
import java.util.concurrent.atomic.*;
import java.io.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.*;
import java.io.*;
import jakarta.mail.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.io.*;
import java.util.*;
import jakarta.mail.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.*;
import java.io.*;
import jakarta.mail.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.io.*;
import java.util.Properties;
import java.util.Date;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.*;
import java.io.*;
import jakarta.mail.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.*;
import java.io.*;
import jakarta.mail.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.*;
import java.io.*;
import jakarta.mail.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import jakarta.mail.*;
import jakarta.mail.internet.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.*;

import jakarta.mail.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.*;
import java.io.*;
import jakarta.mail.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.*;
import java.io.*;
import jakarta.mail.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.io.*;
import java.util.Properties;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.io.*;
import java.net.InetAddress;
import java.util.Properties;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,6 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

package example.app.internal;

import java.util.*;
import jakarta.mail.*;
import jakarta.mail.internet.*;
Expand Down
Loading

0 comments on commit 29c2825

Please sign in to comment.