mirror of
https://github.com/apache/maven.git
synced 2025-02-28 21:59:13 +00:00
o adding IT it0047
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@465821 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e225c3a7a1
commit
edcc85396e
@ -0,0 +1,15 @@
|
|||||||
|
<model>
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>org.apache.maven</groupId>
|
||||||
|
<artifactId>maven-core-it0047</artifactId>
|
||||||
|
<description>Test the use case for having a compile time dependency be transitive:
|
||||||
|
when you extend a class you need its dependencies at compile time.</description>
|
||||||
|
<version>1.0</version>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.codehaus.plexus</groupId>
|
||||||
|
<artifactId>plexus-container-default</artifactId>
|
||||||
|
<version>1.0-alpha-7</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</model>
|
@ -0,0 +1,19 @@
|
|||||||
|
package org.apache.maven.it0047;
|
||||||
|
|
||||||
|
import org.codehaus.plexus.PlexusTestCase;
|
||||||
|
|
||||||
|
public class Person
|
||||||
|
extends PlexusTestCase
|
||||||
|
{
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
public void setName( String name )
|
||||||
|
{
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName()
|
||||||
|
{
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user