GithubHelp home page GithubHelp logo

No Maven Central release about spoon HOT 21 CLOSED

inria avatar inria commented on July 1, 2024
No Maven Central release

from spoon.

Comments (21)

pschichtel avatar pschichtel commented on July 1, 2024

I could make a Pull Request with the setup we use for our projects.

from spoon.

pschichtel avatar pschichtel commented on July 1, 2024

That would look similar to this: https://github.com/CubeEngine/MessageCompositor/blob/master/pom.xml

from spoon.

monperrus avatar monperrus commented on July 1, 2024

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.

pschichtel avatar pschichtel commented on July 1, 2024

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:

from spoon.

pschichtel avatar pschichtel commented on July 1, 2024

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.

monperrus avatar monperrus commented on July 1, 2024

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.

pschichtel avatar pschichtel commented on July 1, 2024

A new status on this?

from spoon.

GerardPaligot avatar GerardPaligot commented on July 1, 2024

Hello Phillip,

Yes, I push on Maven Central today. :)

from spoon.

seintur avatar seintur commented on July 1, 2024

Hi @GerardPaligot

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.

pschichtel avatar pschichtel commented on July 1, 2024

Well someone forgot to disable resource filtering...

maven will replace ${...} macros and the velocity context to do this contains all java properties.

from spoon.

GerardPaligot avatar GerardPaligot commented on July 1, 2024

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.

pschichtel avatar pschichtel commented on July 1, 2024

You might want to check the commit comments first

from spoon.

GerardPaligot avatar GerardPaligot commented on July 1, 2024

Yes, I saw them after my message.

from spoon.

GerardPaligot avatar GerardPaligot commented on July 1, 2024

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.

GerardPaligot avatar GerardPaligot commented on July 1, 2024

I'm re-pushing on Maven Central now. It should appear on the website in some hours.

from spoon.

pschichtel avatar pschichtel commented on July 1, 2024

Why didn't you use the release plugin??

from spoon.

GerardPaligot avatar GerardPaligot commented on July 1, 2024

I used maven release plugin.

from spoon.

pschichtel avatar pschichtel commented on July 1, 2024

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.

GerardPaligot avatar GerardPaligot commented on July 1, 2024

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.

monperrus avatar monperrus commented on July 1, 2024

Tag is now on Github.

from spoon.

pschichtel avatar pschichtel commented on July 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.