Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFLY-17529] enabled jaxws-retail in parent modules #654

Closed
wants to merge 1 commit into from
Closed

[WFLY-17529] enabled jaxws-retail in parent modules #654

wants to merge 1 commit into from

Conversation

rsearls
Copy link
Contributor

@rsearls rsearls commented Mar 13, 2023

No description provided.

@@ -39,6 +39,7 @@
</licenses>
<properties>
<checkstyle.skip>true</checkstyle.skip>
<version.jbossws-cxf-client>6.1.0.Final</version.jbossws-cxf-client>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we should we also add this to the JAXWS Client BOM?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no objection

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, just confirmed such artifact is a top level dependency on the JAXWS-Client BOM (see https://github.com/wildfly/boms/blob/main/client/jaxws-client/pom.xml#L100 ), so no need to manage version here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

org.jboss.ws.plugins:jaxws-tools-maven-plugin does not process wildfly-jaxws-client-bom
as the enclosing pom.xml does, thus org.jboss.ws.cxf:jbossws-cxf-client must be specified
with version in order for wsconsume to function properly. Declaring the BOM and/or
jbossws-cxf-client in a dependency block within jaxws-tools-maven-plugin does not work
either. It appears the declaration of jbossws-cxf-client must stay.

Copy link
Contributor

@jbliznak jbliznak Mar 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on diff on line 50+ we see it was used like that before so did something change causing it stopped working or did we have not-working QS for years?

BTW originally switched to using wildfly-jaxws-client-bom in b43203e more than 4 years ago

<dependency>
<groupId>org.jboss.ws.cxf</groupId>
<artifactId>jbossws-cxf-client</artifactId>
<version>${version.jbossws-cxf-client}</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

provided scope or is it supposed for this dep to be packaged in the deployment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@@ -70,6 +77,7 @@
<artifactId>maven-war-plugin</artifactId>
<configuration>
<attachClasses>true</attachClasses>
<packagingExcludes>WEB-INF/lib/cxf-*.jar</packagingExcludes>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is related to not using the provided scope for the new dependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@rsearls
Copy link
Contributor Author

rsearls commented Mar 28, 2023

@emmartins There is no conflict in assembly.xml. wfly-17529 and wfly-17528 are separate jiras. The changes in the assembly.xml is appropriate for each jira.

@rsearls
Copy link
Contributor Author

rsearls commented Mar 31, 2023

@emmartins https://github.com/wildfly/boms.git main branch no longer builds.
I get error
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-bom-builder-plugin:2.0.5.Final:build-bom (build-bom) on project wildfly-ejb-client-bom-builder: Could not resolve dependencies for project org.wildfly.bom:wildfly-ejb-client-bom-builder:pom:28.0.0.Final-SNAPSHOT: Failed to collect dependencies at io.opentelemetry:opentelemetry-sdk-extension:jar:1.20.0: Failed to read artifact descriptor for io.opentelemetry:opentelemetry-sdk-extension:jar:1.20.0: Could not transfer artifact io.opentelemetry:opentelemetry-sdk-extension:pom:1.20.0 from/to spring-framework-repro (https://repo.spring.io/artifactory/libs-milestone/): Authentication failed for https://repo.spring.io/artifactory/libs-milestone/io/opentelemetry/opentelemetry-sdk-extension/1.20.0/opentelemetry-sdk-extension-1.20.0.pom 401 Unauthorized ->

How to resolve?

@emmartins
Copy link
Contributor

emmartins commented Apr 3, 2023

Hi @rsearls, I updated the QS repo to use WildFly 28.0.0.Beta1 BOMs and with those I tried this Quickstart without any change, following the README instructions, and build+deploy, wdsl access on browser, and executing the client all worked fine... Can you please confirm that and if all good for you too, can you please change the PR to just re-enable the QS on build and dist, similar to what was done for jaxws-ejb?

@rsearls
Copy link
Contributor Author

rsearls commented Apr 3, 2023

@emmartins
I am unable to confirm your change for 3 reasons.

  1. I tried a rebase of QS to get your current change.
    There are no changes in https://github.com/jbossws/quickstart.git.
    Git reports upto date.
  2. I tried to pull current changes to https://github.com/wildfly/boms.git
    There were no changes. And as noted in my comments 3 days ago this
    repo no longer successfully compiles for me.
  3. I find no tagged release 28.0.0.Beta2 in wildfly.

In order to confirm your changes at minimum I should be able to rebase
QS repo and test (1.). I would prefer to also be able to cleanly build
the wildfly boms repo (2.) as well.

@emmartins
Copy link
Contributor

@rsearls all you need is to checkout current main branch of wildfly/quickstart , cd to jaxws-retail and try it with https://github.com/wildfly/wildfly/releases/download/28.0.0.Beta1/wildfly-28.0.0.Beta1.zip (no need to build BOMs or anything else)

@rsearls rsearls closed this by deleting the head repository Apr 3, 2023
@rsearls
Copy link
Contributor Author

rsearls commented Apr 3, 2023

@emmartins
I have opened a new PR (#657) with the changes you request.
I am closing this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants