Closed kvijay460 closed 4 years ago
@kvijay460 - what is the Maven command you are running ? Also - the code snippet you shared does not create the zip, its actually done by the configure goal within
<plugin>
<groupId>io.apigee.build-tools.enterprise4g</groupId>
<artifactId>apigee-edge-maven-plugin</artifactId>
<version>1.1.6</version>
<executions>
<execution>
<id>configure-bundle</id>
<phase>package</phase>
<goals>
<goal>configure</goal>
</goals>
</execution>
<execution>
<id>deploy-bundle</id>
<phase>install</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
From the stacktrace, it looks like you are missing something
@kvijay460 - what is the Maven command you are running ? Also - the code snippet you shared does not create the zip, its actually done by the configure goal within
<plugin> <groupId>io.apigee.build-tools.enterprise4g</groupId> <artifactId>apigee-edge-maven-plugin</artifactId> <version>1.1.6</version> <executions> <execution> <id>configure-bundle</id> <phase>package</phase> <goals> <goal>configure</goal> </goals> </execution> <execution> <id>deploy-bundle</id> <phase>install</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin>
From the stacktrace, it looks like you are missing something
I’m using mvn package
Seeing error when running maven package task with below command:
mvn package
The same works fine forapiproxy
though. Followed the samplepom.xml
mentioned here: https://github.com/apigee/apigee-deploy-maven-plugin/blob/master/samples/security-sharedflow/src/sharedflows/parent-sharedflow-pom.xmlBelow stacktrace:
pom.xml contents for package:
I've used example pom.xml mentioned here: https://github.com/apigee/apigee-deploy-maven-plugin/blob/master/samples/security-sharedflow/src/sharedflows/parent-sharedflow-pom.xml