Comments (10)
Follow the instructions for using snapshot versions here.
from cics-bundle-maven.
Also, should issues be closed without the raiser agreeing, or even being given a chance to comment? I had no idea this had happened, or that there was a fix waiting. It seems a bit disjointed.
I don't remember closing it manually - I am pretty sure it was part of the Github process automation. Hopefully you at least got the email from Ben saying that a fix was available in the SNAPSHOT! Maybe you got one saying the work item was closed, too...
I'll try and remember to comment when we merge items, if not.
from cics-bundle-maven.
Please could you post the entire log, redacting areas you wouldn't want us to see?
If you can post your project, or point us at a sample project with a similar structure, that would also be appreciated.
from cics-bundle-maven.
Sure. Re-running now.
[INFO] Scanning for projects...
[INFO]
[INFO] ---------< com.ibm.cics.cip.bank.springboot:customerservices >----------
[INFO] Building customerservices 1.1.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ customerservices ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] Copying 12 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ customerservices ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ customerservices ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory *redactedLocalDirectory*\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ customerservices ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ customerservices ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-war-plugin:3.3.1:war (default-war) @ customerservices ---
[INFO] Packaging webapp
[INFO] Assembling webapp [customerservices] in [*redactedLocalDirectory*\target\customerservices-1.1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Building war: *redactedLocalDirectory*\target\customerservices-1.1.0-SNAPSHOT.war
[INFO]
[INFO] --- spring-boot-maven-plugin:2.5.4:repackage (repackage) @ customerservices ---
[INFO] Replacing main artifact with repackaged archive
[INFO]
[INFO] --- cics-bundle-maven-plugin:1.0.2:bundle-war (default) @ customerservices ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.804 s
[INFO] Finished at: 2022-03-28T11:22:51+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.ibm.cics:cics-bundle-maven-plugin:1.0.2:bundle-war (default) on project customerservices: Error writing bundle resource "customerservices-1.1.0-SNAPSHOT.warbundle": *redactedLocalDirectory*\target\customerservices-1.1.0-SNAPSHOT-cics-bundle\customerservices-1.1.0-SNAPSHOT.warbundle -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
from cics-bundle-maven.
I can reproduce this, including without Spring, so that's not the confounding factor. Same issue exists at 1.0.3.
Not sure what, if anything, has changed. We'll get a fix out.
from cics-bundle-maven.
Thanks Ben! I'm a novice at these things, and it sounded like it should have worked, hence I thought I'd better ask!
from cics-bundle-maven.
This should be resolved in plugin version 1.0.4-SNAPSHOT
. If you're able to test that out, it would be appreciated. We will roll it up into a proper release soon.
from cics-bundle-maven.
I changed the pom to refer to the new plugin and it says "Could not find artifact com.ibm.cics:cics-bundle-maven-plugin:jar:1.0.4-SNAPSHOT". Do I need to do anything other than just updating the pom.xml to say
com.ibm.cics
cics-bundle-maven-plugin
1.0.4-SNAPSHOT
Also, should issues be closed without the raiser agreeing, or even being given a chance to comment? I had no idea this had happened, or that there was a fix waiting. It seems a bit disjointed.
from cics-bundle-maven.
I've just tried the -SNAPSHOT 1.0.4 version with my local -SNAPSHOT version and it overwrites correctly. Good job!
from cics-bundle-maven.
I've just tried the -SNAPSHOT 1.0.4 version with my local -SNAPSHOT version and it overwrites correctly. Good job!
Excellent, glad to hear it.
We don't have a fine granularity of issue states. And in an open source project, you can't rely on reporters verifying. We reproduced the issue, added tests to fail on the issue, and fixed the issue.
This should be resolved in plugin version
1.0.4-SNAPSHOT
. If you're able to test that out, it would be appreciated. We will roll it up into a proper release soon.
This (and the notification of closure) was your notification that something had changed - if you didn't get notified, please check your notification settings, such as email!
from cics-bundle-maven.
Related Issues (20)
- Modify behaviour so that failing to provide a JVM server when required generates an error HOT 5
- Deploying bundle with a JAR/OSGi bundle part fails
- Non-reactor bundles fail to deploy if classifier is not set HOT 2
- Be explicit in README.md about support
- Docs improvement suggestion
- Deploying error: Text may not be null HOT 1
- Deploying: "null/null" appearing in an info message when running mvn
- I am a NOVICE at maven. I'm triying to get the simple-liberty cics microprofile4 to work - I'm lost HOT 3
- Add testing for client side validation of input parameters
- Sample reactor bundle definition is too long
- Error reading Bundle-SymbolicName from OSGi manifest file when using Maven module cics-bundle HOT 4
- Building OSGi bundles with maven-bundle-plugin results in "Error reading Bundle-SymbolicName from OSGi manifest file" HOT 3
- Package CICS resources outside src/main/resources HOT 5
- Clarify that EBA is stabilized for bundle export from CICS Explorer and CICS BT
- Support osgibundle with versionRange HOT 2
- Please update the read.me document with build command / mvn commands for newbies HOT 1
- Update CICS bundle maven plugin information HOT 2
- Provide sample to show how bundleParts can be used HOT 1
- WAR Bundle can't not have a version HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cics-bundle-maven.