public void removeProjectFor( String groupId, String artifactId, String version, String artifactType ) throws ProjectDaoException { ValueFactory valueFactory = rdfRepository.getValueFactory(); URI id = valueFactory.createURI( groupId + ":" + artifactId + ":" + version + ":" + artifactType ); try { repositoryConnection.remove( repositoryConnection.getStatements( id, null, null, true ) ); } catch ( RepositoryException e ) { throw new ProjectDaoException( e.getMessage(), e ); } }
throw new ProjectDaoException( "NPANDAY-180-000: Message = " + e.getMessage(), e ); throw new ProjectDaoException( "NPANDAY-180-001: Message = " + e.getMessage(), e ); throw new ProjectDaoException( "NPANDAY-180-002: Message = " + e.getMessage(), e );
throw new ProjectDaoException( "NPANDAY-180-123: Could not find GAC assembly: Group ID = " + groupId + ", Artifact ID = " + artifactId + ", Version = " + version + ", Artifact Type = " + artifactType + ", File Path = " + artifact.getFile().getAbsolutePath() ); throw new ProjectDaoException( "NPANDAY-180-124: Could not find the project: Group ID = " + groupId + ", Artifact ID = " + artifactId + ", Version = " + version + ", Artifact Type = " + artifactType ); throw new ProjectDaoException( "NPANDAY-180-005: Message = " + e.getMessage(), e ); throw new ProjectDaoException( "NPANDAY-180-006: Message = " + e.getMessage(), e ); throw new ProjectDaoException( "NPANDAY-180-007: Message = " + e.getMessage(), e );
throw new ProjectDaoException( "systemPath required for System Scoped dependencies " + "in Group ID = " + projectDependency.getGroupId() + ", Artiract ID = " + projectDependency.getArtifactId() ); && model.getArtifactId().equals( projectDependency.getArtifactId() ) && v.equals( projectDependency.getVersion() ) ) ) throw new ProjectDaoException( "NPANDAY-180-017: Model parameters do not match project dependencies parameters: Model: " + g + ":" + model.getArtifactId() + ":" + v + ", Project: " throw new ProjectDaoException( "NPANDAY-180-020: Problem in resolving artifact: Artifact = " + assembly.getId() + assembly.getId() + ", Message = " + e.getMessage(), e ); throw new ProjectDaoException( "NPANDAY-180-019: Problem in resolving artifact: Artifact = " + assembly.getId() throw new ProjectDaoException( "NPANDAY-180-021: Could not open RDF Repository: Message =" + e.getMessage(), e );