Using a self dependency

View: New views
2 Messages — Rating Filter:   Alert me  

Using a self dependency

by chicagopooldude :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have module which has source which needs to be compiled jared ( Jar file) then I would have to get a jnlp file from template file which contains the main method from the jar i have generated in step1. This all happens in ant build.xml I am using one pom.xml file for this which creates jar and one plugin to get jnlp out webstart-maven-plugin. The trouble is this webstart-maven-plugin plugin has not yet received jar from step until the end to use to make jnlp. How can this self dependency be dealt with. Please help and thanks in advance.
 

Re: Using a self dependency

by chicagopooldude :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I solved the self depedency by moving the web start part to another module and making the jar part into another module and added web start part to have jar part as a dependency.



chicagopooldude wrote:
I have module which has source which needs to be compiled jared ( Jar file) then I would have to get a jnlp file from template file which contains the main method from the jar i have generated in step1. This all happens in ant build.xml I am using one pom.xml file for this which creates jar and one plugin to get jnlp out webstart-maven-plugin. The trouble is this webstart-maven-plugin plugin has not yet received jar from step until the end to use to make jnlp. How can this self dependency be dealt with. Please help and thanks in advance.