forked from mozuck/PagerSlidingTabStrip
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Maven support, needs Maven Android SDK Deployer
- Loading branch information
Showing
7 changed files
with
271 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>com.astuetz.pagerslidingtabstrip</groupId> | ||
<artifactId>pagerslidingtabstrip-parent</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<relativePath>../pom.xml</relativePath> | ||
</parent> | ||
|
||
<name>PagerSlidingTabStrip</name> | ||
<artifactId>pagerslidingtabstrip</artifactId> | ||
<packaging>apklib</packaging> | ||
|
||
<scm> | ||
<url>[email protected]:astuetz/PagerSlidingTabStrip.git</url> | ||
<connection>scm:git:git://github.com:astuetz/PagerSlidingTabStrip.git</connection> | ||
<developerConnection>scm:git:[email protected]:astuetz/PagerSlidingTabStrip.git</developerConnection> | ||
</scm> | ||
|
||
<licenses> | ||
<license> | ||
<name>The Apache Software License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<android.version>4.2.2_r2</android.version> | ||
<android.version.platform>17</android.version.platform> | ||
</properties> | ||
|
||
<dependencies> | ||
|
||
<dependency> | ||
<groupId>android</groupId> | ||
<artifactId>android</artifactId> | ||
<version>${android.version}</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>android.support</groupId> | ||
<artifactId>compatibility-v4</artifactId> | ||
<version>12</version> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
<sourceDirectory>src</sourceDirectory> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>2.2.1</version> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>2.9</version> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>com.jayway.maven.plugins.android.generation2</groupId> | ||
<artifactId>android-maven-plugin</artifactId> | ||
<version>3.5.0</version> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.sonatype.oss</groupId> | ||
<artifactId>oss-parent</artifactId> | ||
<version>7</version> | ||
</parent> | ||
|
||
<groupId>com.astuetz.pagerslidingtabstrip</groupId> | ||
<artifactId>pagerslidingtabstrip-parent</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
|
||
<name>PagerSlidingTabStrip (Parent)</name> | ||
<description>Interactive paging indicator widget, compatible with the ViewPager from the Android Support Library.</description> | ||
<url>https://github.com/astuetz/PagerSlidingTabStrip</url> | ||
<inceptionYear>2013</inceptionYear> | ||
|
||
<modules> | ||
<module>library</module> | ||
<module>sample</module> | ||
</modules> | ||
|
||
<scm> | ||
<url>[email protected]:astuetz/PagerSlidingTabStrip.git</url> | ||
<connection>scm:git:git://github.com:astuetz/PagerSlidingTabStrip.git</connection> | ||
<developerConnection>scm:git:[email protected]:astuetz/PagerSlidingTabStrip.git</developerConnection> | ||
</scm> | ||
|
||
<licenses> | ||
<license> | ||
<name>Apache License Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<android.version>4.1.1.4</android.version> | ||
<android.version.platform>16</android.version.platform> | ||
</properties> | ||
|
||
<build> | ||
<pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>2.5.1</version> | ||
<configuration> | ||
<source>1.6</source> | ||
<target>1.6</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>2.2</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>2.9</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>com.jayway.maven.plugins.android.generation2</groupId> | ||
<artifactId>android-maven-plugin</artifactId> | ||
<version>3.4.1</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<sdk> | ||
<platform>${android.version.platform}</platform> | ||
</sdk> | ||
<undeployBeforeDeploy>true</undeployBeforeDeploy> | ||
<lazyLibraryUnpack>true</lazyLibraryUnpack> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
</build> | ||
|
||
</project> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>com.astuetz.pagerslidingtabstrip</groupId> | ||
<artifactId>pagerslidingtabstrip-parent</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<relativePath>../pom.xml</relativePath> | ||
</parent> | ||
|
||
<name>PagerSlidingTabStrip Sample</name> | ||
<artifactId>pagerslidingtabstrip-sample</artifactId> | ||
<packaging>apk</packaging> | ||
|
||
<scm> | ||
<url>[email protected]:astuetz/PagerSlidingTabStrip.git</url> | ||
<connection>scm:git:git://github.com:astuetz/PagerSlidingTabStrip.git</connection> | ||
<developerConnection>scm:git:[email protected]:astuetz/PagerSlidingTabStrip.git</developerConnection> | ||
</scm> | ||
|
||
<licenses> | ||
<license> | ||
<name>The Apache Software License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<android.version>4.2.2_r2</android.version> | ||
<android.version.platform>17</android.version.platform> | ||
</properties> | ||
|
||
<dependencies> | ||
|
||
<dependency> | ||
<groupId>android</groupId> | ||
<artifactId>android</artifactId> | ||
<version>${android.version}</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.astuetz.pagerslidingtabstrip</groupId> | ||
<artifactId>library</artifactId> | ||
<version>${project.version}</version> | ||
<type>apklib</type> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
<sourceDirectory>src</sourceDirectory> | ||
|
||
<plugins> | ||
<plugin> | ||
<groupId>com.jayway.maven.plugins.android.generation2</groupId> | ||
<artifactId>android-maven-plugin</artifactId> | ||
<version>3.4.1</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<sdk> | ||
<platform>${android.version.platform}</platform> | ||
</sdk> | ||
<undeployBeforeDeploy>true</undeployBeforeDeploy> | ||
<lazyLibraryUnpack>true</lazyLibraryUnpack> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -198,4 +198,4 @@ public Fragment getItem(int position) { | |
|
||
} | ||
|
||
} | ||
} |