Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builds with Maven #2

Open
grouchal opened this issue May 4, 2011 · 5 comments
Open

Builds with Maven #2

grouchal opened this issue May 4, 2011 · 5 comments
Labels

Comments

@grouchal
Copy link
Contributor

grouchal commented May 4, 2011

From google code issue (http://code.google.com/p/simplejpa/issues/detail?id=10)

It would be nice if you supported building with maven. I attached a
reasonable one to this issue.

Also for extra credit, set up a sync with the central maven repo.
http://maven.apache.org/guides/mini/guide-central-repository-upload.html

pom.xml 

1.8 KB View Download
Comment 1 by [email protected], Aug 17, 2009
The lates svn checkout needs the attached pom --
pom.xml
2.0 KB View Download
Comment 2 by [email protected], Feb 8, 2010
There is a Google code project that helps you sync with Maven Central. See here for
help doing this in a Google code project:
http://code.google.com/p/google-maven-repository/wiki/ProjectSetup

Comment 3 by [email protected], Sep 23, 2010
And it would be nice if KittyCache also provided in Maven Central or included in the SimpleJPA jar.
Comment 4 by project member [email protected], Jan 28, 2011
I'd love to help with this issue - I've just got the latest from the trunk and would love to commit some updates to the pom - but how can I get commit rights?

I would heavily suggest we start using the release plugin to build and commit releases in the branches. Also the amazonaws reference is not to the latest version. and there are a few other ways the pom file can be cleaned up. I am happy to do any other work to get versions into the central repo also.
Comment 5 by project member [email protected], Feb 7, 2011
I've started reorganizing the builds. KittyCache and EHCache are now separated from the core source base. This allows things the build cleanly without any issues. I bumped a few of the dependencies and will sync the latest version of the AWS plugin if we rolled a new version out since last I checked. We have a sonatype account and will likely be leveraging that to get into the central maven repo.

In addition to sorting out the release plugin we also need to cleanup the unit tests. In the meantime send/attach and diffs for the maven build to this ticket.
Comment 6 by project member [email protected], Feb 7, 2011
Bumped the following dependencies to the latest stable versions.

commons-lang - 2.6
AWS - 1.1.5

@treeder
Copy link
Member

treeder commented May 4, 2011

Grouchal, can you help with this?

@DannyJo
Copy link

DannyJo commented Sep 3, 2011

Hello,

In the fork I made of simplejpa I've restructured the project somewhat to fit into the Maven model a bit more. You can find my fork at https://github.com/DannyJo/simplejpa if you wish to have a look.

The major changes are:

  • Deleted plugins directory
  • Delete core directory
  • Added pom.xml in the root folder (this is the parent pom for the multi module project)
  • Moved the contents from the core directory to a directory called simplejpa-core (this has its own pom.xml and references the parent)
  • Moved the two plugins subdirectories to the root folder and renamed them to simplejpa-ehcache and simplejpa-kittycache (these have their own pom.xml and references the parent)

Now when building the root pom.xml all sub modules will be compiled and tested. I've also done some work to the pom.xml to clean up the dependency relationships slightly. AWS dependency upgraded to 1.2.6 as well.

Note: In my fork there is also a small code change to fix an issue I noticed with queries using the NOT EQUALS operator <>, this was not translated to the != operator which AWS was expecting, this change is in QueryImpl.java:165

@grouchal
Copy link
Contributor Author

grouchal commented Nov 8, 2011

Man I am late in seeing this - github hasn't been sending me notifications!

Yes happy to help with this

@simone-zero12
Copy link

Any news about set up a sync with the central maven repo?

@aldrinleal
Copy link
Contributor

I've have pushed a build of simplejpa under br/com/ingenieux (its needed by cloudy-data)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants