215 Commits

Author SHA1 Message Date
Nicolas De Loof
d6cc446fb2 add support in spring context for Map<role-hint, component> as @plexus.requirement
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630623 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 13:52:54 +00:00
Nicolas De Loof
134bdecc32 spring support for plexus components
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630621 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 13:25:08 +00:00
Nicolas De Loof
226015729f git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630618 13f79535-47bb-0310-9956-ffa450edef68 2008-02-24 13:21:46 +00:00
Nicolas De Loof
92faaa0853 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630147 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 10:37:31 +00:00
Nicolas De Loof
a70e0c3020 use PlexusClassPathXmlApplicationContext
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630131 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 09:46:20 +00:00
Nicolas De Loof
67288bff14 - add support for LogEnabled plexus lifecycle interface via a BeanPostProcessor
- add support for plexus Map<role-hint, component> injection of all "beans with role xx" via a custom FactoryBean
- fix destroy-method


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630130 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 09:45:35 +00:00
Brett Porter
ea9f3fa9e1 [MRM-674] remove redundant code
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630094 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 05:28:53 +00:00
Brett Porter
8802ed3b8e [MRM-674] correct problems with test-sources classifier and alternate version approaches
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630092 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 05:13:13 +00:00
Nicolas De Loof
c4c3b7cd8b - plexus compilant ClassPathXmlApplicationContext
- plexus-2-spring xslt now creates simple class name aliases for plexus FQCN roles
- attempt to use plexus to spring bridge in CachedFailuresPolicyTest


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629854 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 16:33:22 +00:00
Nicolas De Loof
ae5e322b02 - plexus compilant ClassPathXmlApplicationContext
- plexus-2-spring xslt now creates simple class name aliases for plexus FQCN roles
- attempt to use plexus to spring bridge in CachedFailuresPolicyTest


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629852 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 16:33:10 +00:00
Nicolas De Loof
401c68e004 add support for plexus Initializable / Disposable lifecycle interfaces
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629513 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 15:53:59 +00:00
Nicolas De Loof
11345c495d use Xalan extension to invoke custom XpathFunction
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629505 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 15:29:52 +00:00
Nicolas De Loof
f83d2a8d64 plexus bean factory to convert plexus components descriptor on the fly
support for instantiation-strategy=per-lookup
basic testcase included

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629479 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 14:36:29 +00:00
Nicolas De Loof
3395f66fa7 set scope=test
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629455 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 13:41:54 +00:00
Nicolas De Loof
4915168d0d Spring BeanDefinitionReader to convert plexus descriptors on the fly
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629454 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 13:40:59 +00:00
Brett Porter
53bc8d5360 experimental Spring support
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629309 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 01:39:07 +00:00
Brett Porter
0d2d677476 branch to experiment with partial Spring migration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629305 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 01:32:56 +00:00
Brett Porter
bc2d23f4a7 [MRM-703] Artifacts with extensions longer than fours characters breaks repository scanning
Submitted by:  	 Jim Jackson

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629020 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 08:29:33 +00:00
Brett Porter
36220c4cc2 fix versions
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629015 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 08:07:56 +00:00
Maria Odea B. Ching
32d61f1a56 -updated the docs to point to the latest released version
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@618151 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 02:15:16 +00:00
Maria Odea B. Ching
c7b35f35b7 -updated <scm> to the appropriate urls
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@616596 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 02:22:45 +00:00
Maria Odea B. Ching
e59cda5eb8 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@616215 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 08:50:25 +00:00
Maria Odea B. Ching
5149c462da [maven-release-plugin] prepare release archiva-1.0.1
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@616212 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 08:46:56 +00:00
Maria Odea B. Ching
76541aa2e1 -updated the parent pom version from 2-SNAPSHOT to 2
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@616203 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 08:31:20 +00:00
Maria Odea B. Ching
255ecb5357 [MRM-668]
-get the security session using SecuritySystemConstants.SECURITY_SESSION_KEY or SecuritySession.ROLE in ArchivaXWorkUser


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@616198 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 08:05:45 +00:00
Maria Odea B. Ching
989b389e38 -merged with r615904 in trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@616186 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 07:00:14 +00:00
Maria Odea B. Ching
9263b3efd0 -created branch for 1.0.x development
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@616160 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 04:10:42 +00:00
Joakim Erdfelt
59612c2450 Adding "You have access to no repositories" screen.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@592186 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 23:41:29 +00:00
Joakim Erdfelt
a9ee528e97 [MRM-516] Search results return results for all repositories, regardless of security.
Added selectedRepos to interface/impl for CrossRepositorySearch.searchTerms().



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@591500 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 22:35:07 +00:00
Joakim Erdfelt
a9882cc620 [MRM-569] Browse shows results for all repositories, regardless of security.
Added ArchivaUser interface to obtain the active principal.
Added ArchivaXworkUser implementation to obtain principal from redback-xwork-integration layer.
Updated (Default)UserRepositories to utilize redback SecuritySystem.isAuthorized() properly.
Updated BrowseAction and ShowArtifactAction to show the limited view provided.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@591410 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 17:47:55 +00:00
Joakim Erdfelt
2832ec508b Upgrading redback to 1.0-alpha-4
Adding a few more redback backend dependencies to depMgmt.
Adding https repo for redback due to codehaus repo sync issue - (see http://jira.codehaus.org/browse/HAUS-1590 )



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@590767 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:39:12 +00:00
Joakim Erdfelt
e4e04d6ce0 Initial work to establish archiva-security with UserRepositories concept.
Created SecurityStartup to bring startup mechanism back into archiva-security from archiva-webapp.
Created a few generic security exceptions to help pass along security problems.
Removed xwork-integration requirement from pom.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@590766 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:37:36 +00:00
Joakim Erdfelt
40b5f81a80 Updates to repository browsing for selected repositories.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@590765 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:35:28 +00:00
Joakim Erdfelt
199dfc58dd Allow for sql constraints to specify selected repositories list.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@590764 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:34:18 +00:00
Joakim Erdfelt
cd9e86f810 Creating branch for backend security work.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@590763 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:31:34 +00:00
Brett Porter
5b823f4dc5 done
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574862 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 09:43:15 +00:00
Brett Porter
f56bee8221 [MRM-462] put test file in target
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574817 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 07:24:26 +00:00
Brett Porter
43ea3313a8 [MRM-462] final notes
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574811 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 07:15:30 +00:00
Brett Porter
1944f1951b [MRM-462] more cleanup
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574810 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 07:07:26 +00:00
Brett Porter
653a8c2f3a [MRM-462] fix test case
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574807 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 07:00:32 +00:00
Brett Porter
44a76d9249 [MRM-462] some more clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574805 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 06:56:33 +00:00
Brett Porter
8f55ae86f6 [MRM-462] removed unneeded classes
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574803 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 06:51:45 +00:00
Brett Porter
3ea81a75b5 [MRM-462] restore management of remote repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574791 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 05:52:25 +00:00
Brett Porter
a5f1a3532f [MRM-462] re-order methods
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574789 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 05:24:25 +00:00
Brett Porter
72de52617e [MRM-462] test deletion
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574771 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 02:58:42 +00:00
Brett Porter
d4c6364319 [MRM-462] fix property name
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574758 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 01:40:19 +00:00
Brett Porter
0b4efe3d85 [MRM-462] setRepository should not be used
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574757 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 01:39:51 +00:00
Brett Porter
9f12789fac [MRM-462] test directory construction
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574752 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 01:37:28 +00:00
Brett Porter
4b1b409ffe [MRM-462] re-instate directory construction
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574751 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 01:29:08 +00:00
Brett Porter
441ecafa0e [MRM-462] tests for editing repositories. Also removed annoying logging, and erroneous security checks
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@574742 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 01:11:02 +00:00