/** * Build an application artifact from the specified class and then add it. * * @param artifactId the id of the artifact to add * @param appClass the application class to build the artifact from * @return an {@link ArtifactManager} to manage the added artifact */ protected static ArtifactManager addAppArtifact(ArtifactId artifactId, Class<?> appClass) throws Exception { return getTestManager().addAppArtifact(artifactId, appClass); }
/** * Build an application artifact from the specified class and then add it. * * @param artifactId the id of the artifact to add * @param appClass the application class to build the artifact from * @param manifest the manifest to use when building the jar * @return an {@link ArtifactManager} to manage the added artifact */ protected static ArtifactManager addAppArtifact(ArtifactId artifactId, Class<?> appClass, Manifest manifest) throws Exception { return getTestManager().addAppArtifact(artifactId, appClass, manifest); }
/** * Build an application artifact from the specified class and then add it. * * @param artifactId the id of the artifact to add * @param appClass the application class to build the artifact from * @return an {@link ArtifactManager} to manage the added artifact */ protected static ArtifactManager addAppArtifact(ArtifactId artifactId, Class<?> appClass) throws Exception { return getTestManager().addAppArtifact(artifactId, appClass); }
/** * Build an application artifact from the specified class and then add it. * * @param artifactId the id of the artifact to add * @param appClass the application class to build the artifact from * @param manifest the manifest to use when building the jar * @return an {@link ArtifactManager} to manage the added artifact */ protected static ArtifactManager addAppArtifact(ArtifactId artifactId, Class<?> appClass, Manifest manifest) throws Exception { return getTestManager().addAppArtifact(artifactId, appClass, manifest); }
protected ArtifactManager addAppArtifact(ArtifactId artifactId, Class<?> appClass) throws Exception { return getTestManager().addAppArtifact(artifactId, appClass); }
/** * Build an application artifact from the specified class and then add it. * * @param artifactId the id of the artifact to add * @param appClass the application class to build the artifact from * @param exportPackages the packages to export and place in the manifest of the jar to build. This should include * packages that contain classes that plugins for the application will implement. * @return an {@link ArtifactManager} to manage the added artifact */ protected static ArtifactManager addAppArtifact(ArtifactId artifactId, Class<?> appClass, String... exportPackages) throws Exception { return getTestManager().addAppArtifact(artifactId, appClass, exportPackages); }
/** * Build an application artifact from the specified class and then add it. * * @param artifactId the id of the artifact to add * @param appClass the application class to build the artifact from * @param exportPackages the packages to export and place in the manifest of the jar to build. This should include * packages that contain classes that plugins for the application will implement. * @return an {@link ArtifactManager} to manage the added artifact */ protected static ArtifactManager addAppArtifact(ArtifactId artifactId, Class<?> appClass, String... exportPackages) throws Exception { return getTestManager().addAppArtifact(artifactId, appClass, exportPackages); }