@@ -35,7 +35,7 @@ This buildfile is part of projectlombok.org. It is responsible for building the
35
35
<java classname =" Epoch" classpath =" build/p2-support" fork =" false" outputproperty =" dt.epochMillis" />
36
36
</target >
37
37
38
- <target name =" eclipsep2.build" depends =" version, -eclipsep2.get-epoch" >
38
+ <target name =" eclipsep2.build" depends =" version, dist, -eclipsep2.get-epoch" >
39
39
<tstamp ><format property =" dt.year" pattern =" yyyy" /></tstamp >
40
40
<mkdir dir =" build/p2" />
41
41
<mkdir dir =" build/p2/features" />
@@ -109,25 +109,16 @@ This buildfile is part of projectlombok.org. It is responsible for building the
109
109
<delete file =" build/p2/content.xml" />
110
110
</target >
111
111
112
- <target name =" eclipsep2.pack" depends =" eclipsep2.build" >
113
- <tar destfile =" dist/eclipse-p2.tar.bz2" compression =" bzip2" >
114
- <tarfileset dir =" build/p2" />
115
- </tar >
116
- </target >
117
-
118
- <target name =" eclipsep2.publish" depends =" eclipsep2.pack" >
119
- <ivy : scpUpload
120
- from=" dist/eclipse-p2.tar.bz2"
121
- to=" /data/lombok/staging"
122
- server=" projectlombok.org"
123
- username=" ${ssh.username}"
124
- keyfile=" ${ssh.keyfile}"
125
- knownHosts=" ssh.knownHosts" />
126
- <ivy : sshExec
127
- cmd=" /data/lombok/stagingCmd/deployP2"
128
- server=" projectlombok.org"
129
- username=" ${ssh.username}"
130
- keyfile=" ${ssh.keyfile}"
131
- knownHosts=" ssh.knownHosts" />
112
+ <target name =" eclipsep2.publish" depends =" eclipsep2.build, compile.support" >
113
+ <java classname =" lombok.publish.PublishToBucket" failonerror =" true" >
114
+ <classpath >
115
+ <path refid =" cp.buildtools" />
116
+ <pathelement location =" build/support" />
117
+ </classpath >
118
+ <arg value =" ${gpg.keyrings}/s3_creds.txt" />
119
+ <arg value =" build/p2" />
120
+ <arg value =" p2" />
121
+ <arg value =" true" />
122
+ </java >
132
123
</target >
133
124
</project >
0 commit comments