mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 05:55:51 +01:00
Move deploy-assembly-jar script
This commit is contained in:
@@ -6,6 +6,6 @@ mvn deploy:deploy-file \
|
|||||||
-DartifactId=gitbucket-assembly\
|
-DartifactId=gitbucket-assembly\
|
||||||
-Dversion=3.2.0\
|
-Dversion=3.2.0\
|
||||||
-Dpackaging=jar\
|
-Dpackaging=jar\
|
||||||
-Dfile=target/scala-2.11/gitbucket-assembly-3.2.0.jar\
|
-Dfile=../target/scala-2.11/gitbucket-assembly-3.2.0.jar\
|
||||||
-DrepositoryId=sourceforge.jp\
|
-DrepositoryId=sourceforge.jp\
|
||||||
-Durl=scp://shell.sourceforge.jp/home/groups/a/am/amateras/htdocs/mvn/
|
-Durl=scp://shell.sourceforge.jp/home/groups/a/am/amateras/htdocs/mvn/
|
||||||
@@ -31,7 +31,7 @@ object AutoUpdate {
|
|||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
### deploy-assembly-jar.sh
|
### deploy-assembly/deploy-assembly-jar.sh
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@@ -42,7 +42,7 @@ mvn deploy:deploy-file \
|
|||||||
-DartifactId=gitbucket-assembly\
|
-DartifactId=gitbucket-assembly\
|
||||||
-Dversion=3.2.0\ # <---- update here!!
|
-Dversion=3.2.0\ # <---- update here!!
|
||||||
-Dpackaging=jar\
|
-Dpackaging=jar\
|
||||||
-Dfile=target/scala-2.11/gitbucket-assembly-x.x.x.jar\ # <---- update here!!
|
-Dfile=../target/scala-2.11/gitbucket-assembly-x.x.x.jar\ # <---- update here!!
|
||||||
-DrepositoryId=sourceforge.jp\
|
-DrepositoryId=sourceforge.jp\
|
||||||
-Durl=scp://shell.sourceforge.jp/home/groups/a/am/amateras/htdocs/mvn/
|
-Durl=scp://shell.sourceforge.jp/home/groups/a/am/amateras/htdocs/mvn/
|
||||||
```
|
```
|
||||||
@@ -61,6 +61,7 @@ Run ant with `build.xml` in the root directory. The release war file is generate
|
|||||||
For plug-in development, we have to publish the assembly jar file to the public Maven repository.
|
For plug-in development, we have to publish the assembly jar file to the public Maven repository.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
cd deploy-assembly/
|
||||||
./deploy-assembly-jar.sh
|
./deploy-assembly-jar.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
14
gitbucket-assembly.iml
Normal file
14
gitbucket-assembly.iml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="false">
|
||||||
|
<output url="file://$MODULE_DIR$/target/classes" />
|
||||||
|
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
@@ -47,7 +47,7 @@ object MyBuild extends Build {
|
|||||||
"org.scalatra" %% "scalatra" % ScalatraVersion,
|
"org.scalatra" %% "scalatra" % ScalatraVersion,
|
||||||
"org.scalatra" %% "scalatra-specs2" % ScalatraVersion % "test",
|
"org.scalatra" %% "scalatra-specs2" % ScalatraVersion % "test",
|
||||||
"org.scalatra" %% "scalatra-json" % ScalatraVersion,
|
"org.scalatra" %% "scalatra-json" % ScalatraVersion,
|
||||||
"org.json4s" %% "json4s-jackson" % "3.2.11",
|
//"org.json4s" %% "json4s-jackson" % "3.2.11",
|
||||||
"jp.sf.amateras" %% "scalatra-forms" % "0.1.0",
|
"jp.sf.amateras" %% "scalatra-forms" % "0.1.0",
|
||||||
"commons-io" % "commons-io" % "2.4",
|
"commons-io" % "commons-io" % "2.4",
|
||||||
"org.pegdown" % "pegdown" % "1.4.1", // 1.4.2 has incompatible APi changes
|
"org.pegdown" % "pegdown" % "1.4.1", // 1.4.2 has incompatible APi changes
|
||||||
@@ -66,7 +66,12 @@ object MyBuild extends Build {
|
|||||||
"com.typesafe" % "config" % "1.2.1",
|
"com.typesafe" % "config" % "1.2.1",
|
||||||
"com.typesafe.play" %% "twirl-compiler" % "1.0.4",
|
"com.typesafe.play" %% "twirl-compiler" % "1.0.4",
|
||||||
"com.typesafe.akka" %% "akka-actor" % "2.3.10",
|
"com.typesafe.akka" %% "akka-actor" % "2.3.10",
|
||||||
"com.enragedginger" %% "akka-quartz-scheduler" % "1.3.0-akka-2.3.x"
|
"com.enragedginger" %% "akka-quartz-scheduler" % "1.3.0-akka-2.3.x",
|
||||||
|
"org.elasticsearch" % "elasticsearch" % "1.5.2",
|
||||||
|
"com.sksamuel.elastic4s" %% "elastic4s" % "1.5.6",
|
||||||
|
"com.fasterxml.jackson.core" % "jackson-core" % "2.4.2",
|
||||||
|
"com.fasterxml.jackson.core" % "jackson-databind" % "2.4.2",
|
||||||
|
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.4.2"
|
||||||
),
|
),
|
||||||
play.twirl.sbt.Import.TwirlKeys.templateImports += "gitbucket.core._",
|
play.twirl.sbt.Import.TwirlKeys.templateImports += "gitbucket.core._",
|
||||||
EclipseKeys.withSource := true,
|
EclipseKeys.withSource := true,
|
||||||
|
|||||||
Reference in New Issue
Block a user