unable to invoke layer creator, Unable to find built artifact in target/*.[ejw]ar #227
Rvarman0110
started this conversation in
Java Team
Replies: 2 comments 3 replies
-
|
Got it the problem is resolved as I was trying to mention the absolute path it couldnt able to find anything now I tried with the Relative path |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
But while setting this BP MAVEN BUILT ARTIFACT I was able to move to the exporting stage when i set process type as null but getting an error when i use process type as web |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
unable to invoke layer creator
unable to contribute application layer
unable to resolve artifacts
unable to find any built artifacts for pattern(s):/target/*.[ejw]ar
and in my pom.xml there is a modules section where we refer other pom.xml files which are located in the subfolders of main directory
libraries
starters
.
├── pom.xml
├── api
│ ├── pom.xml
│ └── target
└── web
├── pom.xml
├── target
now while building the build ends up successful but it is unable to find any jar there
(say there are 2 modules in my pom.xml then it will build those 2 jars and 1 main jar total 3 jars and it is unable to find those jars from there)
I tried using BP_MAVEN_BUILT_ARTIFACT and set the location of jar explicitly /source/code/target/*.[ejw]ar
but it still showing the same error how to resolve this issue (its a multi-module java project)
say in one of my projects I have a single module mentioned in pom.xml file like libraries and it has its own pom.xml, source code everything
now while running I could able to see that the modules jar gets build in a location
[INFO] Building archetype jar: /source/code/libraries/target/libraries-0.2.0.jar
So I mentioned this path in my BP MAVEN BUILT ARTIFACT=/source/code/libraries/target/*.jar
now I am getting an error like
unable to invoke layer creator
unable to contribute application layer
unable to resolve artifacts
unable to find any built artifacts for pattern(s):
/source/code/libraries/target/*.jar
Beta Was this translation helpful? Give feedback.
All reactions