You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ken Helmes <ke...@tulli.fi> on 2006/09/29 09:26:50 UTC

test-jar - unknown artefact type

Hello,

 

Has anyone run into this error when trying to use the "test-jar" type:

 

"Embedded error: Unknown artefact type[test-jar]"

 

-          Maven 2.0.4

-          The actual test-jar is created correctly and can be found from
the repository.  It is when being used that the error comes:

    <dependency>

      <groupId>config</groupId>

      <artifactId>config_logic</artifactId>

      <version>1.28-SNAPSHOT</version>

      <type>test-jar</type>

    </dependency>

 

Ken Helmes



 


Re: test-jar - unknown artefact type

Posted by Antonio Parolini <An...@hcuge.ch>.
I got the same probleme!

Is the test-jar type actually supported ?

-tony



Ken Helmes wrote:
> 
> Hello,
> 
>  
> 
> Has anyone run into this error when trying to use the "test-jar" type:
> 
>  
> 
> "Embedded error: Unknown artefact type[test-jar]"
> 
>  
> 
> -          Maven 2.0.4
> 
> -          The actual test-jar is created correctly and can be found from
> the repository.  It is when being used that the error comes:
> 
>     <dependency>
> 
>       <groupId>config</groupId>
> 
>       <artifactId>config_logic</artifactId>
> 
>       <version>1.28-SNAPSHOT</version>
> 
>       <type>test-jar</type>
> 
>     </dependency>
> 
>  
> 
> Ken Helmes
> 
> 
> 
>  
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/test-jar---unknown-artefact-type-tf2355431s177.html#a7219483
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: test-jar - unknown artefact type

Posted by Tom Huybrechts <to...@gmail.com>.
Can you give us some more context for the error ?
Try giving your test-jar dependency a <scope>test</scope>

Tom

On 9/29/06, Ken Helmes <ke...@tulli.fi> wrote:
>
> Hello,
>
>
>
> Has anyone run into this error when trying to use the "test-jar" type:
>
>
>
> "Embedded error: Unknown artefact type[test-jar]"
>
>
>
> -          Maven 2.0.4
>
> -          The actual test-jar is created correctly and can be found from
> the repository.  It is when being used that the error comes:
>
>     <dependency>
>
>       <groupId>config</groupId>
>
>       <artifactId>config_logic</artifactId>
>
>       <version>1.28-SNAPSHOT</version>
>
>       <type>test-jar</type>
>
>     </dependency>
>
>
>
> Ken Helmes
>
>
>
>
>
>
>