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

Fix android sample tests pom #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hborders
Copy link

Fixed two issues with android-sample-tests/pom.xml

Heath Borders added 2 commits June 10, 2014 10:55
Maven 3 doesn't like duplicate declarations either in the same file or same pom hierarchy [1].

```
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.octo.android:android-sample-tests:apk:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-compiler-plugin @ line 113, column 12
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 95, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
```

[1] http://doc.nuxeo.com/display/public/CORG/Maven+coding+rules
A version property existed in the pom, but wasn't used.

```
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.octo.android:android-sample-tests:apk:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 92, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
```
@hborders
Copy link
Author

I see that travis failed, but I don't understand what to do to fix it. I'm happy to modify my commit if someone can help me a little.

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

Successfully merging this pull request may close these issues.

1 participant