Skip to content

Commit

Permalink
Fix maven compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
egru committed May 12, 2015
1 parent 04989ee commit 0e6a657
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
31 changes: 20 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,14 @@

<groupId>com.netspi.wsdler</groupId>
<artifactId>wsdler</artifactId>
<version>2.0-SNAPSHOT</version>
<version>2.0.4-SNAPSHOT</version>

<dependencies>
<dependency>
<groupId>org.reficio</groupId>
<artifactId>soap-builder</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.reficio</groupId>
<artifactId>soap-client</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.reficio</groupId>
<artifactId>soap-server</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
</dependencies>


Expand All @@ -34,5 +24,24 @@
</repository>
</repositories>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</plugin>
</plugins>
</build>

</project>
3 changes: 3 additions & 0 deletions src/main/java/burp/WSDLParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ public int parseWSDL(IHttpRequestResponse requestResponse, IBurpExtenderCallback
if (requestName.contains(".")){
requestName = requestName.substring(0,requestName.indexOf("."));
}
if (requestName.contains("?")){
requestName = requestName.substring(0,requestName.indexOf("?"));
}
Wsdl parser;
try {
parser = Wsdl.parse(temp.toURI().toString());
Expand Down

0 comments on commit 0e6a657

Please sign in to comment.