Examples of ArtifactGroup


Examples of fr.openwide.maven.artifact.notifier.core.business.artifact.model.ArtifactGroup

    super.delete(entity);
  }
 
  @Override
  public Artifact getOrCreate(ArtifactKey artifactKey) throws ServiceException, SecurityServiceException {
    ArtifactGroup artifactGroup = artifactGroupService.getOrCreate(artifactKey.getGroupId());
   
    Artifact artifact = getByArtifactKey(artifactKey);
    if (artifact == null) {
      artifact = new Artifact(artifactKey.getArtifactId());
      artifactGroup.addArtifact(artifact);
      create(artifact);
    }
   
    return artifact;
  }
View Full Code Here

Examples of fr.openwide.maven.artifact.notifier.core.business.artifact.model.ArtifactGroup

    super(artifactGroupDao);
  }
 
  @Override
  public ArtifactGroup getOrCreate(String groupId) throws ServiceException, SecurityServiceException {
    ArtifactGroup artifactGroup = getByGroupId(groupId);
    if (artifactGroup == null) {
      artifactGroup = new ArtifactGroup(groupId);
      create(artifactGroup);
    }
   
    return artifactGroup;
  }
View Full Code Here

Examples of fr.openwide.maven.artifact.notifier.core.business.artifact.model.ArtifactGroup

  @Test
  public void testNotifications() throws ServiceException, SecurityServiceException, InterruptedException {

    {
      ArtifactGroup group = new ArtifactGroup("org.apache.commons");
      artifactGroupService.create(group);

      Artifact artifact = new Artifact("commons-exec");
      group.addArtifact(artifact);
      artifactService.create(artifact);

      User user = new User();
      user.setUserName("firstname.lastname@test.fr");
      user.setEmail(user.getUserName());
View Full Code Here

Examples of fr.openwide.maven.artifact.notifier.core.business.artifact.model.ArtifactGroup

 
  @Test
  public void testSynchronizeVersions() throws ServiceException, SecurityServiceException, InterruptedException {
   
    {
      ArtifactGroup group = new ArtifactGroup("com.google.inject");
      artifactGroupService.create(group);
     
      Artifact artifact = new Artifact("guice");
      group.addArtifact(artifact);
      artifactService.create(artifact);
     
      User user = new User();
      user.setUserName("firstname.lastname@test.fr");
      user.setEmail(user.getUserName());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.