Ok I can try that but I can see the type test-jar from the below
documentation

https://maven.apache.org/guides/mini/guide-attached-tests.html

On Thu, Mar 28, 2024 at 3:11 PM Stanimir Stamenkov
<[email protected]> wrote:

> Thu, 28 Mar 2024, /Debraj Manna/:
>
> > But I am still facing issues in the below case.
> > [...]
> >
> > <dependency>
> >    <groupId>com.spotnana</groupId>
> >    <artifactId>synapse</artifactId>
> >    <version>0.0.1-SNAPSHOT</version>
> >    <classifier>tests</classifier>
> >    <type>test-jar</type>
>
> This doesn't seem right.  I'm not aware of <type>test-jar</type> –
> should be just <type>jar</type> (or just omit it as it is implied).
>
> >    <scope>test</scope>
> > </dependency>
> >
> > Now if I am trying to do mvn package --projects=:agent -T 2 --also-make
> >
> > I am getting NoClassDefFound for common/C.java while tests are being
> > executed in the agent module...
>
> --
> Stanimir
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to