maven-plugin

Build fails after upgrading from Vaadin 7 8

江枫思渺然 提交于 2019-12-24 10:47:31
问题 I just upgraded from Vaadin 7 to 8. We were on 7.7.7 and now we are on 8.0.3. My IDE shows no compile time errors but when I run mvn package I see the following error.. [INFO] --- vaadin-maven-plugin:8.0.3:compile (default) @ eagleportal --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 25.728 s [INFO] Finished at: 2017-03-22T18:19:55-06:00

maven not able to download jacoco 0.7.10-SNAPSHOT jar

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 10:47:08
问题 I am puzzled by this. I have this in my pom.xml <build> <pluginManagement> ... other plugins ... <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.10-SNAPSHOT</version> </plugin> </pluginManagement> </build> And this my repository section <repositories> <repository> <id>oss-sonatype</id> <name>oss-sonatype</name> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> <snapshots> <updatePolicy>daily</updatePolicy> <enabled>true<

Proguard configuration on a Enterprise Java Application

老子叫甜甜 提交于 2019-12-24 08:58:38
问题 I'm trying to use proguard in a Maven project this is a obfuscate plugin, when I run it I have an error: Failed to execute goal com.pyx4me:proguard-maven-plugin:2.0.4:proguard (default) on project MavenEnterpriseApp-ear: Obfuscation failed (result=1) -> [Help 1] when I run maven with -e or -X I have: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.pyx4me:proguard-maven-plugin:2.0.4:proguard (default) on project MavenEnterpriseApp-ear: Obfuscation failed

Generate exe with launch4j with maven Project

橙三吉。 提交于 2019-12-24 07:58:00
问题 I have to try generating .exe file Using Maven Project. I get a correct jar with my dependencies but i dont get an exe file. Is there something else to do?. But it will always showing launch4j exception like, [INFO] Replacing D:\SpiralUpWorkspace\SpiralShareAutoTaskAllocation\target\SpiralShareAutoTaskAllocation-0.0.1-SNAPSHOT.jar with D:\SpiralUpWorkspace\SpiralShareAutoTaskAllocation\target\SpiralShareAutoTaskAllocation-0.0.1-SNAPSHOT-shaded.jar [INFO] [INFO] --- launch4j-maven-plugin:1.7

How to install jenkins offline?

一个人想着一个人 提交于 2019-12-24 07:45:22
问题 I could successfully install the jenkins online over my laptop. But while trying to install the jenkins offline (on my office workstation which cannot be connected to internet) the hell breaks loose. After running the jenkins.war over command line although the jenkins was successfully installed yet some of the plugins were missing.I managed to get some help from the post How to install a plugin in Jenkins manually? But then each of the plugins have to be individually downloaded and then

Howto copy README.md into src/main/resources?

房东的猫 提交于 2019-12-24 04:26:10
问题 I want to show README.md file like help page in my web application. In order not to create duplicate, I need to copy by mvn from project path into resources. How can I do so? Any idea? I have tried: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.3</version> <configuration> <!-- this is important --> <overwrite>true</overwrite> <!-- target --> <outputDirectory>${basedir}/target/classes</outputDirectory> <resources> <resource> <!-

maven is not creating META-INF for spring boot project

戏子无情 提交于 2019-12-24 03:34:25
问题 When I build my Spring boot project, it creates an target folder and target/classes also, but it doesn't create any META-INF. I have also included dependency - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.3.2</version> <configuration> <archive> <index>true</index> <manifest> <addClasspath>true</addClasspath> </manifest> <manifestEntries> <mode>development</mode> <url>${project.url}</url> <key>value</key> </manifestEntries> </archive

Run Jetty with jetty-maven-plugin and finish the build when jetty is running

大城市里の小女人 提交于 2019-12-24 01:01:55
问题 I want to Run Jetty with jetty-maven-plugin and finish the build when jetty is running. I created a pom.xml that starts jetty and deploying a war file, after the jetty starts I want maven to finish the build while leaving the jetty running, So that I could start another maven build to run tests on the server I just ran jetty on. Then I will create another maven build that just stops the jetty server. Problem is that I didn't managed to start jetty and make the maven build stop after that,

BndTools, How to add a non-OSGi JAR?

隐身守侯 提交于 2019-12-24 00:59:22
问题 BndTools, How to add a non-OSGi JAR? I wanted to add jcraft Libraries into my osgi project. Using plain JAR breaks the whole project. Missing requirement wiring package ERROR: Bundle com.herle.iiot.application.installation [6] Error starting file:/D:/HERLE/Data/iot-sdk/FelixLauncher/bundle/com.herle.iiot.application.installation-1.5.0.jar (org.osgi.framework.BundleException: Unable to resolve com.herle.iiot.application.installation [6](R 6.0): missing requirement [com.herle.iiot.application

How to stop tomcat 7 with maven in eclipse

末鹿安然 提交于 2019-12-24 00:49:26
问题 When I run my maven web project in eclipse. I go to pom.xml , right click on the file and 1. Maven Clean 2. Build Resources 3. Maven Build .. Then I type tomcat7:run (for tomcat 7) for tomcat 6 , tomcat:run in the tomcat goals field in eclipse . It just starts. But I want to know how 1. To stop it 2. Rebuild the source and redeploy in elipse or any other quick easy step. Isn't there any way to do all stuff to start the tomcat instead of repeating fore said steps(maven clean.. building