Global plugins and properties for multi maven project with different parent-child structure

2022-06-24 Thread Philipp Kraus
Hello, I try to optimize my maven build structure. My goal is that I can manage the build plugins and properties globally. I have got a multi maven project with this structure Pom.xml | | service |parent/pom.xml => has got a section to external spring-boot |apiservice/pom.xml.

MultiMaven project with by sharing dependencyManagement on parent pom

2022-06-06 Thread Philipp Kraus
Hello, I have got a MultiMaven project and within this project I have got two parent poms. One of these parent inherits from an external parent. So I would like to share all my build plugins and pluginManagemnt section, like My-multi-maven-pom.xml

Re: Kubernetes Build Environment

2022-06-06 Thread Philipp Kraus
t so you would like to suggest to use Maven to build the artifact And run it in a Kubernetes cluster via some CI pipeline scripts. So based on your answer there is no pure Maven solution for this testing? Thanks for the ideas > ________ > Von: Philipp Kraus > Ge

Kubernetes Build Environment

2022-06-05 Thread Philipp Kraus
Hello, I need some idea how to solve this issue. I have got a MultiMaven project, which has got multiple web services. Each service will be run later in a container in Kubernetes. I have found this plugin https://www.eclipse.org/jkube/docs/kubernetes-maven-plugin to build everything, but I

Re: A import B and B should import A where it is included

2019-03-26 Thread Philipp Kraus
at 11:28 AM, Philipp Kraus mailto:philipp.kr...@tu-clausthal.de>> wrote: Hello, I am building an additional testing framework for my framework. I now have the following cyclic import of the dependencies "MyFramework imports MyTestingFramework" and "MyTestingFramework

A import B and B should import A where it is included

2019-03-25 Thread Philipp Kraus
Hello, I am building an additional testing framework for my framework. I now have the following cyclic import of the dependencies "MyFramework imports MyTestingFramework" and "MyTestingFramework imports MyFramework". For example, if MyFramework is version 0.2.1-SNAPSHOT, then MyTestingFramework

site with file copy

2018-05-03 Thread Philipp Kraus
Hello, I’m using „mvn site“ command to build for my project the project website as HTML code, During the site goal is running I need to copy some files into the target/site directory, how can I do this? I need to copy some single files to the output director, but only on the site goal. Thanks

Maven Site with responsive design

2017-03-13 Thread Philipp Kraus
Hello I’m generating with „mvn site“ the project documentation structure, but the HTML result is not responsive. I’m searching for a skin / theme in the best case with Bootstrap and a responsive layout (especially for mobile devices). I have tested

own Maven Site plugin

2016-06-25 Thread Philipp Kraus
Hello, I try to build my first Maven site plugin. I have defined a class based on AbstractMojo and put the annotation @Mojo( name = "rrd-antlr4", defaultPhase = LifecyclePhase.SITE ) on top. I overload the execute-method and put my plugin content to the method. I build the plugin and deploy it

Re: class path within framework

2016-05-26 Thread Philipp Kraus
Classpath explicitly... > >> On May 26, 2016, at 5:50 AM, Philipp Kraus <philipp.kr...@tu-clausthal.de> >> wrote: >> >> Hello, >> >> I’m deploying with Maven a framework (at the moment to my local repository) >> and >> include this framew

class path within framework

2016-05-26 Thread Philipp Kraus
Hello, I’m deploying with Maven a framework (at the moment to my local repository) and include this framework into other projects. Within the framework I read a property file with: final Properties l_property = new Properties(); l_property.load(

Re: deployment to local repository

2016-05-26 Thread Philipp Kraus
Hi, Am 25.05.2016 um 23:26 schrieb Adrien Rivard <adrien.riv...@gmail.com>: > Hello, > > On Wed, May 25, 2016 at 10:14 PM, Philipp Kraus < > philipp.kr...@tu-clausthal.de> wrote: > >> Hello, >> >> I’m working on my first Maven framework, I w

deployment to local repository

2016-05-25 Thread Philipp Kraus
Hello, I’m working on my first Maven framework, I would like to test the framework in another project, so I build a jar file with „mvn package", and then I install the jar into my local repository with „mvn install:install-file -Dfile=myjar.jar“. I can use the package in another project with a

Re: plugin and executable jar

2016-03-01 Thread Philipp Kraus
Hi, Am 01.03.2016 um 23:00 schrieb Manfred Moser : > 1 pom that acts as parent and aggregator to tie it all together thanks for your answer, but this is the problem how can I create the „aggregated pom file“ Phil

Re: plugin and executable jar

2016-03-01 Thread Philipp Kraus
Hi, Am 01.03.2016 um 22:47 schrieb youssef boujallab : > Did you have a look on shade plugin? thanks for your answer, I’m using the shade plugin at the moment, but I cannot create the different Jar files Phil

plugin and executable jar

2016-03-01 Thread Philipp Kraus
Hallo, I have created my first Maven plugin with Mojo, but I would like to create also a executable Jar. The plugin should be run as a standalone program and also as a Maven plugin. The Pom can be found here https://github.com/flashpixx/RRD-AntLR4/blob/master/pom.xml so my question is how can I

own target / goal after packaging

2015-10-17 Thread Philipp Kraus
Hello, I would like to create an own goal / target, that is run after the packaging goal. At the moment my default target is package, so I get a Jar file, so I would like to create an optional call „mvn executepackage“, which can be run after package. The goal should run a defined shell command

Re: own target / goal after packaging

2015-10-17 Thread Philipp Kraus
Am 17.10.2015 um 20:54 schrieb Glenn Brown : > You use plugins and define executions to hang off those phases. In your > case I would use the maven exec plugin and probably attach it to the > integration test phase Okay I should describe the problem a little more

modify goal

2015-08-18 Thread Philipp Kraus
Hello, I would like to modify a goal. I run with defaultGoalpackage/defaultGoal the packaging and I would like to run also every time versions:display-dependency-updates How can I add the versions:display-dependency-updates goal to my package default goal? Thanks Phil

Git / Mercurial repository

2015-03-30 Thread Philipp Kraus
Hello, in my project I would like to use a Mercurial and Git repository of a library, so my project should use the master branch of a repository. Can I add a dependency in my pom.xml, which is point to the master branch of a repository, so on a mvm package / compile the local data is updated?

write developers contributors into Jar

2015-03-01 Thread Philipp Kraus
Hello, I use Maven 3.0 with the developers and contributors inside the pom.xml. I use also the manifestEntries with the maven-assembly-plugin to add some flags to the Jar manifest file. I would like to add the developer and contributors list to the Jar, but I don’t know in which way I can add

Re: access to license node

2015-02-20 Thread Philipp Kraus
Thanks a lot, the [0] works well Phil Am 19.02.2015 um 18:16 schrieb Andreas Sewe s...@st.informatik.tu-darmstadt.de: Hi, Have a look at http://jira.codehaus.org/browse/PLXUTILS-37. While it is marked as fixed, apparently things like ${project.licenses.0.license.name} did not (and still

access to license node

2015-02-19 Thread Philipp Kraus
Hello, I’m using Maven 3.2 with the pom definition project xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://maven.apache.org/POM/4.0.0; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion

Re: compile with different source option

2015-02-16 Thread Philipp Kraus
well Thanks Phil Am 16.02.2015 um 20:02 schrieb Jörg Schaible joerg.schai...@gmx.de: Hi Philipp, Philipp Kraus wrote: Hello, thanks a lot. I’m using Maven 3 (3.2.0) and I have added profiles profile idjdk-default/id activation activeByDefaulttrue

Re: compile with different source option

2015-02-16 Thread Philipp Kraus
is the exclude / include and target items, but both profiles should be used on Maven defaults Thanks Am 16.02.2015 um 14:57 schrieb Jörg Schaible joerg.schai...@swisspost.com: Hi Philipp, Philipp Kraus wrote: Hello, I use in my pom.xml the items: properties

compile with different source option

2015-02-16 Thread Philipp Kraus
Hello, I use in my pom.xml the items: properties project.build.sourceEncodingUTF-8/project.build.sourceEncoding project.reporting.outputEncodingUTF-8/project.reporting.outputEncoding maven.compiler.source1.8/maven.compiler.source maven.compiler.target1.8/maven.compiler.target

Maven 3 with newest Checkstyle 6.3

2015-02-13 Thread Philipp Kraus
Hello, I'm using Maven 3.2.5 and I would like to use the Checkstyle plugin in the newest version (6.3). The default installation is 5.8, so how can I add the 6.3 version of the plugin at my pom.xml and use it on the check goal at the validate phase? I don’t found the correct pom entries to do

Re: Maven 3 with newest Checkstyle 6.3

2015-02-13 Thread Philipp Kraus
-checkstyle-plugin/examples/upgrading-checkstyle.html Vincent 2015-02-13 21:28 GMT+01:00 Philipp Kraus philipp.kr...@flashpixx.de: Hello, I'm using Maven 3.2.5 and I would like to use the Checkstyle plugin in the newest version (6.3). The default installation is 5.8, so how can I add the 6.3

Maven 3 with newest Checkstyle

2015-02-13 Thread Philipp Kraus
Hello, I'm using Maven 3.2.5 and I would like to use the Checkstyle plugin in the newest version (6.3). The default installation is 5.8, so how can I add the 6.3 version of the plugin at my pom.xml and use it on the check goal at the validate phase? Thanks a lot Phil