Skip to content

Commit 6311933

Browse files
committed
[master] - adapted framework for public deploying
1 parent 6f0d232 commit 6311933

2 files changed

Lines changed: 91 additions & 1 deletion

File tree

.gitignore

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
### JetBrains template
2+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
3+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
4+
5+
# User-specific stuff:
6+
.idea/workspace.xml
7+
.idea/tasks.xml
8+
.idea/dictionaries
9+
.idea/vcs.xml
10+
.idea/jsLibraryMappings.xml
11+
12+
# Sensitive or high-churn files:
13+
.idea/dataSources.ids
14+
.idea/dataSources.xml
15+
.idea/dataSources.local.xml
16+
.idea/sqlDataSources.xml
17+
.idea/dynamic.xml
18+
.idea/uiDesigner.xml
19+
20+
# Gradle:
21+
.idea/gradle.xml
22+
.idea/libraries
23+
*.iml
24+
.idea
25+
26+
# Mongo Explorer plugin:
27+
.idea/mongoSettings.xml
28+
29+
## File-based project format:
30+
*.iws
31+
32+
## Plugin-specific files:
33+
34+
# IntelliJ
35+
/out/
36+
37+
# mpeltonen/sbt-idea plugin
38+
.idea_modules/
39+
40+
# JIRA plugin
41+
atlassian-ide-plugin.xml
42+
43+
# Crashlytics plugin (for Android Studio and IntelliJ)
44+
com_crashlytics_export_strings.xml
45+
crashlytics.properties
46+
crashlytics-build.properties
47+
fabric.properties
48+
49+
# Created by .ignore support plugin (hsz.mobi)

pom.xml

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>com.infusion</groupId>
7+
<groupId>io.automotion</groupId>
88
<artifactId>automation.framework</artifactId>
99
<version>1.0.1</version>
10+
<properties>
11+
<!-- github server corresponds to entry in ~/.m2/settings.xml -->
12+
<github.global.server>github</github.global.server>
13+
</properties>
1014
<build>
1115
<plugins>
1216
<plugin>
@@ -17,8 +21,45 @@
1721
<target>1.7</target>
1822
</configuration>
1923
</plugin>
24+
<plugin>
25+
<artifactId>maven-deploy-plugin</artifactId>
26+
<version>2.8.1</version>
27+
<configuration>
28+
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
29+
</configuration>
30+
</plugin>
31+
<plugin>
32+
<groupId>com.github.github</groupId>
33+
<artifactId>site-maven-plugin</artifactId>
34+
<version>0.11</version>
35+
<configuration>
36+
<message>Maven artifacts for ${project.version}</message> <!-- git commit message -->
37+
<noJekyll>true</noJekyll> <!-- disable webpage processing -->
38+
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory> <!-- matches distribution management repository url above -->
39+
<branch>refs/heads/mvn-repo</branch> <!-- remote branch name -->
40+
<includes><include>**/*</include></includes>
41+
<repositoryName>java.automation.library</repositoryName> <!-- github repo name -->
42+
<repositoryOwner>dzaiats</repositoryOwner> <!-- github username -->
43+
</configuration>
44+
<executions>
45+
<!-- run site-maven-plugin's 'site' target as part of the build's normal 'deploy' phase -->
46+
<execution>
47+
<goals>
48+
<goal>site</goal>
49+
</goals>
50+
<phase>deploy</phase>
51+
</execution>
52+
</executions>
53+
</plugin>
2054
</plugins>
2155
</build>
56+
<distributionManagement>
57+
<repository>
58+
<id>internal.repo</id>
59+
<name>Temporary Staging Repository</name>
60+
<url>file://${project.build.directory}/mvn-repo</url>
61+
</repository>
62+
</distributionManagement>
2263
<repositories>
2364
<repository>
2465
<id>xuggle repo</id>

0 commit comments

Comments
 (0)