huuanh1987 / facebook-java-api

Automatically exported from code.google.com/p/facebook-java-api
0 stars 0 forks source link

pom.xml refactor #332

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. svn fresh checkout (HEAD version: r1041), and probably empty mvn local 
repository
2. mvn clean install (online)

What is the expected output? What do you see instead?
The build fails.

What version of the product are you using? On what operating system?
3.0.5-SNAPSHOT (SVN: r1041)

Please provide any additional information below.

please use maven properties for versions, there was a mistake in the 
facebook-java-api project's pom.xml:
                <dependencies>
                    <dependency>
                        <groupId>com.google.code.facebookapi</groupId>
                        <artifactId>facebook-java-api-annotation-processor</artifactId>
                        <version>3.0.4-SNAPSHOT</version>
                    </dependency>
                </dependencies>

fix:

                <dependencies>
                    <dependency>
                        <groupId>com.google.code.facebookapi</groupId>
                        <artifactId>facebook-java-api-annotation-processor</artifactId>
                        <version>3.0.5-SNAPSHOT</version>
                    </dependency>
                </dependencies>

Use maven properties to avoid these version problems. I had no 
api-annotation-processor jar with the 3.0.4-SNAPSHOT version in my maven local 
repository, neither in the configured repositories given in my m2 setting.xml, 
so it did not work.

Original issue reported on code.google.com by 84ferna...@gmail.com on 19 Aug 2010 at 11:56