Skip to content

Commit 1d42c22

Browse files
authored
Merge pull request #1 from phith0n/master
增加maven编译配置文件
2 parents 16d338f + 9ab0ea4 commit 1d42c22

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+52
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@
2121

2222
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2323
hs_err_pid*
24+
25+
/target/
26+
/.idea/

README.md

Lines changed: 6 additions & 0 deletions

pom.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>com.burp</groupId>
8+
<artifactId>chunked-coding-converter</artifactId>
9+
<version>1.0</version>
10+
11+
<properties>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
14+
</properties>
15+
16+
<dependencies>
17+
</dependencies>
18+
19+
<build>
20+
<plugins>
21+
<plugin>
22+
<groupId>org.apache.maven.plugins</groupId>
23+
<artifactId>maven-assembly-plugin</artifactId>
24+
<executions>
25+
<execution>
26+
<phase>package</phase>
27+
<goals>
28+
<goal>single</goal>
29+
</goals>
30+
</execution>
31+
</executions>
32+
<configuration>
33+
<descriptorRefs>
34+
<descriptorRef>jar-with-dependencies</descriptorRef>
35+
</descriptorRefs>
36+
</configuration>
37+
</plugin>
38+
</plugins>
39+
</build>
40+
41+
</project>
File renamed without changes.

src/burp/Config.java renamed to src/main/java/burp/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package burp;
22

33
public class Config {
4-
public static int splite_len = 2;
4+
public static Integer splite_len = 2;
55
public static boolean isComment = true;
66
public static boolean act_on_all_tools = false;
77
public static boolean act_on_target = false;

src/burp/ConfigDlg.java renamed to src/main/java/burp/ConfigDlg.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public void actionPerformed(ActionEvent e) {
107107
btSave.addActionListener(new ActionListener() {
108108
@Override
109109
public void actionPerformed(ActionEvent e) {
110-
Config.splite_len = (int)spSplitLen.getValue();
110+
Config.splite_len = (Integer) spSplitLen.getValue();
111111
Config.isComment = cbComment.isSelected();
112112
Config.act_on_all_tools = chkAllTools.isSelected();
113113
Config.act_on_target = chkTarget.isSelected();
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)