maven-plugin

Maven Plugin for Azure Web Apps “<appServicePlanName>” not working

隐身守侯 提交于 2019-12-23 19:11:34
问题 Created new project using latest Maven Azure Functions Archetype mvn archetype:generate -DarchetypeGroupId=com.microsoft.azure -DarchetypeArtifactId=azure-functions-archetype -DarchetypeVersion=1.11 I am using following tag in pom file. <appServicePlanName>XXX2Plan</appServicePlanName> Doc says : Specifies the name of the existing App Service Plan when you do not want to create a new one. but after deployment its creating new APP SERVICE PLAN insted of using existing one, i am wonder if

couldn't destroy threadgroup org.codehaus.mojo.exec.ExecJavaMojo$IsolatedThreadGroup[name=SitemapCheck.SitemapAction,maxpri=10]

匆匆过客 提交于 2019-12-23 18:54:48
问题 I have java maven project which is working fine in my computer but when i upload this project to the ubuntu server and trying to run it on command line using following command its give me error. Command line code: mvn exec:java -Dexec.mainClass=SitemapCheck.SitemapAction Its give me error Like [WARNING] NOTE: 2 thread(s) did not finish despite being asked to via interruption. This is not a problem with exec:java, it is a problem with the running code. Although not serious, it should be

maven plugin execution

倖福魔咒の 提交于 2019-12-23 12:34:07
问题 When will plugin execute if I don't specify a phase? for example that plugin <plugin> <groupId>com.vaadin</groupId> <artifactId>vaadin-maven-plugin</artifactId> <version>1.0.1</version> <executions> <execution> <configuration> <!-- if you don't specify any modules, the plugin will find them --> <!-- <modules> <module>learning.vaadin.gwt.ColorPickerWidgetSet</module> </modules> --> </configuration> <goals> <goal>update-widgetset</goal> </goals> </execution> </executions> </plugin> 回答1: It

Error injecting DefaultRepositorySystem in maven-plugin-testing-harness

久未见 提交于 2019-12-23 07:51:07
问题 I am trying to create a new maven (3.0.3) plugin based on an existing (2.0) plugin, and facilitating aether to pickup some dependencies. I tried to create a simple test to load the mojo using the maven-plugin-testing-harness (version 2.0.1), but lookupMojo fails with a guice exception: 1) Error injecting: org.sonatype.aether.impl.internal.DefaultRepositorySystem at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.aether

A zip file cannot include itself - Maven-assembly plugin

岁酱吖の 提交于 2019-12-23 07:49:51
问题 I'm building a project using maven assembly plugin. But the process fail with the following error,(Here I pasted the error in jenkins. I checked without jenkins too.) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2:29.792s [INFO] Finished at: Fri Mar 14 10:26:58 IST 2014 [INFO] Final Memory: 26M/75M [INFO] -----------------------------------

Is it possible to resolve dependencies in maven plugin from p2 repo

谁都会走 提交于 2019-12-23 07:05:56
问题 I am developing one maven plugin which will be used to override the default maven lifecycles and will use my code instead. I have multiple jar dependencies (eclipse and my another application plugins) for the same. I have p2 repo for those jars. How can I integrate this two to resolve all dependencies? Tycho can not be used as it can only be used for RCP application (my understanding / misunderstanding). Similar to this - question Any other workaround? 回答1: Have you had a look at this git ?

Not able to integrate AspectJ with Maven

爷,独闯天下 提交于 2019-12-23 03:54:48
问题 I banged my head for two days to integrate aspectj with maven, But did not work. I am writing a simple program with two advices (which works fine in eclipse, so I am sure it's not a code side error). I have recently started using maven for project building. Can't think of why I am not able to kick off aspectj compiler. During compilation through maven - I get only class file for java without weaving. .aj file is not compiled. Please Help!!!! the first aspect file - ExceptionAspects.aj package

How do I link a plugin execution to a phase in maven without forcing me to specify plugin on command line

风流意气都作罢 提交于 2019-12-23 03:25:27
问题 I have a simple pom and added an ant-run to the compile but it only executes then when I do the following: mvn install antrun:run mvn install -- doesn't process the ant-run mvn antrun:run -- doesn't process the ant-run I thought that be linking the plugin to the lifecyce phase that the plugin would be executed when I try to achieve that phase. This is not what is happening. Am I missing some nuance, do I need to have a profile which enables the plugin? Thanks for the help (pom below) <project

deploying java war to heroku ,pom.xml error

北城余情 提交于 2019-12-22 11:27:29
问题 i want to deploy java war to heroku..and i mentioned the dependencies like below in my pom.xml <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.4</version> <executions> <execution> <id>copy-dependencies</id> <phase>package</phase> <goals><goal>copy-dependencies</goal></goals> </execution> </executions> </plugin> </plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>appassembler-maven-plugin<

deploying java war to heroku ,pom.xml error

喜夏-厌秋 提交于 2019-12-22 11:26:05
问题 i want to deploy java war to heroku..and i mentioned the dependencies like below in my pom.xml <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.4</version> <executions> <execution> <id>copy-dependencies</id> <phase>package</phase> <goals><goal>copy-dependencies</goal></goals> </execution> </executions> </plugin> </plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>appassembler-maven-plugin<