liberty:deploy not working
See original GitHub issueHi
I am trying to explore this OpenLiberty maven plugin and I am facing the deploy issue It says
Nothing to deploy - appArchive or appArtifact must be set. -> [Help 1]
I have the following configured in my pom.xml, please let me know if am doing something wrong.
<pluginManagement>
<plugins>
<plugin>
<groupId>net.wasdev.wlp.maven.plugins</groupId>
<artifactId>liberty-maven-plugin</artifactId>
<version>3.0.M1</version>
<configuration>
<assemblyArtifact>
<groupId>io.openliberty</groupId>
<artifactId>openliberty-runtime</artifactId>
<version>19.0.0.8</version>
<type>zip</type>
</assemblyArtifact>
<executions>
<execution>
<id>deploy-app</id>
<phase>pre-integration-test</phase>
<goals>
<goal>deploy</goal>
</goals>
<configuration>
<appArchive>${project.build.directory}/${project.artifactId}.war</appArchive>
</configuration>
</execution>
</executions>
</configuration>
</plugin>
</plugins>
</pluginManagement>
At first, I have started the server in the background
mvn clean install liberty:start
Then, I tried to deploy it
mvn liberty:deploy
but it doesn’t seem to find the appArchive
tag in xml. as in below error trace.
Nothing to deploy - appArchive or appArtifact must be set. -> [Help 1]
And, I tried to use in dev mode, but for me it’s not working.
mvn liberty:dev
I am using the Java 1.8 version, maven 3.5.3 version,
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Troubleshooting tips for Liberty - IBM
The troubleshooting information describes solutions for common problems.
Read more >Deploying Spring Boot War to Liberty not working
I have a simple Spring Boot application that i can run fine when runnig using my Liberty server in Eclipse, the problem is...
Read more >Problems with server.xml generation when deploying - YouTrack
Liberty (WLP) Deployment - Problems with server.xml generation when deploying. 1. Hello everyone! :-) We just switched to IntelliJ in our company.
Read more >Deploy a Java application with Open Liberty/WebSphere ...
If you don't, diagnose and resolve the problem before continuing. Installed Operators showing Open Liberty is installed. Create an OpenShift ...
Read more >Getting started with Open Liberty
Make sure that your container is running and does not have Exited as its status: ... This JAR file can then be run...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@cherylking It works good, verified. Thanks @chyt
@sairaghavak Once you try the suggestion from chyt, please update here whether your issue is resolved. Thanks.