pom

Non-resolvable parent POM: Could not find artifact

匿名 (未验证) 提交于 2019-12-03 02:30:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have recently looked into Gorilla Logic's open source testing tool and need to make some changes in order to be able to log something to the console. I have checked out the code out of source control for the "Android Agent" and now I am looking to build a new .jar agent file. I need to use the mvn clean install to build the .jar file. When I try to build it the command line is giving this error Non-resolvable parent POM: Could not find artifact com.gorillalogic.monkeytalk:monkeytalk:pom:1.0.12-SNAPSHOT and 'parent.relativePath' points at

Can I pass a list from a Maven property into a plugins configuration

匿名 (未验证) 提交于 2019-12-03 02:22:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a plugin that takes a list inside its configuration: <build> <plugins> <plugin> <groupId>com.example</grouId> <artifactId>fictional-plugin</artifactId> <configuration> <fictionalSet> <setItem>First</setItem> <setItem>Second</setItem> <setItem>Third</setItem> </fictionalSet> ... </build> The contents of <fictionalSet> will change based on the current profile. Right now I am duplicating the plugin definition inside a profile and that feels a bit wasteful. What I'd really like is to define a set of items as a property: <properties>

Maven: Non-resolvable parent POM

匿名 (未验证) 提交于 2019-12-03 02:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have my maven project setup as 1 shell projects and 4 children modules. When I try to build the shell. I get: [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project module1:1.0_A0 (C:\module1\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find shell:pom:1.0_A0 in http://nyhub1.ny.ssmb.com:8081/nexus/content/repositories/JBoss/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are

The POM for &lt;name&gt; is invalid, transitive dependencies (if any) will not be available

匿名 (未验证) 提交于 2019-12-03 01:49:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: This question is outdated and no longer relevant. I have since moved to Gradle for my project build and can no longer verify that answers do or do not work. I've run into a few issues with Maven. Let me first describe my project setup: Framework | -- Apache Commons Math 3.0 | -- Bouncy Castle 1.5 | -- etc .. ( lots more ) | ________ | Client | | -- GUI libraries | | -- etc . | | ________ Server | -- Server Libraries | -- etc . So essentially I have a framework that contains most dependancies and then two projects, "Server" and

In Gradle, how can I generate a POM file with dynamic dependencies resolved to the actual version used?

匿名 (未验证) 提交于 2019-12-03 01:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: In Gradle, how can I generate a POM file with dynamic dependencies resolved to the actual version used? dependencies { testCompile(group: 'junit', name: 'junit', version: '4.+') } This is generated from the dependency above. junit junit 4.+ test I want to have the + resolved to an accrual version like below. junit junit 4.12 test The Gradle guide chapter on Maven Publishing talks about doing this, but does not mention how. With this hook, you can modify any aspect of the POM. For example, you could replace the version range for a dependency

Clean install some modules with maven results in an error: Error building POM (may not be this project&#039;s POM)

匿名 (未验证) 提交于 2019-12-03 01:45:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: At the path C:\PMX\checkout\components\promomax-all_webapps_component I have this this file: pom-aggregator-packaging.xml The file pom-aggregator-packaging.xml contains some modules checked out with turtoiseCVS. When I go in cmd to the path C:\PMX\checkout\components\promomax-all_webapps_component and type mvn -f pom-aggregator-packaging.xml clean install the returned error is: + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR

wso2 maven issue building platform patch release 4.0.9 - failure to find org.wso2.appfactory:wso2appfactory-parent:pom:1.0.0

匿名 (未验证) 提交于 2019-12-03 01:45:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Steps to reproduce error: svn co https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0 cd patch-releases\4.0.9 mvn clean Error: [ ERROR ] The project org . wso2 . appfactory : maven - archetype : 1.0 . 0 ( C : \wso2\src\wso2_platform_branch_400\products\appfactory\1 . 0.0 \modules\maven - archetype\pom . xml ) has 1 error [ ERROR ] Non - resolvable parent POM : Failure to find org . wso2 . appfactory : wso2appfactory - parent : pom : 1.0 . 0 in http : //repo.maven.apache.org/maven2 was cached in the local repository,

Correct maven pom configuration for Cucumber Tests and maven-cucumber-reporting

匿名 (未验证) 提交于 2019-12-03 01:41:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I had this working in a previous project but cannot find it now... I am using Maven to build a java app and I am running tests on the app during the build process. I am using maven-cucumber-reporting plugin v3.0.0 to put together a report of the outcome. I want to: Run the cucumber tests Generate a report (whether or not the cucumber tests fail) Fail a build after generating reports if failed How can I setup my pom with a combo of maven-surefire-plugin , maven-cucumber-reporting plugin, and any other plugins to make this work? Update 1: Here

The POM for … is missing, no dependency information available

匿名 (未验证) 提交于 2019-12-03 01:38:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Hi get the following error when compiling and deploying using STS 3.6 (spring eclipse) 17/10/2014 3:24:22 pm AEDT: [WARN] The POM for au.gov.nsw.lands:spring-common:jar:0.0.6 is missing, no dependency information available 17/10/2014 3:24:22 pm AEDT: [WARN] The POM for gov.lpi.six:WcmUtils:jar:0.0.2 is missing, no dependency information available 17/10/2014 3:24:22 pm AEDT: [WARN] The POM for com.exadel:htmLib:jar:1.0 is missing, no dependency information available POM exists in the repository and are valid as I am able to compile and deploy

Using Maven shade plugin in a multi module project - NullPointerException

匿名 (未验证) 提交于 2019-12-03 01:31:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a scenario where-in I need to create an uber jar of a multi module maven project including all modules and their dependencies. I tried using maven shade plugin. but it seems to work only when I use it at the module level. If I add the plugin entry in parent pom then the build breaks (it tries to shade the parent pom) [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing null with C:\Projects\foo.bar\target\foobar-0.0.1-SNAPSHOT-shaded.pom [INFO] ----------------------------------------------------------------------