For my spring boot microservice, how could I have different versions of Jboss-web.xml configured for development and production. I need this because the security-domain and valve tags apply for production but not development. Hence, I need to either disable these two tags for development or have separate jboss-web.xml for dev and prod environment and have the right file picked up based on the profile or environment. Please advise.
Jboss-web.xml for different enviroments
1.6k Views Asked by clr meno At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in SPRING-BOOT
- Timing Issue with Spring Boot Annotation Configuration
- LightAdmin - Customise parsing DateTime with app timezone
- Creating distribution with repackaged spring boot jar using gradle application plugin
- Spring Boot MVC non-role based security
- Add JVM args to spring boot application
- The method and() is undefined for the type HttpSecurity
- swagger ui not working for swagger version 2
- Spring IO Platform 2.0 - Themes/Changes?
- JPA findDistinctPropertyBy magic method doesn't work as expected when using spring-boot-starter-jpa
- Spring boot check external service status on boot
- Running a specific spring batch job amongst several jobs contained withing a spring boot fat jar
- Adding security to rest api service built with Spring Boot app
- Spring Redirecting from Http to Https Breaks Rest Controller Test
- Service not starting using Spring-boot during integration tests
- Spring Boot Actuator Health Returning DOWN
Related Questions in DEPLOYMENT
- Can I deploy multiple instances of my application on the same windows phone?
- Deploy enterprise (in-house) application on windows phone without developer unlocking the phone?
- uninitialized constant ActiveMerchant::Billing::CreditCard::Validateable (NameError) - in Spree shop
- How to Continuously Develop and Deploy an Access 2010 Database Application
- Efficient way of organizaing mail sending from Rails app
- Deployment over GPRS to embedded devices
- Weblogic 12c web application not start properly after server reboot
- Deployment in Weblogic 10.3, how to change properties
- Deployed Version of MVC Site Not Working
- Laravel 5 on shared hosting getting internal server error
- Integration between Java Applets and .Net dll
- Capistrano Rails deploy with new migration files
- EF Code First - Multiple Application Versions Sharing A Database
- Docker: How to create a stack, multiple images or one base image?
- Slow wpf startup due to publish policy... maybe
Related Questions in POM.XML
- maven pom.xml dependencies order vs classpath/build path order
- location of pom.xml file
- jenkins (or groovy) using pom.xml from previous execution
- How to configure authentication for access of repository in pom.xml?
- How to specify dependencies in aar library?
- Create checksum and pom for maven repo
- Jars Dependencies - On the revision control or the continuous integration\build tool
- Maven dependency grouping via poms
- How can I see where portions of an effective pom (in Maven) come from?
- How to fix maven dependency scope conflicts (runtime-compile-provided)?
- Different ways to override java version specified in parent pom
- cant get POM file to set the outputDirectoryas as the project root
- Maven: How do I activate a profile from command line?
- Can I force Maven to build a JAR even though POM packaging specifies WAR?
- new blank jira plugin throws exception as soon as i edit jira.version in pom.xml
Related Questions in JBOSS-WEB
- Parameters to Spring Boot Applciation War on JBOSS WEB
- How to connect JBoss AS 7.1.1 with IIS 7 using Apache ISAPI Redirector 1.2.37
- Where to change datasource in Jboss WildFly war file
- Message: Unexpected element 'context-root' encountered , Unable to deploy on jboss 7.3.10 | Default context root configuration on jboss-web.xml
- where is <principal-name> from jboss-web.xml defined
- Jboss-web.xml for different enviroments
- Can't setup remote debugging with JBoss Web 2.1.4 windows and eclipse
- Jboss Web (Running PHP script in jboss ) cannot find SAPI class error
- How to share the session in multiple WAR in EAR file in JBOSS-7.3.6
- Web container in JBoss 6 and other queries
- how to use JBoss BPM Suite to develop and create web projects?
- Cannot configure Eclipse Server runtime for JBoss Web 2.1.9.GA
- jboss-web.xml unable to migrate
- Maven clean install jbossweb dependency unauthorized
- How to set <security-domain> dynamicly in jboss-web.xml during ant task execution
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can organize your resources (src/main/resources) by environment:
In the build tag from pom.xml enable filtering by environment:
And execute by command line with this:
More details in maven reference: https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html