1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.felix.bundleplugin;
20
21
22 import org.apache.maven.plugin.MojoExecutionException;
23 import org.apache.maven.plugins.annotations.LifecyclePhase;
24 import org.apache.maven.plugins.annotations.Mojo;
25 import org.apache.maven.plugins.annotations.ResolutionScope;
26
27
28
29
30
31
32 @Deprecated
33 @Mojo( name = "wrap", requiresDependencyResolution = ResolutionScope.TEST,
34 defaultPhase = LifecyclePhase.PACKAGE)
35 public final class WrapPlugin extends BundleAllPlugin
36 {
37 @Override
38 public void execute() throws MojoExecutionException
39 {
40 getLog().warn( "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" );
41 getLog().warn( "! The wrap goal is no longer supported and may be removed in a future release !" );
42 getLog().warn( "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" );
43
44 BundleInfo bundleInfo = bundleAll( getProject(), 1 );
45 logDuplicatedPackages( bundleInfo );
46 }
47 }