Category "maven"

Eclipse (JBoss Developer Studio) not automatically building JPA metamodel classes

I have a Maven project set up that has a parent and two child modules: parent business support All of my JPA entities are in the support module. I've

Maven. Unable to compile module with groovy-eclipse compiler

I'm trying to perform migration of my project from java 8 to java 11. What I did in root pom.xml: Replaced <source>8</source> <target>8</ta

How to add source files generated in target folder as library in Intellij Idea

I'm trying to checkout a maven project from SubVersion. In the pom.xml file it's specified to generate web service proxy classes in the target folder. Here's th

artifactId equivalent in Gradle?

I see in my default build.gradle, generated by IDEA, that group and version were set with: group 'com.mycompany.mytopic' version '1.0-SNAPSHOT' How to set ar

Packaging Java application with BouncyCastle in a single JAR

Is it possible to package a Java app using BouncyCastle as security provider in a single JAR ? PS: I expect to run the JAR without changing java security prope

Maven exclusion for maven-toolchains-plugin

In our module say XYZ We included a dependency for maven toolchains plugin to have our Jenkins build run with a specific JDK version. But once we included this

Maven release plugin scmReleaseCommitComment parameter

I am using maven release plugin for automated releases from Jenkins without any Jenkins-plugins. Release commit, tag and development commit are created in Git a

Error resolving version for plugin 'org.codehaus.mojo:maven-war-plugin' from the repositories

I am using eclipse Indigo Service Release 2 with JBoss tools installed and created a Seam Web project with Maven integration selected. After the project is crea

How to fail when maven profile does not exist?

I have a few maven profiles in my pom.xml. I have jenkins configured to run nightly tests for each of these profiles. I figured today that there was a spelling

How to install a tagged version (i.e. not a snapshot) of your project locally and not to the maven central?

So I have done mvn release:clean and mvn release:prepare. As a result I have a clean tag on my subversion with the latest version 1.3.3 of my artifact. Now I

how to Use system properties to pass parameters to the runner/maven build

I want to run my test in three different preset resolution: 768x1024, 360x740, 1920x1024 using the existing framework. And I have to use system properties to pa

unable to start embedded Tomcat when running Eureka Server

I am just starting with microservices and I want to creat a simple Eureka Server to do my Serviceregistry. For now I just want to run the server on localhost an

Spring maven dependency issue

I have a problem that my pom.xml throw an error ArtifactTransferException: Failure to transfer org.springframework:spring-tx:jar:3.2.4.RELEASE from http:

vaadin 23 reporting debug mode when built for production

I've built my vaadin 23 app in production mode via: mvn clean package -Pproduction -DskipTests -U My pom.xml contains the necessary profile: <!-- vaadin pro

unable to install playwright as a maven dependancy

I'm trying to build my automation framework using playwright with java, however I'm running into below issue when running the tests. Please advice! Failed to in

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException

Run my Spring Boot application (sample program to post jason to Spring RESTful webservice) in Eclipse successfully. However, when I use the mvn package command

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.

I have been trying from a couple of days to resolve the following error but I am unable to resolve it :( My module's pom.xml file is: <project xmlns="htt

GeoLite2 database gets corrupt when added to war

Like the question GeoLite2 database gets corrupt when added to jar, I got the error from the WAR file with the following steps: mvn package to copy GeoLite2-C

How to find/remove unused dependencies in Gradle

I wanted to find unused dependencies in my project. Is there a feature for this in Gradle, like in Maven?

How to clean or clean build my Maven project in IntelliJ IDEA?

I'm using Apache Maven in my Java project. in NetBeans there are build and clean build icons but there aren't in IntellIJ IDEA. How can I clean or clean build m