I'm using the Build Helper Maven Plugin to construct a property that is the version with "-" for "."... I have it configured as follows:
org.codehaus.mojobuild-helper-maven-plugin
…
I'm adding some extra sources to my Maven project and until now all is working well. I just want to make the extra source selection a little more more generic, because today I have something…
I am trying to add an additional source folder to my current maven project by using build-helper-maven plugin.
This source folder contains some common classes, like utility classes.
For that, here is my relevant pom.xml
…
i'm building my web service project with maven.
In my pom.xml i have :
war
This result in having my .war deployed in nexus.
But i also want to extract a jar from a subset of classes of this project using…
I would like to release single file to Nexus repo (deploy script, sh) and for that purpose I am using
build-helper-maven-plugin:attach-artifact
Unlike Maven Assembly Plugin, it hasn't explicit option to set line ending of the deployed file. How can…
I have the following situation. I have two different source folders, say src/main/java and src/main/java2. The two folders are something like two "branches" of the same project. First folder contains all Java files. Second folder contains only a…
I'm using maven-dependency-plugin to extract some classes from a big jar and add them to my project classes. Right no, there 2 jars, each build with a classifier: sources and helper. The sources jar has all java files. The helper jar has most of the…
I'm using the Build Helper Maven plugin to attach the SQL changes as an artifact of the deployment, but the plugin crashes when the extra artifact is not present.
Failed to install artifact org.test.app1:app1:sql:1.2.1:…
I have the pom.xml below.
I'd like to pass a tag property to my build, using this command:
mvn clean package -Dtag=test
It should split this property into two others, my.group an my.version, and then use it in a URI to build an XLDeploy package,…
I'm using the Build Helper Maven Plugin with the regex-property goal. I want to remove any qualifiers from a version, giving me a project.releaseVersion property.
Let's say my project is using version 1.2.3-SNAPSHOT. I can use the…
I have a groovy project in Eclipse. I have to change from Gradle to Maven and now I cannot run the tests that exist in it.
Here is the structure of the project:
Here are the contents of the pom.xml:
...
…
in my environment I have two wildfly server where I want to deploy with the wildfly-maven-plugin.
The servers differ in the name dev01 and dev02 but have the same port 9993 and username and password.
My understanding is that the wildfly-maven-plugin…
I'm a bit confused between maven assembly plugin and build-helper-maven plugin.
I've also read in the maven documentation that The assemblies/archive created by the Assembly Plugin gets deployed during the deployed phase.Hence, they can be deployed…
I have a project which may take different sources / resources based on the selected profiles. Some profiles are mutually exclusive, some should be combinable, for example the profiles local and wildfly defined in the snippet below should be…