zerocode icon indicating copy to clipboard operation
zerocode copied to clipboard

jar with dependencies

Open santhoshTpixler opened this issue 6 years ago • 5 comments

It would be nice to have an additional jar in the maven central zerocode-tdd-jar-with-dependencies , which will help people using zerocode without dependency management tools.

It should be an uber jar with all the necessary dependencies packaged into it.

The example screen shot of others doing it. image

santhoshTpixler avatar Jan 19 '19 03:01 santhoshTpixler

Yes, good one. let's generate it via the shade plugin and publish it. e.g.

    <!-- Uncomment this for uber jar -->
   <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <configuration>
                    <createDependencyReducedPom>false</createDependencyReducedPom>
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    

Also we might need a ticket to provide a command line tool or mvn test examples for picking n executing a test directly from resource Will address this in a separate ticket.

authorjapps avatar Jan 19 '19 06:01 authorjapps

Latest 1.3.2 fat-jar aka uber-jar can be downloaded from here. Link: https://github.com/authorjapps/zerocode/releases/download/zerocode-tdd-parent-1.3.2/zerocode-tdd-1.3.3-SNAPSHOT.jar

Generally going forward, it can be downloaded from the assets section. release

authorjapps avatar Feb 09 '19 16:02 authorjapps

Uber jar missing in latest release image

santhoshTpixler avatar Mar 08 '19 13:03 santhoshTpixler

yes, will sort that today 👍 . Somehow we need to automate this as uploading takes around 5 to 10min.

Done now.

authorjapps avatar Mar 08 '19 15:03 authorjapps

File support available in 1.3.17 release.

authorjapps avatar Nov 08 '19 11:11 authorjapps