Comments (21)
I could make a Pull Request with the setup we use for our projects.
from spoon.
That would look similar to this: https://github.com/CubeEngine/MessageCompositor/blob/master/pom.xml
from spoon.
Hi Phillip,
Thanks for the issue. Going back to Maven Central is indeed in the roadmap of the project.
How is authorization handled to publish a new version on Maven Central?
--Martin
from spoon.
They use their JIRA for registration and once you got approved you just put a section in your local maven configuration with your JIRA login information and the ID of your configured central repository in .
More information about the process:
- Sonatype OSSRH Guide
- Central Sync Requirements
- Guide to uploading artifacts to the Central Repository
from spoon.
http://gforge.inria.fr/frs/shownotes.php?release_id=8745
- pom.xml not updated
- still no central release
Why did I even make the pull request to fix everything up for a release?
from spoon.
Hi Phillip,
Thanks again for the pull request which is now merged. Uploading to
Central is on our todo list.
What else do you mean?
from spoon.
A new status on this?
from spoon.
Hello Phillip,
Yes, I push on Maven Central today. :)
from spoon.
Thanks for the deployment in Maven Central.
It seems that the jar http://search.maven.org/remotecontent?filepath=fr/inria/gforge/spoon/spoon-core/2.3/spoon-core-2.3.jar contains a log4j.properties file with the following line 10:
log4j.appender.R.File=/var/folders/yd/kdk6_3wn4fvc71sblyjpgnn80000gn/T//spoon-log.log
I'm a bit confused since the original file as stored in the git repo https://github.com/INRIA/spoon/blob/master/src/main/resources/log4j.properties contains instead:
log4j.appender.R.File=${java.io.tmpdir}/spoon-log.log
Practically, when running Spoon 2.3 fetched from Maven central, I bump into the following exception:
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /var/folders/yd/kdk6_3wn4fvc71sblyjpgnn80000gn/T/spoon-log.log (No such file or directory)
which is obviously evident given the log4j.properties.
Wat do you think?
Lionel.
from spoon.
Well someone forgot to disable resource filtering...
maven will replace ${...} macros and the velocity context to do this contains all java properties.
from spoon.
Hi,
I discussed the problem with @monperrus and we modified the log4j.properties in the commit. c7af8e2.
I'm repushing on maven now. You will see it at the end of this morning or in the afternoon.
from spoon.
You might want to check the commit comments first
from spoon.
Yes, I saw them after my message.
from spoon.
Well, I made a PR #55 to improve pom.xml to disable filtering on the log4j.properties file. If it is ok for all, we merge it and I re-push on Maven Central.
from spoon.
I'm re-pushing on Maven Central now. It should appear on the website in some hours.
from spoon.
Why didn't you use the release plugin??
from spoon.
I used maven release plugin.
from spoon.
Well the release commits in git are missing as well as the tag. This leads to the problem the a) the source code used to build the release in maven central is not actually available and b) the pom.xml in this repo has the wrong version as it should be 2.3.2-SNAPSHOT or 2.4.0-SNAPSHOT
from spoon.
Ah yes, this is "normal". We don't release on this Git project but on another one. @monperrus must to push commits and tag of the release plugin from the another git projet to this GitHub project (because, I can't myself, I don't have these privileges).
from spoon.
Tag is now on Github.
from spoon.
Just an idea: It might be good to automate the mirroring from the internel repository to github. I once did that with a small post-receive-hook and a deploy key.
Anyway: This issue is now finally closed, I hope this will continue in the future.
from spoon.
Related Issues (20)
- [Bug]: StackOverflowError occurred in CtExecutableReference.getExecutableDeclaration HOT 5
- [Bug]: Not allowed javaletter or keyword in identifier found HOT 5
- Move or delete spoon testing package from src/main HOT 1
- Delete old unused javadoc package HOT 2
- [Bug]: Under multithreading, using the isOverriding method will lead to incorrect results of the getElements method
- [Bug]: How to correctly recognize the signature of invoked methods in lambda expression?
- Java Compatibility with Older Versions of Spoon HOT 1
- [Bug]: CtReferenceImpl.isSpecialType throws an exception
- [Bug]: Bug adding comment in AST of lambda HOT 2
- Update a method calls reference
- java 22 HOT 1
- [Bug]: Control Flow graph missing edge for implicit default case in switch
- [Bug]: Control Flow Graph doesn't handle cases with multiple expressions
- Spotless for imports HOT 2
- [Bug]: Spoon inserts incorrect break in enhanced switch block
- [Feature Request]: Minimize Parens in `DefaultJavaPrettyPrinter` should use operator precedence (`(a == b) || (b == c)` could be `a == b || b == c`) HOT 2
- [Bug]: Javadoc of class missing HOT 1
- improve reproducible build architecture for Spoon HOT 2
- Unable to start JavaFX UI
- How to Implement Angelic Value with Spoon for APR
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 spoon.