maven-plugin

How to generate a Karaf features descriptor

落花浮王杯 提交于 2019-12-13 02:47:20
问题 I am trying to automatically generate Apache Karaf's (2.3.0) feature desscriptor file ( features.xml ). From Karaf's doc I have learned that I can use the "features" packaging. my pom.xml <project> ... <packaging>feature</packaging> <dependencies> <dependency> <groupId>org.apache.jclouds</groupId> <artifactId>jclouds-core</artifactId> <scope>provided</scope> <version>${jclouds.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.karaf.tooling<

Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc?

不问归期 提交于 2019-12-13 02:21:45
问题 I have searched a lot on internet but non of the solutions work for me. I create an ipa with Xcode Maven Plugin It successfully builds my application and creates an ipa but when I want to upload it on testflightapp it gives me this error: Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc? I have added provisioning profile in build settings like the following pic If I create ipa manually with Xcode>Product>Archive I can successfully upload ipa on testflightapp.

Change http port in wildfly maven plugin

家住魔仙堡 提交于 2019-12-12 23:52:04
问题 I would like to change the default HTTP port using the wildfly-maven-plugin to 8380. Usually, I can do that changing the offset, but this is not working, my changes are ignored and HTTP port continues on 8080. I'm starting wildfly in the same maven project, because this is way more practical (download and start automatically). Just like that: mvn wildfly:run -Dwildfly.version=10.1.0.Final My project contains JAR, WAR and EAR. Classic structure. As I understood from another SO questions, I

Maven command line throwing ArrayIndexOutOfBoundsException on adding Avro dependency

不问归期 提交于 2019-12-12 22:30:15
问题 I'm new to Maven and installed 3.5.0 in Windows 64 bit machine. I have added Avro dependency in pom.xml as specified in https://avro.apache.org/docs/1.8.2/gettingstartedjava.html. I am facing Build failure and getting ArrayIndexOutOfBoundsException when doing mvn clean compile from the command line: [DEBUG] ======================================================================= [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] --------

How do I configure Maven Cargo to use an embedded Tomcat server?

…衆ロ難τιáo~ 提交于 2019-12-12 17:06:08
问题 I'm using Maven 3.0.3. Is there a way I can use the Maven Cargo plugin to spin up an embedded Tomcat server? Right now, it seems I have to install it myself first. I get this error when I try and change the container type to "embedded" ... [ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.1.2:run (default-cli) on project jx: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.1.2:run failed: Cannot create configuration. There's no registered

Stumped on wsgen + maven configuration

流过昼夜 提交于 2019-12-12 13:33:12
问题 I've spent a whole day searching for a solution on how to get wsgen + maven to generate artifacts from my annotated class with no avail, always ending with the "Could not find class file" error. My pom.xml looks like the following : <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxws-maven-plugin</artifactId> <executions> <execution> <goals> <goal>wsgen</goal> </goals> </execution> </executions> <configuration> <sei>fr.extelia.ibabi.ws.convergence.impl.ServiceWSConvergence</sei>

Can I create empty directories while packaging using maven-assembly-plugin?

岁酱吖の 提交于 2019-12-12 11:12:37
问题 I want to create empty directory structure while doing the packaging using maven-assembly-plugin. I am successful in including all the files, but not creating the empty ones, opt/SP/myprod/bin/* (contains files) opt/SP/myprod/lib/* (contains files) opt/SP/myprod/conf/* (contains files) var/SP/myprod/run (Empty directories) var/SP/myprod/log (Empty directories) var/SP/myprod/tmp (Empty directories) The below one is my assembly file, <id>stage</id> <formats> <format>tar.gz</format> <format>zip<

Unable to send email after tests run using Maven Postman plugin

安稳与你 提交于 2019-12-12 10:12:37
问题 I've been trying all morning but have not had any success sending emails after running my Selenium test suite from the command line using Maven. Here is how we run the suite from the command line. mvn surefire:test This is using the Surefire plugin to run a suite of TestNG/Selenium tests. This works great and we want to keep using it. What I need is a way to email the results after each running of the suite. I came across the Postman plugin and it looks perfect. Only problem is I can't get it

Using map of maps as Maven plugin parameters

强颜欢笑 提交于 2019-12-12 09:55:12
问题 Is it possible to use a map of maps as a Maven plugin parameter?, e.g. @Parameter private Map<String, Map<String, String>> converters; and then to use it like <converters> <json> <indent>true</indent> <strict>true</strict> </json> <yaml> <stripComments>false</stripComments> </yaml> <converters> If I use it like this, converters only contain the keys json and yaml with null as values. I know it is possible to have complex objects as values, but is it also somehow possible to use maps for

Is it possible to run multiple maven-exec-plugin executions in parallel?

泄露秘密 提交于 2019-12-12 09:39:46
问题 Is it possible to run multiple exec-maven-plugin executions in parallel somehow? We want to have different database types deployed for DAL integration testing, and while it's obviously possible to do this in sequence, it's a huge waste of time. <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <id>first-dbtype-deployment</id> <goals> <goal>java</goal> </goals> <configuration> <mainClass>com.example