File tree Expand file tree Collapse file tree 6 files changed +61
-1
lines changed 
test/java/org/codehaus/plexus/testing Expand file tree Collapse file tree 6 files changed +61
-1
lines changed Original file line number Diff line number Diff line change 1212  <version >1.6.1-SNAPSHOT</version >
1313
1414  <name >Plexus Testing</name >
15+   <url >https://codehaus-plexus.github.io/plexus-testing/</url >
1516
1617  <scm >
1718    <connection >scm:git:https://github.com/codehaus-plexus/plexus-testing.git</connection >
1819    <developerConnection >${project.scm.connection} </developerConnection >
1920    <tag >HEAD</tag >
2021    <url >https://github.com/codehaus-plexus/plexus-testing</url >
2122  </scm >
23+ 
2224  <issueManagement >
2325    <system >github</system >
2426    <url >https://github.com/codehaus-plexus/plexus-testing/issues</url >
2527  </issueManagement >
28+ 
2629  <distributionManagement >
2730    <site >
2831      <id >github:gh-pages</id >
3336  <properties >
3437    <versions .eclipse.sisu>0.9.0.M4</versions .eclipse.sisu>
3538    <project .build.outputTimestamp>2025-08-18T20:50:45Z</project .build.outputTimestamp>
39+ 
40+     <!--  skip generation of jxr reports --> 
41+     <maven .jxr.skip>true</maven .jxr.skip>
3642  </properties >
3743
3844  <dependencies >
7076    </dependency >
7177  </dependencies >
7278
79+   <build >
80+     <plugins >
81+       <plugin >
82+         <groupId >org.apache.maven.plugins</groupId >
83+         <artifactId >maven-scm-publish-plugin</artifactId >
84+         <configuration >
85+           <content >${project.reporting.outputDirectory} </content >
86+           <!--  mono-module doesn't require site:stage --> 
87+         </configuration >
88+         <executions >
89+           <execution >
90+             <id >scm-publish</id >
91+             <!--  deploy site with maven-scm-publish-plugin --> 
92+             <goals >
93+               <goal >publish-scm</goal >
94+             </goals >
95+             <phase >site-deploy</phase >
96+           </execution >
97+         </executions >
98+       </plugin >
99+     </plugins >
100+   </build >
73101</project >
Original file line number Diff line number Diff line change 1+ # Plexus Testing  
2+ 
3+ ## Example usage  
4+ 
5+ ### Test class  
6+ 
7+ <!--  MACRO{snippet|id=test-class|file=src/test/java/org/codehaus/plexus/testing/PlexusTestJavaxTest.java} --> 
8+ 
9+ ### Used classes in test  
10+ 
11+ <!--  MACRO{snippet|id=test-component|file=src/test/java/org/codehaus/plexus/testing/TestJavaxComponent.java} --> 
12+ <!--  MACRO{snippet|id=test-component2|file=src/test/java/org/codehaus/plexus/testing/TestJavaxComponent2.java} --> 
Original file line number Diff line number Diff line change 1+ <?xml  version =" 1.0"  encoding =" UTF-8"  ?>
2+ 
3+ <site  xmlns =" http://maven.apache.org/SITE/2.0.0"   xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" 
4+       xsi : schemaLocation =" http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd"  >
5+ 
6+   <body >
7+     <menu  name =" Overview"  >
8+       <item  name =" Introduction"   href =" index.html"  />
9+       <item  name =" Javadoc"   href =" apidocs/index.html"  />
10+     </menu >
11+ 
12+     <menu  ref =" parent"  />
13+     <menu  ref =" reports"  />
14+   </body >
15+ </site >
Original file line number Diff line number Diff line change 1818 * specific language governing permissions and limitations 
1919 * under the License. 
2020 */ 
21- 
21+ // START SNIPPET: test-class 
2222import  javax .inject .Inject ;
2323
2424import  org .junit .jupiter .api .Test ;
@@ -37,3 +37,4 @@ void dependencyShouldBeInjected() {
3737        assertNotNull (testJavaxComponent .getTestComponent2 ());
3838    }
3939}
40+ // END SNIPPET: test-class 
Original file line number Diff line number Diff line change 1919 * under the License. 
2020 */ 
2121
22+ // START SNIPPET: test-component 
2223import  javax .inject .Inject ;
2324import  javax .inject .Named ;
2425
@@ -31,3 +32,4 @@ public TestJavaxComponent2 getTestComponent2() {
3132        return  testJavaxComponent2 ;
3233    }
3334}
35+ // END SNIPPET: test-component 
Original file line number Diff line number Diff line change 1919 * under the License. 
2020 */ 
2121
22+ // START SNIPPET: test-component2 
2223import  javax .inject .Named ;
2324
2425@ Named 
2526public  class  TestJavaxComponent2  {}
27+ // END SNIPPET: test-component2 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments