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

"Integration tests" module should be ignored in release profile #56

Open
franck-serot opened this issue Jun 6, 2013 · 5 comments
Open

Comments

@franck-serot
Copy link

I create a projet with release archetype.
According to a comment extracted from parent pom.xml, "the release profile does sign, proguard, zipalign ... but does not run instrumentation tests".
But, if I launch the following command then the instrumentation tests is run.

cd HelloWorldAndroid-parent
mvn clean install -Prelease

Except I'm mistaken, the "HelloWorldAndroid-it - Integration tests" module should be ignored.

Could you please help to solve this problem ?

Best regards,
Franck

@rciovati
Copy link
Contributor

rciovati commented Jun 7, 2013

Try removing this instruction in the end of pom.xml file:

<modules>
    <module>HelloWorldAndroid</module>
    <module>HelloWorldAndroid-it</module>
</modules>

@franck-serot
Copy link
Author

I didn't see this modules section under the profiles sections.
The problem is solved by removing it.
Sorry for the minor issue.
Thank you

@rciovati
Copy link
Contributor

rciovati commented Jun 7, 2013

How did you solved?

@franck-serot
Copy link
Author

I remove the modules section in the end of pom.xml file.

@rciovati
Copy link
Contributor

rciovati commented Jun 7, 2013

Ok, thanks.
I'm not sure why creating the project with the archetype add the modules to the pom.xml file. This is a bug and should be fixed somehow.

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

No branches or pull requests

2 participants