question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Removing the Arquillian profiles present in the main pom.xml

See original GitHub issue

Is your task related to a problem? Please describe

While building the project I used the mvn clean install command to build the project. After the build completed successfully, there were two profiles with dependencies arquillian-cube-openshift-starter and arquillian-cube-kubernetes-starter which were not resolved even after the build completed successfully. On further investigation what I figured out was that maybe these two profiles are really not required when we build our project. Is there a reason they are still there or can they be removed?

Describe the solution you’d like

Remove the two profiles corresponding to arquillian-cube-openshift-starter and arquillian-cube-kubernetes-starter

Describe alternatives you’ve considered

Let them stay in main pom.xml file

Additional context

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
manusacommented, Jan 19, 2022

I tried running mvn clean verify -Pitests-openshift after removing the profile ids itests-kubernetes and itests-openshift and it still worked

I’m sure you got a warning about a missing profile 😉

0reactions
ShubhamRwtcommented, Jan 19, 2022

This dependency

        <dependency>
          <groupId>org.arquillian.cube</groupId>
          <artifactId>arquillian-cube-kubernetes-starter</artifactId>
          <version>${arquillian.cube.version}</version>
          <scope>test</scope>
        </dependency>

under the itests-Kubernetes profile doesn’t get resolved even after I run the mvn clean verify -Pitests-kubernetes

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started · Arquillian Guides
Go ahead and open up the pom.xml in your editor. You should see an XML file containing basic project information, a build section...
Read more >
arquillian-examples/pom.xml at master - GitHub
This repository hosts the example projects that are covered in the Arquillian Guides as well as several additional examples. - arquillian-examples/pom.xml ...
Read more >
Could not create new instance of class org.jboss.arquillian.test ...
The pom.xml of the project has some of the profiles like arquillian-weld-ee-embedded, arquillian-glassfish-embedded, and arquillian-jbossas-managed.and none ...
Read more >
Java EE 7 Web Profile Maven pom.xml Using Arquillian ...
Update: Removed unnecessary eclipselink dependency 2017-02-27 14:46; Update: Changed skipTests value to false in Surefire dependency in the ...
Read more >
What's New in Arquillian Eclipse
The Arquillian support can be added/removed by right-clicking the project and selecting Configure>Add/Remove Arquillian support. The project has to be a maven ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found