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

Error when building an integration project #1944

Closed
Manasha11 opened this issue Jun 22, 2023 · 1 comment
Closed

Error when building an integration project #1944

Manasha11 opened this issue Jun 22, 2023 · 1 comment

Comments

@Manasha11
Copy link

Manasha11 commented Jun 22, 2023

Description

In Integration Studio , when adding a Proxy to an empty Integration project with no other resources, the wso2-esb-metadata-plugin is not added to the pom.xml of the ESB Config project.

Hence getting the following error when building the project.

[ERROR] Failed to execute goal on project ProxyTestCompositeExporter: Could not resolve dependencies for project com.example:ProxyTestCompositeExporter:carbon/application:1.0.0-SNAPSHOT: The following artifacts could not be resolved: com.example.metadata:Proxy_proxy_metadata:yaml:1.0.0 (absent): Could not find artifact com.example.metadata:Proxy_proxy_metadata:yaml:1.0.0 in wso2-nexus (https://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project ProxyTestCompositeExporter: Could not resolve dependencies for project com.example:ProxyTestCompositeExporter:carbon/application:1.0.0-SNAPSHOT: The following artifacts could not be resolved: com.example.metadata:Proxy_proxy_metadata:yaml:1.0.0 (absent): Could not find artifact com.example.metadata:Proxy_proxy_metadata:yaml:1.0.0 in wso2-nexus (https://maven.wso2.org/nexus/content/groups/wso2-public/)
    …
Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project com.example:ProxyTestCompositeExporter:carbon/application:1.0.0-SNAPSHOT: The following artifacts could not be resolved: com.example.metadata:Proxy_proxy_metadata:yaml:1.0.0 (absent): Could not find artifact com.example.metadata:Proxy_proxy_metadata:yaml:1.0.0 in wso2-nexus (https://maven.wso2.org/nexus/content/groups/wso2-public/)
    …
Caused by: org.eclipse.aether.resolution.DependencyResolutionException: The following artifacts could not be resolved: com.example.metadata:Proxy_proxy_metadata:yaml:1.0.0 (absent): Could not find artifact com.example.metadata:Proxy_proxy_metadata:yaml:1.0.0 in wso2-nexus (https://maven.wso2.org/nexus/content/groups/wso2-public/)
    …
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: com.example.metadata:Proxy_proxy_metadata:yaml:1.0.0 (absent): Could not find artifact com.example.metadata:Proxy_proxy_metadata:yaml:1.0.0 in wso2-nexus (https://maven.wso2.org/nexus/content/groups/wso2-public/)
    …
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.example.metadata:Proxy_proxy_metadata:yaml:1.0.0 in wso2-nexus (https://maven.wso2.org/nexus/content/groups/wso2-public/)
    …

Steps to Reproduce

  • Create a new Integration Project with ESB Config and Composite Exporter.
  • Create a new Proxy Service in the ESB Config module with all defaults.
  • Open pom.xml in the Composite Exporter project and select the new proxy service and save the file.
  • Open a terminal and run "mvn clean install" from the root of the new project.

Affected Component

IntegrationStudio

Version

8.2.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

@YasasRangika
Copy link

Public fix: wso2/integration-studio#1226 has already been merged.

@npamudika npamudika removed this from the 4.3.0-M1 milestone Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants