forked from spring-attic/spring-social-facebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
42 lines (31 loc) · 2.02 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
=========================== Spring Social Facebook ===========================
To check out the project and build from source, do the following:
git clone git://github.com/SpringSource/spring-social-facebook.git
cd spring-social-facebook
./gradlew clean build -x test -x springReleaseTest -x springSnapshotTest
-------------------------------------------------------------------------------
To generate Eclipse metadata (.classpath and .project files), do the following:
./gradlew eclipse
Once complete, you may then import the projects into Eclipse as usual:
File -> Import -> Existing projects into workspace
-------------------------------------------------------------------------------
To generate IDEA metadata (.iml and .ipr files), do the following:
./gradlew idea
-------------------------------------------------------------------------------
To build the JavaDoc, do the following from within the root directory:
./gradlew :docs:api
The result will be available in 'docs/build/api'.
===============================================================================
To create maven artifact:
Create new empty directory maven-temp in the project root: `mkdir maven-temp`
Checkout spring-social-facebook into maven-temp: `cd maven-temp && git clone https://github.com/indigobyte/spring-social-facebook.git`
Switch to branch mvn-repo: `cd spring-social-facebook && git checkout mvn-repo`
You should have directory structure like this:
`c:\projects\spring-social-facebook\maven-temp\spring-social-facebook\org\springframework\social\spring-social-facebook\3.0.0.M3.CUSTOM-1\maven-metadata.xml`
Go to root project dir (c:\projects\spring-social-facebook).
run command
./gradlew clean build publish -x test -x springReleaseTest -x springSnapshotTest
Go back to maven-temp\spring-social-facebook folder
c:\projects\spring-social-facebook\maven-temp\spring-social-facebook\org\springframework\social\spring-social-facebook\
Commit and push mvn-repo branch.
===============================================================================